aboutsummaryrefslogtreecommitdiffhomepage
path: root/src/Editor.cxx
diff options
context:
space:
mode:
authornyamatongwe <devnull@localhost>2010-11-21 07:16:01 +1100
committernyamatongwe <devnull@localhost>2010-11-21 07:16:01 +1100
commit28aca42cc9e439d5c409ee9f46165bd3a6ab89c3 (patch)
tree1fc840e2a3a9dba28c0256ed3439c80e8c2ce1b8 /src/Editor.cxx
parent0c0ab6c35d22817cfffba14d00fc26d846da7d89 (diff)
downloadscintilla-mirror-28aca42cc9e439d5c409ee9f46165bd3a6ab89c3.tar.gz
Speed up creating large rectangular selections.
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 01415ec88..6cf8d7490 100644
--- a/src/Editor.cxx
+++ b/src/Editor.cxx
@@ -708,7 +708,7 @@ void Editor::SetRectangularRange() {
if (line == lineAnchor)
sel.SetSelection(range);
else
- sel.AddSelection(range);
+ sel.AddSelectionWithoutTrim(range);
}
}
}