Hey German, That's an interesting bug - it turns out to be a side effect of undo coalescing.
The reason the document isn't marked as 'edited' immediately when you resume typing after a save is the changes are coalesced until you press return. I committed a fix (to Ink) which should fix this - it just calls -breakUndoCoalescing on the text view when you save. See this comment in TextEdit for more info: https://github.com/jjgod/TextEditPlus/blob/master/Document.m#L908 Cheers Eric On 2011-04-26, at 10:19 PM, Germán Arias wrote: > Editing a document with Ink, without adding new lines, only the first > characters added switch the document to status "edited". Then if you > save the document and you add new characters (without press return key) > the document status still remains as saved (not edited). And the option > "Save" at menu is disabled. Only adding new lines, switch the status > document to "edited". Is this the normal behavior or is a bug? If this > isn't a bug, then this mean that I need implement the methods to handle > status of a document, right? > > > _______________________________________________ > Discuss-gnustep mailing list > [email protected] > https://lists.gnu.org/mailman/listinfo/discuss-gnustep _______________________________________________ Discuss-gnustep mailing list [email protected] https://lists.gnu.org/mailman/listinfo/discuss-gnustep
