Better folding for mulitline strings (KT-21441)

#KT-21441 Fixed
This commit is contained in:
Nikolay Krasko
2017-12-11 14:05:42 +03:00
parent ab7ba3ae46
commit 1ada284a03
2 changed files with 12 additions and 8 deletions
+2 -2
View File
@@ -1,4 +1,4 @@
val result1 = <fold text='""" 14.55576559546314 - 0.25, 3.0, 0.25, 0.25, 1.0, 0.25, 1.0, 2.0, 1.0, 0.25, 1.0, 0.5, 2.0, 3.0, 3.0 ..."""' expand='true'>"""
val result1 = <fold text='"""14.55576559546314 - 0.25, 3.0, 0.25, 0.25, 1.0, 0.25, 1.0, 2.0, 1.0, 0.25, 1.0, 0.5, 2.0, 3.0, 3.0 ..."""' expand='true'>"""
14.55576559546314 - 0.25, 3.0, 0.25, 0.25, 1.0, 0.25, 1.0, 2.0, 1.0, 0.25, 1.0, 0.5, 2.0, 3.0, 3.0
14.55576559546314 - 0.25, 4.0, 1.0, 0.5, 1.0, 1.0, 3.0, 4.0, 3.0, 0.25, 3.0, 0.5, 3.0, 3.0, 2.0
14.55576559546314 - 0.25, 3.0, 0.25, 0.25, 1.0, 0.25, 2.0, 2.0, 1.0, 0.5, 1.0, 0.5, 2.0, 3.0, 3.0
@@ -22,7 +22,7 @@ val result1 = <fold text='""" 14.55576559546314 - 0.25, 3.0, 0.25, 0.25, 1.0,
14.55576559546314 - 0.25, 3.0, 0.25, 0.25, 1.0, 0.25, 1.0, 2.0, 3.0, 0.3333333333333333, 1.0, 0.5, 3.0, 3.0, 2.5
"""</fold>
val result2 = <fold text='""" other multiline string ..."""' expand='true'>"""other multiline string
val result2 = <fold text='"""other multiline string ..."""' expand='true'>"""other multiline string
without spaces
"""</fold>