Problem with Find and scrolling

If reporting a bug with the Zeus IDE please post the details here. Please do not post questions here.
Post Reply
pwdiener
Posts: 134
Joined: Wed Jul 11, 2007 3:45 pm

Problem with Find and scrolling

Post by pwdiener » Wed Nov 12, 2008 1:43 pm

Jussi,

Using the Find dialog box to find strings, when the match is found on the currently displayed "page", everything works fine. However, when the text needs to scroll, it scrolls too far and scrolls the text found off the top of the screen. For example, I find text at line 26631. The find dialog is still up, so I press Enter (or click Find) and find the text at line 26651 on the same page. Pressing Enter again scroll line 26999 to the top of the display, with no text highlighted. Pressing ESC scrolls back to line 26848, with the text highlighted.

Using F3 to repeat the find works correctly.

Bill Diener

pwdiener
Posts: 134
Joined: Wed Jul 11, 2007 3:45 pm

Post by pwdiener » Wed Nov 12, 2008 2:06 pm

Jussi,

This appears to happening only on listing files, not source files. Other than line length and trailing spaces, I'm not sure I see the difference between these, but I definitely observe the different behavior. Both files are CRLF terminated.

This is 3.96r.

Bill

jussij
Site Admin
Posts: 2458
Joined: Fri Aug 13, 2004 5:10 pm

Post by jussij » Wed Nov 12, 2008 10:43 pm

Could you post a couple of lines from the listing file and an example of the text that you are searching for.

With those details I will try to replicate the bug at this end ;)

Cheers Jussi

jussij
Site Admin
Posts: 2458
Joined: Fri Aug 13, 2004 5:10 pm

Post by jussij » Thu Nov 13, 2008 11:38 pm

Ok, I have managed to replicate the bug.

The problem relates to the fact that Windows limits the scroller bar to having only 65536 scroll points.

So naturally a file with more than this number of lines does not fit into the scroller.

To get around this Windows limitation, when a large file is loaded into Zeus, one scroll point can be equal to more than one line of text.

The bug you have found relates to the fact that the searching code assumes each line of code has one scroll point in the scroller.

Cheers Jussi

jussij
Site Admin
Posts: 2458
Joined: Fri Aug 13, 2004 5:10 pm

Post by jussij » Mon Feb 16, 2009 11:17 pm

This unwanted behaviour should be improved in the latest patch found here: http://www.zeusedit.com/forum/viewforum.php?f=6

Cheers Jussi

Post Reply
kuchnie warszawa opinie

Who is online

Users browsing this forum: No registered users and 6 guests