Bugs item #1525074, was opened at 2006-07-19 10:46
Message generated for change (Comment added) made by yooden
You can respond by visiting:
https://sourceforge.net/tracker/?func=detail&atid=111005&aid=1525074&group_id=11005
Please note that this message will contain a full copy of the comment thread,
including the initial issue submission, for this request,
not just the latest update.
Category: Program
Group: release
Status: Open
Resolution: Accepted
Priority: 9
Private: No
Submitted By: Nobody/Anonymous (nobody)
Assigned to: Thorsten Haude (yooden)
Summary: cursor hangup with continuous wrap
Initial Comment:
I typed in following 3 lines:
-------- cut here --------
1>******************
2>******************ab
3>
-------- cut here --------
then:
1. resize window, so the last two characters 'ab'
of line 2 were wraped to the next line by
continuous wrap
2. go to line 1, type key <End>, for end of line
3. scroll to end of file with <cursor down>
4. scroll up with <cursor up>
i got a cursor hangup on the wraped part of line 2
for reproducing the bug i found it is important that
- line 1 needs exactly the size just before line wrap.
- there may by other lines between line 1 and 2
cheers
Jörg
----------------------------------------------------------------------
>Comment By: Thorsten Haude (yooden)
Date: 2007-12-29 00:47
Message:
Logged In: YES
user_id=119143
Originator: NO
File Added: wrongColumn.diff.txt
----------------------------------------------------------------------
Comment By: Joerg Fischer (jf505)
Date: 2007-10-02 16:11
Message:
Logged In: YES
user_id=918104
Originator: NO
I can't follow Kate or Scite. There is no problem in showing the cursor
at the start of the next line in case of a non-whitespace wrap. We only
have to be consistent and notice that in this case the next and previous
lines are different, otherwise Down jumps actually 2 lines down, while Up
stays at the same line as reported. I can't attache the simple fix here
unfortunately so I submit it to the develop list.
----------------------------------------------------------------------
Comment By: Thorsten Haude (yooden)
Date: 2006-09-05 16:19
Message:
Logged In: YES
user_id=119143
I implemented a solution I saw in Kate and Scite: On
cont-wrapped lines, the caret is put in the last but one
position, retaining the preferred column. The current patch
is buggy on some fringe cases (eg. two-column windows), so I
will have another look.
----------------------------------------------------------------------
Comment By: Thorsten Haude (yooden)
Date: 2006-09-03 14:58
Message:
Logged In: YES
user_id=119143
Found it. The caret movement you would expect is not
possible (but attempted, hence the hangup) because the caret
cannot be placed on the last position of a cont-wrapped
line. At the moment I don't see a fix that would keep caret
movement consistent for all cases.
(Confirmed for 5.1.1.)
----------------------------------------------------------------------
Comment By: Thorsten Haude (yooden)
Date: 2006-08-11 19:17
Message:
Logged In: YES
user_id=119143
Confirmed with:
Enhanced NEdit 5.5
Nov 24, 2005
Built on: Linux, 486, GNU C
Built at: Jan 2 2006, 20:46:10
With Motif: 2.2.3 [@(#)Motif Version 2.2.3]
Running Motif: 2.2 [@(#)Motif Version 2.2.3]
Server: The XFree86 Project, Inc 40399902
Visual: 16-bit TrueColor (ID 0x22, Default)
Locale: de_DE
(Is that you, Jörg? Did you just forgot to login?)
----------------------------------------------------------------------
You can respond by visiting:
https://sourceforge.net/tracker/?func=detail&atid=111005&aid=1525074&group_id=11005
--
NEdit Develop mailing list - [email protected]
http://www.nedit.org/mailman/listinfo/develop