https://bugs.kde.org/show_bug.cgi?id=373850
--- Comment #5 from Francis Herne <m...@flherne.uk> --- Git commit 458f64330f89187d8efd558da550974c2777904c by Francis Herne. Committed on 01/01/2017 at 21:32. Pushed by flherne into branch '5.1'. Yet more range fixes. RangeUpdateVisitor was only run after completion of RangeFixVisitor. When RangeFixVisitor modified both a node and a non-parent ancestor of that node, the ranges of the intermediate nodes weren't updated and so the ancestor's fix didn't take the previous fix into account. Move the functionality of RangeUpdateVisitor into RangeFixVisitor so changes are propagated in time. There was a bug in the `findString` regex that prevented it working for empty strings. Switch to QRegularExpression (I should have used it originally) and use a better regex. Correct the ranges of byte and (python36) f-string literals, in addition to normal strings. The 'b'/'f' still isn't coloured, but afaik that's KSyntaxHighlighting. Hack comprehensions, lists and tuples in a similar way to subscripts; far from reliable, but ok for single-line expressions following PEP-8. M +63 -36 parser/astbuilder.cpp https://commits.kde.org/kdev-python/458f64330f89187d8efd558da550974c2777904c -- You are receiving this mail because: You are watching all bug changes.