-
-
Notifications
You must be signed in to change notification settings - Fork 2.6k
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
Fix undo (CTRL + Z) and redo for inserting an entry #9777
Conversation
Thank you for working on it. Please check your checkstyle setup at https://devdocs.jabref.org/getting-into-the-code/guidelines-for-setting-up-a-local-workspace. Scroll down... |
OK! |
For a quick fix, you can click on "Files" above and see Review Dog complaining about two spaces (which should be one). This should be an easy fix ^^. |
There should be a GUI test - if possible. There are other GUI tests at https://github.com/JabRef/jabref/tree/main/src/test/java/org/jabref/gui. |
We took another look at this PR and found at least one root cause for the issue and at least input controls work now |
Is the CannotUndoException catched? |
Is the CannotUndoException catched? Not yet. Was coming from the Undo Manager itself |
Still showing undo but at least no exceptions
Fixed the occuring of exception by checking for canRedo/canUndo |
* upstream/main: (88 commits) Minimal config for openRewrite Fix missing # Fix modernizer (JabRef#9824) CHANGELOG.md Removed unused code Refined ui Dissolved FileTab and moved contents to EntryTab Renamed CustomEditorFieldsTab to EntryEditorTabsTab Fixed antipattern, fixed radiobutton with checkbox Renamed ImportExportPreferences to ExportPreferences Improve search history by attaching change listener (JabRef#9794) Separated WebSearchPrefs and ExportPrefs Separated WebSearchTab and ExportTab Renamed ImportExportTab to WebSearchTab Fix split multiline localization (JabRef#9814) New Crowdin updates (JabRef#9834) change versin to 0.8.10 remove jacoco version config Bump org.junit.platform:junit-platform-launcher from 1.9.2 to 1.9.3 Bump org.jsoup:jsoup from 1.15.4 to 1.16.1 ...
Fixes #9737
Removed default switch from EditAction class. This was causing an exception for the user when the Ctrl + Z command was issued.
Compulsory checks