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 _______________________________________________ PyQt mailing list PyQt@riverbankcomputing.com http://www.riverbankcomputing.com/mailman/listinfo/pyqt