MCPcopy Create free account
hub / github.com/SpartanJ/eepp / getDocumentLineRange

Method getDocumentLineRange

src/eepp/ui/uicodeeditor.cpp:2408–2412  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

2406}
2407
2408DocumentLineRange UICodeEditor::getDocumentLineRange() const {
2409 auto visibleLineRange = getVisibleLineRange();
2410 return DocumentLineRange( mDocView.getVisibleIndexPosition( visibleLineRange.first ).line(),
2411 mDocView.getVisibleIndexPosition( visibleLineRange.second ).line() );
2412}
2413
2414DocumentViewLineRange UICodeEditor::getVisibleLineRange() const {
2415 Float lineHeight = getLineHeight();

Callers

nothing calls this directly

Calls 1

Tested by

no test coverage detected