Backspace deleted characters and moved node

27 views
Skip to first unread message

SegundoBob

unread,
Aug 19, 2012, 9:32:13 PM8/19/12
to leo-e...@googlegroups.com
I was editing a file and I used backspace to delete three characters from the body of a node.  The characters were deleted, but in addition the node was moved left 2 levels and down 1 level.  I noticed because this happened to move the node out of Python coloring and into "plain" coloring.

Ctrl-Z (undo) undoes the character deletes in one step, then the node move in one step.

So first the node was moved, then the characters were deleted.

I could undo and redo the problem over and over, but I could not reproduce the problem.

Leo Log Window
Leo 4.11 devel, build 5419, 2012-07-27 09:16:33
Python 2.7.2, qt version 4.7.4
linux2
reading: /media/datw1/BobH/1/Leo/Leo.leo

openSUSE 12.1
Kernel Linux 3.1.10-1.16-desktop
XFCE desktop environment

Terry Brown

unread,
Aug 20, 2012, 10:35:07 AM8/20/12
to leo-e...@googlegroups.com
On Sun, 19 Aug 2012 18:32:13 -0700 (PDT)
SegundoBob <bhos...@ieee.org> wrote:

> I was editing a file and I used backspace to delete three characters from
> the body of a node. The characters were deleted, but in addition the node
> was moved left 2 levels and down 1 level. I noticed because this happened
> to move the node out of Python coloring and into "plain" coloring.
>
> Ctrl-Z (undo) undoes the character deletes in one step, then the node move
> in one step.
>
> So first the node was moved, then the characters were deleted.
>
> I could undo and redo the problem over and over, but I could not reproduce
> the problem.

A possible explanation would be accidentally, and without noticing,
hitting another key before the backspace. I know I sometimes hit
Ctrl-D (aiming for Ctrl-S) and similar node moving actions, worst is
when you move a code node out of a @file tree and then no matter how
you change the code in the node the programs execution is unaffected :-}

Cheers -Terry

Edward K. Ream

unread,
Aug 21, 2012, 9:28:52 AM8/21/12
to leo-e...@googlegroups.com
On Mon, Aug 20, 2012 at 9:35 AM, Terry Brown <terry_...@yahoo.com> wrote:
> On Sun, 19 Aug 2012 18:32:13 -0700 (PDT)
> SegundoBob <bhos...@ieee.org> wrote:
>
>> I was editing a file and I used backspace to delete three characters from
>> the body of a node. The characters were deleted, but in addition the node
>> was moved left 2 levels and down 1 level. I noticed because this happened
>> to move the node out of Python coloring and into "plain" coloring.

I have problems when the function-lock key isn't on. I hit F3,
thinking to do a find, and instead I do a redo.

The dratted caps lock also causes chaos.

Edward
Reply all
Reply to author
Forward
0 new messages