From ed0aed7dc463ee5c0f2b7c0989e231cce2c835b8 Mon Sep 17 00:00:00 2001 From: Martijn Laan Date: Wed, 3 Jul 2024 09:44:24 +1000 Subject: Feature [feature-requests:#1523]. SCI_AUTOCSETSTYLE sets autocompletion font. --- doc/ScintillaDoc.html | 18 +++++++++++++++--- 1 file changed, 15 insertions(+), 3 deletions(-) (limited to 'doc/ScintillaDoc.html') diff --git a/doc/ScintillaDoc.html b/doc/ScintillaDoc.html index 8f9e22290..bc282f50f 100644 --- a/doc/ScintillaDoc.html +++ b/doc/ScintillaDoc.html @@ -667,15 +667,17 @@

SCI_RELEASEALLEXTENDEDSTYLES
SCI_ALLOCATEEXTENDEDSTYLES(int numberStyles) → int
- Extended styles are used for features like textual margins and annotations as well as internally by Scintilla. + Extended styles are used for features like textual margins and annotations and autocompletion lists as well as + internally by Scintilla. They are outside the range 0..255 used for the styles bytes associated with document bytes. These functions manage the use of extended styles to ensures that components cooperate in defining styles. SCI_RELEASEALLEXTENDEDSTYLES releases any extended styles allocated by the container. SCI_ALLOCATEEXTENDEDSTYLES allocates a range of style numbers after the byte style values and returns the number of the first allocated style. - Ranges for margin and annotation styles should be allocated before calling + Ranges for margin, annotation, and autocompletion list styles should be allocated before calling SCI_MARGINSETSTYLEOFFSET or - SCI_ANNOTATIONSETSTYLEOFFSET.

+ SCI_ANNOTATIONSETSTYLEOFFSET or + SCI_AUTOCSETSTYLE.

Sci_TextRange and Sci_CharacterRange
These structures are defined to be exactly the same shape as the Win32 TEXTRANGE @@ -6507,6 +6509,16 @@ struct Sci_TextToFindFull { the available width are indicated by the presence of ellipsis.

+

+ SCI_AUTOCSETSTYLE
+ SCI_AUTOCGETSTYLE → int
+ + Get or set the style used by autocompletion lists to determine the font facename, size and character set used to display characters. Defaults + to STYLE_DEFAULT. Always call + SCI_ALLOCATEEXTENDEDSTYLES(1) before SCI_AUTOCSETSTYLE and use the + result as the argument to SCI_AUTOCSETSTYLE and SCI_STYLESETFONT and others. +

+

SC_ELEMENT_LIST : colouralpha
SC_ELEMENT_LIST_BACK : colouralpha
-- cgit v1.2.3