aboutsummaryrefslogtreecommitdiffhomepage
path: root/doc
diff options
context:
space:
mode:
authorMartijn Laan <unknown>2024-07-03 09:44:24 +1000
committerMartijn Laan <unknown>2024-07-03 09:44:24 +1000
commited0aed7dc463ee5c0f2b7c0989e231cce2c835b8 (patch)
tree8126eeae8b3bee2a00b9a2df89a23c4f2763cb4f /doc
parent2b69fbaf70f6a05269d96b2703acfe49ef7f03a1 (diff)
downloadscintilla-mirror-ed0aed7dc463ee5c0f2b7c0989e231cce2c835b8.tar.gz
Feature [feature-requests:#1523]. SCI_AUTOCSETSTYLE sets autocompletion font.
Diffstat (limited to 'doc')
-rw-r--r--doc/ScintillaDoc.html18
-rw-r--r--doc/ScintillaHistory.html4
2 files changed, 19 insertions, 3 deletions
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 @@
<p><b id="SCI_RELEASEALLEXTENDEDSTYLES">SCI_RELEASEALLEXTENDEDSTYLES</b><br />
<b id="SCI_ALLOCATEEXTENDEDSTYLES">SCI_ALLOCATEEXTENDEDSTYLES(int numberStyles) &rarr; int</b><br />
- 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.
<code>SCI_RELEASEALLEXTENDEDSTYLES</code> releases any extended styles allocated by the container.
<code>SCI_ALLOCATEEXTENDEDSTYLES</code> 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
<a class="seealso" href="#SCI_MARGINSETSTYLEOFFSET">SCI_MARGINSETSTYLEOFFSET</a> or
- <a class="seealso" href="#SCI_ANNOTATIONSETSTYLEOFFSET">SCI_ANNOTATIONSETSTYLEOFFSET</a>.</p>
+ <a class="seealso" href="#SCI_ANNOTATIONSETSTYLEOFFSET">SCI_ANNOTATIONSETSTYLEOFFSET</a> or
+ <a class="seealso" href="#SCI_AUTOCSETSTYLE">SCI_AUTOCSETSTYLE</a>.</p>
<p><b id="Sci_TextRange">Sci_TextRange</b> and <b id="Sci_CharacterRange">Sci_CharacterRange</b><br />
These structures are defined to be exactly the same shape as the Win32 <code>TEXTRANGE</code>
@@ -6508,6 +6510,16 @@ struct Sci_TextToFindFull {
</p>
<p>
+ <b id="SCI_AUTOCSETSTYLE">SCI_AUTOCSETSTYLE</b><br />
+ <b id="SCI_AUTOCGETSTYLE">SCI_AUTOCGETSTYLE &rarr; int</b><br />
+
+ Get or set the style used by autocompletion lists to determine the font facename, size and character set used to display characters. Defaults
+ to <code><a class="message" href="#StyleDefinition">STYLE_DEFAULT</a></code>. Always call
+ <a class="seealso" href="#SCI_ALLOCATEEXTENDEDSTYLES">SCI_ALLOCATEEXTENDEDSTYLES(1)</a> before <code>SCI_AUTOCSETSTYLE</code> and use the
+ result as the argument to <code>SCI_AUTOCSETSTYLE</code> and <code>SCI_STYLESETFONT</code> and others.
+ </p>
+
+ <p>
<b id="SC_ELEMENT_LIST">SC_ELEMENT_LIST : colouralpha</b><br />
<b id="SC_ELEMENT_LIST_BACK">SC_ELEMENT_LIST_BACK : colouralpha</b><br />
<b id="SC_ELEMENT_LIST_SELECTED">SC_ELEMENT_LIST_SELECTED : colouralpha</b><br />
diff --git a/doc/ScintillaHistory.html b/doc/ScintillaHistory.html
index 049a9bd56..22cd4fe44 100644
--- a/doc/ScintillaHistory.html
+++ b/doc/ScintillaHistory.html
@@ -597,6 +597,10 @@
<a href="https://sourceforge.net/p/scintilla/feature-requests/1518/">Feature #1518</a>.
</li>
<li>
+ Can set font used for autocompletion lists with SCI_AUTOCSETSTYLE.
+ <a href="https://sourceforge.net/p/scintilla/feature-requests/1523/">Feature #1523</a>.
+ </li>
+ <li>
Increase maximum zoom set interactively to +60 points.
<a href="https://sourceforge.net/p/scintilla/feature-requests/1517/">Feature #1517</a>.
</li>