|  03-10-2012, 05:08 AM | #61 | |
| Sigil developer            Posts: 1,274 Karma: 1101600 Join Date: Jan 2011 Location: UK Device: Kindle PW, K4 NT, K3, Kobo Touch | Quote: 
 Code View or Book View? Mode? Direction? Replace or Replace All? If repeatable, maybe save the epub and send a link (or add a new issue on the issue log and mark private). | |
|   |   | 
|  03-10-2012, 08:51 AM | #62 | |
| Fanatic            Posts: 502 Karma: 65460 Join Date: Jun 2011 Device: Kindle | Quote: 
 I discovered it has something to do with the length of the line containing the target string. take the nonsense string below, for example: Spoiler: 
 do a search (I've done both Regex and Case Sensitive)for: Code: The quick Code: </p><p> The quick Last edited by ElMiko; 03-10-2012 at 08:58 AM. | |
|   |   | 
|  03-10-2012, 11:19 AM | #63 | |
| Sigil developer            Posts: 1,274 Karma: 1101600 Join Date: Jan 2011 Location: UK Device: Kindle PW, K4 NT, K3, Kobo Touch | Quote: 
 This happens on Ubuntu 11.10 as well. I'll look into it to see if its something I can correct. | |
|   |   | 
|  03-10-2012, 11:44 AM | #64 | 
| Sigil developer            Posts: 1,274 Karma: 1101600 Join Date: Jan 2011 Location: UK Device: Kindle PW, K4 NT, K3, Kobo Touch | 
			
			And after a brief check, its not something that can be fixed easily.  Its the old QPlainTextEdit problem - the Qt editor just can't handle large amounts of activity and dies, usually in setTextCursor.  Unfortunately this is one that will require user_none replacing the editing core of Code View, which is not a trivial task. As a workaround, just use Replace All with Selected HTML files and just select 1 file. When you use Current File the replace is done using QPlainTextEdit and it saves each find/replace in order to allow you to Undo each change. When you use Selected HTML files or All HTML files the replace is done directly on the text file so it doesn't have the same problem - and its a lot faster. With such a large amount of replaces, Undo isn't really a concern. | 
|   |   | 
|  03-14-2012, 01:09 AM | #65 | 
| Fanatic            Posts: 527 Karma: 1048576 Join Date: May 2009 Device: bebook; prs-950;  nook simple touch; HTC Jetstream tablet | 
			
			I finally finished my most ambitous effort on historic geology books; it is about 700 pages with exceptionally numerous small cap regular and italic text, with several full-page images. At the least this work would have entailed far greater efforts to complete than with the newest 0.5.3 version, and probably I would have encountered so many problems using earlier versions that I might eventually have given up. Occasionally I encountered crashes with 0.5.3 but these were never critical problems, and never resulted in losses or file corruptions. Working with the new version 0.5.3 was a great experience - everything worked perfectly and the new changes allowing multiple renaming/removing of .xhtml files and the new regex s/f were truly welcome! Hail to the Sigil team!! | 
|   |   | 
|  03-14-2012, 01:10 PM | #66 | 
| Bookmaker            Posts: 434 Karma: 2143650 Join Date: Sep 2010 Device: Cybook Opus | 
			
			Hm, am I the only one who's noticing that Sigil tends to insert a space wherever my cursor was when I switch from Book View to Code View?
		 | 
|   |   | 
|  03-14-2012, 09:31 PM | #67 | 
| Grand Sorcerer            Posts: 28,880 Karma: 207000000 Join Date: Jan 2010 Device: Nexus 7, Kindle Fire HD | |
|   |   | 
|  03-15-2012, 05:37 AM | #68 | |
| Zealot            Posts: 114 Karma: 5246 Join Date: Jul 2010 Device: none | Quote: 
 This bug only happens if the cursor is between any characters in Book View, a workaround is to make sure that the cursor is before the first character in a paragraph before switching to Code View (I've been using Qt-4.8.0 for a long time, this is the only bug I saw so far, and since I don't use BV that much...). (Note that the Sigil Linux official .bin packages bundle Qt-4.7.x). | |
|   |   | 
|  03-29-2012, 07:49 PM | #69 | 
| Grand Sorcerer            Posts: 28,880 Karma: 207000000 Join Date: Jan 2010 Device: Nexus 7, Kindle Fire HD | 
			
			A couple of quick questions about possible enhancements... bottom-of-the-wishlist-pile type stuff. Just throwing them out there.   1) How hard would it be to have a user configurable preference for which view they'd like to open by default when they selected an (x)html book-file. For instance, I'd like for files to default to opening in Code View instead of Book View when first opened. I wouldn't want that for everybody; hence the preference setting. Or is it already available and I'm just missing it like I was number two? 2) Never mind about number two... I see it's already implemented.  But why on earth is the "Close Other Tabs" feature (ctrl+alt+w) hiding out with all the keyboard shortcuts? I would have loved to see that puppy front and center a long time ago.   | 
|   |   | 
|  03-30-2012, 01:59 AM | #70 | 
| Wizard            Posts: 3,720 Karma: 1759970 Join Date: Sep 2010 Device: none | 
			
			i vaguelly recall the user configurable preferences may be in v6. There's lots that I'd like to see as preference options!
		 | 
|   |   | 
|  03-30-2012, 03:07 AM | #71 | ||
| Sigil developer            Posts: 1,274 Karma: 1101600 Join Date: Jan 2011 Location: UK Device: Kindle PW, K4 NT, K3, Kobo Touch | Quote: 
 Quote: 
 | ||
|   |   | 
|  03-30-2012, 07:43 AM | #72 | |
| Grand Sorcerer            Posts: 28,880 Karma: 207000000 Join Date: Jan 2010 Device: Nexus 7, Kindle Fire HD | Quote: 
   | |
|   |   | 
|  04-08-2012, 06:11 AM | #73 | 
| Guru            Posts: 657 Karma: 64171 Join Date: Sep 2010 Location: Kent, England, Sol 3, ZZ9 plural Z Alpha Device: Sony PRS-300, Kobo Aura HD, iPad (Marvin) | 
			
			EDIT: I tried this again to check as was about to do Bug report in Issues on Sigil website, and it now works as it should. In my defence, yesterday I also had some probs with my system (now hopefully sorted). /EDIT I found a difference in the replacement of a string, depending on whether I'm step replacing or doing a 'replace all' (found from posts here and few around for info). When step replacing the last space is inside the span (as it should be for this regex), but when replace all, the last space is outside the span just using these few lines as a test in a new, clean epub, Code: <p class="let">Here we have a simple paragraph.</p> <p class="let">Here we have another simple paragraph.</p> <p class="let">Here we have a simple paragraph.</p> <p class="let">Here's a simple paragraph.</p> <p class="let">Here we have a simple paragraph.</p> Code: <p class="let">([A-Z])((.[^ ]{0,20}[ ]){4})Code: <p class="let"><span class="let1 let2">\1</span><span class="smcpTypeV">\2</span> Last edited by Perkin; 04-09-2012 at 05:11 AM. | 
|   |   | 
|  04-08-2012, 07:18 PM | #74 | 
| Not who you think I am...            Posts: 374 Karma: 30283 Join Date: Jan 2010 Location: Honolulu Device: PocketBook 360 -- Ivory | 
			
			Could someone please summarize the regex and search/replace issues in the most current version of Sigil?
		 | 
|   |   | 
|  04-09-2012, 04:12 AM | #75 | 
| Berti            Posts: 1,197 Karma: 4985964 Join Date: Jan 2012 Location: Zischebattem Device: Acer Lumiread | |
|   |   | 
|  | 
| 
 | 
|  Similar Threads | ||||
| Thread | Thread Starter | Forum | Replies | Last Post | 
| 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 | 
| Sigil 0.4.0 and FlightCrew 0.7.2 Released | user_none | Sigil | 13 | 08-23-2011 02:18 PM | 
| Sigil 0.3.4 / Sigil 0.4.0 RC1 / Cover in Nook Color | Bertrand | Sigil | 13 | 08-06-2011 04:06 AM | 
| Sigil 0.3.4 / Problème CSS entre Sigil et iPad | Grivels | Software | 10 | 07-03-2011 09:06 AM |