From 44698ed7246b247d74eec27554a81d7fa2116b76 Mon Sep 17 00:00:00 2001 From: Basile Burg Date: Sat, 17 Jan 2015 03:53:11 +0100 Subject: [PATCH] removed useless method --- src/ce_synmemo.pas | 14 ++------------ 1 file changed, 2 insertions(+), 12 deletions(-) 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;