aboutsummaryrefslogtreecommitdiffhomepage
diff options
context:
space:
mode:
-rw-r--r--doc/ScintillaHistory.html14
-rw-r--r--win32/ListBox.cxx4
2 files changed, 16 insertions, 2 deletions
diff --git a/doc/ScintillaHistory.html b/doc/ScintillaHistory.html
index 5f0901b7a..d4dfa7943 100644
--- a/doc/ScintillaHistory.html
+++ b/doc/ScintillaHistory.html
@@ -590,10 +590,24 @@
<td>8day</td>
</tr><tr>
<td>Ahmet Sait</td>
+ <td>Sven Ritter</td>
</tr>
</table>
<h2 id="Releases">Releases</h2>
<h3>
+ <a href="https://www.scintilla.org/scintilla558.zip">Release 5.5.8</a>
+ </h3>
+ <ul>
+ <li>
+ Released 8 June 2025.
+ </li>
+ <li>
+ On Win32, force autocompletion list colours to be opaque.
+ Enlarge bitmap to avoid visible blank background between items.
+ <a href="https://sourceforge.net/p/scintilla/bugs/2482/">Bug #2482</a>.
+ </li>
+ </ul>
+ <h3>
<a href="https://www.scintilla.org/scintilla557.zip">Release 5.5.7</a>
</h3>
<ul>
diff --git a/win32/ListBox.cxx b/win32/ListBox.cxx
index 38806a373..b04e0c86f 100644
--- a/win32/ListBox.cxx
+++ b/win32/ListBox.cxx
@@ -119,7 +119,7 @@ const TCHAR ListBoxX_ClassName[] = TEXT("ListBoxX");
ColourRGBA ColourElement(std::optional<ColourRGBA> colour, int nIndex) {
if (colour.has_value()) {
- return colour.value();
+ return colour.value().Opaque();
}
return ColourFromSys(nIndex);
}
@@ -743,7 +743,7 @@ void ListBoxX::CentreItem(int n) {
}
void ListBoxX::AllocateBitMap() {
- const SIZE extent { GetClientExtent().x, lineHeight };
+ const SIZE extent { GetClientExtent().x, ItemHeight() };
graphics.bm.Create({}, extent.cx, -extent.cy, nullptr);
if (!graphics.bm) {