preserve leading indentation in KDoc code blocks

#KT-9933 Fixed
This commit is contained in:
Dmitry Jemerov
2016-04-28 15:36:09 +02:00
parent 721629f8e0
commit d7b1526cd5
10 changed files with 93 additions and 58 deletions
+3 -2
View File
@@ -19,10 +19,11 @@ JetFile: AtTags.kt
PsiElement(KDOC_TEXT)(' ```')
PsiWhiteSpace('\n ')
PsiElement(KDOC_LEADING_ASTERISK)('*')
PsiElement(KDOC_TEXT)(' @notATag and some description')
PsiElement(KDOC_CODE_BLOCK_TEXT)(' @notATag and some description')
PsiWhiteSpace('\n ')
PsiElement(KDOC_LEADING_ASTERISK)('*')
PsiElement(KDOC_TEXT)(' ```')
PsiElement(KDOC_CODE_BLOCK_TEXT)(' ')
PsiElement(KDOC_TEXT)('```')
PsiWhiteSpace('\n ')
PsiElement(KDOC_LEADING_ASTERISK)('*')
PsiElement(KDOC_TEXT)(' @')