IDE: SourceEditor, fix painting hint on completion drop down. Do not limit to width of dropdown, the hint is intentionally wider. (Currently use "ItemSelect" to detect if the paint may be for the hint)

(cherry picked from commit 5aee1dc5de)
This commit is contained in:
Martin 2025-01-26 00:39:14 +01:00
parent c6eba77be6
commit 75315cf5b2

View File

@ -2725,6 +2725,7 @@ begin
Colors.TextSelectedColor := FActiveEditTextSelectedColor;
Colors.TextHilightColor := FActiveEditTextHighLightColor;
MaxX:=TheForm.ClientWidth;
if ItemSelected then MaxX := MaxInt; // Might be hint, then it has more space
t:=CurrentCompletionType;
if Manager.ActiveCompletionPlugin<>nil then
begin