Links
EControl Syntax Editor SDK
TClientSyntAnalyzer.GetTokenStyle Method

Retrieves token style at the specified position.

function GetTokenStyle(Pos: integer; StlList: TStyleEntries): integer;

 

GetTokenStyle scans tokens array. If there is a token at Pos position, GetTokenStyle creates instance of TStyleEntry and adds it in StlList. GetTokenStyle returns position of the next style changing.

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