aboutsummaryrefslogtreecommitdiffhomepage
path: root/src/Editor.h
diff options
context:
space:
mode:
authornyamatongwe <unknown>2011-06-09 08:40:52 +1000
committernyamatongwe <unknown>2011-06-09 08:40:52 +1000
commita273e086247695b91f81625c9028e05d1ee8a8b7 (patch)
tree2501b9e2e8aa61e04f6bf1968e64928dda1114a6 /src/Editor.h
parent5c02bfda05cb8db50cb5d4f8a8fd692ec8ed970c (diff)
downloadscintilla-mirror-a273e086247695b91f81625c9028e05d1ee8a8b7.tar.gz
Improved version of change set 3704. Bug #3312763.
Make line selection word wrap aware but leave triple-click as selecting document line. From Marko Njezic.
Diffstat (limited to 'src/Editor.h')
-rw-r--r--src/Editor.h4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/Editor.h b/src/Editor.h
index 877f41443..ca01bf6d3 100644
--- a/src/Editor.h
+++ b/src/Editor.h
@@ -194,7 +194,7 @@ protected: // ScintillaBase subclass needs access to much of Editor
int dwellDelay;
int ticksToDwell;
bool dwelling;
- enum { selChar, selWord, selLine } selectionType;
+ enum { selChar, selWord, selSubLine, selWholeLine } selectionType;
Point ptMouseLast;
enum { ddNone, ddInitial, ddDragging } inDragDrop;
bool dropWentOutside;
@@ -492,7 +492,7 @@ protected: // ScintillaBase subclass needs access to much of Editor
bool PointInSelection(Point pt);
bool PointInSelMargin(Point pt);
Window::Cursor GetMarginCursor(Point pt);
- void LineSelection(int lineCurrentPos_, int lineAnchorPos_);
+ void LineSelection(int lineCurrentPos_, int lineAnchorPos_, bool wholeLine);
void WordSelection(int pos);
void DwellEnd(bool mouseMoved);
void MouseLeave();