alcemirfernandes / pynguin

Automatically exported from code.google.com/p/pynguin
GNU General Public License v3.0
0 stars 0 forks source link

"QQ" is highlighted dark blue? #11

Closed GoogleCodeExporter closed 9 years ago

GoogleCodeExporter commented 9 years ago
What steps will reproduce the problem?
1. Type QQ in the interpreter
2. It's highlighted dark blue
3. Out of curiosity, why?

What is the expected output? What do you see instead?
QQ.  Dark blue QQ.

What version of the product are you using? On what operating system?
0.8, Ubuntu 9.10

Please provide any additional information below.

Original issue reported on code.google.com by aresnick...@gmail.com on 13 Jun 2010 at 11:01

GoogleCodeExporter commented 9 years ago
Apparently it thinks it is a Qt class.

From highlightedtextedit.py line 177:
self.rules.append((QtCore.QRegExp(r"\bQ([A-Z][a-z]*)+\b"), self.qtFormat))

Anything that matches that regex will be highlighted in that way.

Eventually, I will probably put pygments highlighting in the console area also.

Original comment by miss...@hotmail.com on 14 Jun 2010 at 1:13

GoogleCodeExporter commented 9 years ago
This issue was closed by revision bf9db139ef.

Original comment by miss...@hotmail.com on 14 Jun 2010 at 11:15