parameters: (editor, repeat, cmd)
docstring: Replace character under caret with another one.
      @note: Does not enter into Insert mode.
      @see: vim_parser
docstring_summary: Replace character under caret with another one.
      @note: Does not enter into Insert mode.
      @see: vim_parser
docstring_tokens: Replace character under caret with another one . @note : Does not enter into Insert mode . @see : vim_parser
function: def ReplaceChar(editor, repeat, cmd):
      """Replace character under caret with another one.
      @note: Does not enter into Insert mode.
      @see: vim_parser
  
      """
      if len(cmd) == 1:
          return NeedMore
  
      r, char = cmd
      f = lambda: editor.ReplaceChar(char, repeat)
      f()
      editor.SetLastChangeCommand(f)
      editor.SetLastInsertedText(u'')
function_tokens: def ReplaceChar ( editor , repeat , cmd ) : if len ( cmd ) == 1 : return NeedMore r , char = cmd f = lambda : editor . ReplaceChar ( char , repeat ) f ( ) editor . SetLastChangeCommand ( f ) editor . SetLastInsertedText ( u'' )