I do have a follow up question now that you mention it. Some basic controls, like TextBox, support accessing the absolute cursor position. They report position including EOL characters. So, the position will reflect the EOL sequence ( CR LF, or LF) depending on the file type.
I would like to know if there is a similar method for accessing the absolute cursor position within the text in an EditControl. It looks like CursorIndex reports the position within a line not within the entire text stream. I suppose I can calculate absolute position given LineNumber and CursorIindex and EOL sequence, just wondering if there is an easier way?