Sublime Forum

Toggle Bookmark doesn't work

#1

I am not able to toggle a bookmark once it is set.

I move the caret to the line the bookmark is at, and I hit toggle bookmark. Nothing happens…

Is there something I am missing?

1 Like

#2

[quote=“Ap0c552”]I am not able to toggle a bookmark once it is set.

I move the caret to the line the bookmark is at, and I hit toggle bookmark. Nothing happens…

Is there something I am missing?[/quote]

Maybe. The bookmark is set not just on a line, but on a position / selection within the line. So, if you just move the cursor to anywhere in the line via the mouse or cursor movement keys, it might not be on the bookmark and therefore you won’t be able to toggle it. If you go to the bookmark via the next or previous bookmark commands, you should then be able to toggle it. At least, that’s what I’ve noticed when I’ve encountered this kind of problem before.

1 Like

#3

I seems like the caret has to be at the exact position it was when the bookmark was set.So you can not just move to the line. You have to jump to that bookmark, and the toggle it.

0 Likes

#4

Yes, that’s what I was trying to say:

0 Likes

#5

Hi, here is some more info about this topic:
http://www.sublimetext.com/forum/viewtopic.php?f=3&t=11384&start=0

1 Like