@Override
  public int processTail(final Editor editor, int tailOffset) {
    return addRParenth(editor, tailOffset,
                       isSpaceWithinParentheses(CodeStyle.getLocalLanguageSettings(editor, tailOffset), editor, tailOffset));
  }
@Override
  public int processTail(final Editor editor, int tailOffset)