Description
The command line functionality for opening a file at a particular line and column number doesn't work as expected when opening on a line with tab indentation.
Steps to reproduce
- Record the line and column number of your caret on a line in a file containing a tab character, making sure that this is somewhere after the tab character (end of line demonstrates this best). Sublime's line/column number functionality in the bottom left of the UI can be used to get this info.
- Open sublime at the desired location using the command line 'subl filename:linenum:colnum'
- Observe that the tab is treated as a single character when opening the file in this way, and the caret is now 3 characters ahead of the desired location.
Expected behavior
That sublime opens up with the caret in the location that the UI reports it should be in.
Actual behavior
Sublime opens up with the caret having overshot, potentially onto a new line.
Environment
- Build: 3211
- Operating system and version: Windows 10 1903