| 4648 | } |
| 4649 | |
| 4650 | static Int64 getLineIndentGuideSpaces( TextDocument& doc, int line, int indentSize ) { |
| 4651 | if ( doc.line( line ).getText().find_first_not_of( " \t\n" ) == std::string::npos ) |
| 4652 | return eemax( getLineSpaces( doc, line - 1, -1, indentSize ), |
| 4653 | getLineSpaces( doc, line + 1, 1, indentSize ) ); |
| 4654 | return getLineSpaces( doc, line, 0, indentSize ); |
| 4655 | } |
| 4656 | |
| 4657 | void UICodeEditor::drawIndentationGuides( const DocumentLineRange& lineRange, |
| 4658 | const Vector2f& startScroll, const Float& lineHeight ) { |
no test coverage detected