Update EditorAction.java

Bug fix in auto braces closing.