[pedevel] Re: Cursor movement

  • From: Ingo Weinhold <bonefish@xxxxxxxxxxxxxxx>
  • To: pedevel@xxxxxxxxxxxxx
  • Date: Wed, 18 May 2005 00:05:56 +0200 (MEST)

On Tue, 17 May 2005, Oliver Tappe wrote:


On 2005-05-17 at 23:16:24 [+0200], Axel Dörfler wrote:

does anybody mind if I set "catchOffset" to false in the default handler in PText::DoKeyCommand()? The effect would be that the cursor would try to keep its current column in case of vertical movement.
[ 8< ]
Any opinions on this matter?

Yes, that's how it should be >:o)

Er, isn't that exactly what happens? I don't have Pe at hand at the moment, but I'm pretty sure about it. At least for normal vertical cursor movement. Maybe you're talking about some special case?


Eddie even has some advanced cursor movement features as it keeps the
column even when you insert something after you positioned the cursor.
That's very nice when you have to add or remove something from a number
of subsequent lines.

That sounds useful, too.

Maybe I just don't understand it. Are we talking about the following behavior:


Line 1:
123456789_

Down
Line 2:
1234_

Type a char
Line 2:
1234W_

Down
Line 3:
123456789_

?

I would find that very confusing.

CU, Ingo

Other related posts: