View Single Post
Old 03-14-2022, 02:43 PM   #33
KevinH
Sigil Developer
KevinH ought to be getting tired of karma fortunes by now.KevinH ought to be getting tired of karma fortunes by now.KevinH ought to be getting tired of karma fortunes by now.KevinH ought to be getting tired of karma fortunes by now.KevinH ought to be getting tired of karma fortunes by now.KevinH ought to be getting tired of karma fortunes by now.KevinH ought to be getting tired of karma fortunes by now.KevinH ought to be getting tired of karma fortunes by now.KevinH ought to be getting tired of karma fortunes by now.KevinH ought to be getting tired of karma fortunes by now.KevinH ought to be getting tired of karma fortunes by now.
 
Posts: 8,948
Karma: 6361444
Join Date: Nov 2009
Device: many
Toggle Line Wrap Mode

Okay, I have added a "Toggle Line Wrap Mode" to the CodeView pop-up context menu in my local tree.

See the attached screenshot with NoWrap set.

This will tentatively be in the next release and pushed to master once we are 100% sure there is no need for a Sigil-1.9.3 anytime soon.

Please note this really only helps show structure if the text does not already have inserted new lines in it.

This is the issue with the Alice in Wonderland test epub I often use.

So to make this useful in some epubs, you may have to use Mend and Prettify first so that ToggleLineWrapMode works as expected in these cases (as it replaces \n within p tags with a blank " " as that is what xhtml/html rules say should be displayed in these cases).

ps. This has now been pushed to master and will be in the next release.
Attached Thumbnails
Click image for larger version

Name:	toggle_mode_screenshot.png
Views:	194
Size:	104.5 KB
ID:	192750  

Last edited by KevinH; 03-18-2022 at 12:15 PM.
KevinH is offline   Reply With Quote