Closed
Bug 494542
Opened 17 years ago
Closed 16 years ago
undoing multiline selection delete fails
Categories
(Skywriter Graveyard :: Editor, defect)
Skywriter Graveyard
Editor
Tracking
(Not tracked)
RESOLVED
FIXED
People
(Reporter: alex, Assigned: alex)
Details
User-Agent: Mozilla/5.0 (Macintosh; U; Intel Mac OS X 10_5_7; en-us) AppleWebKit/528.18.1 (KHTML, like Gecko) Version/4.0 Safari/528.17
Build Identifier: 7d58f6bc9828
Due to some "fixes" for tabmode that I made, it appears that undoing the deletion of multiline selections has broken.
Reproducible: Always
Steps to Reproduce:
1. Make a multi-line selection.
2. Press "Backspace."
3. Press Cmd/Ctrl-Z
Actual Results:
Only un-deletes the first line of the portion deleted.
Expected Results:
Undeletion of the entire portion deleted.
This is due to a lack of checking for definedness of an argument used in autoindentation. Because I was apparently not careful enough to prevent an API change, things broke. I have already made a one-line fix here:
http://bitbucket.org/alexi/bespin-fixes/changeset/1886886719b2/
Sorry about that. I will test more thoroughly in future.
Comment 1•17 years ago
|
||
Don't worry. You're not the first one to cause problems with undo.
But this bug does currently exist, so marking as NEW.
Assignee: nobody → alex
Status: UNCONFIRMED → NEW
Ever confirmed: true
OS: Mac OS X → All
Hardware: x86 → All
Version: unspecified → Trunk
| Assignee | ||
Comment 2•17 years ago
|
||
I (think) I just pulled the tip into my patch:
http://bitbucket.org/alexi/bespin-fixes/overview/
If I understand hg right... I'm more used to bzr.
| Assignee | ||
Comment 3•16 years ago
|
||
This fix has been pulled to tip.
Status: NEW → RESOLVED
Closed: 16 years ago
Resolution: --- → FIXED
You need to log in
before you can comment on or make changes to this bug.
Description
•