mirror of https://gitlab.com/basile.b/dexed.git
auto dot completion, menu position
This commit is contained in:
parent
c4854d9862
commit
42b48ba231
|
@ -667,7 +667,7 @@ begin
|
|||
end;
|
||||
|
||||
function TCESynMemo.completionItemPaint(const AKey: string; ACanvas: TCanvas;X, Y: integer;
|
||||
Selected: boolean; Index: integer): boolean;
|
||||
Selected: boolean; Index: integer): boolean;
|
||||
var
|
||||
lft, rgt: string;
|
||||
len: Integer;
|
||||
|
@ -688,7 +688,7 @@ begin
|
|||
if not fCanAutoDot then exit;
|
||||
if fAutoDotDelay = 0 then exit;
|
||||
fCanAutoDot := false;
|
||||
fCompletion.Execute('', ClientToScreen(point(CaretXPix, top + CaretYPix)));
|
||||
fCompletion.Execute('', ClientToScreen(point(CaretXPix, CaretYPix + Font.Size)));
|
||||
end;
|
||||
|
||||
procedure TCESynMemo.setAutoDotDelay(aValue: Integer);
|
||||
|
|
Loading…
Reference in New Issue