diff options
Diffstat (limited to 'src')
-rw-r--r-- | src/scintilla.patch | 12 |
1 files changed, 12 insertions, 0 deletions
diff --git a/src/scintilla.patch b/src/scintilla.patch index 493fd538..f2d7935d 100644 --- a/src/scintilla.patch +++ b/src/scintilla.patch @@ -36,3 +36,15 @@ diff -r 326449de45d0 src/ScintillaBase.cxx rc.top += offset; rc.bottom += offset; } +diff -r a797ff255bdf src/Editor.cxx +--- a/src/Editor.cxx Sat Nov 29 12:42:58 2014 +1100 ++++ b/src/Editor.cxx Wed Dec 17 09:54:10 2014 -0500 +@@ -3998,7 +3998,7 @@ + // Really means: "Point in a margin" + if (vs.fixedColumnWidth > 0) { // There is a margin + PRectangle rcSelMargin = GetClientRectangle(); +- rcSelMargin.right = static_cast<XYPOSITION>(vs.textStart - vs.leftMarginWidth); ++ rcSelMargin.right = static_cast<XYPOSITION>(vs.textStart - (vs.leftMarginWidth > 0 ? vs.leftMarginWidth : 1)); + rcSelMargin.left = static_cast<XYPOSITION>(vs.textStart - vs.fixedColumnWidth); + return rcSelMargin.Contains(pt); + } else { |