From 55a9db60c41d3880d9d5feb44b205d31ee942ce0 Mon Sep 17 00:00:00 2001 From: nyamatongwe Date: Tue, 8 May 2012 22:07:57 +1000 Subject: Feature #3520037. Trim current selection when setting a word or line selection to avoid any doubly selected ranges. --- src/Editor.h | 1 + 1 file changed, 1 insertion(+) (limited to 'src/Editor.h') 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); -- cgit v1.2.3