From 6a05aedc179417905f3eb9ec1c97cde127d0a3c8 Mon Sep 17 00:00:00 2001 From: nyamatongwe Date: Wed, 22 Jun 2011 18:23:47 +1000 Subject: Bug #3315756. Look at character under pointer to determine whether to display arrow (over selection) or I-beam. Previously used inter-character position instead of character. --- src/Editor.cxx | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'src') diff --git a/src/Editor.cxx b/src/Editor.cxx index 648dd8034..f618c78de 100644 --- a/src/Editor.cxx +++ b/src/Editor.cxx @@ -5981,7 +5981,7 @@ bool Editor::PositionInSelection(int pos) { } bool Editor::PointInSelection(Point pt) { - SelectionPosition pos = SPositionFromLocation(pt); + SelectionPosition pos = SPositionFromLocation(pt, false, true); int xPos = XFromPosition(pos); for (size_t r=0; r