![]() |
#1 |
Enthusiast
![]() Posts: 42
Karma: 10
Join Date: Aug 2018
Location: Paris (France)
Device: Kobo Kindle Vivlio-Inkpad3
|
Wish keystroke to Wrap/Unwrap lines in the editor
Dear Kovid
Could you add this feature to Calibe editor ? I know that switch exists in Preferences > Editor properties, but it is a bit complicated to access to it. So it would be very pleasant to be able to swap, by a keystroke, wrapping of long lines. TIA and cheers for your masterpiece. ![]() JJK |
![]() |
![]() |
![]() |
#2 |
Well trained by Cats
![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() Posts: 30,035
Karma: 57259778
Join Date: Aug 2009
Location: The Central Coast of California
Device: Kobo Libra2,Kobo Aura2v1, K4NT(Fixed: New Bat.), Galaxy Tab A
|
Have you tried Beautify (the flower icon)?
|
![]() |
![]() |
Advert | |
|
![]() |
#3 |
Bibliophagist
![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() Posts: 37,233
Karma: 148321048
Join Date: Jul 2010
Location: Vancouver
Device: Kobo Sage, Libra Colour, Lenovo M8 FHD, Paperwhite 4, Tolino epos
|
I suspect the OP wants to be able to enable/disable long lines much like enabling/disabling word wrap in a text editor. As mentioned wrap long lines is currently an option in the editor preferences but the OP seems to want a hot key.
Personally, I prefer wrapping lines so I can see the entire line and I see little need for not wrapping lines other than a desire to make seeing the entire line a pain. |
![]() |
![]() |
![]() |
#4 |
creator of calibre
![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() Posts: 44,057
Karma: 22669822
Join Date: Oct 2006
Location: Mumbai, India
Device: Various
|
I dont see a use case for a dedicated shortcut for this. Why do you want to change wrapping often?
|
![]() |
![]() |
![]() |
#5 |
null operator (he/him)
![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() Posts: 20,729
Karma: 27405072
Join Date: Mar 2012
Location: Sydney Australia
Device: none
|
FWIW - I use the Toggle Line Wrap Mode option in Sigil's CV context menu when I want to see the structure of the code and how that represents in Preview.
BR Last edited by BetterRed; Today at 12:27 AM. Reason: Better screenshot, put a border around menus |
![]() |
![]() |
Advert | |
|
![]() |
#6 | |
Bibliophagist
![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() Posts: 37,233
Karma: 148321048
Join Date: Jul 2010
Location: Vancouver
Device: Kobo Sage, Libra Colour, Lenovo M8 FHD, Paperwhite 4, Tolino epos
|
Quote:
Code:
<p class="paran">As she reached for it, her gaze snagged on the last one in the row, a beautiful blue-green oval with tiny red veins. She’d never seen a gem like it, nor had she seen a carving as…arrogant—that was the word that sprang to mind—as this one held. It featured a dragon, its wings spread and its tail curling around to the back of the gem. Was it meant to portray one of the founder dragons? Or simply one of the wild lesser ones remaining in the world today? Who would have believed themselves worthy of wearing such a gem? What master would have carved it? And what would it <i>do</i>?</p> |
|
![]() |
![]() |
![]() |
#7 |
creator of calibre
![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() Posts: 44,057
Karma: 22669822
Join Date: Oct 2006
Location: Mumbai, India
Device: Various
|
|
![]() |
![]() |
![]() |
#8 |
Enthusiast
![]() Posts: 42
Karma: 10
Join Date: Aug 2018
Location: Paris (France)
Device: Kobo Kindle Vivlio-Inkpad3
|
Thank you, Kovid. That is all I wished. So I will be able to change wrapping on the fly.
That is because I often have to modify epub resulting by export from Indesign, and I want to beautify, to clean the ugly code got by Indesign. Often classes or other attibutes are in the beginning of <p> tags, and so the text I want to clean is at the beginnig of each line. When wrap is on I see all the <p> text but the structure of the file is hide, when it is off I see only the text I want to clean, and file structure is visible. Still thank you. |
![]() |
![]() |
![]() |
|
![]() |
||||
Thread | Thread Starter | Forum | Replies | Last Post |
PDF to ePub - impossible to unwrap line breaks on this file? | barbiedolphin | Conversion | 4 | 05-19-2024 06:35 PM |
How to enable Word Wrap in the Editor? | Entry20 | Editor | 4 | 10-02-2018 12:03 PM |
Why does log not show if unwrap lines has been triggered ? | nwpsys | Conversion | 7 | 06-19-2011 04:38 AM |
possible bug about.pdf Unwrap | zambosky | Calibre | 5 | 06-20-2010 09:53 AM |
PDF line unwrap | miquel | Calibre | 15 | 05-26-2010 05:35 PM |