Closed dotta closed 12 years ago
The cursor is set at the wrong position if enter is pressed inside the brackets in this.synchronized.
this.synchronized
object Foo { (0 to 1) foreach { i => println(i) this.synchronized{ /*place the cursor here and press enter*/ } //> 0 //| 1 } }
Will produce
object Foo { (0 to 1) foreach { i => println(i) this.synchronized{ //> 0 } | <- cursor will be here //| 1 } }
Luc, can you have a look at it (when you have time, of course, this is not at all critical)
Maybe this is not worth fixing if we decide to work on #70.
The cursor is set at the wrong position if enter is pressed inside the brackets in
this.synchronized
.Will produce