nibags created this revision. nibags added reviewers: Framework: Syntax Highlighting, dhaumann, cullmann. Herald added projects: Kate, Frameworks. Herald added subscribers: kde-frameworks-devel, kwrite-devel. nibags requested review of this revision.
REVISION SUMMARY - Improve number detection with underscores. Add binaries and octales. https://www.python.org/dev/peps/pep-0515/ (I took the regular expressions from the TypeScript highlighting file and adapted them to Python). - Add keyword "breakpoint" introduced in Python 3.7: https://www.python.org/dev/peps/pep-0553/ REPOSITORY R216 Syntax Highlighting BRANCH python-numbers REVISION DETAIL https://phabricator.kde.org/D25869 AFFECTED FILES autotests/folding/test.py.fold autotests/html/test.py.html autotests/input/test.py autotests/reference/test.py.ref data/syntax/python.xml To: nibags, #framework_syntax_highlighting, dhaumann, cullmann Cc: kwrite-devel, kde-frameworks-devel, LeGast00n, GB_2, domson, michaelh, ngraham, bruns, demsking, cullmann, sars, dhaumann