aboutsummaryrefslogtreecommitdiffhomepage
path: root/src/Editor.cxx
diff options
context:
space:
mode:
authornyamatongwe <unknown>2003-12-03 11:17:13 +0000
committernyamatongwe <unknown>2003-12-03 11:17:13 +0000
commite05e979c806ce2f6f79530c1314b2ef1c0b439c2 (patch)
tree7cecedbb7a3ac99373d7bdf68b35539334ce603d /src/Editor.cxx
parenta8523581dade0966c405d8cde51c3ee0654e7e8d (diff)
downloadscintilla-mirror-e05e979c806ce2f6f79530c1314b2ef1c0b439c2.tar.gz
Explicitly set the selection type when switching documents as rectangular
selection slows it down markedly.
Diffstat (limited to 'src/Editor.cxx')
-rw-r--r--src/Editor.cxx1
1 files changed, 1 insertions, 0 deletions
diff --git a/src/Editor.cxx b/src/Editor.cxx
index 05fa0a23e..be02055a8 100644
--- a/src/Editor.cxx
+++ b/src/Editor.cxx
@@ -5225,6 +5225,7 @@ void Editor::SetDocPointer(Document *document) {
pdoc->AddRef();
// Ensure all positions within document
+ selType = selStream;
currentPos = 0;
anchor = 0;
targetStart = 0;