From 48e716a6bc32736c1035f3f9edc78eba2987fc39 Mon Sep 17 00:00:00 2001 From: Iain Clarke Date: Wed, 8 Apr 2020 09:27:43 +1000 Subject: Backport: Feature [feature-requests:1344]. Add methods for iterating through the marker handles and marker numbers on a line. Backport of changeset 8129:665c31051e3c. --- src/Document.h | 2 ++ 1 file changed, 2 insertions(+) (limited to 'src/Document.h') 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; -- cgit v1.2.3