• Greg Spencer's avatar
    Remove TextRange, export it from dart:ui (#44422) · dd90ff42
    Greg Spencer authored
    This removes TextRange from the framework and moves it to the engine, in preparation for using it to return text ranges from the text extent APIs, and updates the APIs that use Paragraph.getWordBoundary (there was only one) to expect a TextRange or  a pair of ints temporarily until the engine side returns TextRanges, so that I can convert over without breaking the builds.
    dd90ff42
text_painter.dart 32.4 KB