Removed getTokenAt in erlangeditor
moved getDocument to ErlangEditor