New J2K: Fix spaces in structural tests
This commit is contained in:
committed by
Ilya Kirillov
parent
61d6709cb7
commit
2e0c7e9128
@@ -20,7 +20,9 @@ internal fun KtFile.dumpStructureText(): String {
|
|||||||
return
|
return
|
||||||
}
|
}
|
||||||
if (element is PsiWhiteSpace) {
|
if (element is PsiWhiteSpace) {
|
||||||
sb.append(" ")
|
if (sb.lastOrNull() != ' ') {
|
||||||
|
sb.append(" ")
|
||||||
|
}
|
||||||
return
|
return
|
||||||
}
|
}
|
||||||
if (element is LeafPsiElement) {
|
if (element is LeafPsiElement) {
|
||||||
|
|||||||
Reference in New Issue
Block a user