Files
openide/python/testData/formatter/indentsWithTabsInsideDictLiteral.py
Mikhail Golubev 6719f44e51 PY-14408 PyBlock#isWhitespaceWithLineBreaks takes into account multiple sibling PsiWhiteSpaces
When we use tab characters for indents in Python sources, for some
reason indents and line feeds inside literal expressions for
collections are represented as several consecutive PsiWhiteSpace
elements. Method isWhitespaceWithLineBreaks can't count new lines in
such cases correctly and hence PyBlocks for PyKeyValuePair don't get
desired indentation.
2015-01-21 22:51:00 +03:00

6 lines
55 B
Python

message = {
'action': oct,
'type': type,
'id': id,
}