#354 ✓resolved
marzapower

Can't undo after block editing

Reported by marzapower | October 23rd, 2010 @ 12:27 PM

I found a bug that makes impossible to undo changes after a block text editing.

Use these passages to reproduce the bug:
1. Launch redcar (currently using v. 0.7)
2. Open an existing file on the hd (I chose a .rb file)
3. Switch to block editing (CMD+B)
4. Select a block of text
5. Type something
6. Try to undo the changes (CMD+Z or menu shortcut)

The undo list is empty, hence it is impossible to undo these changes.

Hope this can help.

Comments and changes to this ticket

  • Daniel Lucraft

    Daniel Lucraft October 23rd, 2010 @ 02:16 PM

    • State changed from “new” to “open”

    This is very strange. If you continue from 5:

    1. Turn off block selection
    2. Type something else

    You can now undo back past the block selection changes. So the JFace.TextViewerUndoManager is recording the changes, but for some reason if a block selection was the last thing modified it will report NOT UNDOABLE.

    I can't figure out why this class is behaving in this way.

  • Daniel Lucraft

    Daniel Lucraft October 23rd, 2010 @ 03:49 PM

    • State changed from “open” to “resolved”

    This is fixed in the master branch, and should be in 0.8

Please Sign in or create a free account to add a new ticket.

With your very own profile, you can contribute to projects, track your activity, watch tickets, receive and update tickets through your email and much more.

New-ticket Create new ticket

Create your profile

Help contribute to this project by taking a few moments to create your personal profile. Create your profile ยป

A programmer's text editor for Gnome.

People watching this ticket

Pages