@@ -125,7 +125,7 @@ mixin TextOverflowMixin on _RenderParagraph {
125125 rect.centerLeft.dy + _textPainter.preferredLineHeight / 2.0 )
126126 : rect.center - Offset (overflowWidgetSize.width / 2 , 0 ));
127127 position =
128- convertTextPainterPostionToTextInputPostion (text, position)! ;
128+ ExtendedTextLibraryUtils . convertTextPainterPostionToTextInputPostion (text, position)! ;
129129
130130 start = position.offset;
131131 end = start + 1 ;
@@ -147,7 +147,7 @@ mixin TextOverflowMixin on _RenderParagraph {
147147 TextPosition position = _textPainter.getPositionForOffset (Offset (
148148 overflowWidgetSize.width, _textPainter.preferredLineHeight / 2 ));
149149 position =
150- convertTextPainterPostionToTextInputPostion (text, position)! ;
150+ ExtendedTextLibraryUtils . convertTextPainterPostionToTextInputPostion (text, position)! ;
151151
152152 end = position.offset;
153153 }
@@ -206,7 +206,7 @@ mixin TextOverflowMixin on _RenderParagraph {
206206 extentOffset: range.start + math.max (1 , range.end - range.start),
207207 );
208208
209- overflowSelection = convertTextInputSelectionToTextPainterSelection (
209+ overflowSelection = ExtendedTextLibraryUtils . convertTextInputSelectionToTextPainterSelection (
210210 oldSpan, overflowSelection);
211211
212212 final List <ui.TextBox > boxs =
@@ -254,7 +254,7 @@ mixin TextOverflowMixin on _RenderParagraph {
254254 _layoutCount = 0 ;
255255
256256 late TextPainter testTextPainter;
257- final int maxOffset = textSpanToActualText (text).runes.length;
257+ final int maxOffset = ExtendedTextLibraryUtils . textSpanToActualText (text).runes.length;
258258 int maxEnd = maxOffset;
259259 while (_hasVisualOverflow) {
260260 testTextPainter = _tryToFindNoOverflow1 (range, hideWidgets);
0 commit comments