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/EditModel.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/EditModel.cxx')
-rw-r--r-- | src/EditModel.cxx | 4 |
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); +} |