Skip to content

Add reload action with undo-friendly buffer replace#432

Open
FreedomBen wants to merge 1 commit intofabiocolacio:masterfrom
FreedomBen:add-reload-from-disk
Open

Add reload action with undo-friendly buffer replace#432
FreedomBen wants to merge 1 commit intofabiocolacio:masterfrom
FreedomBen:add-reload-from-disk

Conversation

@FreedomBen
Copy link

  • add marker_editor_reload_file() to re-read the current file while keeping the undo stack intact (block change handler, wrap replace in one user action)
  • new win.reload action with F5/Ctrl+R accelerators and unsaved-changes prompt
  • expose Reload in the gear popover, shortcuts window, and editor context menu so it’s reachable via mouse and keyboard

- add marker_editor_reload_file() to re-read the current file while keeping
  the undo stack intact (block change handler, wrap replace in one user action)
- new win.reload action with F5/Ctrl+R accelerators and unsaved-changes prompt
- expose Reload in the gear popover, shortcuts window, and editor context menu
  so it’s reachable via mouse and keyboard
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant