Context:
To reproduce:
- Start with a multi-tab sketch
- Save it (ensures all "file modified" state/markings are cleared for this example...)
- Click on another tab but do not modify its content
- Notice the tab now shows the "file modified" squiggle even though nothing was done to modify the content of the tab
IMO, the "modified" state should track the changelog/undo buffer, such that "undo"ing all edits clears the modified flag and the modified state only is set after a true content modification. The current implementation seems to be much less nuanced :-)