In Syntax Editor, I'm trying to get the current caretPosition and display the line and column number.
I have a problem, when the length of the line exceed 9600 characters.
Lets assume 12th line have 10,000 characters, after 9600 characters line wrapped and display as next line.
If I select 12th line and 9601 character, then caret position returns line = 12 and column = 1. But the expected column is 9601.
How to resolve this issue.
Note: But the Visual Studio allow to have more than 9600 characters in a single line.
Thanks in advance.
[Modified 5 years ago]