Refactor syntax unicode scripteditor