|
|||||||||||||||||||||||||||||
|
|
Due to text wrapping you cannot get the visual line you click on unless 'hard returns' are used after each line. Following are two functions that will return the total number of visual lines and the visual line that the insertion carat is currently on, respectively. The last can be modified to return the line under the mouse cursor.
|
|
|