[1.35] ebook-edit - syntax highlighting does not work on Mac OS X 10.9.2

Bug #1315303 reported by Robert Błaut
6
This bug affects 1 person
Affects Status Importance Assigned to Milestone
calibre
Fix Released
Undecided
Unassigned

Bug Description

I don't know if it is system specific bug, but I noticed in all of my books I checked so far that syntax highlighting in ebook-edit does not work completely. All code lines are black. Terminal displays no suspicious messages:
performance, only use PostScript names when calling this API.
2014-05-02 11:10:20.593 calibre-debug[2546:507] CoreText performance note: Client called CTFontCreateWithName() using name "Minion Pro" and got font with PostScript name "MinionPro-Regular". For best performance, only use PostScript names when calling this API.
2014-05-02 11:10:20.597 calibre-debug[2546:507] CoreText performance note: Client called CTFontCreateWithName() using name "Minion Pro" and got font with PostScript name "MinionPro-Regular". For best performance, only use PostScript names when calling this API.

Robert Błaut (1-robert)
summary: - [1.35] syntax highlighting does not work on Mac OS X 10.9.2
+ [1.35] ebook-edit - syntax highlighting does not work on Mac OS X 10.9.2
description: updated
description: updated
description: updated
description: updated
Revision history for this message
Kovid Goyal (kovid) wrote : Re: calibre bug 1315303

It looks like an OS X specific bug in PyQt, weakref is not working with
QTextDocument on OS X, for some reason, I will see if I can work around it.

Revision history for this message
Kovid Goyal (kovid) wrote : Fixed in master

Fixed in branch master. The fix will be in the next release. calibre is usually released every Friday.

 status fixreleased

Changed in calibre:
status: New → Fix Released
Revision history for this message
Robert Błaut (1-robert) wrote :

I can confirm that change set: https://github.com/kovidgoyal/calibre/commit/f1f030d34e72590b0a235c1655a63defc000cfe3 brings back syntax highlighting for me in development environment 1.35*.

To post a comment you must log in.
This report contains Public information  
Everyone can see this information.

Other bug subscribers

Bug attachments

Remote bug watches

Bug watches keep track of this bug in other bug trackers.