Record undo when deleting end of paragraph in change tracking mode

Fixes bug #10253.
(cherry picked from commit 86c33c96a0)
This commit is contained in:
Jean-Marc Lasgouttes 2016-07-05 16:22:49 +02:00
parent 41d33d4c54
commit 39e8cbf4e5
2 changed files with 4 additions and 0 deletions

View File

@ -1611,6 +1611,7 @@ bool Text::erase(Cursor & cur)
return dissolveInset(cur);
if (!par.isMergedOnEndOfParDeletion(cur.buffer()->params().track_changes)) {
cur.recordUndo(DELETE_UNDO);
par.setChange(cur.pos(), Change(Change::DELETED));
cur.forwardPos();
needsUpdate = true;

View File

@ -141,6 +141,9 @@ What's new
- Fix cursor position after Redo of a document settings change (bug
10097).
- Handle undo after deleting end of paragraph in change tracking mode
(bug 10253).
- Disable Edit > Dissolve Inset in tabulars (bug 9954).
- Shortcut preferences: ask the user for removing bindings when using the