| 2722 | } |
| 2723 | |
| 2724 | void UICodeEditor::setLocked( bool locked ) { |
| 2725 | if ( mLocked != locked ) { |
| 2726 | mLocked = locked; |
| 2727 | if ( !mLocked ) { |
| 2728 | if ( hasFocus() ) { |
| 2729 | resetCursor(); |
| 2730 | getUISceneNode()->getWindow()->startTextInput(); |
| 2731 | mDoc->setActiveClient( this ); |
| 2732 | updateIMELocation(); |
| 2733 | } else { |
| 2734 | mCursorVisible = false; |
| 2735 | } |
| 2736 | } |
| 2737 | invalidateDraw(); |
| 2738 | } |
| 2739 | } |
| 2740 | |
| 2741 | const Color& UICodeEditor::getLineNumberFontColor() const { |
| 2742 | return mLineNumberFontColor; |
nothing calls this directly
no test coverage detected