The features of the above properties and methods for working with visual list objects when working with input fields are as follows:
editable multi-line text is conditionally divided into separate elements (lines). Namely, the line separator is a combination of # 13 # 10 characters (carriage return and line feed characters). This, in particular, means that when using word-by-word hyphenation (eoNoHScroll option), the line can visually be located in several lines, nevertheless, it continues to be a single "element" of the list of lines.
The CurIndex property does not make sense for input fields, since the selection in them is not made line by line, but character by character (a continuous piece of text can be selected, including one that starts on one line and ends on another);
for the same reason, the ItemSelected [] property has a slightly different meaning: it checks that the given row is in whole or in part in the selection.
To add or insert a whole line using the Add and Insert methods, the added line must be terminated with characters # 13 # 10 (otherwise, these characters themselves are not inserted into the text, and the line is combined with subsequent characters into one element).
Events OnMeasureItem, OnDrawItem for input fields are not applicable.