Python 2 backend ported to Qt5/KF5 DIGEST: Python 2 backend ported to Qt5/KF5

Authored by filipesaraiva on Nov 2 2014, 3:25 PM.

Description

Python 2 backend ported to Qt5/KF5 DIGEST: Python 2 backend ported to Qt5/KF5

Details

Committed
filipesaraivaNov 2 2014, 3:25 PM
Parents
R55:1c316b92f3ff: Use ki18n_wrap_ui to translate string
Branches
Unknown
Tags
Unknown
ivanlakhtanov added inline comments.
/src/backends/python2/python2highlighter.cpp
43

This works wrong when '#' is part of some string, like:
print("#test")

ivanlakhtanov added inline comments.Jun 26 2016, 3:37 PM
/src/backends/python2/python2highlighter.cpp
100

As I know % isn't allowed as part of python identifiers.

https://docs.python.org/3/reference/lexical_analysis.html#identifiers

Or I don't understand function meaning?

filipesaraiva added inline comments.Jun 26 2016, 6:14 PM
/src/backends/python2/python2highlighter.cpp
43

Hu, really you are right. Please, could you fill a bug in KDE Bugtracking System about it?

ivanlakhtanov added inline comments.Jun 26 2016, 7:49 PM
/src/backends/python2/python2highlighter.cpp
43

It's faster to port my fixes of this from Julia: D2016