diff options
author | nyamatongwe <unknown> | 2012-05-08 22:07:57 +1000 |
---|---|---|
committer | nyamatongwe <unknown> | 2012-05-08 22:07:57 +1000 |
commit | 55a9db60c41d3880d9d5feb44b205d31ee942ce0 (patch) | |
tree | d46d13c79ed08e7799d079e41dac78c3c78cf171 /src/Editor.h | |
parent | dd7da7c8cd11f63ce896626f85d210a22f8c0c38 (diff) | |
download | scintilla-mirror-55a9db60c41d3880d9d5feb44b205d31ee942ce0.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.h | 1 |
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); |