From 14fae0aceeb3a0240c24e6d34fa6117467b00390 Mon Sep 17 00:00:00 2001 From: Neil Date: Sun, 29 Mar 2020 10:24:29 +1100 Subject: Backport: Update documentation to match changes in Scintilla.iface. Backport of changeset 8096:e074c2becc5f. --- doc/ScintillaDoc.html | 26 +++++++++++++------------- 1 file changed, 13 insertions(+), 13 deletions(-) (limited to 'doc/ScintillaDoc.html') diff --git a/doc/ScintillaDoc.html b/doc/ScintillaDoc.html index 0b1fafb71..db7ee48b8 100644 --- a/doc/ScintillaDoc.html +++ b/doc/ScintillaDoc.html @@ -116,7 +116,7 @@

Scintilla Documentation

-

Last edited 3 January 2020 NH

+

Last edited 29 March 2020 NH

There is an overview of the internal design of Scintilla.
@@ -4090,7 +4090,7 @@ struct Sci_TextToFind { SCI_MARKERGET(line line) → int
SCI_MARKERNEXT(line lineStart, int markerMask) → line
SCI_MARKERPREVIOUS(line lineStart, int markerMask) → line
- SCI_MARKERLINEFROMHANDLE(int markerHandle) → int
+ SCI_MARKERLINEFROMHANDLE(int markerHandle) → line
SCI_MARKERDELETEHANDLE(int markerHandle)
@@ -4348,7 +4348,7 @@ struct Sci_TextToFind { message returns the line number of the first line that contains one of the markers in markerMask or -1 if no marker is found.

-

SCI_MARKERLINEFROMHANDLE(int markerHandle) → int
+

SCI_MARKERLINEFROMHANDLE(int markerHandle) → line
The markerHandle argument is an identifier for a marker returned by SCI_MARKERADD. This function searches the document for the marker with this handle and returns the line number that contains it or -1 @@ -4426,8 +4426,8 @@ struct Sci_TextToFind { SCI_INDICATORCLEARRANGE(position start, position lengthClear)
SCI_INDICATORALLONFOR(position pos) → int
SCI_INDICATORVALUEAT(int indicator, position pos) → int
- SCI_INDICATORSTART(int indicator, position pos) → int
- SCI_INDICATOREND(int indicator, position pos) → int
+ SCI_INDICATORSTART(int indicator, position pos) → position
+ SCI_INDICATOREND(int indicator, position pos) → position
SCI_FINDINDICATORSHOW(position start, position end)
SCI_FINDINDICATORFLASH(position start, position end)
@@ -4749,8 +4749,8 @@ struct Sci_TextToFind {

- SCI_INDICATORSTART(int indicator, position pos) → int
- SCI_INDICATOREND(int indicator, position pos) → int
+ SCI_INDICATORSTART(int indicator, position pos) → position
+ SCI_INDICATOREND(int indicator, position pos) → position
Find the start or end of a range with one value from a position within the range. Can be used to iterate through the document to discover all the indicator positions.

@@ -5086,7 +5086,7 @@ struct Sci_TextToFind { SCI_CALLTIPACTIVE → bool
SCI_CALLTIPPOSSTART → position
SCI_CALLTIPSETPOSSTART(position posStart)
- SCI_CALLTIPSETHLT(int highlightStart, int + SCI_CALLTIPSETHLT(position highlightStart, position highlightEnd)
SCI_CALLTIPSETBACK(colour back)
SCI_CALLTIPSETFORE(colour fore)
@@ -5125,7 +5125,7 @@ struct Sci_TextToFind { This message returns or sets the value of the current position when SCI_CALLTIPSHOW started to display the tip.

-

SCI_CALLTIPSETHLT(int highlightStart, int highlightEnd)
+

SCI_CALLTIPSETHLT(position highlightStart, position highlightEnd)
This sets the region of the call tips text to display in a highlighted style. highlightStart is the zero-based index into the string of the first character to highlight and highlightEnd is the index of the first character after the highlight. @@ -6899,7 +6899,7 @@ sptr_t CallScintilla(unsigned int iMessage, uptr_t wParam, sptr_t lParam){ Lex*.cxx file and search for LexerModule. The third argument in the LexerModule constructor is the name to use.

-

To test if your lexer assignment worked, use To test if your lexer assignment worked, use SCI_GETLEXER before and after setting the new lexer to see if the lexer number changed.

@@ -7224,12 +7224,12 @@ A set of common tags and conventions for combining them is GetName and GetIdentifier may be called to discover the identity of a lexer and be used to implement -SCI_GETLEXERLANGUAGE and -SCI_GETLEXER.

+SCI_GETLEXERLANGUAGE and +SCI_GETLEXER.

PropertyGet may be called to discover the value of a property stored by a lexer and be used to implement -SCI_GETPROPERTY.

+SCI_GETPROPERTY.

IDocument

-- cgit v1.2.3