зеркало из https://github.com/mozilla/gecko-dev.git
2b43129579
Calling EditorBase::EnableUndoRedo() without argument means that editor supports unlimited undo/redo stack. AutoDisableUndo class calls it without argument when it needs to restore undo/redo feature. However, <input type="text"> and <textarea> limits number of maximum transactions up to 1,000, perhaps for footprint. So, AutoDisableUndo should store the last number of maximum transactions before disabling undo/redo from the constructor. MozReview-Commit-ID: CoI6ZXyTd3X --HG-- extra : rebase_source : e2b9af17e5857dcc0a6781e254e45fdb790c9a9e |
||
---|---|---|
.. | ||
tests | ||
TransactionItem.cpp | ||
TransactionItem.h | ||
TransactionManager.cpp | ||
TransactionManager.h | ||
TransactionManagerFactory.cpp | ||
TransactionStack.cpp | ||
TransactionStack.h | ||
moz.build | ||
nsITransaction.idl | ||
nsITransactionListener.idl | ||
nsITransactionManager.idl | ||
nsTransactionManagerCID.h |