[PyQt] Setting font for QScintilla

Baz Walter bazwal at ftml.net
Thu Jul 23 18:31:53 BST 2009


projetmbc wrote:
> I still have a little problem because I only want to have the comments 
> in bold font in my example. Indeed all is in bold font. I don't 
> understand why.
> 

the problem is this line:

	if style == self.Comment or self.Comment_End:

i think you meant:

         if style == self.Comment or style == self.Comment_End:


regards
baz walter


More information about the PyQt mailing list