Here's something I wouldn't mind seeing as an editor function, whether native or by plugin: a wrap/unwrap feature. The wrap feature would enable wrapping lines to a maximum length of N characters or less, and that's fairly simple. The harder part is the reverse, taking paragraphs that have been wrapped to that specification and removing the internal line breaks.
There's a decent Unwrap option in one of Notepad++'s plugins, and it uses blank lines as its "end of block" marker - but since EPUBs use XHTML, it ought to be possible to actually use the tags for that: "hey, this is an open-paragraph; let's find the corresponding close-paragraph!"
Of course, there are always devils in the details, and there's some pretty horrible code floating around in some ebooks (like the heathens who use DIV instead of P for all their paragraphs), which strikes me as an excellent reason to make it an editor plugin (where you can see the results) instead of a general plugin.
Just an idea, of course. It'd be nice to have, but I can always get by with doing a copy/paste to Notepad++ when needed.
|