Unverified Commit 8048c033 authored by Justin McCandless's avatar Justin McCandless Committed by GitHub

Document the addition of LRM and RLM characters (#61104)

parent b635d976
......@@ -641,6 +641,15 @@ class EditableText extends StatefulWidget {
/// context, the English phrase will be on the right and the Hebrew phrase on
/// its left.
///
/// When LTR text is entered into an RTL field, or RTL text is entered into an
/// LTR field, [LRM](https://en.wikipedia.org/wiki/Left-to-right_mark) or
/// [RLM](https://en.wikipedia.org/wiki/Right-to-left_mark) characters will be
/// inserted alongside whitespace characters, respectively. This is to
/// eliminate ambiguous directionality in whitespace and ensure proper caret
/// placement. These characters will affect the length of the string and may
/// need to be parsed out when doing things like string comparison with other
/// text.
///
/// Defaults to the ambient [Directionality], if any.
///
/// See also:
......
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