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)

This commit is contained in:
Martin 2025-01-26 00:39:14 +01:00
parent 7f4426c2e9
commit 5aee1dc5de

View File

@ -2789,6 +2789,7 @@ begin
(FColors[ahaIdentComplRecent].Foreground <> clNone);
MaxX:=TheForm.ClientWidth;
if ItemSelected then MaxX := MaxInt; // Might be hint, then it has more space
t:=CurrentCompletionType;
if Manager.ActiveCompletionPlugin<>nil then
begin