From 140a921a133ee63337e8dfe1c7261b7eb86399e9 Mon Sep 17 00:00:00 2001
From: orbitalquark <70453897+orbitalquark@users.noreply.github.com>
Date: Mon, 12 May 2025 11:38:13 +1000
Subject: Add SCI_AUTOC{G,S}ETIMAGESCALE and implement for Qt and GTK.
---
doc/ScintillaDoc.html | 12 ++++++++++++
doc/ScintillaHistory.html | 4 ++++
2 files changed, 16 insertions(+)
(limited to 'doc')
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 {
+
+
SC_ELEMENT_LIST : colouralpha
SC_ELEMENT_LIST_BACK : colouralpha
SC_ELEMENT_LIST_SELECTED : colouralpha
@@ -6745,6 +6747,16 @@ struct Sci_TextToFindFull {
result as the argument to SCI_AUTOCSETSTYLE
and SCI_STYLESETFONT
and others.
+ SCI_AUTOCSETIMAGESCALE(int scalePercent)
+ SCI_AUTOCGETIMAGESCALE → int
+
+ Get or set the scale factor in percent for all 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.
+
This is currently only implemented for the Qt and GTK platforms.
+
SC_ELEMENT_LIST : colouralpha
SC_ELEMENT_LIST_BACK : colouralpha
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.