Returns nearest (i.e. top level) text range that contains position APos.
function NearestRangeAtPos(APos: integer): TTextRange;
TClientSyntAnalyzer Methods