EControl Syntax Editor SDK
TSyntaxManager.OnLexerChanged Event

Occurs whenever user selects new lexer in LexersMenu.

property OnLexerChanged: TNotifyEvent;

Use OnLexerChanged event handler to update SyntaxAnalyzer property of the editor. To get currently selected lexer use CurrentLexer property.

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