Topics: Developer Forum, User Forum
Feb 2, 2010 at 7:53 AM

1. Whether it is possible to change linecommentprefix  for existing language? in lexer "mssql" linecommentprefix = "--", when I change it on ";" occurs nothing, on the former reacts only on "--"
2. By text search in the encoding 1251 the part of required expression is allocated only, and the subsequent text is displayed as the text in other encoding, abracadabra...

P.S At me it has not turned out to apply algorithm prompted ChrisRickard for lexer = container. 
I try to use lexer = "MsSql", but in it LineCommentPrefix does not approach: (

Feb 4, 2010 at 12:55 AM

1. With Scintilla lexers you have control over styles, keywords, and sometimes fold behavior. There is no way to changing the MSSQL parsing logic so that comments can begin with ";" instead of "--" or "/*".

2. I don't quite understand what the problem with searching or encoding is. Can you please provide more information?