Implement UndoManager's item() method
[WebKit-https.git] / Source / WebCore / editing / UndoManager.h
index dc5d67c..f43039e 100644 (file)
@@ -62,6 +62,8 @@ public:
     void undo(ExceptionCode& = ASSERT_NO_EXCEPTION);
     void redo(ExceptionCode& = ASSERT_NO_EXCEPTION);
 
+    UndoManagerEntry item(unsigned index) const;
+
     unsigned length() const { return m_undoStack.size() + m_redoStack.size(); }
     unsigned position() const { return m_redoStack.size(); }