![Avatar](https://secure.gravatar.com/avatar/1e5c73b59680ca167d5302cc7e9d8125.jpg?s=64&d=identicon&r=g)
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.