SourceViewer viewer= new SourceViewer(parent, null, null, false, SWT.BORDER | SWT.V_SCROLL | SWT.H_SCROLL);
SourceViewerConfiguration configuration;
switch(languageMode){
case verilog:
configuration = HdlSourceViewerConfiguration.createForVerilog( new VerilogEditor() );
break;
default:
case vhdl:
configuration = HdlSourceViewerConfiguration.createForVhdl( new VhdlEditor() );
break;