mirror of https://gitlab.com/basile.b/dexed.git
improved completion, update menu after each keystroke
This commit is contained in:
parent
f74eaa0b75
commit
7510b42031
|
@ -298,6 +298,8 @@ procedure TCEEditorWidget.focusedEditorChanged;
|
|||
begin
|
||||
if fDoc = nil then exit;
|
||||
//
|
||||
fSyncEdit.Clear;
|
||||
macRecorder.Clear;
|
||||
macRecorder.Editor := fDoc;
|
||||
fSyncEdit.Editor := fDoc;
|
||||
completion.Editor := fDoc;
|
||||
|
@ -417,6 +419,8 @@ begin
|
|||
editorStatus.Panels[0].Text := format('%d : %d | %d', [fDoc.CaretY, fDoc.CaretX, fDoc.SelEnd - fDoc.SelStart]);
|
||||
editorStatus.Panels[1].Text := modstr[fDoc.modified];
|
||||
editorStatus.Panels[2].Text := fDoc.fileName;
|
||||
//
|
||||
if completion.IsActive then getCompletionList;
|
||||
end;
|
||||
end;
|
||||
|
||||
|
|
Loading…
Reference in New Issue