Document preedit details on QTextLayout

Change-Id: Ic73f6d2c748b2ac02b1a8b8c0b00721793557cfd
Reviewed-by: Eskil Abrahamsen Blomfeldt <eskil.abrahamsen-blomfeldt@nokia.com>
This commit is contained in:
Pekka Vuorela 2012-02-28 17:41:40 +02:00 committed by Qt by Nokia
parent 2340c5d92e
commit 89e3506e5b

View File

@ -506,6 +506,7 @@ QString QTextLayout::preeditAreaText() const
/*!
Sets the additional formats supported by the text layout to \a formatList.
The formats are applied with preedit area text in place.
\sa additionalFormats(), clearAdditionalFormats()
*/
@ -2703,6 +2704,7 @@ qreal QTextLine::cursorToX(int *cursorPos, Edge edge) const
Converts the x-coordinate \a x, to the nearest matching cursor
position, depending on the cursor position type, \a cpos.
Note that result cursor position includes possible preedit area text.
\sa cursorToX()
*/