Hi. I thought the purpose of UndoManager.setActionIsDiscardable() was for this purpose - but the document still shows as edited.
These changes like changing the zoom/viewing area should not cause the document to be considered edited - but you'd still like to be able to undo them.
The documentation here https://developer.apple.com/documentation/foundation/undomanager/1415261-undoactionisdiscardable?changes=_6 even describes using it for just this purpose.
If this isn't the method, how can I do this? Thanks.