I guess that the file read only attribute makes impossible any modification on the editor (try to type text or paste content after opening a RO file).
So, the save menu item remains disabled and there is never a star (*) on this editor title bar.
When I execute astyle on this editor (stupid I know, just a dummy test), its status seems to be modified whereas there is no change on the text.
Consequences of this are a star in the title bar and the save menu item enabled (on a read only file that can't be modified).
I think it's wrong because editor content was not modified.
Am I clear ?