Bookmarks do not work as expected in a SQL document with folding on.
Steps to repro:
1) Create/open a SQL document, here I actually played around with the SQL pretty formatting
2) Insert a bookmark on line 51 (refer to image link below), then 40;
3) Attempt to navigate between the bookmarks.
I get the caret positioned at line #57 a subsequent F2 places below the last line and I never get the bookmark at line 40 hit
Image is at
http://screencast.com/t/CifuwH8BT25e
Bookmarks do not work as expected in a SQL document
Hi Arthur,
I too have seen this bug so I think it is a general bug and not really anything specific to the SQL documents.
The bad news is I have always found this bug very difficult to replicate which makes it hard to fix
My hunch is the bug also has something todo with code folding and why it is difficult to reproduce is because it is requires a certain combination of setting bookmarks and folding code
Correct me if I am wrong, but I suspect if you try to replicate the bug using your steps above chances are it will work the second time around
Cheers Jussi
Bookmarks do not work as expected in a SQL document with folding on.
I too have seen this bug so I think it is a general bug and not really anything specific to the SQL documents.
The bad news is I have always found this bug very difficult to replicate which makes it hard to fix

My hunch is the bug also has something todo with code folding and why it is difficult to reproduce is because it is requires a certain combination of setting bookmarks and folding code

Correct me if I am wrong, but I suspect if you try to replicate the bug using your steps above chances are it will work the second time around

Cheers Jussi
Yeah, spent 20 min. or so trying to repro, no luck - same file, same bookmarks (lines) - alas they do get hit this time.
One minor [new] bug (IMHO) I noticed though is if I place a bookmark that is deposited inside foldable code at level 2 down, then try to hit it the cursor misses it completely, so yes, the bookmarking mechanism is wonky.
One minor [new] bug (IMHO) I noticed though is if I place a bookmark that is deposited inside foldable code at level 2 down, then try to hit it the cursor misses it completely, so yes, the bookmarking mechanism is wonky.