`getTextInRange` is the only method we relies on `superstring` in indexer, it'll be nice we implement it in typescript.