Editor.Undo

Methods

Editor.Undo.undo ()

Editor.Undo.redo ()

Editor.Undo.add (id, info)

  • id string
  • info object

Editor.Undo.commit ()

Editor.Undo.cancel ()

Editor.Undo.collapseTo (index)

  • index number

Editor.Undo.save ()

Editor.Undo.clear ()

Editor.Undo.reset ()

Editor.Undo.dirty ()

Editor.Undo.setCurrentDescription (desc)

  • desc string

Editor.Undo.register (id, cmd)

  • id string
  • cmd Editor.Undo.Command

Class: Editor.Undo.Command

Instance Methods

cmd.undo ()

cmd.redo ()

cmd.dirty ()

条与 "" 相匹配的结果

    没有与 "" 匹配的结果