Quote:
Originally Posted by DiapDealer
The short answer is: you can't. If you want/need that much control over how your HTML is formatted (spacing, indentation, grouping,... etc), then Sigil is simply not for you.
|
By “that much control”, effectively you mean “any control at all”.
I really don't care about most of it, but spacing definitions separately from terms as though they're all paragraphs is just stupid. It doesn't make anything more readable, in fact it produces the opposite effect. After this mangling, how would you go about sorting a list of definitions for example? I can't see any sane reason for changing the user's data in this case.
So the the general advice is to use Code View (which I'm doing anyway) but Sigil will force your HTML into a form that makes life harder even when you do.
And it won't even necessarily show you what's saved.
Quote:
Originally Posted by mrmikel
An editor is not a word processor, so its aim is not to preserve a particular display of code.
|
Um...actually a good text editor should always show you a faithful representation of the file, including all the characters you've put into it, including carriage returns and line feeds. Layout can be important in programming, for legibility, intelligibility and sometimes even syntax. Sigil is not even showing me the changes it has silently made to my code.
Why couldn't Sigil expose some minimal Tidy options? I'd be happy with an obscure config file somewhere. Even being able to switch vertical-space off would be good.
And then there's the other issue: is the keyboard shortcut interface broken? I can't find any way of turning the Tidy shortcut off. It always comes back the next time you start Sigil.