diff options
author | nyamatongwe <devnull@localhost> | 2012-04-23 13:33:36 +1000 |
---|---|---|
committer | nyamatongwe <devnull@localhost> | 2012-04-23 13:33:36 +1000 |
commit | e416c429c3f634f238132b14a5a60106f1df1e37 (patch) | |
tree | a7bcde7873cefad8a897b614cc1b20db094385c4 /src | |
parent | bca705ae847a8608626061a248b2671a93ab9f6e (diff) | |
download | scintilla-mirror-e416c429c3f634f238132b14a5a60106f1df1e37.tar.gz |
Bug #3519246. Stop allowing selection into virtual space for rectangular selection
when virtual space set to SCVS_USERACCESSIBLE.
Diffstat (limited to 'src')
-rw-r--r-- | src/Editor.cxx | 2 |
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)); } |