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

Method scrollToCursor

src/eepp/ui/uicodeeditor.cpp:2251–2253  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

2249}
2250
2251void UICodeEditor::scrollToCursor( bool centered ) {
2252 scrollTo( mDoc->getSelection().start(), centered );
2253}
2254
2255void UICodeEditor::updateEditor() {
2256 mDoc->setPageSize( getViewPortLineCount().y );

Callers 3

loadDocumentsMethod · 0.80
loadProjectMethod · 0.80

Calls 2

startMethod · 0.45
getSelectionMethod · 0.45

Tested by

no test coverage detected