INNER CODE UNIT · Dart

downParagraph

reqable/re-editor · lib/src/_code_field.dart:838

    IParagraph? downParagraph = findDisplayParagraphByLineIndex(position.index + 1)?.paragraph;
    if (downParagraph == null) {
      if (position.index < _codes.length - 1) {
        downParagraph = _buildParagraph(position.index + 1);
      } else {
        return null;
      }
    }
    return CodeLinePosition.from(
      index: position.index + 1,
      position: downParagraph.getPosition(Offset(offset.dx, 0))
    );
  }

  @override
  MouseCursor get cursor => _cursor;

  @override

View source record →

📰 Research Paper
Loading…
⏳ Fetching content…