protected UndoableEdit editToBeRedone ( ) { int count = edits . size ( ) ; int i = indexOfNextAdd ; while ( i < count ) { UndoableEdit edit = edits . elementAt ( i ++ ) ; if ( edit . isSignificant ( ) ) { return edit ; } } return null ; }
Returns the the next significant edit to be redone if < code > redo < /code > is invoked . This returns < code > null < /code > if there are no edits to be redone .