![]() |
#16 | |
Bibliophagist
![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() Posts: 44,828
Karma: 168802811
Join Date: Jul 2010
Location: Vancouver
Device: Kobo Sage, Libra Colour, Lenovo M8 FHD, Paperwhite 4, Tolino epos
|
Quote:
|
|
![]() |
![]() |
![]() |
#17 |
Sigil Developer
![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() Posts: 8,478
Karma: 5703586
Join Date: Nov 2009
Device: many
|
plus ending tags plus spans, plus italics, bold, underline, etc.
|
![]() |
![]() |
Advert | |
|
![]() |
#18 |
Grand Sorcerer
![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() Posts: 28,358
Karma: 203720150
Join Date: Jan 2010
Device: Nexus 7, Kindle Fire HD
|
I honestly can't understand how anyone could think that looking at half (or one-fourth, or one-eighth) of a line of markup would be advantageous at all. Needing to scroll back and forth horizontally (as well as vertically) to get the entire picture seems like a step backward from only needing to scroll vertically to me.
|
![]() |
![]() |
![]() |
#19 |
null operator (he/him)
![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() Posts: 21,629
Karma: 29710510
Join Date: Mar 2012
Location: Sydney Australia
Device: none
|
Occasionally I've stumbled on conversion output where every sentence is a new paragraph, not whole books, normally short passages. Or where several paragraphs get joined into a Proustian screed. Having the original and a 'no line-wrap' editor makes it easier to reconstruct the original paragraph structure.
That Sigil doesn't have a no-line-wrap toggle has never bothered me, there are zilllions of editors that do - even Notepad has it ![]() I just don't get the attitude that every tool must have every flying fish and duck that the gods ever invented to put on wall - I can't saw wood with my croquet mallet either ![]() Open With is the best gizmo anyone ever added to Sigil. BR |
![]() |
![]() |
![]() |
#20 |
A Hairy Wizard
![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() Posts: 3,312
Karma: 20171571
Join Date: Dec 2012
Location: Charleston, SC today
Device: iPhone 15/11/X/6/iPad 1,2,Air & Air Pro/Surface Pro/Kindle PW & Fire
|
Are Croquet mallets those things they stick in the ground at the end of the cricket pitch??
![]() I'm not sure that I would use non-word wrap all that often either. Although I could see myself using it once-in-a-while. My thought is that, I assume, the coding window is a Qt based widget. If that is true, I would think that word-wrap functionality is a setting that should be able to be set/unset with a simple selection. Sigil's GUI doesn't currently have that selection functionality, but I imagine if the OP wanted to add it to the feature request list, then the developers could prioritize it based on need and difficulty to implement. btw - jk on the croquet mallet thing... ![]() |
![]() |
![]() |
Advert | |
|
![]() |
#21 |
Sigil Developer
![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() Posts: 8,478
Karma: 5703586
Join Date: Nov 2009
Device: many
|
Nope. Not adding it. Find another editor and use "open with". We are not in race to add editor features when a user can easily launch up to 5 other editors with only a click or two.
**EDIT** I take that back. I am being too obstinate. I do not think that feature is worthwhile and therefore I do not want to spend any of my time on implementing it (especially the user interface icon and toggle). But if someone generated a pull request complete with toggle wrap mode icon made to match what we have now (and assign a key sequence) and that properly uses setLineWrapMode in CodeViewEditor (derived from QPlainTextEdit) and all supported code changes (including keeping the current state in the sigil.ini SettingsStore, I would include it if DiapDealer agrees. Last edited by KevinH; 06-11-2020 at 11:40 AM. |
![]() |
![]() |
![]() |
#22 | |
A Hairy Wizard
![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() Posts: 3,312
Karma: 20171571
Join Date: Dec 2012
Location: Charleston, SC today
Device: iPhone 15/11/X/6/iPad 1,2,Air & Air Pro/Surface Pro/Kindle PW & Fire
|
Quote:
![]() ![]() |
|
![]() |
![]() |
![]() |
#23 |
Grand Sorcerer
![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() Posts: 28,358
Karma: 203720150
Join Date: Jan 2010
Device: Nexus 7, Kindle Fire HD
|
|
![]() |
![]() |
![]() |
#24 |
Guru
![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() Posts: 809
Karma: 2416112
Join Date: Jan 2017
Location: Poland
Device: Various
|
Maybe someone will be motivated to do it, but for what? To check if all opening tags are OK? This is of course possible and does not even interfere with the settings in sigil.ini
Since I can do it through Open with and choose my favorite editor – it probably doesn't make sense. |
![]() |
![]() |
![]() |
#25 |
null operator (he/him)
![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() Posts: 21,629
Karma: 29710510
Join Date: Mar 2012
Location: Sydney Australia
Device: none
|
Even if it were done, I doubt I would use it.
Having the unwrapped lines in a text editor, and the wrapped lines in Sigil's CV panel means I can see the all the markup if needed. And after reconstructing a paragraph I can do a Save in the text editor and see the effects in Sigil's CV and PV panels. If I need to do a lot of paragraph reconstruction and I have the original in electronic form (e.g. facsimile images), I usually move Sigil to a second monitor so that I see the original alongside the unwrapped lines in the text editor. I'm curious to know of any other use cases for having unwrapped lines, other than the one I've described. For me at least, in all but trivial cases, my use case is more effectively done in a separate text editor rather than in Sigil. BR PS: to satisfy the all-in-one fanatics you could add a dockable Raw View editing window - joking of course Last edited by BetterRed; 06-11-2020 at 07:23 PM. Reason: clarity |
![]() |
![]() |
![]() |
#26 | |
A Hairy Wizard
![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() Posts: 3,312
Karma: 20171571
Join Date: Dec 2012
Location: Charleston, SC today
Device: iPhone 15/11/X/6/iPad 1,2,Air & Air Pro/Surface Pro/Kindle PW & Fire
|
Quote:
![]() ![]() ![]() |
|
![]() |
![]() |
![]() |
#27 |
Guru
![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() Posts: 809
Karma: 2416112
Join Date: Jan 2017
Location: Poland
Device: Various
|
|
![]() |
![]() |
![]() |
#28 | |
Wizard
![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() Posts: 2,306
Karma: 13057279
Join Date: Jul 2012
Device: Kobo Forma, Nook
|
Quote:
Usually it's when I'm skimming through the code for more "macro" fixes... mostly when you don't really care about exactly what's within the paragraphs, just verifying the surrounding markup is correctly applied. ![]() Like having a PDF open and seeing if the EPUB has <blockquote>s (and classes) in the right location: Code:
<blockquote> <p class="blockquote">First words [...]</p> <p class="blockquote">Second very long paragraph [...]</p> </blockquote> Code:
<aside epub:type="footnote" id="ftn2"> <p class="footnote">[2] This could be some super long</p> <p>multi-paragraph</p> <p>footnote</p> <p>that goes across many pages.</p> </aside> <aside epub:type="footnote" id="ftn3"> <p class="footnote">[3] Another footnote [...]</p> </aside> <aside epub:type="footnote" id="ftn4"> <p class="footnote">[4] And one more [...]</p> </aside> So if you're only focusing on a straight line of: Code:
<blockquote> class="blockquote" class="blockquote" id="ftn2" id="ftn3" id="ftn4" [...] Side Note: I recently proofed ~10 years of journal articles, and did something similar. I had the EPUB open side-by-side with the PDF, and did a pass "verifying the first word of every paragraph", so I knew all my <p>s were correct. Reading straight down a line was magnitudes faster. Also, patterns like: Code:
<p> <p> <p> <p class="noindent"> Last edited by Tex2002ans; 06-12-2020 at 05:03 AM. |
|
![]() |
![]() |
![]() |
#29 | |
Hedge Wizard
![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() Posts: 802
Karma: 19999999
Join Date: May 2011
Location: UK/Philippines
Device: Kobo Touch, Nook Simple
|
Quote:
![]() |
|
![]() |
![]() |
![]() |
#30 |
Klak
![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() Posts: 174
Karma: 150374
Join Date: Sep 2011
Location: Belgrade, Serbia
Device: many
|
Most editors have this option, from Atom to Far manager, however if developers do not want to make it part of Sigil, interested one can use external editor or ask Becky nicely.
![]() |
![]() |
![]() |
![]() |
|
![]() |
||||
Thread | Thread Starter | Forum | Replies | Last Post |
How to enable Word Wrap in the Editor? | Entry20 | Editor | 4 | 10-02-2018 12:03 PM |
replace in book view changes view to code view | cybmole | Sigil | 4 | 10-28-2012 01:20 PM |
Sheet To Go -- Word Wrap in Cells? | kenjennings | enTourage Archive | 0 | 05-06-2010 10:34 AM |
Word wrap in the forum [closed] | JSWolf | Lounge | 51 | 11-11-2007 10:22 PM |