[QScintilla] Set QScintilla styles w/ stylesheets? QTextEdit zooms?

Edward K. Ream edreamleo at gmail.com
Thu Oct 23 16:27:34 BST 2008


For my old eyes, setting QScintilla's font to "Courier New" 8 bold
magnified 6 times looks absolutely beautiful.  I'm instantly spoiled
for life :-)

At present, Leo does this with lexer.setFont and w.zoomIn(6), but it
would be easier for Leo's users if they could use a stylesheet. Is
this possible?  If so, are there docs?

BTW, I can set QTextEdit with a stylesheet, but apparently w.zoomIn
doesn't work for QTextEdit if there is a stylesheet active :-( Is
there a way to specify zoom factors in style sheets? I have tried
'zoom' and 'zoom-in' with no joy.

Thanks for your help.

Edward
--------------------------------------------------------------------
Edward K. Ream email: edreamleo at gmail.com
Leo: http://webpages.charter.net/edreamleo/front.html
--------------------------------------------------------------------


More information about the QScintilla mailing list