aboutsummaryrefslogtreecommitdiffhomepage
path: root/src
diff options
context:
space:
mode:
authorjakub <jakub@vrana.cz>2012-02-29 16:12:22 -0800
committerjakub <jakub@vrana.cz>2012-02-29 16:12:22 -0800
commit3538f5a296888dd54d0d9f90e0dbc08b9f305cf6 (patch)
treee2958d5ed17a4da16837da96354610a1b6e8eabf /src
parent2ca57b19008940d6de6a47cdc44217a643665819 (diff)
downloadscintilla-mirror-3538f5a296888dd54d0d9f90e0dbc08b9f305cf6.tar.gz
Always record undo action for Ctrl+D
Diffstat (limited to 'src')
-rw-r--r--src/Editor.cxx2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/Editor.cxx b/src/Editor.cxx
index 421f33220..9ae4fb59a 100644
--- a/src/Editor.cxx
+++ b/src/Editor.cxx
@@ -4964,7 +4964,7 @@ void Editor::Duplicate(bool forLine) {
if (sel.Empty()) {
forLine = true;
}
- UndoGroup ug(pdoc, sel.Count() > 1);
+ UndoGroup ug(pdoc);
const char *eol = "";
int eolLen = 0;
if (forLine) {