EControl Syntax Editor SDK
IecExternalFormatter.GetStyleList Method

Adds entries to list of styles at the CurPos position.

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

If the object which performs formatting has styles at the position CurPos it should add corresponding entries to the List. This method has to return next nearest position where formatting of this object will be changed.If there are no formatting changes after CurPos position GetStyleList must return -1.

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