[bugs:#2482] Autocomplete list in 5.5.6 (Windows)
Status: open
Group: Bug
Created: Tue Jun 03, 2025 03:49 PM UTC by Sven
Last Updated: Tue Jun 03, 2025 03:49 PM UTC
Owner: nobody
There are two issues with the new autocompletion lists in 5.5.6.
1) ColourElement returns a wrong value when colour is RGB(0, 0, 0). The result is RGBA(0, 0, 0, 0), which results in an incorrect display.
Proposed fix:
if (colour.has_value()) {
// return colour.value();
return ColourRGBA::FromRGB(colour.value().OpaqueRGB());
2) ListBoxX::AllocateBitMap() should use the ItemHeight() to initialize the bitmap. With the currently used lineHeight, the bitmap is smaller than the item, and using a custom background color results in unsightly dividers.
Proposed fix:
// const SIZE extent { GetClientExtent().x, lineHeight };
const SIZE extent { GetClientExtent().x, ItemHeight() };
Sent from sourceforge.net because scintill...@googlegroups.com is subscribed to https://sourceforge.net/p/scintilla/bugs/
To unsubscribe from further messages, a project admin can change settings at https://sourceforge.net/p/scintilla/admin/bugs/options. Or, if this is a mailing list, you can unsubscribe from the mailing list.
[bugs:#2482] Autocomplete list in 5.5.6 (Windows)
Status: open
Group: Bug
Labels: Scintilla win32 autocomplete
Committed but with simpler expression for ColourElement
.
[bugs:#2482] Autocomplete list in 5.5.6 (Windows)
Status: open-fixed
Group: Bug
Labels: Scintilla win32 autocomplete
Created: Tue Jun 03, 2025 03:49 PM UTC by Sven
Last Updated: Wed Jun 04, 2025 10:09 AM UTC
Owner: nobody
Much simpler. Thanks!
[bugs:#2482] Autocomplete list in 5.5.6 (Windows)
Status: open-fixed
Group: Bug
Labels: Scintilla win32 autocomplete
Created: Tue Jun 03, 2025 03:49 PM UTC by Sven
Last Updated: Thu Jun 12, 2025 03:07 AM UTC
Owner: nobody