@@ -79,10 +79,10 @@ procedure TC4DWizardIDEEditServicesNotifier.EditorViewActivated(const EditWindow
7979
8080procedure TC4DWizardIDEEditServicesNotifier.EditorViewModified (const EditWindow: INTAEditWindow; const EditView: IOTAEditView);
8181begin
82- // ShowMessage ('EditorViewModified: Texto alterado no Editor' + sLineBreak +
83- // ' Linha atual: ' + EditView.Buffer.EditPosition.Row.Tostring + sLineBreak +
84- // ' Coluna atual: ' + EditView.Buffer.EditPosition.Column.Tostring + sLineBreak +
85- // 'Última linha: ' + EditView.Buffer.EditPosition.LastRow.Tostring + sLineBreak );
82+ // AddLogInternal ('EditorViewModified: ' +
83+ // ' Linha atual: ' + EditView.Buffer.EditPosition.Row.Tostring +
84+ // ' Coluna atual: ' + EditView.Buffer.EditPosition.Column.Tostring +
85+ // ' Ultima linha: ' + EditView.Buffer.EditPosition.LastRow.Tostring);
8686end ;
8787
8888procedure TC4DWizardIDEEditServicesNotifier.WindowActivated (const EditWindow: INTAEditWindow);
@@ -92,38 +92,29 @@ procedure TC4DWizardIDEEditServicesNotifier.WindowActivated(const EditWindow: IN
9292
9393procedure TC4DWizardIDEEditServicesNotifier.WindowCommand (const EditWindow: INTAEditWindow; Command, Param: Integer; var Handled: Boolean);
9494begin
95- // ShowMessage('WindowCommand' + sLineBreak +
96- // 'Command: ' + Command.Tostring + sLineBreak +
97- // 'Param: ' + Param.Tostring);
98-
99- // if(Command = 22)then
100- // begin
101- // ShowMessage('Você teclou Ctrl + C e essa opção não é permitida');
102- // Abort;
103- // end;
95+ // AddLogInternal('WindowCommand: Command: ' + Command.Tostring + ' - Param: ' + Param.Tostring);
96+ // if(Command = 22)then
97+ // begin
98+ // ShowMessage('Você teclou Ctrl + C e essa opção não é permitida');
99+ // Abort;
100+ // end;
104101end ;
105102
106103procedure TC4DWizardIDEEditServicesNotifier.WindowNotification (const EditWindow: INTAEditWindow; Operation: TOperation);
107104begin
108105
109106end ;
110107
108+ // QUANDO O DELPHI É ABERTO E QUANDO OUTRAS JANELAS SÃO ABERTAS
111109procedure TC4DWizardIDEEditServicesNotifier.WindowShow (const EditWindow: INTAEditWindow; Show, LoadedFromDesktop: Boolean);
112110begin
113- // ShowMessage('WindowShow: Quando o Delphi é aberto e quando outras janelas são abertas' + sLineBreak +
114- // 'Show: ' + BoolToStr(Show, True) + sLineBreak +
115- // 'LoadedFromDesktop: ' + BoolToStr(LoadedFromDesktop, True));
116-
117111 TC4DWizardIDEToolBarsRegister.Process;
118112end ;
119113
120114initialization
121115
122116finalization
123117 if (IndexNotifier >= 0 )then
124- begin
125118 TC4DWizardUtilsOTA.GetIOTAEditorServices.RemoveNotifier(IndexNotifier);
126- IndexNotifier := -1 ;
127- end ;
128119
129120end .
0 commit comments