diff options
author | nyamatongwe <devnull@localhost> | 2011-06-22 18:23:47 +1000 |
---|---|---|
committer | nyamatongwe <devnull@localhost> | 2011-06-22 18:23:47 +1000 |
commit | 3f66ead8454d0576392185619e951f15941fb0ac (patch) | |
tree | 94b86dd9b1767108a24a530894f877f1f8c5906a /src | |
parent | c0b8fab943f214548dcfe49df1b84ed7c57f0c73 (diff) | |
download | scintilla-mirror-3f66ead8454d0576392185619e951f15941fb0ac.tar.gz |
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.
Diffstat (limited to 'src')
-rw-r--r-- | src/Editor.cxx | 2 |
1 files changed, 1 insertions, 1 deletions
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<sel.Count(); r++) { SelectionRange range = sel.Range(r); |