[Editor Bug] Coffeescript wrong syntax

Hi there, I’m using CC 2.1.0 and coffeescript as script language, if I write the wrong syntax in my scripts the editor doesn’t work properly anymore and I must close the editor from task manager and reopen the CC.
Please fix this bug!!