For speed, Sigil caches all text files in Qt widgets. So Sigil has to set FileWatchers to know when files have been modified underneath it. It only does that when it actually needs to. So when "Open With" is used it sets one on the target file you ran it on. When the XEditor is used it sets them on selected xhtml files from the spine.
As DiapDealer explained. Changing any of the files in Sigil's own temp directory without the proper FileWatchers present is a sure recipe for disaster.
So stick to using Open With and the XEditor the way they were designed. For anything else use a plugin to act as an interface to Sigil that properly handles things safely with copy on write semantics and result xml to safely change internal files.
My guess is you could just use Sigil's Open With feature to edit specific files with a different editor.
If XEditor is showing flakiness in any way, it is the result of your system or how you are using it. It works just fine on Linux, Windows, and Mac and has for quite some time.
Last edited by KevinH; 09-25-2023 at 09:08 AM.
|