From 4b40a3062a500ddee4a1fcfadd17580265029581 Mon Sep 17 00:00:00 2001 From: siusin Date: Sat, 28 Sep 2024 02:11:45 +0800 Subject: [PATCH] chore: markup cleanup --- index.html | 12 ++++++------ tidyconfig.txt | 2 +- 2 files changed, 7 insertions(+), 7 deletions(-) diff --git a/index.html b/index.html index 60cd5db..73dde44 100644 --- a/index.html +++ b/index.html @@ -800,12 +800,12 @@

Update the EditContext

  • If |editContext|'s [=is composing=] is true, then: -
      Let |insertionStart| be |replacementRangeStart|.
    -
      Let |insertionEnd| be |replacementRangeEnd|.
    + +
  • Otherwise: -
      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 +1149,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