summaryrefslogtreecommitdiffstats
path: root/examples/tutorial/t6.py
diff options
context:
space:
mode:
authorFriedemann Kleint <Friedemann.Kleint@qt.io>2018-12-11 10:50:12 +0100
committerFriedemann Kleint <Friedemann.Kleint@qt.io>2018-12-11 20:40:06 +0000
commit2c1e3c098c957b6d6ffb5729f0de3d0d86835b87 (patch)
tree43b44cbb2386d1bc1d2e7c25e42cf3eb07cfb347 /examples/tutorial/t6.py
parent123031b6efa9e95c787b2069fed6f6777a92dc13 (diff)
syntaxhighlighter example: Fix up
- Use a QTextStream to read lines correctly. - Base it on QSyntaxHighlighter instead of hooking into the text document. - Streamline code and use standard keybindings - Fix imports. Change-Id: I2bd9571c85bb3cca1e90cd9cb441dfe35d26b685 Reviewed-by: Cristian Maureira-Fredes <cristian.maureira-fredes@qt.io>
Diffstat (limited to 'examples/tutorial/t6.py')
0 files changed, 0 insertions, 0 deletions