From f5283438199dae50ce4836b9bc4e31c0f7462758 Mon Sep 17 00:00:00 2001 From: Basile Burg Date: Tue, 31 Mar 2015 04:44:16 +0200 Subject: [PATCH] clean shared synedit plugins --- src/ce_editor.pas | 6 ++++-- 1 file changed, 4 insertions(+), 2 deletions(-) diff --git a/src/ce_editor.pas b/src/ce_editor.pas index c39d4a11..d45f0b5a 100644 --- a/src/ce_editor.pas +++ b/src/ce_editor.pas @@ -296,10 +296,12 @@ end; procedure TCEEditorWidget.focusedEditorChanged; begin + macRecorder.Clear; + fSyncEdit.Clear; if fDoc = nil then exit; // - macRecorder.Editor := fDoc; - fSyncEdit.Editor := fDoc; + macRecorder.Editor:= fDoc; + fSyncEdit.Editor := fDoc; completion.Editor := fDoc; if (pageControl.ActivePage.Caption = '') then begin