When using
jEdit to edit files, be careful not to change any file you are working on (with
svn commands, other editors, etcetera). By default it will immediately reload the file from disk, destroying your in-editor changes without prompting and with no way to recover your work.
1 There is a preference option:
- Utilities
- Global Options...
- jEdit
- General
- If open files are changed on disk: automatically reload
I definitely recommend changing this option to
prompt if you ever work on your source files using revision control or multiple editors so an accidental
svn revert
, for example, does not destroy your work in an open jEdit window.
1There is a way to recover your work if you have autosave enabled, however by default it saves one copy every 30 seconds, which is extremely unlikely to give you enough time to realize what you have done and recover your data in this scenario. If you prefer this solution (which also protects you if you accidentally click yes to the reload) or would like to use it in addition to the above, change your options to more usable values here: