View Single Post
Old 07-25-2014, 02:07 AM   #33
Rev. Bob
Wizard
Rev. Bob ought to be getting tired of karma fortunes by now.Rev. Bob ought to be getting tired of karma fortunes by now.Rev. Bob ought to be getting tired of karma fortunes by now.Rev. Bob ought to be getting tired of karma fortunes by now.Rev. Bob ought to be getting tired of karma fortunes by now.Rev. Bob ought to be getting tired of karma fortunes by now.Rev. Bob ought to be getting tired of karma fortunes by now.Rev. Bob ought to be getting tired of karma fortunes by now.Rev. Bob ought to be getting tired of karma fortunes by now.Rev. Bob ought to be getting tired of karma fortunes by now.Rev. Bob ought to be getting tired of karma fortunes by now.
 
Rev. Bob's Avatar
 
Posts: 1,760
Karma: 9918418
Join Date: Feb 2013
Location: Here on the perimeter, there are no stars
Device: Kobo H2O, iPad mini 3, Kindle Touch
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.
Rev. Bob is offline   Reply With Quote