You could cast this to ``InteractiveCompilationUnit with DecoratedInteractiveEditor``.

I'm suggesting these changes because I think there is an interest in re-using this class in the worksheet/play editor in the future. (did you notice https://github.com/scala-ide/scala-worksheet/blob/master/org.scalaide.worksheet/src/org/scalaide/worksheet/reconciler/ScalaReconcilingStrategy.scala in the worksheet codebase :))