|
|
|
@ -579,6 +579,9 @@ class RenderEditableTextLine extends RenderEditableBox { |
|
|
|
return _getPosition(position, 1.5); |
|
|
|
return _getPosition(position, 1.5); |
|
|
|
} |
|
|
|
} |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
@override |
|
|
|
|
|
|
|
bool get isRepaintBoundary => true; |
|
|
|
|
|
|
|
|
|
|
|
TextPosition? _getPosition(TextPosition textPosition, double dyScale) { |
|
|
|
TextPosition? _getPosition(TextPosition textPosition, double dyScale) { |
|
|
|
assert(textPosition.offset < line.length); |
|
|
|
assert(textPosition.offset < line.length); |
|
|
|
final offset = getOffsetForCaret(textPosition) |
|
|
|
final offset = getOffsetForCaret(textPosition) |
|
|
|
|