EControl Syntax Editor SDK
TSyntaxManager.CurrentLexer Property

Specifies current lexer selected in the menu.

property CurrentLexer: TSyntAnalyzer;

Set CurrentLexer in order to LexersMenu reflects current lexer of the editor. Get CurrentLexer in OnLexerChanged event handler in order to change lexer linked to the editor.

Copyright (c) 2004-2011. All rights reserved.
What do you think about this topic? Send feedback!