aboutsummaryrefslogtreecommitdiffhomepage
diff options
context:
space:
mode:
authornyamatongwe <unknown>2012-04-23 13:33:36 +1000
committernyamatongwe <unknown>2012-04-23 13:33:36 +1000
commitcc20a938e43074f0930a7348d1e5d489f3c5b41e (patch)
treee8343d49fcb9a3e154720ca91914e514ee76a864
parent9a5c7d05e0182bb2f940f8084f0d2cf14d4551e4 (diff)
downloadscintilla-mirror-cc20a938e43074f0930a7348d1e5d489f3c5b41e.tar.gz
Bug #3519246. Stop allowing selection into virtual space for rectangular selection
when virtual space set to SCVS_USERACCESSIBLE.
-rw-r--r--src/Editor.cxx2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/Editor.cxx b/src/Editor.cxx
index a6f638651..29266563a 100644
--- a/src/Editor.cxx
+++ b/src/Editor.cxx
@@ -6202,7 +6202,7 @@ void Editor::MouseLeave() {
}
static bool AllowVirtualSpace(int virtualSpaceOptions, bool rectangular) {
- return ((virtualSpaceOptions & SCVS_USERACCESSIBLE) != 0)
+ return (!rectangular && ((virtualSpaceOptions & SCVS_USERACCESSIBLE) != 0))
|| (rectangular && ((virtualSpaceOptions & SCVS_RECTANGULARSELECTION) != 0));
}