diff options
author | hjk <qtc-committer@nokia.com> | 2009-10-26 11:40:33 (GMT) |
---|---|---|
committer | hjk <qtc-committer@nokia.com> | 2009-10-30 10:24:29 (GMT) |
commit | 1bed105d048531e3e260eff0ef2533d7cc8ba7fb (patch) | |
tree | 29b181d552a8bfaf4ab0ddf877259e85c458421b /tools | |
parent | d670ef51fe76adccd6f4d017f6a23940ab5284ee (diff) | |
download | Qt-1bed105d048531e3e260eff0ef2533d7cc8ba7fb.zip Qt-1bed105d048531e3e260eff0ef2533d7cc8ba7fb.tar.gz Qt-1bed105d048531e3e260eff0ef2533d7cc8ba7fb.tar.bz2 |
introduce int QTextDocument::available{Undo,Redo}Steps() const;
Formerly, QTextDocument::revision() could be used to guesstimate the
number of available undo steps that was used in Qt Creator to store
cursor positions in parallel to the actual text contents. Now that
revision() is strictly increasing, another means is needed, therefore
the new functions providing the needed data.
Reviewed-by: mae
Diffstat (limited to 'tools')
0 files changed, 0 insertions, 0 deletions