Links
EControl Syntax Editor SDK
TParserResults.AnalyzerAtPos Method

Returns active analyzer at the specified position.

function AnalyzerAtPos(Pos: integer): TSyntAnalyzer;

If there are no sub-lexer ranges AnalyzerAtPos returns Owner, otherwise it tests all sub-lexer ranges and if Pos in one of them, AnalyzerAtPos returns nested lexer (TSubLexerRange.Rule.SyntAnalyzer) reference.

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