| 760 | } |
| 761 | |
| 762 | Float UICodeEditor::getTopAreaWidth() const { |
| 763 | Float vScrollWidth = mVScrollBar->isVisible() ? mVScrollBar->getPixelsSize().getWidth() : 0.f; |
| 764 | if ( mMinimapEnabled ) |
| 765 | vScrollWidth += getMinimapWidth(); |
| 766 | Float viewWidth = eefloor( mSize.getWidth() - vScrollWidth ); |
| 767 | return eemax( 0.f, viewWidth ); |
| 768 | } |
| 769 | |
| 770 | bool UICodeEditor::getShowIndentationGuides() const { |
| 771 | return mShowIndentationGuides; |
no test coverage detected