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

Method isMinimapFileTooLarge

src/eepp/ui/uicodeeditor.cpp:5435–5439  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

5433}
5434
5435bool UICodeEditor::isMinimapFileTooLarge() const {
5436 return mDocView.getVisibleLinesCount() > 1 &&
5437 mDocView.getVisibleLinesCount() >
5438 eefloor( getMinimapRect( getScreenStart() ).getHeight() / getMinimapLineSpacing() );
5439}
5440
5441const Time& UICodeEditor::getCursorBlinkTime() const {
5442 return mBlinkTime;

Callers

nothing calls this directly

Calls 2

getVisibleLinesCountMethod · 0.45
getHeightMethod · 0.45

Tested by

no test coverage detected