From 535e20189d5a2dd9b43a6ea0a74749a50678d631 Mon Sep 17 00:00:00 2001 From: Neil Date: Sun, 31 Jul 2022 08:16:54 +1000 Subject: Move main access to active marker bit set to model. This will allow merging in change history markers and simplifies calls. --- src/Editor.cxx | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'src/Editor.cxx') 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(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; } } -- cgit v1.2.3