set editor.setShowPrintMargin(false); to remove the ugly vertical line