Register Guidelines E-Books Today's Posts Search

Go Back   MobileRead Forums > E-Book Software > Calibre > Editor

Notices

Reply
 
Thread Tools Search this Thread
Old 03-16-2016, 07:48 AM   #1
BobC
Guru
BobC ought to be getting tired of karma fortunes by now.BobC ought to be getting tired of karma fortunes by now.BobC ought to be getting tired of karma fortunes by now.BobC ought to be getting tired of karma fortunes by now.BobC ought to be getting tired of karma fortunes by now.BobC ought to be getting tired of karma fortunes by now.BobC ought to be getting tired of karma fortunes by now.BobC ought to be getting tired of karma fortunes by now.BobC ought to be getting tired of karma fortunes by now.BobC ought to be getting tired of karma fortunes by now.BobC ought to be getting tired of karma fortunes by now.
 
Posts: 691
Karma: 3026110
Join Date: Dec 2008
Location: Lancashire, U.K.
Device: BeBook 1, BeBook Pure, Kobo Glo, (and HD),Energy Sistem EReader Pro +
Odd display in code view.

Calibre 2.53 (64 Bit)
Windows 8.1 AMD 64

This is a code fragment from a book I am editing:

Code:
  <p>One of the most remarkable election events that has taken place in Liverpool was that in which Messrs. Ewart and Denison were engaged <!--
page 77--><a id="page77"></a><a title="p. 77" id="pgepubid00086"></a>in 1830.  Remarkable not only for the vigour with which it was carried on, but for the intense
This displays correctly in the preview pane, however what I see in the code pane is shown in the attachment.

i.e. the 18 of 1830 does not display.

If I move the cursor to just before the 3 of 1830 the status line shows "DIGIT EIGHT" , move left and it shows "DIGIT ONE" however neither of these are displayed in the code view window.

The positions of the invisible digits are Line 26 char 73 and 73 followed immediately by the 30 at chars 74 and 75 (char 72 is a "SPACE" character).

If I make the editor window maximised so as to use the full screen width the 1830 is visible in code view, though initially just widening the code view window (my first thought) didn't change anything. A bit of experimentation does suggest that this depends on the width of the code view window as closing the file browser window or the preview window did render the 18 visible.

All rather odd - invisible characters are bad news in code view, you might just delete something important.

BobC
Attached Thumbnails
Click image for larger version

Name:	code-disp-minJPG.jpg
Views:	224
Size:	22.3 KB
ID:	147133  
BobC is offline   Reply With Quote
Old 03-16-2016, 08:08 AM   #2
kovidgoyal
creator of calibre
kovidgoyal ought to be getting tired of karma fortunes by now.kovidgoyal ought to be getting tired of karma fortunes by now.kovidgoyal ought to be getting tired of karma fortunes by now.kovidgoyal ought to be getting tired of karma fortunes by now.kovidgoyal ought to be getting tired of karma fortunes by now.kovidgoyal ought to be getting tired of karma fortunes by now.kovidgoyal ought to be getting tired of karma fortunes by now.kovidgoyal ought to be getting tired of karma fortunes by now.kovidgoyal ought to be getting tired of karma fortunes by now.kovidgoyal ought to be getting tired of karma fortunes by now.kovidgoyal ought to be getting tired of karma fortunes by now.
 
kovidgoyal's Avatar
 
Posts: 45,345
Karma: 27182818
Join Date: Oct 2006
Location: Mumbai, India
Device: Various
This is caused by a bug in Qt

https://bugreports.qt.io/browse/QTBUG-47244
kovidgoyal is offline   Reply With Quote
Advert
Old 03-17-2016, 05:18 AM   #3
BobC
Guru
BobC ought to be getting tired of karma fortunes by now.BobC ought to be getting tired of karma fortunes by now.BobC ought to be getting tired of karma fortunes by now.BobC ought to be getting tired of karma fortunes by now.BobC ought to be getting tired of karma fortunes by now.BobC ought to be getting tired of karma fortunes by now.BobC ought to be getting tired of karma fortunes by now.BobC ought to be getting tired of karma fortunes by now.BobC ought to be getting tired of karma fortunes by now.BobC ought to be getting tired of karma fortunes by now.BobC ought to be getting tired of karma fortunes by now.
 
Posts: 691
Karma: 3026110
Join Date: Dec 2008
Location: Lancashire, U.K.
Device: BeBook 1, BeBook Pure, Kobo Glo, (and HD),Energy Sistem EReader Pro +
Thanks for the explanation.

BTW I looked at your Github bug report and it seemed to refer to it happening after non-breaking spaces; in my example the space is a normal one, not non-breaking, so perhaps the scope of your bug report needs widening.

The main point from a Calibre perspective is that it's not something you can fix.

BobC
BobC is offline   Reply With Quote
Reply


Forum Jump

Similar Threads
Thread Thread Starter Forum Replies Last Post
Elipsis character displays in code view but not in book view magmanpi Sigil 19 03-03-2014 04:45 AM
replace in book view changes view to code view cybmole Sigil 4 10-28-2012 01:20 PM
Sigil highlight Book View No Longer Shows in Code View Themus Sigil 4 10-04-2012 07:54 PM
quotes differences book view & code view cybmole Sigil 13 03-29-2011 01:53 AM
lock book view & code view windows into synch cybmole Sigil 5 01-19-2011 10:30 PM


All times are GMT -4. The time now is 05:58 AM.


MobileRead.com is a privately owned, operated and funded community.