Add folding doc and multiline comments

This commit is contained in:
Nikolay Krasko
2013-06-18 17:43:57 +04:00
parent 9c604267f8
commit 935c5ec16d
15 changed files with 236 additions and 47 deletions
@@ -0,0 +1,4 @@
class A <fold text='{...}'>{
val a = 1
val b = 1
}</fold>
@@ -0,0 +1,4 @@
fun foo() <fold text='{...}'>{
val a = 1
val b = 1
}</fold>
@@ -0,0 +1,6 @@
import <fold text='...'>kotlin.*
import kotlin.*
import kotlin.*
import kotlin.*</fold>
fun foo() {}
@@ -0,0 +1,9 @@
<fold text='/**...*/'>/**
* Kdoc licence
*/</fold>
package some
<fold text='/**...*/'>/**
* Some Kdoc comment
*/</fold>
class A
@@ -0,0 +1,4 @@
<fold text='/.../'>/*
* Some multiline comment
*/</fold>
class A
@@ -0,0 +1,4 @@
object A <fold text='{...}'>{
val a = 1
val b = 1
}</fold>
@@ -0,0 +1,3 @@
import kotlin.*
fun foo() {}