EControl Syntax Editor SDK
TClientSyntAnalyzer.GetRangeStyles Method

Retrieves text range styles at the specified position.

function GetRangeStyles(Pos: integer; StlList: TStyleEntries; UseDyno: Boolean): integer;

GetRangeStyles scans filtered text ranges array. If there are a text ranges at Pos position, GetRangeStyles creates instance of TStyleEntry for each of them and adds it in StlList. GetRangeStyles returns position of the next style changing. 

UseDyno parameters specifies whether dynamically highlighted text ranges also have to be processed.

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