scala-ide / scala-worksheet

A Scala IDE plugin for a multi-line REPL (called worksheet)
96 stars 24 forks source link

Smart padding when pasting code #45

Open skyluc opened 12 years ago

skyluc commented 12 years ago

Right, when pasting multiline code, the padding between the code and the evaluation result is adjusted. But it is not done when pasting a simple string without new line.

From

prinln("hello")        //> hello

Pasting world result in

println("hello world")        //> hello

It should become

println("hello world")  //> hello