I have a multiline text block that would like to have a label in the form displaying the current position of the row and column, as Visual Studio does.
I know I can get row # with GetLineFromCharIndex, but how can I get column # on this row?
(I really want the cursor position on this row, not the "column", by itself)
user-interface c # windows
RyanE
source share