New Post: How to add annotations? Collection has no add() method?
Simply get the annotation for the line you want. If it does not exists it will be created automatically: Annotation annotation = scintilla.Annotations[14]; You need to enable the annotations first:...
View ArticleNew Post: Scintilla Encoding
when setting text property of scintilla it displays - ,' as question marks can anyone help with this? is this encoding problem? What to use
View ArticleNew Post: NuGet package?
Holy thread necro, batman! Anyways... don't forget 32 / 64-bit issues, not sure how that's covered in the example above. I would like to see this on NuGet just to keep distribution of the OSS project I...
View ArticleNew Post: NuGet package?
For anyone who comes across this thread in the future, you should know that I've figured out a way to package ScintillaNET as a NuGet package (including the unmanaged DLLs we need to distribute),...
View ArticleNew Post: "R" lexer
I found a reference about an Scintilla "R" (statistics package) lexer here. I coundn´t find any other reference. I try to write: sne.ConfigurationManager.Language = "R"; as I did when it´s necessary to...
View ArticleNew Post: InvalidOperationException in EndInit (3.0.1)
I've given version 3.0.1 a try (was using 2.2) and got a an InvalidOperationException. It's at the _helpers loop, Scintilla.cs:line 326, Collection was modified; enumeration operation may not execute....
View ArticleNew Post: Custom Lexer... Everything fine except keywords.
Hi, i'm creating a custom lexer ( based on the examples on the WPF branch ) for my editor and everything was fine till i tried to highlight the keywords, all the other operators, strings, etc. where...
View ArticleNew Post: Custom Lexer... Everything fine except keywords.
Ah, there's the issue:if (CompositeKeywords.TryGetValue(ident, out style)) { Console.WriteLine(ident); SetStyle(style); //SetStyle(STYLE_IDENTIFIER); } else { SetStyle(STYLE_IDENTIFIER); CurrentState =...
View ArticleNew Post: Custom Lexer... Everything fine except keywords.
Thanks for the help, but the code is still not working... With your change is almost the same process of any other state but the style persist with the problem... aw... I tried with the following code...
View ArticleNew Post: ActiveX
Is there any way to embed ScintillaNET as activex control to another application?
View ArticleNew Post: Custom Lexer... Everything fine except keywords.
I just tested with the WPF branch, and it worked just fine for me. The C# code for the lexer is:using System; using System.Drawing; using System.Collections.Generic; namespace ScintillaNET.Lexers {...
View ArticleNew Post: Folding is not working
Dears, I am trying to use ScintillaNet in WinForms App, however it seems folding is not working with C# language. May be I am doing something wrong, could you pls help? Thanks. private void...
View ArticleNew Post: Best place to start
I'm having problems finding the best place to start with ScintillaNET. I have it in my .NET project viewable in a form, but as far as custom language lexers and rules and xml files, I don't know where...
View ArticleNew Post: Folding is not working
Hi, did you tryed to set Margins->Margin2->Width to something like 20? ... Folding works but is not visible by default. I found it when reading about showing line numbers.
View ArticleNew Post: Tab Character Width
Hi, is there a way to set width of tab character? Default is realy wide. Thx
View ArticleNew Post: Best place to start
I haven't written any overall documentation on the custom lexer functionality in the WPF branch, but the code itself should be pretty well documented. In terms of writing your own custom lexer, the...
View ArticleNew Post: NuGet package?
This is being tracked as workitem #33096. If possible could you please release a final .NET 2 version including the new functionality babysitting the unmanaged DLLs... I submitted a patch (patch ID...
View ArticleNew Post: Custom "Tags" support for syntax highlighting?
Im trying to figure out how to tell syntax highlighter to give custom style to custom tag. For example lets say we have some .css file like that:body { color: #000000; font-family: Arial; margin: 0px;...
View ArticleNew Post: Best place to start
Thanks. I was able to get up and running over the weekend. None of the lexers will quite fit. I am coming from a place that uses an old mainframe language called REXX. There are plugins for eclipse,...
View ArticleNew Post: scintilla1_charAdded not called
I am trying to get autocomplete working, after looking through the discussions I ended up with this code. However my scintilla1_CharAdded listener is never triggered. I'm not sure why. I tested by...
View Article