From 4b40a3062a500ddee4a1fcfadd17580265029581 Mon Sep 17 00:00:00 2001 From: siusin Date: Sat, 28 Sep 2024 02:11:45 +0800 Subject: [PATCH 1/2] 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 From 9882346c565aa0b43b3a25eb5b1f91853a0275ef Mon Sep 17 00:00:00 2001 From: siusin Date: Tue, 19 Nov 2024 18:05:09 +0800 Subject: [PATCH 2/2] markup cleanup --- index.html | 12 ++++++++---- 1 file changed, 8 insertions(+), 4 deletions(-) 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|