This Bugzilla instance is a read-only archive of historic NetBeans bug reports. To report a bug in NetBeans please follow the project's instructions for reporting issues.

Bug 259095 - Word is not undone at once after typing
Summary: Word is not undone at once after typing
Status: VERIFIED FIXED
Alias: None
Product: editor
Classification: Unclassified
Component: Actions/Menu/Toolbar (show other bugs)
Version: 8.2
Hardware: PC Linux
: P1 normal (vote)
Assignee: Miloslav Metelka
URL:
Keywords: 82_HR_FIX
Depends on:
Blocks:
 
Reported: 2016-05-02 09:44 UTC by Miloslav Metelka
Modified: 2016-09-22 13:20 UTC (History)
0 users

See Also:
Issue Type: DEFECT
Exception Reporter:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Miloslav Metelka 2016-05-02 09:44:01 UTC
When typing a word a subsequent Ctrl+Z will only undo a single letter not the whole word.
Merging algorithm of document events needs to be fixed.
Comment 1 Miloslav Metelka 2016-09-08 10:49:36 UTC
http://hg.netbeans.org/jet-main/rev/b1fa46d7749d
Comment 2 Quality Engineering 2016-09-09 01:52:49 UTC
Integrated into 'main-silver', will be available in build *201609090002* on http://bits.netbeans.org/dev/nightly/ (upload may still be in progress)

Changeset: http://hg.netbeans.org/main-silver/rev/b1fa46d7749d
User: Miloslav Metelka <mmetelka@netbeans.org>
Log: #259095 - Word is not undone at once after typing.
Comment 3 Miloslav Metelka 2016-09-21 13:08:14 UTC
P1 since this is a regression against NB8.1.
Comment 4 Miloslav Metelka 2016-09-21 15:37:19 UTC
The patch could be more elaborate supporting multiple edits in a single compound edit so then it would test mergeability between edits inside the compound edit itself and also between last edit of first compound edit and first edit of the second compound edit.

Nevertheless the current patch covers well the scenarios currently used in the editor so I request to put it into 8.2.
Comment 5 Jiri Prox 2016-09-22 09:33:36 UTC
verified in trunk
Comment 6 Miloslav Metelka 2016-09-22 13:20:56 UTC
Integrated in release82:
b1fa46d7749d transplanted to 756daf5449da