]> git.lyx.org Git - lyx.git/blobdiff - src/Text3.cpp
Remove some spacing above InsetColapsible when possible
[lyx.git] / src / Text3.cpp
index 664ffb459b8fbd0c9426908330ae36565795e3b8..8643411da1cf0d695fc5c04fd478ccc84afb6cfc 100644 (file)
@@ -1250,7 +1250,13 @@ void Text::dispatch(Cursor & cur, FuncRequest & cmd)
                                }
                        }
                } else {
+                       DocIterator const dit = cur.selectionBegin();
                        cutSelection(cur, false);
+                       if (cur.buffer()->params().track_changes)
+                               // since we're doing backwards deletion,
+                               // and the selection is not really cut,
+                               // move cursor before selection (#11630)
+                               cur.setCursor(dit);
                        singleParUpdate = false;
                }
                break;