diff options
author | Neil <nyamatongwe@gmail.com> | 2022-07-31 08:16:54 +1000 |
---|---|---|
committer | Neil <nyamatongwe@gmail.com> | 2022-07-31 08:16:54 +1000 |
commit | 535e20189d5a2dd9b43a6ea0a74749a50678d631 (patch) | |
tree | 6ddecde2fbdb77a2657a4662d4744483df4ac4d4 /src/MarginView.cxx | |
parent | 83d8151122916867367b75ac38d0cf32ba0ac932 (diff) | |
download | scintilla-mirror-535e20189d5a2dd9b43a6ea0a74749a50678d631.tar.gz |
Move main access to active marker bit set to model. This will allow merging in
change history markers and simplifies calls.
Diffstat (limited to 'src/MarginView.cxx')
-rw-r--r-- | src/MarginView.cxx | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/MarginView.cxx b/src/MarginView.cxx index cc243f41f..7d2f4a8cd 100644 --- a/src/MarginView.cxx +++ b/src/MarginView.cxx @@ -283,7 +283,7 @@ void MarginView::PaintOneMargin(Surface *surface, PRectangle rc, PRectangle rcOn const bool firstSubLine = visibleLine == firstVisibleLine; const bool lastSubLine = visibleLine == lastVisibleLine; - int marks = firstSubLine ? model.pdoc->GetMark(lineDoc) : 0; + int marks = firstSubLine ? model.GetMark(lineDoc) : 0; bool headWithTail = false; |