Links
EControl Syntax Editor SDK
ecStrUtils.GetLineIndex Function
function GetLineIndex(const S: ecString; aPos: integer): integer;

ecStrUtils

Returns line index of the character at position aPos in multi-line string S. Line index and character position are zero-based.

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