EControl Syntax Editor SDK
TPlainTextSyntExport.PickStyles Method

Returns position after CurPos position where style of the text changes.

function PickStyles(var CurPos: integer): integer; virtual;

PickStyles method reads list of styles at the CurPos position and returns position after CurPos where style of the text changes. 

As TPlainTextSyntExport class exports plain text PickStyles returns last character in the text.

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