diff --git a/src/ce_synmemo.pas b/src/ce_synmemo.pas index 1115f01e..22f968d6 100644 --- a/src/ce_synmemo.pas +++ b/src/ce_synmemo.pas @@ -83,9 +83,9 @@ type procedure saveCache; procedure loadCache; protected - // TODO-cbugfix: open tree files, close the one at the center, select the left one, select the right one: the status bar displays the onfo from the left editor (sel count, pos, filename) + // TODO-cbugfix: open 3 files, close the 1 at the center, select the left 1, + // select the right 1: the status bar displays the info from the left editor (sel count, pos, filename) // however this is only a visual bug: saving works on the right editor... - procedure VisibleChanged; override; procedure SetVisible(Value: Boolean); override; procedure SetHighlighter(const Value: TSynCustomHighlighter); override; procedure KeyDown(var Key: Word; Shift: TShiftState); override; @@ -374,19 +374,9 @@ begin subjDocFocused(TCEMultiDocSubject(fMultiDocSubject), self); end; -procedure TCESynMemo.VisibleChanged; -begin - inherited; - if not Visible then exit; - checkFileDate; - identifierToD2Syn; - subjDocFocused(TCEMultiDocSubject(fMultiDocSubject), self); -end; - procedure TCESynMemo.UpdateShowing; begin inherited; - if not Visible then exit; identifierToD2Syn; subjDocFocused(TCEMultiDocSubject(fMultiDocSubject), self); end;