From 264af00abad56559c4bcdaddccade3c3fc14e240 Mon Sep 17 00:00:00 2001 From: Marko Njezic Date: Mon, 6 Jun 2011 23:36:54 +0200 Subject: Fix line selection of wrapped lines. Bug #3312763. --- src/Editor.h | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'src/Editor.h') diff --git a/src/Editor.h b/src/Editor.h index 5c01ee83d..877f41443 100644 --- a/src/Editor.h +++ b/src/Editor.h @@ -202,7 +202,7 @@ protected: // ScintillaBase subclass needs access to much of Editor SelectionPosition posDrop; int hotSpotClickPos; int lastXChosen; - int lineAnchor; + int lineAnchorPos; int originalAnchorPos; int wordSelectAnchorStartPos; int wordSelectAnchorEndPos; @@ -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 lineCurrent_, int lineAnchor_); + void LineSelection(int lineCurrentPos_, int lineAnchorPos_); void WordSelection(int pos); void DwellEnd(bool mouseMoved); void MouseLeave(); -- cgit v1.2.3