aboutsummaryrefslogtreecommitdiffhomepage
path: root/src/Editor.cxx
diff options
context:
space:
mode:
authorUnknown <jakub@vrana.cz>2012-02-29 16:12:22 -0800
committerUnknown <jakub@vrana.cz>2012-02-29 16:12:22 -0800
commitc8b96a7dbd214476761d4cc23a17b0ea35b04f98 (patch)
tree0cfc5761d8b3de8dfeb9e722a65ea02d7adfcc10 /src/Editor.cxx
parent2d208851cbe2035a360b7c58e84685b8e90dc74a (diff)
downloadscintilla-mirror-c8b96a7dbd214476761d4cc23a17b0ea35b04f98.tar.gz
Always record undo action for Ctrl+D
Diffstat (limited to 'src/Editor.cxx')
-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) {