Sublime Forum

Subl filepath:linenum:colnum doesn't work as expected when line contains tabs

#1

Hi,

I believe sublime is essentially treating the column number param as a character number, as a 4 space width tab is treated as a single column.

I have made an issue here: https://github.com/SublimeTextIssues/Core/issues/3039

Is anyone else experiencing this?

Nick

0 Likes

#2

I don’t use tabs any more, so it doesn’t affect me but yes :wink:

I wonder if it is because the indentation size detection is done in a plugin after the file is loaded and the caret position already set

0 Likes

#3

The same thing applies to error messages that Sublime generates when it’s loading settings files and such and they’re broken; it gives you a row and column for the error, but if the underlying file uses tabs then the column position will not be correct.

0 Likes