Hi,

* SourceForge.net wrote (2007-12-30 13:32):
>Comment By: Joerg Fischer (jf505)
>Date: 2007-12-30 21:32
>Now, please notice, this decision isn't the cause for the bug report. The
>cause is that NEdit didn't remember on which displayed line the cursor
>actually is on, which resulted in a two line wide jump in down direction
>and a zero line jump in up direction (this is the reported part).

I'm fully aware of that, and both our fixes address this problem.


>Anyway, while I heard from the principle of least surprise, in this case I
>must wonder why the surprise to place the cursor at buffer position n0 - 1
>should be smaller, because it is two times wrong -- the wrong buffer
>position and the wrong display position.  It's not the end of the line.  To
>minimize the surprise the other commands like go to end of line should also
>be transformed into buffer position n0 - 1 then, and hopefully one doesn't
>end up with more surprise in total.  Therefore, I wrote I can't follow
>Scite or Kate here.

I think a comprehensive solution is very hard to do. For example, if
these were three lines, two of them contwrapped:

    ABCDEFG\n
    1234567
    abc

and I would move the cursor from the c to the left, I would like the
cursor to be placed in front of the a. If I pressed <up> then, I would
want to go in front of the 1.

OTOH, if I would move the cursor from the 5 to the right, I would want
it to be placed after the 7, and moving up, after the G. Now the
cursor is at a different location.


So some blur is unavoidable. The question which hurts user
expectations the least depends of personal preferences, use pattern,
former experience and more. I like Scite or Kate here, you named some
good reason why you don't.

Any other opinions?


Thorsten                                            Kristin Hersh: 37 Hours
-- 
The liberty of a democracy is not safe if the people tolerate the
growth of private power to the point where it becomes stronger
than the democratic state itself.
    - Franklin D. Roosevelt

Attachment: pgpt83YHXfKA7.pgp
Description: PGP signature

-- 
NEdit Develop mailing list - [email protected]
http://www.nedit.org/mailman/listinfo/develop

Reply via email to