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 | 59a2c47ed03ac40ec5a612cb74667dc70900dff5 (patch) | |
tree | d7852fd450d8e3b7d9a15b7a31056c04393459d1 /src/Editor.cxx | |
parent | 61b4fe924b11fecf2e14c337a06376860a85173d (diff) | |
download | scintilla-mirror-rel-3-5-3.tar.gz |
When the mouse is on the line between margin and text changed to treat as withinrel-3-5-3
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; } |