alexandervdm / gummi

Simple LaTeX editor
https://gummi.app
MIT License
750 stars 95 forks source link

Load external changes #174

Open Vectornaut opened 2 years ago

Vectornaut commented 2 years ago

What it does

This feature implements a gedit-style offer to load external changes, addressing issue alexandervdm#167. In the process, it also addresses issue alexandervdm#168. See https://github.com/alexandervdm/gummi/issues/167#issuecomment-1079944636.

How it works

When a tab gains focus (on_focus_in_view), the interface checks whether the associated file has been changed externally (editor_externally_modified). If so, the tab shows an info bar offering to reload the file (gui_external_changes_enable).

To do

Short term

Long term