Re: [PyQt] Setting font for QScintilla

2009-07-23 Thread Baz Walter
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 ==

Re: [PyQt] Setting font for QScintilla

2009-07-23 Thread projetmbc
Baz Walter a écrit : 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: