﻿id	summary	reporter	owner	description	type	status	priority	milestone	component	version	resolution	keywords	cc
2702	reset undo history	Cean Perkins		"a Simple function to reset the undo history so that you can reuse an editor window with out having to reload in order to clear the current undo/redo history.

The function is very simple .. just resets the undo vars
{{{
FCKUndo.resetUndoState = function()
{
   //simple reset of the undo history
   this.SavedData = new Array() ;
   this.CurrentIndex = -1 ;
   this.TypesCount = 0 ;
   this.Changed = false ;
   this.Typing = false ;
   this.SaveLocked = false ;
   FCK.Events.FireEvent( ""OnSelectionChange"" ) ; // this updates the undo and redo toolbar status
}
}}}
"	New Feature	closed	Normal		Core : Undo & Redo		fixed	Confirmed	
