Conversation
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
This pull request adds a "Save As" feature to the application, allowing users to save the current file under a new name or location. It introduces a new menu item, updates the save logic to distinguish between saving an opened file and saving as a new file, and ensures the UI and localization support the new functionality.
Feature Addition: "Save As" Functionality
MenuItem.saveAsto theMenuItemenum and integrated it into the menu UI, allowing users to select "Save As" from the menu. [1] [2]_saveFileAsmethod, which prompts the user to choose a file name and location, and updates state accordingly._saveFileto save directly if a file is already opened, or invoke "Save As" if not, providing user feedback on success or failure.State Management Improvements
_isOpenedFileto track whether the current file was opened from disk, and updated this state appropriately when opening, saving, or clearing files. [1] [2] [3] [4]Localization
app_en.arb).