From a3acf5d5f220b7ff2c3a9260b44da1bec97f9c59 Mon Sep 17 00:00:00 2001 From: nyamatongwe Date: Thu, 30 Dec 2010 09:44:12 +1100 Subject: Fix entering line selection mode after two clicks. Bug #3143635. --- src/Editor.cxx | 2 ++ 1 file changed, 2 insertions(+) (limited to 'src') diff --git a/src/Editor.cxx b/src/Editor.cxx index b0d292a44..312c39b37 100644 --- a/src/Editor.cxx +++ b/src/Editor.cxx @@ -6168,6 +6168,8 @@ void Editor::ButtonUp(Point pt, unsigned int curTime, bool ctrl) { if (inDragDrop == ddInitial) { inDragDrop = ddNone; SetEmptySelection(newPos.Position()); + selectionType = selChar; + originalAnchorPos = sel.MainCaret(); } if (hotSpotClickPos != INVALID_POSITION && PointIsHotspot(pt)) { hotSpotClickPos = INVALID_POSITION; -- cgit v1.2.3