mirror of
https://gitlab.com/freepascal.org/lazarus/lazarus.git
synced 2025-08-24 00:49:45 +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
c6eba77be6
commit
75315cf5b2
@ -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
|
||||
|
Loading…
Reference in New Issue
Block a user