aboutsummaryrefslogtreecommitdiffhomepage
path: root/src
diff options
context:
space:
mode:
authornyamatongwe <devnull@localhost>2009-07-22 01:17:39 +0000
committernyamatongwe <devnull@localhost>2009-07-22 01:17:39 +0000
commit52cbd3c0747b08b4a871e092a92b94c16fc3506c (patch)
tree7541f3024a565e2402fe6c1cde284166209cebd5 /src
parentdb0003c1cf228821a883da344f5c7be69e8198b9 (diff)
downloadscintilla-mirror-52cbd3c0747b08b4a871e092a92b94c16fc3506c.tar.gz
Calculating rectangular selection when setting rectangular selection
virtual space. Same as last fix but for virtual space.
Diffstat (limited to 'src')
-rw-r--r--src/Editor.cxx2
1 files changed, 2 insertions, 0 deletions
diff --git a/src/Editor.cxx b/src/Editor.cxx
index 2527fdb49..e2b87446d 100644
--- a/src/Editor.cxx
+++ b/src/Editor.cxx
@@ -8241,6 +8241,7 @@ sptr_t Editor::WndProc(unsigned int iMessage, uptr_t wParam, sptr_t lParam) {
sel.Clear();
sel.selType = Selection::selRectangle;
sel.Rectangular().caret.SetVirtualSpace(wParam);
+ SetRectangularRange();
Redraw();
break;
@@ -8252,6 +8253,7 @@ sptr_t Editor::WndProc(unsigned int iMessage, uptr_t wParam, sptr_t lParam) {
sel.Clear();
sel.selType = Selection::selRectangle;
sel.Rectangular().anchor.SetVirtualSpace(wParam);
+ SetRectangularRange();
Redraw();
break;