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. --- doc/ScintillaDoc.html | 8 ++++++++ doc/ScintillaHistory.html | 5 +++++ 2 files changed, 13 insertions(+) (limited to 'doc') diff --git a/doc/ScintillaDoc.html b/doc/ScintillaDoc.html index db7ee48b8..5a83b8d92 100644 --- a/doc/ScintillaDoc.html +++ b/doc/ScintillaDoc.html @@ -4092,6 +4092,8 @@ struct Sci_TextToFind { SCI_MARKERPREVIOUS(line lineStart, int markerMask) → line
SCI_MARKERLINEFROMHANDLE(int markerHandle) → line
SCI_MARKERDELETEHANDLE(int markerHandle)
+ SCI_MARKERHANDLEFROMLINE(line line, int which) → int
+ SCI_MARKERNUMBERFROMLINE(line line, int which) → int

SCI_MARKERDEFINE(int markerNumber, int markerSymbol)
@@ -4359,6 +4361,12 @@ struct Sci_TextToFind { class="message" href="#SCI_MARKERADD">SCI_MARKERADD. This function searches the document for the marker with this handle and deletes the marker if it is found.

+

SCI_MARKERHANDLEFROMLINE(line line, int which) → int
+ SCI_MARKERNUMBERFROMLINE(line line, int which) → int
+ These messages returns the Nth marker handle or marker number in a given line. + Handles are returned by SCI_MARKERADD. + If which is greater or equal to the number of markers on a line, this returns -1;

+

Indicators

Indicators are used to display additional information over the top of styling. diff --git a/doc/ScintillaHistory.html b/doc/ScintillaHistory.html index 7b0b5d604..cd6e6acac 100644 --- a/doc/ScintillaHistory.html +++ b/doc/ScintillaHistory.html @@ -574,6 +574,11 @@ Build Scintilla with SCI_EMPTYCATALOGUE to avoid making lexers available.

  • + Add methods for iterating through the marker handles and marker numbers on a line: + SCI_MARKERHANDLEFROMLINE and SCI_MARKERNUMBERFROMLINE. + Feature #1344. +
  • +
  • Fix brace styling in Batch lexer so that brace matching works. Bug #1624, Bug #1906, -- cgit v1.2.3