MCPcopy Create free account
hub / github.com/SpartanJ/eepp / setLocked

Method setLocked

src/eepp/ui/uicodeeditor.cpp:2724–2739  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

2722}
2723
2724void 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
2741const Color& UICodeEditor::getLineNumberFontColor() const {
2742 return mLineNumberFontColor;

Callers

nothing calls this directly

Calls 3

setActiveClientMethod · 0.80
startTextInputMethod · 0.45
getWindowMethod · 0.45

Tested by

no test coverage detected