Documented side-effect of QTextLayout::setPreeditArea()

Invalidates layout and requires layouting again.

Change-Id: I1cb954f155e4fc1df4b217478998ac903cc18323
Reviewed-by: Jiang Jiang <jiang.jiang@nokia.com>
This commit is contained in:
Pekka Vuorela 2011-11-02 10:53:09 +02:00 committed by Qt by Nokia
parent d524bf0ee6
commit 391f5670a3

View File

@ -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()
*/