Custom Syntex Highlighting

Topics: Developer Forum, Project Management Forum, User Forum
Nov 4, 2010 at 9:05 AM

Hello I read the info given on http://scintillanet.codeplex.com/documentation

But it lacked detailed info if you want a Custom Syntex Highlighting. If possible, given full example of a working Custom Syntex Highlighting would be nice, and how to recreate the given example with step by step walk through.

~Dmitry

Dec 6, 2010 at 11:00 PM

1.  Copy the nearest XML file, included in source tree.

2.  Edit XML file

  1. Set Name="YourLanguage"
  2. Set LexerName = "c" or "SQL"
  3. Adjust your keywords

3. Set Scintilla.ConfigurationManager.CustomLocation = i.e. "C:\path"

4. Set Scinitlla.Language to = "YourLanguage"