05-04-2010, 02:00 PM | #16 | |
Created Sigil, FlightCrew
Posts: 1,982
Karma: 350515
Join Date: Feb 2008
Device: Kobo Clara HD
|
Quote:
For instance: Code:
<p>This is <i>one</i> paragraph</p> This goes into some higher theory about parse trees and parent-child descendants. Point being, you can't know in advance when you're replacing that some part of the text should become a child of the current element. It's theoretically impossible. Every word processor I know does what Sigil does too. |
|
05-05-2010, 02:32 AM | #18 | |
US Navy, Retired
Posts: 9,864
Karma: 13806776
Join Date: Feb 2009
Location: North Carolina
Device: Icarus Illumina XL HD, Nexus 7
|
Quote:
Overall excellent work. Under help - about you should update the version with each release. Now it says 0.2.0 I would have expected it to say 0.2.0 rc2. I'm easily confused and since it wasn't there I wasn't sure if I had actually updated on one of my machines. |
|
05-05-2010, 03:33 PM | #19 | |
eBook FANatic
Posts: 18,301
Karma: 16071131
Join Date: Apr 2008
Location: Alabama, USA
Device: HP ipac RX5915 Wife's Kindle
|
Quote:
I have a couple of questions; When I do a Ctl+S or select SAVE from the file menu, I get the screen which says it cannot save htm. When I do a SAVE AS, the only option is to save as Epub. I would like to save the work file. Where do I err? |
|
05-05-2010, 04:55 PM | #20 |
Created Sigil, FlightCrew
Posts: 1,982
Karma: 350515
Join Date: Feb 2008
Device: Kobo Clara HD
|
|
05-05-2010, 11:33 PM | #21 |
What the Dog Saw
Posts: 311
Karma: 981684
Join Date: Jul 2008
Location: Dunn Loring
Device: Sony PRS-650, Surface3
|
Found a possible showstopper in Search and Replace.
Issue 378: version 0.2.0 RC2 search & replace for "all html files" hangs if the Find search string is not found. Works OK if you select look in "current file". Operating system in Windows XP. |
05-06-2010, 12:27 AM | #22 | |
Well trained by Cats
Posts: 29,778
Karma: 54830978
Join Date: Aug 2009
Location: The Central Coast of California
Device: Kobo Libra2,Kobo Aura2v1, K4NT(Fixed: New Bat.), Galaxy Tab A
|
Quote:
I was looking for: * * * * and I had wild card checked. |
|
05-06-2010, 07:06 AM | #23 | |
Created Sigil, FlightCrew
Posts: 1,982
Karma: 350515
Join Date: Feb 2008
Device: Kobo Clara HD
|
Quote:
|
|
05-06-2010, 07:41 AM | #24 | |
Created Sigil, FlightCrew
Posts: 1,982
Karma: 350515
Join Date: Feb 2008
Device: Kobo Clara HD
|
Quote:
What you had is called Regex Catastrophic Backtracking. Matching that string takes an exponential amount of time, so Sigil just keeps trying to match it, counting the chars, backtracking, counting more, backtracking etc. With that search string used as a wildcard, you would hang everything from Perl to grep to any other application. Read the linked page. Long story short, the bug is in your search string. Last edited by Valloric; 05-06-2010 at 07:43 AM. |
|
05-06-2010, 09:53 AM | #25 | |
Well trained by Cats
Posts: 29,778
Karma: 54830978
Join Date: Aug 2009
Location: The Central Coast of California
Device: Kobo Libra2,Kobo Aura2v1, K4NT(Fixed: New Bat.), Galaxy Tab A
|
Quote:
There needs to be a graceful way to abort when you mess up I lost my un-saved work because the only way was Kill Process |
|
05-06-2010, 11:29 AM | #26 |
Created Sigil, FlightCrew
Posts: 1,982
Karma: 350515
Join Date: Feb 2008
Device: Kobo Clara HD
|
There is no graceful way to abort that operation.
Say you're working in the python console. You type in 2**2, it prints out 4. The you type in 2**3, it prints out 8. Then 2**4, result 16. Then you type in 2131434234532**38728284872. It's not going to tell you "Hey smartass, that will take a couple of years". Point being, the computer is doing what you told it to do. You can't blame it for that. I'm not sure, but maybe PCRE can detect catastrophic backtracking. I plan on integrating it, so we'll see then. But I can't force QRegExp to behave differently. And it's not doing anything wrong, it's matching the way you told it to. |
05-06-2010, 11:48 AM | #27 |
Guru
Posts: 820
Karma: 11012
Join Date: Nov 2007
Location: Warsaw, Poland
Device: Bookeen Cybook
|
What it's doing wrong is , it's not allowing the user to interrupt and abort the matching operation.
|
05-06-2010, 12:14 PM | #28 |
frumious Bandersnatch
Posts: 7,515
Karma: 18512745
Join Date: Jan 2008
Location: Spaniard in Sweden
Device: Cybook Orizon, Kobo Aura
|
... or there could be some setting to "abort operation if it has taken more than X seconds and it's not yet finished", with a helpful message of what could be wrong and how to modify X if needed.
|
05-06-2010, 12:55 PM | #29 | |
Created Sigil, FlightCrew
Posts: 1,982
Karma: 350515
Join Date: Feb 2008
Device: Kobo Clara HD
|
Quote:
It certainly won't be in the final 0.2.0. Only showstopper bugs and trivial features are getting in now. |
|
05-06-2010, 04:33 PM | #30 |
Nevermore
Posts: 52
Karma: 17275
Join Date: Nov 2009
Location: St Louis, MO
Device: Nook, Nook Color, Stanza(iphone)
|
64 bit Windows default install folder
This is a bit of a nitpick, granted, but is there a reason the 64 bit windows installer defaults to "Program Files (x86)", where 32 bit applications go, instead of "Program Files", where 64 bit applications go?
|
|
Similar Threads | ||||
Thread | Thread Starter | Forum | Replies | Last Post |
Sigil 0.2.3 | Valloric | Sigil | 16 | 06-25-2010 10:59 AM |
Lead time for Kindle book release ahead of print release date - experiences? | Buran | Amazon Kindle | 6 | 05-04-2009 02:29 PM |
Favorite authors of American presidents and candidates | vivaldirules | Lounge | 10 | 11-04-2008 11:13 AM |
The 2008 U.S. Presidential candidates and what they bring to the table for e-books | spooky69 | News | 33 | 02-27-2008 08:30 PM |