TextIterator: Use StringView and references rather than pointers