This function returns a thunk, which when called returns all of the characters and non-text-snips from the edit, one by one.
If this function encounters a snip that matches gui-utils:text-snip<%>, it uses the get-string method to get a string from the snip and returns the characters in that.