Sublime Forum

ST3 Vertical Ruler offest

#1

Hello, I am using a vertical ruler at 74 points

"rulers":

	74
],

and I get the line at 75 points (see https://dl.dropboxusercontent.com/u/4025249/sublimeVerRuler.jpg)

I noticed that there is always this offset of one character in all settings I tried.
Shouldn’t it have been the same as the column number?

0 Likes

#2

Me think it’s ok.

The line is at pos 75.
That means: after pos 74, and before pos 75. ( see very first pos is 1, not 0?)

As you want to be notified if you cross position 74, that’s fine. Just before the line is pos 74. If you behind the line, you’re at pos 75 and so too far.

.

0 Likes

#3

I see what you mean. The vertical ruler is at the end of the chosen column not at the beginning of it, which is why I get 75 instead of 74…
Thanks for the explanation.

0 Likes