public static int insertChar(final Editor editor, final int tailOffset, final char c) {
    return insertChar(editor, tailOffset, c, true);
  }
public static int insertChar(final Editor editor, final int tailOffset, final char c)