+ merge: current (2018-08-27) Scintilla GitHub mirror

This commit is contained in:
Rainer Kottenhoff 2018-08-27 22:05:32 +02:00
parent f67282b60d
commit 122875e272

View File

@ -430,7 +430,7 @@ int ViewStyle::ExternalMarginWidth() const {
int ViewStyle::MarginFromLocation(Point pt) const {
int margin = -1;
int x = textStart - fixedColumnWidth;
int x = marginInside ? 0 : -fixedColumnWidth;
for (size_t i = 0; i < ms.size(); i++) {
if ((pt.x >= x) && (pt.x < x + ms[i].width))
margin = static_cast<int>(i);