Move save functionality to File menu

- Remove save button from application toolbar
- Add Save (⌘S) and Save As (⌘⇧S) menu items to File menu
- Implement notification-based communication between menu and document views
- Add unsaved changes indicator in window titles
- Support both saving existing files and creating new files

🤖 Generated with [Claude Code](https://claude.ai/code)

Co-Authored-By: Claude <noreply@anthropic.com>
This commit is contained in:
0x8664b2
2025-06-20 11:03:18 -07:00
parent a3e8b09a8f
commit 68d6dd906f
3 changed files with 102 additions and 11 deletions

View File

@@ -41,6 +41,7 @@ This repository contains a macOS markdown viewer application built with SwiftUI.
- [ ] Search within document
- [ ] Zoom in/out functionality
- [x] Recent files menu
- [x] Save functionality via File menu (Save/Save As with ⌘S/⌘⇧S shortcuts)
- [ ] Drag and drop file support
- [ ] Support for math equations (LaTeX)
- [ ] Image paste support