diff --git a/index.html b/index.html
index 60cd5db..d4e5bab 100644
--- a/index.html
+++ b/index.html
@@ -800,12 +800,16 @@
Update the EditContext
If |editContext|'s [=is composing=] is true, then:
- Let |insertionStart| be |replacementRangeStart|.
- Let |insertionEnd| be |replacementRangeEnd|.
+
+ - Let |insertionStart| be |replacementRangeStart|.
+ - Let |insertionEnd| be |replacementRangeEnd|.
+
Otherwise:
- Let |insertionStart| be |selectionStart|.
- Let |insertionEnd| be |selectionEnd|.
+
+ - Let |insertionStart| be |selectionStart|.
+ - Let |insertionEnd| be |selectionEnd|.
+
Replace the substring of |editContext|'s [=text=] in the range of |insertionStart| and |insertionEnd| with |text|
@@ -1149,10 +1153,10 @@ EditContext Interface
attachedElements() method
- 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.
-
+
ontextupdate
The event handler for {{TextUpdateEvent}}.
diff --git a/tidyconfig.txt b/tidyconfig.txt
index f03bed8..8e60b38 100644
--- a/tidyconfig.txt
+++ b/tidyconfig.txt
@@ -3,4 +3,4 @@ indent: yes
wrap: 80
tidy-mark: no
newline: LF
-custom-tags: yes
+custom-tags: pre