aboutsummaryrefslogtreecommitdiffhomepage
path: root/doc
diff options
context:
space:
mode:
authororbitalquark <70453897+orbitalquark@users.noreply.github.com>2025-05-12 11:38:13 +1000
committerorbitalquark <70453897+orbitalquark@users.noreply.github.com>2025-05-12 11:38:13 +1000
commit140a921a133ee63337e8dfe1c7261b7eb86399e9 (patch)
tree219a6641ddd4fd117bc0b0fa2bb1876d39f4499e /doc
parentda1240f14a3fda528e8776cc873d124b6c8703f4 (diff)
downloadscintilla-mirror-140a921a133ee63337e8dfe1c7261b7eb86399e9.tar.gz
Add SCI_AUTOC{G,S}ETIMAGESCALE and implement for Qt and GTK.
Diffstat (limited to 'doc')
-rw-r--r--doc/ScintillaDoc.html12
-rw-r--r--doc/ScintillaHistory.html4
2 files changed, 16 insertions, 0 deletions
diff --git a/doc/ScintillaDoc.html b/doc/ScintillaDoc.html
index 1ee1c2306..17ee1673c 100644
--- a/doc/ScintillaDoc.html
+++ b/doc/ScintillaDoc.html
@@ -6514,6 +6514,8 @@ struct Sci_TextToFindFull {
<a class="message" href="#SCI_AUTOCGETMAXWIDTH">SCI_AUTOCGETMAXWIDTH &rarr; int</a><br />
<a class="message" href="#SCI_AUTOCSETSTYLE">SCI_AUTOCSETSTYLE(int style)</a><br />
<a class="message" href="#SCI_AUTOCGETSTYLE">SCI_AUTOCGETSTYLE &rarr; int</a><br />
+ <a class="message" href="#SCI_AUTOCSETIMAGESCALE">SCI_AUTOCSETIMAGESCALE(int scale)</a><br />
+ <a class="message" href="#SCI_AUTOCGETIMAGESCALE">SCI_AUTOCGETIMAGESCALE &rarr; int</a><br />
<a class="element" href="#SC_ELEMENT_LIST">SC_ELEMENT_LIST : colouralpha</a><br />
<a class="element" href="#SC_ELEMENT_LIST_BACK">SC_ELEMENT_LIST_BACK : colouralpha</a><br />
<a class="element" href="#SC_ELEMENT_LIST_SELECTED">SC_ELEMENT_LIST_SELECTED : colouralpha</a><br />
@@ -6746,6 +6748,16 @@ struct Sci_TextToFindFull {
</p>
<p>
+ <b id="SCI_AUTOCSETIMAGESCALE">SCI_AUTOCSETIMAGESCALE(int scalePercent)</b><br />
+ <b id="SCI_AUTOCGETIMAGESCALE">SCI_AUTOCGETIMAGESCALE &rarr; int</b><br />
+
+ Get or set the scale factor in percent for <em>all</em> autocompletion list images. This is useful on macOS with
+ a retina display where each display unit is 2 pixels: use a factor of 200 so that each image pixel is displayed using a screen pixel.
+ The default scale, 100, will stretch each image pixel to cover 4 screen pixels on a retina display.
+ </p>
+ <p>This is currently only implemented for the Qt and GTK platforms.</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 49b96aa2c..d1fdd16d7 100644
--- a/doc/ScintillaHistory.html
+++ b/doc/ScintillaHistory.html
@@ -608,6 +608,10 @@
Tweak SC_MARK_BAR to be slightly wider by using next higher whole pixel instead of next lower for margin width / 3.
</li>
<li>
+ Scale images in autocompletion lists with SCI_AUTOCSETIMAGESCALE to match high DPI screens.
+ Initially only on GTK and Qt.
+ </li>
+ <li>
On GTK, reset vertical scroll bar synchronously in SCI_SETDOCPOINTER to fix bug where
scroll position not restored in non-wrap mode.
<a href="https://sourceforge.net/p/scintilla/bugs/2416/">Bug #2416</a>.