Bookmarks do not work as expected in a SQL document

If reporting a bug with the Zeus IDE please post the details here. Please do not post questions here.
Post Reply
Arthur
Posts: 22
Joined: Fri Jan 13, 2012 3:50 am

Bookmarks do not work as expected in a SQL document

Post by Arthur »

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
jussij
Site Admin
Posts: 2650
Joined: Fri Aug 13, 2004 5:10 pm

Post by jussij »

Hi Arthur,
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
Arthur
Posts: 22
Joined: Fri Jan 13, 2012 3:50 am

Post by Arthur »

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.
Post Reply