mirror of
https://git.lyx.org/repos/lyx.git
synced 2024-11-22 01:59:02 +00:00
Record undo when deleting end of paragraph in change tracking mode
Fixes bug #10253.
(cherry picked from commit 86c33c96a0
)
This commit is contained in:
parent
41d33d4c54
commit
39e8cbf4e5
@ -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;
|
||||
|
@ -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
|
||||
|
Loading…
Reference in New Issue
Block a user