Unverified Commit aee756ff authored by Chris Bracken's avatar Chris Bracken Committed by GitHub

Update composing rect documentation (#77951)

The TextInput.setMarkedRect message was originally added to support
positioning the IME candidates menu on iOS, but is now used by iOS,
Windows, macOS, and Linux desktop embedders.
parent c6dbb6f2
......@@ -1010,7 +1010,8 @@ class TextInputConnection {
/// The given `rect` can not be null. If any of the 4 coordinates of the given
/// [Rect] is not finite, a [Rect] of size (-1, -1) will be sent instead.
///
/// The information is currently only used on iOS, for positioning the IME bar.
/// This information is used for positioning the IME candidates menu on each
/// platform.
void setComposingRect(Rect rect) {
assert(rect != null);
if (rect == _cachedRect)
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment