sakura 45 Posted July 22, 2020 (edited) Hi, I have a IDE plug-in which acts upon an opened file in the IDE (IOTAIDENotifier.FileNotification - aNotifyCode = ofnFileOpened). It loads the corresponding IOTAModule and the IOTAEditorContent for the PAS-File Before displaying, I want to do some formating for the viewer and set the content through the IOTAEditorContent interface. Nicely, as I do not call MarkModified, the editor view acts like the content has not been modified. However, the IOTAModule believes that the module has been modified and asks, whether the changes shall be saved (which I do not desire, when just viewing). Is there a way, to inform the IDE, that at this point, no changes have occurred. The question to save changes should not appear, when the user did not actually change anything 😉 Thanks, Daniel Edited July 22, 2020 by sakura Share this post Link to post
Uwe Raabe 2057 Posted July 22, 2020 (edited) Have you tried IOTAEditorContent.ResetDiskAge after setting the content? Edited July 22, 2020 by Uwe Raabe Share this post Link to post
sakura 45 Posted July 22, 2020 Yes, no change, the IOTAEditorContent object itself is not even marked as modified, it's the module, which is "knowing" that something has happened. 😐 Share this post Link to post