I would like to navigate to position in text file.
Not line number, but character position. Absolute character position from the beginning of file.
How to do this in Notepad++?
Any other plain text editor is ok. I am editing JSON file.
I would like to navigate to position in text file.
Not line number, but character position. Absolute character position from the beginning of file.
How to do this in Notepad++?
Any other plain text editor is ok. I am editing JSON file.
There's an 'Offset' option you can use to directly go to the character you want.
Select the Search -> Go to...
menu option (or press Ctrl+G) and change the radio button from Line to Offset then enter the character position you want to go to in the You want to go to field:
Not very elegant, but it works:
(?<=^.{55}).
. matches newline
This will highlight the 56th character from the begining of the file.