New Post: scintilla1_charAdded not called
I added this line under Initialize Component and it works now. scintilla1.CharAdded += scintilla1_CharAdded;
View ArticleNew Post: How to install ScintillaNET in Windows 7 (Visual Studio 2012)
Hello! I want to Install ScintillaNET in my project (I'm a beginner) I've read the Instalation Instructions but when I'm tryin to add a reference to SciLexer.dll and SciLexer64 it doesn't work :(
View ArticleNew Post: Folding is not working
Would maybe help of they were called something other than Margin1 and Margin2. Quite a bit unintuitive.
View ArticleNew Post: CSS (SCSS) support
Do you guys plan on, at all, incorporating CSS into the default langauges? Sort of surprised it was ignored in the first place. And, apparently, there is even an SCSS modification to that as...
View ArticleNew Post: CSS (SCSS) support
ScintillaNET may not support it, but as you said Scintilla does. Try this:const int SCE_CSS_DEFAULT = 0; const int SCE_CSS_TAG = 1; const int SCE_CSS_CLASS = 2; const int SCE_CSS_PSEUDOCLASS = 3; const...
View ArticleNew Post: Limit Editor Width
Hi guys, Been working with this for a couple weeks now, have a nice editor with keyword highlighting and calltips working. I was looking to move into syntax error catching now. So I am trying a brute...
View ArticleNew Post: Limit Editor Width
There is no built-in way to limit the line length. You're approach to watch CharAdded (or one of the other text modification events (or the InsertCheck event in a future build of ScintillaNET)) is the...
View ArticleNew Post: Limit Editor Width
Thanks for the quick reply. I appreciate it. Is there a way to MarkSyntaxError from the main Form? I currently use NativeInterface.SetIndicatorCurrent(0) and give it the range when more than 72 chars...
View ArticleNew Post: Custom Lexer and Ascii chars
Hi, I'm having some problems with special characters like "▒" or "ñ"... If some ascii character is in a document the styles from that line and the following ones lost its correct format, i'm using the...
View ArticleNew Post: Custom Lexer and Ascii chars
I would surmise that the non-ASCII character requires more than a single byte to represent. For example, to represent a 'n' character in UTF-8 would be 0x6E. But to represent 'ñ' would be two bytes,...
View ArticleNew Post: Custom Lexer and Ascii chars
Jacob is correct. The custom lexer code is written under the assumption that 1 character is 1 byte, but that assumption fails with multi-byte characters.
View ArticleNew Post: Custom Lexer and Ascii chars
I see... Any tip where to start to add the support for multi-byte characters in the current version of ScintillaNet? or is a better option to use your new version jacobslusser? In your project...
View ArticleNew Post: Custom Lexer and Ascii chars
@ascii1457, I'm at a point with my rewrite where I'm ready to start getting user feedback and would very much appreciate you being willing to give it a shot. For my part I would be willing to...
View ArticleNew Post: "LineCommentPrefix" not working
No matter what I do, no matter if I set it in my code or in my XML file, it just don't want to change the linecommentprefix for whatever reason. I use lexer "cpp". So, I want to allow both ; and // as...
View ArticleNew Post: Styles are overwritten?
So, I'm programming my custom styles for my disassembler. Unfortunately, it seems like it always overwrites the style to the latest characters. Here my code: if (Base) { ITypeBase Instr = new...
View ArticleNew Post: Getting Started
Hi All I must confess I'm having real trouble getting started with the ScintillaNET control. I'm not even going to post any code as I am nowhere near anything worthy of critique. Rather I will just...
View ArticleNew Post: Getting Started
OK so after much struggling I've managed to sort everything except item 4 above. So does anybody have any ideas how to set the first line number of a ScintillaNet control, so that the very first line...
View ArticleNew Post: Getting Started
The line numbering provided by Scintilla cannot be changed. You could, however, create your own line numbers by using a text margin and setting the margin text for each line. Jacob
View ArticleNew Post: Getting Started
Thanks Jacob So I tried to add a text margin but can't get it to work. I tried:Public Declare Function SendMessage Lib "user32" Alias "SendMessageA" (ByVal hWnd As IntPtr, ByVal Msg As Integer, ByVal...
View ArticleNew Post: Getting Started
Rich, Your question comes at an interesting time if the development life of ScintillaNET. The 2.x version hosted here at CodePlex is no longer being maintained and I'm moving development of the next...
View Article