Back to API Reference
Class
UniTextSemantics
sealed
Implements:IDisposable
Platform-neutral semantic tree owned by one UniText component. It publishes stable live nodes and incremental changes; native accessibility packages are adapters over this API.
public IReadOnlyList<TextSemanticNode> Nodes{ get }Current stable live nodes in logical codepoint order.
public RangeIdentity FocusedIdentity{ get }Stable identity currently marked focused, or an invalid value.
public static UniTextSemantics For()Returns the semantic tree attached to a text component.
public Action<TextSemanticChange> ChangedOccurs once for every added, updated or removed node.
public Action CommittedOccurs after all incremental changes from one layout commit have been emitted.
