|
|
|
@ -1112,12 +1112,11 @@ class RenderEditableTextLine extends RenderEditableBox { |
|
|
|
|
// are contained by the selection. |
|
|
|
|
if (line.isEmpty && |
|
|
|
|
textSelection.baseOffset <= line.offset && |
|
|
|
|
textSelection.extentOffset > line.offset |
|
|
|
|
) { |
|
|
|
|
textSelection.extentOffset > line.offset) { |
|
|
|
|
final lineHeight = |
|
|
|
|
preferredLineHeight(TextPosition(offset: line.offset)); |
|
|
|
|
_selectedRects?.add( |
|
|
|
|
TextBox.fromLTRBD(0, 0, 3, lineHeight, textDirection)); |
|
|
|
|
_selectedRects |
|
|
|
|
?.add(TextBox.fromLTRBD(0, 0, 3, lineHeight, textDirection)); |
|
|
|
|
} |
|
|
|
|
|
|
|
|
|
_paintSelection(context, effectiveOffset); |
|
|
|
|