| 2302 | } |
| 2303 | |
| 2304 | void UICodeEditor::onDocumentLineCountChange( const size_t& lastCount, const size_t& newCount ) { |
| 2305 | updateScrollBar(); |
| 2306 | |
| 2307 | if ( Math::countDigits( (Int64)lastCount ) != Math::countDigits( (Int64)newCount ) ) |
| 2308 | invalidateLineWrapMaxWidth( false ); |
| 2309 | |
| 2310 | if ( !mDocView.isWrapEnabled() ) |
| 2311 | sendCommonEvent( Event::OnVisibleLinesCountChange ); |
| 2312 | } |
| 2313 | |
| 2314 | void UICodeEditor::onDocumentLineChanged( const Int64& lineNumber ) { |
| 2315 | mDoc->getHighlighter()->invalidate( lineNumber ); |
nothing calls this directly
no test coverage detected