mirror of
https://github.com/rizonesoft/Notepad3.git
synced 2026-06-11 21:03:05 +08:00
+ merge: current (2018-08-27) Scintilla GitHub mirror
This commit is contained in:
parent
f67282b60d
commit
122875e272
@ -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);
|
||||
|
||||
Loading…
Reference in New Issue
Block a user