| 626 | } |
| 627 | |
| 628 | void UITextView::setFontStyleConfig( const UIFontStyleConfig& fontStyleConfig ) { |
| 629 | mFontStyleConfig = fontStyleConfig; |
| 630 | setFont( fontStyleConfig.getFont() ); |
| 631 | setFontSize( fontStyleConfig.getFontCharacterSize() ); |
| 632 | setFontColor( fontStyleConfig.getFontColor() ); |
| 633 | setFontShadowColor( fontStyleConfig.getFontShadowColor() ); |
| 634 | setOutlineThickness( fontStyleConfig.getOutlineThickness() ); |
| 635 | setOutlineColor( fontStyleConfig.getOutlineColor() ); |
| 636 | setFontStyle( fontStyleConfig.getFontStyle() ); |
| 637 | onFontStyleChanged(); |
| 638 | } |
| 639 | |
| 640 | std::pair<int, int> UITextView::getTextSelectionRange() const { |
| 641 | return { mSelCurInit, mSelCurEnd }; |
nothing calls this directly
no test coverage detected