From 7c0a8e73df69c358f0412fed89f638c90dd8432c Mon Sep 17 00:00:00 2001 From: nyamatongwe Date: Wed, 3 Dec 2003 11:17:13 +0000 Subject: Explicitly set the selection type when switching documents as rectangular selection slows it down markedly. --- src/Editor.cxx | 1 + 1 file changed, 1 insertion(+) (limited to 'src') 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; -- cgit v1.2.3