Macros support.

Macro functionality is done through Annotations. When clicking on
expand macro annotation macro expands into the source code, annotation
to collapse is added to expanded region. When clicking on collapse
macro annotation macro is erased with expandee.

When triggering save command performSave function of
ScalaSourceFileEditor is called. Before actual save every macro is
erased with its expandee, so that source file doesn't contain any
macro applications.

Through createLineNumberRulerColumn function line number
column for custom line numbering is integrated. It internally stores regions, where
macros are and change line numbers where neccesary.

Macros can be turned off by clicking on the Enable macro icon,
M1+M2+M(Ctrl-Shift-M) shortcut or through preference page.
I've no idea why changing def to lazy val will lead to this error: 

java.lang.AbstractMethodError: org.scalaide.ui.internal.editor.macros.MacroAnnotationActionDelegate$MacroRulerAction.org$scalaide$ui$internal$editor$macros$PreserveDirtyState$$fTextFileBuffer()Lscala/util/Try;
        at org.scalaide.ui.internal.editor.macros.PreserveDirtyState$class.replaceWithoutDirtyState(MacroExtensions.scala:81)
        at org.scalaide.ui.internal.editor.macros.MacroAnnotationActionDelegate$MacroRulerAction.replaceWithoutDirtyState(MacroAnnotationActionDelegate.scala:46)
        at org.scalaide.ui.internal.editor.macros.MacroAnnotationActionDelegate$MacroRulerAction.org$scalaide$ui$internal$editor$macros$MacroAnnotationActionDelegate$MacroRulerAction$$expandMacroAnnotation(MacroAnnotationActionDelegate.scala:86)
        at org.scalaide.ui.internal.editor.macros.MacroAnnotationActionDelegate$MacroRulerAction$$anonfun$run$1.apply(MacroAnnotationActionDelegate.scala:106)
        at org.scalaide.ui.internal.editor.macros.MacroAnnotationActionDelegate$MacroRulerAction$$anonfun$run$1.apply(MacroAnnotationActionDelegate.scala:106)
        at scala.collection.immutable.List.foreach(List.scala:381)