Text control and number of lines

Hi, ALL,
In the text control there are 2 different types of lines - physical and logical.
Physical line ends with the symbol or pressing Enter key.
Logical line means that the user of the program just keep typing even after the text should be increasing the size of the control, i.e. it will use the soft symbol.

My question is - how to differentiate between those 2 when counting number of lines and calculating the current cursor position?

Thank you in advance.

This topic was automatically closed 14 days after the last reply. New replies are no longer allowed.