aboutsummaryrefslogtreecommitdiffhomepage
path: root/src/Editor.h
diff options
context:
space:
mode:
authornyamatongwe <devnull@localhost>2012-05-08 22:07:57 +1000
committernyamatongwe <devnull@localhost>2012-05-08 22:07:57 +1000
commite3ecdee5158583f43b6bb2cf2b461c81cb9608e3 (patch)
treec0874fe0acc1e3bea28a310cbbc5b4339fd3ca46 /src/Editor.h
parent5a5b23882ea5f084f591dbe4337eb5b67c23cdb9 (diff)
downloadscintilla-mirror-e3ecdee5158583f43b6bb2cf2b461c81cb9608e3.tar.gz
Feature #3520037. Trim current selection when setting a word or
line selection to avoid any doubly selected ranges.
Diffstat (limited to 'src/Editor.h')
-rw-r--r--src/Editor.h1
1 files changed, 1 insertions, 0 deletions
diff --git a/src/Editor.h b/src/Editor.h
index c33f5b5f1..f8ab19d9e 100644
--- a/src/Editor.h
+++ b/src/Editor.h
@@ -493,6 +493,7 @@ protected: // ScintillaBase subclass needs access to much of Editor
bool PointInSelection(Point pt);
bool PointInSelMargin(Point pt);
Window::Cursor GetMarginCursor(Point pt);
+ void TrimAndSetSelection(int currentPos_, int anchor_);
void LineSelection(int lineCurrentPos_, int lineAnchorPos_, bool wholeLine);
void WordSelection(int pos);
void DwellEnd(bool mouseMoved);