10-03-2018, 05:35 AM | #1 |
mostly an observer
Posts: 1,515
Karma: 987654
Join Date: Dec 2012
Device: Kindle
|
Preview panel no long tracking Code View
I worked on a book five weeks ago and Sigil was functioning normally. But yesterday I opened a new html file in Sigil and I find that Preview Panel no longer tracks when I am in Code View. Worse, when I do get them aligned and I do anything in Code View, Preview Panel flicks back to the beginning of the file.
I haven't reinstalled 0.9.10, build time 2018.07.25. What could I have done to change its behavior? Thanks! |
10-03-2018, 06:06 AM | #2 |
Well trained by Cats
Posts: 29,798
Karma: 54830978
Join Date: Aug 2009
Location: The Central Coast of California
Device: Kobo Libra2,Kobo Aura2v1, K4NT(Fixed: New Bat.), Galaxy Tab A
|
Just to clarify:
Do you mean that Preview no longer tracks where the insertion point is (after a short delay)? |
Advert | |
|
10-03-2018, 07:09 AM | #3 |
Obsessively Dedicated...
Posts: 3,200
Karma: 34977896
Join Date: May 2011
Location: JAPAN (US expatriate)
Device: Sony PRS-T2, ADE on PC
|
I see this behavior sporadically when working with large-ish individual html files (over 300kb). Sometimes it seems to be caused by running a very long session (? undo and clipboard buffers overlarge ?), and then simply closing and re-launching Sigil does the trick. But occasionally I MUST split the html files to get the two panes to synch.
Using version 0.9.9. on Windows 7 and Windows 10. |
10-03-2018, 02:08 PM | #4 |
Sigil Developer
Posts: 7,644
Karma: 5433388
Join Date: Nov 2009
Device: many
|
They should auto sync if you let it sit briefly. Also if the cursor is left at a point that is the direct child of the body tag in CodeView such as a comment or before a p starting tag, Preview will sync to the body tag (ie effectively the top of file). Moving the CV cursor inside a child of the body tag should see it properly sync after a short delay. This is an artifact of the use of tag paths to determine where exactly in Preview to move to when editing inside a html file.
If I get a free moment, I will try to instead rewrite the code to move to the previous sibling of the body tag to get a bit closer hopefully. |
10-03-2018, 04:15 PM | #5 | |
mostly an observer
Posts: 1,515
Karma: 987654
Join Date: Dec 2012
Device: Kindle
|
Quote:
I opened up the same book from last year in another iteration of Sigil, and the behavior was as it should be -- I could go from Code View to the same spot in Preview just by clicking on any spot in Code View, and I no longer saw the jump-back effect if I went to the end of the file in both Code View and Preview Panel and then click randomly on Code View. So I did what no doubt I should have done in the first place: I shut down the Sigil display of the new book, then opened Sigil again and loaded the identical file. And as Kevin predicts, it is working just fine. Thank you again, and sorry for the fuss! |
|
Advert | |
|
|
Similar Threads | ||||
Thread | Thread Starter | Forum | Replies | Last Post |
Auto-hyphenation in Preview Panel? | Notjohn | Sigil | 9 | 05-28-2017 02:42 PM |
Differences in Code view and File preview | chaot | Editor | 3 | 05-18-2016 02:49 PM |
Modify panel-view ebook to generic comic-view? | badbob001 | Amazon Kindle | 7 | 01-28-2016 05:54 AM |
Preview Panel Toolbar | BetterRed | Editor | 1 | 06-23-2014 12:25 AM |
How to sync database with 2 pc and preview panel | Kosh | Library Management | 1 | 04-18-2014 03:21 PM |