-
Notifications
You must be signed in to change notification settings - Fork 23
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Selective undo in ProjectDemo shows up in the undo UI without a label #67
Comments
It's probably a localization issue, I'll take a look at it and let you know. |
btw I only tested and noticed the issue in ProjectDemo, didn't check Typewriter. Currently I am getting an exception in ProjectDemo if I try to do a selective undo from the Document History window:
|
I didn't manage to reproduce the exact same undo track crash you had, but I managed to trigger a very similar one. I think this is unrelated to the missing row labels in the Undo History (I'm observing this too). The crash seems to be caused by an issue when reloading the commands/nodes on the current branch. Here is the stack trace I get when I try to double tap a command located in another Undo track branch other than the current one:
This issue has been probably been introduced when fixing or refactoring COUndoTrack. |
…t node when handling COUndoTrackDidChangeNotification (#67)
I committed a fix that should solve your crash. |
I fixed the localization issue with 5e02c70 CFBundleDevelopmentRegion was set to English, but Apple has changed the localization rules few years ago and language IDs must be used now. I also updated ProjectDemo to use Base localization since that's the recommended practice. |
Thanks! everything seems to be working in ProjectDemo |
Also, the "Step Backward" button in the "Document History" window generates an undo item with no label (but the toolbar button for "Step Backward" generates an undo entry with a label)
The text was updated successfully, but these errors were encountered: