aboutsummaryrefslogtreecommitdiffhomepage
diff options
context:
space:
mode:
-rw-r--r--src/Editor.cxx2
1 files changed, 2 insertions, 0 deletions
diff --git a/src/Editor.cxx b/src/Editor.cxx
index a1b403f19..1cfa6df02 100644
--- a/src/Editor.cxx
+++ b/src/Editor.cxx
@@ -3909,6 +3909,8 @@ void Editor::DelChar() {
}
void Editor::DelCharBack(bool allowLineStartDeletion) {
+ if (sel.IsRectangular())
+ allowLineStartDeletion = false;
const bool undoBracketNeeded = (sel.Count() > 1) || !sel.Empty();
if (undoBracketNeeded)
pdoc->BeginUndoAction();