New Post: Use of additional list of class names and it's property to highlight
Ok, that makes sense, then. Am I correct in assuming, therefore, that you can't change what characters the lexer treats as part of a word? That is, without writing your own lexer.
View ArticleNew Post: Context Menu
@StephenSwensen Nice! Just what I was looking for (and so succinct too!!). :D
View ArticleNew Post: Use of additional list of class names and it's property to highlight
Yes, that is correct.
View ArticleNew Post: Comments don't get highlighted - why?
Hi there, although I already specifiedscintilla1.Lexing.LineCommentPrefix = "//"; scintilla1.Lexing.StreamCommentPrefix = "/*"; scintilla1.Lexing.StreamCommentSufix = "*/"; With this custom...
View ArticleNew Post: Comments don't get highlighted - why?
Please read previous discussions about this before posting. You can try this one and this one to see why. Basically, that XML tag and Lexing property don't affect the lexer at all - they only change...
View ArticleNew Post: Prevent editing XML tags
Is there a way to prevent the editing of XML tags apart from handling the keydown event and canceling it if the cursor is within a tag?
View ArticleNew Post: Prevent editing XML tags
The Scintilla component doesn't track the location of XML tags, so no, there isn't a simple option that you can use to disable editing of specific parts of text. The KeyDown event may not be the only...
View ArticleNew Post: Prevent editing XML tags
Is there a way to see if the text surrounding the cursor is colored a specific way?
View ArticleNew Post: Why is TextChanged Event fired multiple times?
Hello, I'm trying to implement a dynamic recognition of user functions (just as intellisense of visual studio). To achieve this, I tried both the TextChanged and the DocumentChange Events, but for some...
View ArticleNew Post: Prevent editing XML tags
You should be able to get the style at a specific position in the document. Check how I do it for custom lexers in the WPF branch.
View ArticleNew Post: How to get AutoComplete window handle?
Thanks for your reply! I have been playing with Spy++ 64 with all known messages disabled but can only see 0x0118 messages being sent at intervals (no autocomplete messages or anything like that). I...
View ArticleNew Post: Why is TextChanged Event fired multiple times?
Please see ticket 33179 (https://scintillanet.codeplex.com/workitem/33179) and see if that answers your questions. Jacob
View ArticleNew Post: Why is TextChanged Event fired multiple times?
Hello, thanks for the answer, this seems to be exactly what I was looking for. So I have to change the source code manually as explained here, right? May I ask you were exactly I have to put in the...
View ArticleNew Post: Why is TextChanged Event fired multiple times?
Interesting.... it looks like CodePlex has screwed up the status of some of our work items. This item (and about a dozen others) should be in the 'Fixed' status--indicating that the code changes have...
View ArticleNew Post: Designer NullReferenceException
Hi, when I add Scintilla by code like thisScintillaNET.Scintilla sci = new ScintillaNET.Scintilla(); Controls.Add(sci); it works fine. So I think, paths and framework are set-up correctly. However,...
View ArticleNew Post: Designer NullReferenceException
There are quite a fewdiscussions on thistopicalready.... Please refer to the documentation for proper installation. Jacob
View ArticleNew Post: Designer NullReferenceException
Thank you for your reply. **jacobslusser wrote:** There are quite a fewdiscussions on thistopicalready.... Well - all these seem not too related to the error I was facing. Please refer to the...
View ArticleNew Post: Designer NullReferenceException
That is a good point about older versions of SciLexer interfering. That was v1 (pre-COM days) of Microsoft's DLL Hell. It can be particularly insidious on 64 bit systems. If you are developing a 64 bit...
View ArticleNew Post: How do it do Export to HTML ?
There are several major issues with the ExportHtml method. A large one being that the writer is never closed. This causes major problems such as much of the document never being written. Some changes...
View ArticleNew Post: How to do fold / unfold all actions?
Hi, I'm trying to add Fold All - Unfold All actions to my project but i have no idea how to do it. I'm using "vb" lexer name and looks like folding rules of vb lexer are just about tab and spaces at...
View Article