Testing Leo to compare with leointeg (and leojs) I stumbled upon a little something I 'd like to inquire about:
When using ctrl+shift q and/or ctrl+w to write @<files> without necessarily saveing the .leo file itself, I found out that if this operation makes ll positions non-dirty, then the whole file is considered non-dirty.
(even if a node, outside of an @file, was deleted, making the file dirty, making all other nodes non-dirty by hitting ctrl+shift+q makes the whole file non-dirty.)
To make it clearer try this:
1-make an @file with a child, dirty the body of the child, hit ctrl+shift+q. all clean, ok. normal so far...
2-Now make a couple of nodes outside the @file subtree, dirty one, delete it. (no dirty nodes but file still dirty.) dirty an @file child's body, (nodes and file now dirty) hit ctrl+shift+q.
3- Assert that all nodes are non-dirty but now the whole file is also considered non-dirty even though a node was deleted, changing the .Leo document structure... but this deletion will be lost if closing Leo.
--
Félix