Function UndoRedo.clearHistory

Clear the undo/redo history and associated references. Passing false to increase_version will prevent the version number to be increased from this.

void clearHistory (
  const(bool) increase_version = true
) nothrow @nogc;