1. 23 Nov, 2020 8 commits
  2. 20 Nov, 2020 15 commits
  3. 18 Nov, 2020 2 commits
    • Robert Knight's avatar
      Optimize `TextRange.toRange` if both positions are in same element · e8ed0d57
      Robert Knight authored
      Optimize the case where `toRange` is used to resolve (start, end)
      offsets within the same element by only iterating over nodes in the
      element once, instead of iterating separately to resolve the start and
      end points.
      e8ed0d57
    • Robert Knight's avatar
      Add `TextPosition.relativeTo` method · e0592c09
      Robert Knight authored
      Add a method that converts a text position within an element to one
      where the offset is relative to some ancestor element.
      
      This operation will be needed for replacing existing Range => (element,
      start, end) conversions with a single one based on `TextRange` and
      `TextPosition`.
      e0592c09
  4. 16 Nov, 2020 15 commits