| 2075 | } |
| 2076 | |
| 2077 | void UICodeEditor::findLongestLine() { |
| 2078 | if ( needsHorizontalLength() ) { |
| 2079 | auto range = findLongestLineInRange( mDoc->getDocRange() ); |
| 2080 | mLongestLineIndex = range.first; |
| 2081 | mLongestLineWidth = range.second; |
| 2082 | } |
| 2083 | } |
| 2084 | |
| 2085 | Float UICodeEditor::getLineWidth( const Int64& docLine ) { |
| 2086 | if ( docLine >= (Int64)mDoc->linesCount() || !mDocView.isLineVisible( docLine ) ) |
nothing calls this directly
no test coverage detected