Hi ActiPro,
Is there a way to get the display character column position for the document's end position? My last line contains '\t' characters. I would like to get something similar as ICaret's Display Line and Display Character Column where Tab size are accounted for.
I am currently using this:
documentEndPosition.Line = editor.ActiveView.CurrentSnapshot.SnapshotRange.EndPosition.Line + 1;
documentEndPosition.Column = editor.ActiveView.CurrentSnapshot.SnapshotRange.EndPosition.Character + 1;
The column position treats '\t' as 1 character instead of number of characters defined by Tab Size.
Thanks in advance for the help.