02-26-2013, 09:49 AM | #61 |
Well trained by Cats
Posts: 29,689
Karma: 54369090
Join Date: Aug 2009
Location: The Central Coast of California
Device: Kobo Libra2,Kobo Aura2v1, K4NT(Fixed: New Bat.), Galaxy Tab A
|
I have noticed (it may be the same problem as JS has)
I select text that includes the whole line (of letters) I use the Search Icon to open the S&R. The search FAILS to even find the original line, until I remove the last (EOL?) invisible character in the search box. |
02-26-2013, 09:51 AM | #62 | |
Resident Curmudgeon
Posts: 73,660
Karma: 127838196
Join Date: Nov 2006
Location: Roslindale, Massachusetts
Device: Kobo Libra 2, Kobo Aura H2O, PRS-650, PRS-T1, nook STR, PW3
|
Quote:
|
|
02-26-2013, 10:08 AM | #63 |
Zealot
Posts: 134
Karma: 10
Join Date: Nov 2009
Location: Okotoks, AB, Canada
Device: iPad V-3
|
I have seen this for a long time. If you select something with a line end in it and do ctrl-c then ctrl-f it fails. If you do ctrl-c and then ctrl-v into the search field it works.
|
02-26-2013, 01:22 PM | #64 |
Sigil developer
Posts: 1,275
Karma: 1101600
Join Date: Jan 2011
Location: UK
Device: Kindle PW, K4 NT, K3, Kobo Touch
|
This is because the line separator is being converted in one case and not in the other. This seems to have been the same in 0.6.2/Qt4.
If you use Ctrl-F to select text and put it into the Find box (you don't need Ctrl-C first), then the end of line is being inserted as the unicode paragraph separator character 
. When you Ctrl-C Ctrl-V the text into the Find box, it ends up using the unicode line feed character 0a or \n. And when you actually do a search the text being compared against must be using a line feed as the separator. So in one case they match and in the other they don't. There was a similar issue with Tokenising not picking up the paragraph separator character which was fixed. Its not clear if this is a bug in Qt that we need to work around, or a consequence of the way we get the text from the editor, or something else. In any case, it looks like we need to automatically convert the paragraph separators into line feeds whenever we're comparing text. |
02-26-2013, 01:30 PM | #65 |
Zealot
Posts: 134
Karma: 10
Join Date: Nov 2009
Location: Okotoks, AB, Canada
Device: iPad V-3
|
Thanks for the rapid response, as usual. I figured it was something like that and just got used to the work around. It'll probably take the old mind a few months to do it the correct way, if it can be fixed. Awesome product - thanks to all involved.
|
02-26-2013, 01:45 PM | #66 | |
Resident Curmudgeon
Posts: 73,660
Karma: 127838196
Join Date: Nov 2006
Location: Roslindale, Massachusetts
Device: Kobo Libra 2, Kobo Aura H2O, PRS-650, PRS-T1, nook STR, PW3
|
Quote:
|
|
02-28-2013, 06:50 PM | #67 |
eBook FANatic
Posts: 18,301
Karma: 16071131
Join Date: Apr 2008
Location: Alabama, USA
Device: HP ipac RX5915 Wife's Kindle
|
Correcting Semantics Error
If I intend to mark a file as TITLE PAGE and actually select Table of Contents and go back and correct the selection, the change does not appear in the opf.
|
02-28-2013, 07:14 PM | #68 | |
Grand Sorcerer
Posts: 27,465
Karma: 192992430
Join Date: Jan 2010
Device: Nexus 7, Kindle Fire HD
|
Quote:
Initially: Code:
<reference href="Text/title-page.html" title="Table Of Contents" type="toc"/> Code:
<reference href="Text/title-page.html" title="Table Of Contents" type="title-page"/> |
|
03-02-2013, 07:43 AM | #69 |
eBook FANatic
Posts: 18,301
Karma: 16071131
Join Date: Apr 2008
Location: Alabama, USA
Device: HP ipac RX5915 Wife's Kindle
|
Possible addition to code editor
Is this possible or have I just missed another gem?
Highlight a section of code and mark as a BLOCK. This would allow global regex changes to the block only. This would, for instance, allow a contiguous section of code to have all <p> tags changed to <div> without bothering any code outside of the block. Many other uses also. This would simplify the formatting of poetry, letters, and other quotes. I admit that this will primarily be for Kindle display. |
03-02-2013, 08:53 AM | #70 |
Color me gone
Posts: 2,089
Karma: 1445295
Join Date: Apr 2008
Location: Central Oregon Coast
Device: PRS-300
|
This would be a very useful feature for changing the formatting of just one table instead of all of them...or confining the damage of searching and replacing to a small enough area to be fixable. Be nice if the replace all and its changing of end tags could work in this confined area too.
|
03-02-2013, 09:51 AM | #71 |
Well trained by Cats
Posts: 29,689
Karma: 54369090
Join Date: Aug 2009
Location: The Central Coast of California
Device: Kobo Libra2,Kobo Aura2v1, K4NT(Fixed: New Bat.), Galaxy Tab A
|
(?named) Markers tags, (sort of like bookmarks, but encompasses a range of text) would be needed. They would only be used by Sigil, and ignored by normal readers. ie Comments <--
These could have many uses including S&R Mode: x Marker='foo' Down |
03-02-2013, 11:16 AM | #72 |
A Hairy Wizard
Posts: 3,069
Karma: 18727053
Join Date: Dec 2012
Location: Charleston, SC today
Device: iPhone 11/X/6/iPad 1,2,Air & Air Pro/Surface Pro/Kindle PW & Fire
|
I have been missing the ability to F/R in "Selected Text" instead of just current document, selected files, or all html. That is a very useful feature.
I'm not sure why you would need persistent markers - you could use the begin-highlight and end-highlight as the limits... |
03-02-2013, 02:38 PM | #73 | |
Well trained by Cats
Posts: 29,689
Karma: 54369090
Join Date: Aug 2009
Location: The Central Coast of California
Device: Kobo Libra2,Kobo Aura2v1, K4NT(Fixed: New Bat.), Galaxy Tab A
|
Quote:
|
|
03-02-2013, 10:26 PM | #74 |
A Hairy Wizard
Posts: 3,069
Karma: 18727053
Join Date: Dec 2012
Location: Charleston, SC today
Device: iPhone 11/X/6/iPad 1,2,Air & Air Pro/Surface Pro/Kindle PW & Fire
|
I'm not sure I follow. When I use F/R (or just Find) with a section of text selected, the search is not restricted to just within that selected text. It starts it's search AFTER the selected text and uses the Current File/All HTML Files/Selected Files/Wrap drop downs to determine where it goes when it reaches the end of file.
I'm confused.... |
03-02-2013, 11:20 PM | #75 | |
Well trained by Cats
Posts: 29,689
Karma: 54369090
Join Date: Aug 2009
Location: The Central Coast of California
Device: Kobo Libra2,Kobo Aura2v1, K4NT(Fixed: New Bat.), Galaxy Tab A
|
Quote:
(IIRC Wordstar used range markers when limiting. WS only worked on 1 document) |
|
Thread Tools | Search this Thread |
|
Similar Threads | ||||
Thread | Thread Starter | Forum | Replies | Last Post |
Sigil 0.6.2 Released | user_none | Sigil | 89 | 05-04-2014 06:42 AM |
Sigil 0.6.0 Released | user_none | Sigil | 93 | 11-24-2012 06:50 PM |
Sigil 0.5.3 Released | user_none | Sigil | 85 | 05-13-2012 05:29 AM |
Sigil 0.4.2 Released | user_none | Sigil | 41 | 10-26-2011 06:03 AM |
Sigil 0.4.1 Released | user_none | Sigil | 50 | 09-01-2011 04:58 PM |