| 2253 | } |
| 2254 | |
| 2255 | void 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 | |
| 2265 | void UICodeEditor::onDocumentTextChanged( const DocumentContentChange& change ) { |
| 2266 | invalidateDraw(); |
nothing calls this directly
no test coverage detected