New Post: Prevent from auto scrolling
// Insert text (without scrolling) var pos = scintilla.TextLength; scintilla.InsertText(pos, "Hello World!\n"); Jacob
View ArticleNew Post: How to do code completion ?
I am new ScintillaNET and I am trying to get autocompletion to work Could not find any documentation about it, the docs only have examples for syntax highlighting. So, how do I get autocompletion to...
View ArticleNew Post: Text property and syntax hightlight
Hi, I´m changing the Scintilla.Text property in runtime, and it shows the corresponding text, however it doesn´t show the any syntax highlight, and the font is not Courrier New. If I paste the same...
View ArticleNew Post: Scintilla Control does not drop onto WinForm Error occurs.
Compiling of sample project is excellent (2.6). However when looking at DocumentForm.cs errors abound in that the VS 2010/2013 environment state that they cannot load the SciLexer.dll module required...
View ArticleNew Post: Scintilla Control does not drop onto WinForm Error occurs.
The SciLexer(64).dll has to be in the "search path" so that Visual Studio can find it at design time. Follow the instructions in the link below, paying particular attention to the section titled:...
View ArticleNew Post: Text property and syntax hightlight
Something else must be going on besides just changing the Scintilla.Text property, because doing that wouldn't affect the current lexer and/or font settings. Are you sure you're not also changing the...
View ArticleNew Post: Text property and syntax hightlight
Jacob, Thanks about your prompt answer. Below, the code I wrote: ScintillaNET.Scintilla sne = new ScintillaNET.Scintilla(); sne.ConfigurationManager.Language = "python"; sne.Indentation.SmartIndentType...
View ArticleNew Post: Text property and syntax hightlight
Interesting... I can't reproduce your issue. I used the exact code you pasted above and when I run it, the code is added to my Form and syntax highlighting is displayed immediately. I don't have to...
View ArticleNew Post: Text property and syntax hightlight
Jacob, Tks, it worked now. I just put pg.Controls.Add after sne creation, as you suggested above, and it´s ok. I remove the invalidate as well. Tks again, Mauro Assis Atrium Forest
View ArticleNew Post: How to indent/unindent a given text selection via toolbar button
I am adding a toolbar to the Scintilla editor and have 2 buttons indent/unindent. I do not see any code snippets for the code behind, nor does the sample program show how. Some editors use...
View ArticleNew Post: How to indent/unindent a given text selection via toolbar button
Discovery...private void tsbDecreaseIndent_Click(object sender, EventArgs e) { this.ScriptEditor.Commands.Execute(ScintillaNET.BindableCommand.BackTab); } private void tsbIncreaseIndent_Click(object...
View ArticleNew Post: Current line cursor position
This appears to work quite well: this.sbLineNo.Text = String.Format("Row {0} Col {1}", this.ActiveDocument.VBScriptTextBox.Caret.LineNumber + 1, this.ActiveDocument.VBScriptTextBox.Caret.Position -...
View ArticleNew Post: Change language of Find Replace Dialog
Hi, is it possible to change the language of the find and replace dialog? Is it possible to use an XML file or something like that to definde the words? Regards, JoeLiBuDa
View ArticleNew Post: Inno Setup Language
Hi guys, I tried to configure Inno Setup language, but some styles did not work, follow my xml, does anyone could help me, it is not highlighting when I put the key word in [] (brackets). Thank...
View ArticleNew Post: Horizontal Scroll Bar Issue
I have the horizontal scroll bar working OK and when the end user is typing it functions as expected however when setting the text of the document programmatically the scroll bar does not show until...
View ArticleNew Post: How to get undo/redo/selectall working
I cant seem to figure out how to implement select all, clear all, and undo or redo? Any help? Thanks.
View ArticleNew Post: Creating Colored Indicator
rangeIndicator = new ScintillaNET.Range(start, start + tokenString.Length, scintilla); rangeIndicator.SetIndicator((int)ScintillaNET.IndicatorStyle.Squiggle); I have this set up, which gives a blue...
View ArticleNew Post: Loading ä ü ß ö etc.
Hi, I using the ScintillaNET Editor for a simple IDE to learn more and more about C#. Now there's one problem. When i load a file into the ScintillaNET Editor, the letters ä ü ß and all other...
View ArticleNew Post: Loading ä ü ß ö etc.
Make sure the font you're using in the Scintilla control can display those characters. Jacob
View ArticleNew Post: Add custom snippets to Snippets.SnippetList
I have been using ScintillaNET both personally and professionally for some time now but find the snippet functionality a little limited. I am trying to add my own snippets to the predefined snippet...
View Article