diff options
| author | Iain Clarke <unknown> | 2020-04-08 09:27:43 +1000 |
|---|---|---|
| committer | Iain Clarke <unknown> | 2020-04-08 09:27:43 +1000 |
| commit | 48e716a6bc32736c1035f3f9edc78eba2987fc39 (patch) | |
| tree | dfdc40802f7869684697a0d257b3e6ceb1692b7c /src/Document.h | |
| parent | 2ebe1a97728f3d29671b3312e395bf0fb880caa6 (diff) | |
| download | scintilla-mirror-48e716a6bc32736c1035f3f9edc78eba2987fc39.tar.gz | |
Backport: Feature [feature-requests:1344]. Add methods for iterating through the marker
handles and marker numbers on a line.
Backport of changeset 8129:665c31051e3c.
Diffstat (limited to 'src/Document.h')
| -rw-r--r-- | src/Document.h | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/src/Document.h b/src/Document.h index efce835d4..8c29f8b57 100644 --- a/src/Document.h +++ b/src/Document.h @@ -403,6 +403,8 @@ public: void DeleteMarkFromHandle(int markerHandle); void DeleteAllMarks(int markerNum); Sci::Line LineFromHandle(int markerHandle) const; + int MarkerNumberFromLine(Sci::Line line, int which) const; + int MarkerHandleFromLine(Sci::Line line, int which) const; Sci_Position SCI_METHOD LineStart(Sci_Position line) const override; bool IsLineStartPosition(Sci::Position position) const; Sci_Position SCI_METHOD LineEnd(Sci_Position line) const override; |
