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

Method updateEditor

src/eepp/ui/uicodeeditor.cpp:2255–2263  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

2253}
2254
2255void UICodeEditor::updateEditor() {
2256 mDoc->setPageSize( getViewPortLineCount().y );
2257 if ( !mDisableScrollInvalidation && mDirtyScroll && mDoc->getActiveClient() == this )
2258 scrollTo( mDoc->getSelection().start() );
2259
2260 updateScrollBar();
2261 mDirtyEditor = false;
2262 mDirtyScroll = false;
2263}
2264
2265void UICodeEditor::onDocumentTextChanged( const DocumentContentChange& change ) {
2266 invalidateDraw();

Callers

nothing calls this directly

Calls 4

setPageSizeMethod · 0.80
getActiveClientMethod · 0.80
startMethod · 0.45
getSelectionMethod · 0.45

Tested by

no test coverage detected