aboutsummaryrefslogtreecommitdiffhomepage
path: root/src/EditModel.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/EditModel.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/EditModel.cxx')
-rw-r--r--src/EditModel.cxx4
1 files changed, 4 insertions, 0 deletions
diff --git a/src/EditModel.cxx b/src/EditModel.cxx
index 50aa88b06..e8e5e5d1e 100644
--- a/src/EditModel.cxx
+++ b/src/EditModel.cxx
@@ -126,3 +126,7 @@ InSelection EditModel::LineEndInSelection(Sci::Line lineDoc) const {
const Sci::Position posAfterLineEnd = pdoc->LineStart(lineDoc + 1);
return sel.InSelectionForEOL(posAfterLineEnd);
}
+
+int EditModel::GetMark(Sci::Line line) const {
+ return pdoc->GetMark(line);
+}