struct EE::UI::AccessibilityTextChange

One edit, in code points: at offset, removed was replaced by inserted. An offset of -1 means the whole text was replaced (a reset, a reload, or too many edits in one frame).

#include <accessibility.hpp>

struct AccessibilityTextChange {
    // fields

    Int32 offset { -1 };
    String removed;
    String inserted;

    // methods

    bool isWholeText() const;
};