[webkit-changes] [WebKit/WebKit] 7cd6f4: AX: Add AXTextMarkerRange comparison operators.

AndresGonzalezApple noreply at github.com
Fri Jul 19 14:35:23 PDT 2024


  Branch: refs/heads/main
  Home:   https://github.com/WebKit/WebKit
  Commit: 7cd6f4d79af964ab0d0b97210223122a0c5ab8ef
      https://github.com/WebKit/WebKit/commit/7cd6f4d79af964ab0d0b97210223122a0c5ab8ef
  Author: Andres Gonzalez <andresg_22 at apple.com>
  Date:   2024-07-19 (Fri, 19 Jul 2024)

  Changed paths:
    M Source/WebCore/accessibility/AXTextMarker.h

  Log Message:
  -----------
  AX: Add AXTextMarkerRange comparison operators.
https://bugs.webkit.org/show_bug.cgi?id=276814
<rdar://problem/132088757>

Reviewed by Tyler Wilcock.

This is needed in functionality like finding the next misspelled word range. It involves adding comparison operators for AXTextMarker and TextMarkerData.

* Source/WebCore/accessibility/AXTextMarker.h:
(WebCore::AXTextMarker::isEqual const):
(WebCore::AXTextMarkerRange::AXTextMarkerRange):
(WebCore::operator==):
(WebCore::operator!=):
(WebCore::operator<):
(WebCore::operator>):
(WebCore::operator<=):
(WebCore::operator>=):

Canonical link: https://commits.webkit.org/281148@main



To unsubscribe from these emails, change your notification settings at https://github.com/WebKit/WebKit/settings/notifications


More information about the webkit-changes mailing list