new builtin custom language problem

Jan 16, 2012 at 11:15 PM
Edited Feb 3, 2012 at 11:16 PM

this is my .xml file:

then on Lexin.cs ( Lexing(Scintilla scintilla) ) i add this line:

 

_lexerLanguageMap.Add("pawn", "cpp");

 

finaly on my app i use this line to set the language:

.ConfigurationManager.Language = "pawn"

(I know that i can use LexerName="cpp" on the .xml file but it doesn't work for me.

But it doesn't seems to work properly, here's a picture of it:

Http://imgur.com/A5jnK

Developer
Jan 16, 2012 at 11:21 PM

well, first things first, language is spelled wrong in the xml file and in this topic.

Jan 16, 2012 at 11:38 PM

well... it looks like i need to learn to spell words properly, because that was the problem. thx.

Btw: can you help me with the margin color topic please (i think there isn't any spell mistakes on that code :p)