Links
EControl Syntax Editor SDK
TSyntMemoStrings.ResetLineStates Method

Resets states of all lines.

procedure ResetLineStates(FromLine: integer = 0; ToLine: integer = -1);

ResetLineStates method assigns all lines of the text with indexes from FromLine to ToLine lsNormal value. 

FromLine and ToLine values are optional parameters. If FromLine value is not specified, by default it is assigned to zero, that is the first line in the text. The ToLine parameter by defualt is assigned to the number of the last line in the text.

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