diff options
author | Pekka Vuorela <pekka.ta.vuorela@nokia.com> | 2011-11-02 10:53:09 +0200 |
---|---|---|
committer | Qt by Nokia <qt-info@nokia.com> | 2011-11-03 16:13:03 +0100 |
commit | 391f5670a374192293b1a737db75aeb61451b3a4 (patch) | |
tree | 0e8f3a8689068349805a729be003b900444e703a | |
parent | d524bf0ee69aa468a4714440243720d57bd2248e (diff) |
Documented side-effect of QTextLayout::setPreeditArea()
Invalidates layout and requires layouting again.
Change-Id: I1cb954f155e4fc1df4b217478998ac903cc18323
Reviewed-by: Jiang Jiang <jiang.jiang@nokia.com>
-rw-r--r-- | src/gui/text/qtextlayout.cpp | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/src/gui/text/qtextlayout.cpp b/src/gui/text/qtextlayout.cpp index 9756b620b7..6936ad4929 100644 --- a/src/gui/text/qtextlayout.cpp +++ b/src/gui/text/qtextlayout.cpp @@ -433,7 +433,8 @@ QTextOption QTextLayout::textOption() const /*! Sets the \a position and \a text of the area in the layout that is - processed before editing occurs. + processed before editing occurs. The layout is + invalidated and must be laid out again. \sa preeditAreaPosition(), preeditAreaText() */ |