0

I am writing a Delphi IDE expert (OpenToolsAPI). I want to receive callbacks for the IOTAEditorNotifier interface.

  IOTAEditorNotifier = interface(IOTANotifier)
    ['{0E3B9D7B-E119-11D1-AB0C-00C04FB16FB3}']
    { Called when a new edit view is created(opInsert) or destroyed(opRemove) }
    procedure ViewNotification(const View: IOTAEditView; Operation: TOperation);
    { Called when a view is activated }
    procedure ViewActivated(const View: IOTAEditView);
  end;

How do I register to get those events? I don't find an AddNotifier call that accepts the IOTAEditorNotifier interface.

Rudy Velthuis
  • 28,387
  • 5
  • 46
  • 94
Ranga B.
  • 627
  • 10
  • 20
  • 1
    Your answer is in the question here (https://stackoverflow.com/questions/23499166/how-i-can-detect-when-the-modules-window-is-open-in-the-delphi-ide). IOTAServices.AddNotifier. – Graymatter May 19 '18 at 00:32
  • You could use this as a reference: http://www.davidghoyle.co.uk/WordPress/?p=1272 – Dave Nottage May 19 '18 at 02:28

0 Answers0