Community
Participate
Working Groups
In the target editor, click on reload. The editor is seen as dirty. It should not be dirty. Also see Bug 461549
Earlies, reload used to increase the sequence number to force reload. However with the fix of Bug 461549, sequence number is not increased for reload. So after reload, nothing is changed in target editor and hence target editor should not be dirty.
Created attachment 262883 [details] Suggested fix. The fix consists of having fReloadListeners that contains the listeners that should be invoked when reload happens. Unlike fChangeListeners ( which is used for add, remove, edit, update etc), it doesn't have listeners that make the editor dirty.
Works well while testing. Fixed via http://git.eclipse.org/c/pde/eclipse.pde.ui.git/commit/?id=1bdb7dc59f3ed25629d3f21576f76b966eaf4c58
verified on Eclipse SDK Version: Oxygen (4.7) Build id: I20160726-1400 OS: Windows 7, v.6.1, x86_64 / win32