aboutsummaryrefslogtreecommitdiffhomepage
path: root/src/Editor.cxx
diff options
context:
space:
mode:
authorNeil <nyamatongwe@gmail.com>2022-07-31 08:16:54 +1000
committerNeil <nyamatongwe@gmail.com>2022-07-31 08:16:54 +1000
commit535e20189d5a2dd9b43a6ea0a74749a50678d631 (patch)
tree6ddecde2fbdb77a2657a4662d4744483df4ac4d4 /src/Editor.cxx
parent83d8151122916867367b75ac38d0cf32ba0ac932 (diff)
downloadscintilla-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/Editor.cxx')
-rw-r--r--src/Editor.cxx4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/Editor.cxx b/src/Editor.cxx
index a4e2cc732..ccf187c65 100644
--- a/src/Editor.cxx
+++ b/src/Editor.cxx
@@ -7171,14 +7171,14 @@ sptr_t Editor::WndProc(Message iMessage, uptr_t wParam, sptr_t lParam) {
break;
case Message::MarkerGet:
- return pdoc->GetMark(LineFromUPtr(wParam));
+ return GetMark(LineFromUPtr(wParam));
case Message::MarkerNext:
return pdoc->MarkerNext(LineFromUPtr(wParam), static_cast<int>(lParam));
case Message::MarkerPrevious: {
for (Sci::Line iLine = LineFromUPtr(wParam); iLine >= 0; iLine--) {
- if ((pdoc->GetMark(iLine) & lParam) != 0)
+ if ((GetMark(iLine) & lParam) != 0)
return iLine;
}
}