diff options
author | Neil <nyamatongwe@gmail.com> | 2015-01-16 09:48:30 +1100 |
---|---|---|
committer | Neil <nyamatongwe@gmail.com> | 2015-01-16 09:48:30 +1100 |
commit | e8b4d6d131055b045d22c14e4cb3ec1698ce0941 (patch) | |
tree | 3d014f967242826dfd909fa0ed2defcbcc5d264a /src/Editor.cxx | |
parent | 19f38f82e0a959b7e7235547b9bcecc16d89b3db (diff) | |
download | scintilla-mirror-e8b4d6d131055b045d22c14e4cb3ec1698ce0941.tar.gz |
When the mouse is on the line between margin and text changed to treat as within
text. Helps on PLAT_CURSES.
Diffstat (limited to 'src/Editor.cxx')
-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 4902dbdc8..8cf77ead1 100644 --- a/src/Editor.cxx +++ b/src/Editor.cxx @@ -4008,7 +4008,7 @@ bool Editor::PointInSelMargin(Point pt) const { PRectangle rcSelMargin = GetClientRectangle(); rcSelMargin.right = static_cast<XYPOSITION>(vs.textStart - vs.leftMarginWidth); rcSelMargin.left = static_cast<XYPOSITION>(vs.textStart - vs.fixedColumnWidth); - return rcSelMargin.Contains(pt); + return rcSelMargin.ContainsWholePixel(pt); } else { return false; } |