EControl Syntax Editor SDK
TCustomHighlighter.GetStyleList Method

Adds entries to list of styles at the CurPos position.

function GetStyleList(CurPos: integer; List: TStyleEntries): integer; virtual;

GetStyleList method looks for a range that contains CutPos. If no range found new item is added to the list. 

GetStyleList returns position after CurPos position where style of the text in SyntMemo changes.

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