Update EditorAction.java

Fixed small bug in auto braces closing.