better folding for function literals
#KT-4090 Fixed
This commit is contained in:
@@ -0,0 +1,12 @@
|
||||
fun some(body: () -> Unit) = body()
|
||||
|
||||
fun oneMore() <fold text='{...}' expand='true'>{
|
||||
some <fold text='{...}' expand='true'>{
|
||||
// this is a comment
|
||||
val v1 = "Body"
|
||||
val v2 = "of"
|
||||
val v3 = "function"
|
||||
}</fold>
|
||||
}</fold>
|
||||
|
||||
// Generated from: idea/testData/folding/checkCollapse/block.kt
|
||||
Reference in New Issue
Block a user