Problem marking lines in short files

If reporting a bug with the Zeus IDE please post the details here. Please do not post questions here.
Post Reply
AlanStewart
Posts: 83
Joined: Fri Jun 02, 2006 6:52 pm

Problem marking lines in short files

Post by AlanStewart »

I've just installed 3.96s so I've got the latest copy.

I've been having some problems with copying blocks of code in short files, ie. files that are shorter than the edit window.

When I hold down the ALT key and click on a line the whole line is selected. I then drag the mouse past the end of the file and all the lines from the one I selected to the end are highlighted. In fact, I'm getting a couple of extra lines at the end highlighted, even though there's nothing there.

When I release the mouse, only the original line and last couple of blank lines remain highlighted. Why doesn't the mark stay on all the lines I've highlighted so that I can copy the lines I want?

The highlighting of the extra couple of lines at the end wasn't doing that in 3.69p so I don't know when that change occured.

Thanks.
jussij
Site Admin
Posts: 2465
Joined: Fri Aug 13, 2004 5:10 pm

Post by jussij »

When I hold down the ALT key and click on a line the whole line is selected. I then drag the mouse past the end of the file and all the lines from the one I selected to the end are highlighted. In fact, I'm getting a couple of extra lines at the end highlighted, even though there's nothing there.

When I release the mouse, only the original line and last couple of blank lines remain highlighted. Why doesn't the mark stay on all the lines I've highlighted so that I can copy the lines I want?

Because the mouse up message was for a point past the end of the file it is not accepted as a valid line location, which is why the highlighting did not stick.

I do remember a change being made to this part of Zeus to fix another issue, but at this stage I can't recall the exact bug that it was being fixed :(
The highlighting of the extra couple of lines at the end wasn't doing that in 3.69p so I don't know when that change occured.

The extra lines of highlighting at the end of the file is a painting bug :(

Cheers Jussi
AlanStewart
Posts: 83
Joined: Fri Jun 02, 2006 6:52 pm

Post by AlanStewart »

[quote="jussij"]Because the mouse up message was for a point past the end of the file it is not accepted as a valid line location, which is why the highlighting did not stick.[/quote]

Hmm, is it possible to just use the last valid line that the mouse moved over as the end point? Assuming you have any control over when the MouseUp message is handled.

[quote]The extra lines of highlighting at the end of the file is a painting bug :([/quote]

Painting bugs are the bane of UI-based programs!
jussij
Site Admin
Posts: 2465
Joined: Fri Aug 13, 2004 5:10 pm

Post by jussij »

This mouse marking bug and painting issue will be fixed in the next release ;)

Cheers Jussi
AlanStewart
Posts: 83
Joined: Fri Jun 02, 2006 6:52 pm

Post by AlanStewart »

jussij wrote:This mouse marking bug and painting issue will be fixed in the next release ;)
Hooray!!!
jussij
Site Admin
Posts: 2465
Joined: Fri Aug 13, 2004 5:10 pm

Post by jussij »

The following Zeus 3.96t beta should fix this issue: http://www.zeusedit.com/z300/ze396t-beta.zip

To install this patch, backup your current Zeus installation and replace your current files with those contained in the zip.

Cheers Jussi
AlanStewart
Posts: 83
Joined: Fri Jun 02, 2006 6:52 pm

Post by AlanStewart »

jussij wrote:The following Zeus 3.96t beta should fix this issue: http://www.zeusedit.com/z300/ze396t-beta.zip
SWEET! It works! Yipeee! I'll let you know if I find anything else! :)
Post Reply