Quote:
Originally Posted by apoiata
I found that I can "indent and fix problem" (Prettify and Mend) or just mend. What about only Prettify? Let say I want to fix problems by myself but need some help to organize the code.
|
No. "Mend" makes the least intrusive changes to code. "Mend and Prettify" is more extensive. There is no Prettify-only because the code must first be correct (Mend) before Prettify can be trusted to do its work.
Quote:
Originally Posted by apoiata
Second, Is it possible to open the code with external editor and close it without saving somewhere on drive and import to Sigil? I mean to use external editor as embedded editor.
|
Yes. That is exactly what the "Open With" feature is intended to accomplish. If you mean "embedded" as in "replaces Sigil's existing Code View", then no. It's not
that integrated. But changes made/saved in the external editor will be immediately reflected in Sigil's Preview/Book View. There's no need to save somewhere else and re-import. It wouldn't be a very handy feature at all if you had to go through that kind of trouble.
Just right-click on an xhtml file in the Book Browser and select Open With to configure Notepad++ as an external editor and see what I mean. You'll only have to do it once. Thereafter. Notepad++ will be an option on the Open With submenu (when you right-click an xhtml file).