From c0433694bcefea2d5c02ba4c407c378dcfd713bf Mon Sep 17 00:00:00 2001
From: Xiaoqian Wu The method returns a list with one item which is the the {{EditContext}}'s associated element, or an empty list if the {{EditContext}}'s associated element is null. The method returns a list with one item which is the the {{EditContext}}'s associated element, or an empty list if the {{EditContext}}'s associated element is null.
This method returns a list instead of a single element for forward compatibility if {{EditContext}} is ever granted the ability to have multiple associated elements.
- Update the EditContext
Let |insertionStart| be |replacementRangeStart|.
- Let |insertionEnd| be |replacementRangeEnd|.
+
+
Let |insertionStart| be |selectionStart|.
- Let |insertionEnd| be |selectionEnd|.
+
+
EditContext Interface
The event handler for {{TextUpdateEvent}}.