mirror of
https://gitlab.com/freepascal.org/lazarus/lazarus.git
synced 2025-09-15 15:20:47 +02:00
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:
parent
48f1da1b8c
commit
d8c872d8a2
@ -2794,6 +2794,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
|
||||
|
Loading…
Reference in New Issue
Block a user