rcdataState and rawtext edges