Files
openide/python/testData/formatter/trailingBlankLinesWithBackslashesAtFunctionEndNoNewLine.py
Mikhail Golubev 09f918bf28 PY-12360 More robust way to handle trailing continuation backslashes
Python lexer and parser can split whitespaces and attach them to different parents,
so we have to scan backward through consequtive leaf elements to collect all of them.

I also added several new tests for various such corner cases.
2015-04-27 20:34:49 +03:00

4 lines
25 B
Python