Community
Participate
Working Groups
The EGL code format action available in the EGL source editor allows a developer to apply formatting rules to the EGL source code in the editor. This action normally results in some change to the code (e.g. changes to spacing, etc), but if the code is already formatted (and therefore the format action has no effect), the editor should not be flagged as dirty (meaning it needs saved) after the format action is performed (unless the editor was already dirty). Also, currently, you can press CTRL+F multiple times, and although no change is made to the content of the file (because it is already formatted), the Undo action can be executed multiple times. If the format action did not change the contents of the file, there is no need to allow for an Undo. The Java source editor behaves as expected.