struct EE::UI::AccessibilityTextRevision

Overview

Identifies one version of an element’s text. More…

#include <accessibility.hpp>

struct AccessibilityTextRevision {
    // fields

    Uint64 documentHigh { 0 };
    Uint64 documentLow { 0 };
    Uint64 modification { 0 };

    // methods

    bool isValid() const;
    bool operator==(const AccessibilityTextRevision& other) const;
    bool operator!=(const AccessibilityTextRevision& other) const;
};

Detailed Documentation

Identifies one version of an element’s text. Equal revisions have equal text, so backends can cache converted copies (UTF-16 for UIA and AppKit) instead of rebuilding them per query.

Fields

Uint64 documentHigh { 0 }

The document’s UUID halves: unlike its address, never reused by another document.