Default C# Style

Topics: Developer Forum, Project Management Forum, User Forum
Dec 1, 2010 at 9:51 PM
Edited Dec 1, 2010 at 9:51 PM


I've been trying, for two days by now, to get this working. The thing is that I need to have an AutoComplete with Keywords that include "special character" . Thats why I can't (I don't know how to do it) import the configuration from an XML. So what I was trying to do is to configure the whole thing at runtime.

So far I´ve done donde this:

             scintilla1.Lexing.WordChars = "abcdefghijklmnopqrstuvwxyzABCDEFGHIJKLMNOPQRSTUVWXYZ0123456789_<>%";

             scintilla1.AutoComplete.ListString = "<%BEGIN%> include Int32";                     


scintilla1.Lexing.SetKeywords(1,"include ");            


But now I'm lost because there is no way (apparently) to set the style of each KeywordSet.

So, the questions are:

Is there any way to set the style of the KeywordSet at runtime?

Is there any way that the XML allow my special characters?

And the most important one: Where can I download the configuration file used on the example picture?