mirror of https://gitlab.com/basile.b/dexed.git
fix #60, Completion menu background and font color should follow UI theme
This commit is contained in:
parent
a80ea80db1
commit
b64d891023
|
@ -391,7 +391,7 @@ begin
|
|||
fEditor.Options:= fEditor.Options - [eoScrollPastEof, eoScrollPastEol];
|
||||
fEditor.SetHighlightSearch('writeln',[]);
|
||||
fEditor.lines.Add('module preview;');
|
||||
fEditor.lines.Add('import std.stdio');
|
||||
fEditor.lines.Add('import std.stdio;');
|
||||
fEditor.lines.Add('/// ddoc comment');
|
||||
fEditor.lines.Add('@safe void main(string[] args)');
|
||||
fEditor.lines.Add('{');
|
||||
|
|
|
@ -1374,6 +1374,8 @@ begin
|
|||
if not fIsDSource and not alwaysAdvancedFeatures then
|
||||
exit;
|
||||
fCompletion.TheForm.Font.Size := Font.Size;
|
||||
fCompletion.TheForm.BackgroundColor:= self.Color;
|
||||
fCompletion.TheForm.TextColor:= fD2Highlighter.identifiers.Foreground;
|
||||
getCompletionList;
|
||||
end;
|
||||
|
||||
|
|
Loading…
Reference in New Issue