diff --git a/index.html b/index.html index 73dde44..d4e5bab 100644 --- a/index.html +++ b/index.html @@ -800,12 +800,16 @@

Update the EditContext

  • If |editContext|'s [=is composing=] is true, then: - - +
      +
    1. Let |insertionStart| be |replacementRangeStart|.
    2. +
    3. Let |insertionEnd| be |replacementRangeEnd|.
    4. +
  • Otherwise: - - +
      +
    1. Let |insertionStart| be |selectionStart|.
    2. +
    3. Let |insertionEnd| be |selectionEnd|.
    4. +
  • Replace the substring of |editContext|'s [=text=] in the range of |insertionStart| and |insertionEnd| with |text|