| 3449 | } |
| 3450 | |
| 3451 | bool UICodeEditor::unregisterTopSpace( UICodeEditorPlugin* plugin ) { |
| 3452 | for ( size_t i = 0; i < mPluginTopSpaces.size(); ++i ) { |
| 3453 | if ( mPluginTopSpaces[i].plugin == plugin ) { |
| 3454 | mPluginsTopSpace -= mPluginTopSpaces[i].space; |
| 3455 | mPluginTopSpaces.erase( mPluginTopSpaces.begin() + i ); |
| 3456 | return true; |
| 3457 | } |
| 3458 | } |
| 3459 | return false; |
| 3460 | } |
| 3461 | |
| 3462 | Float UICodeEditor::getCharacterSize() const { |
| 3463 | return mFontStyleConfig.getFontCharacterSize(); |
no test coverage detected