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

Method unregisterTopSpace

src/eepp/ui/uicodeeditor.cpp:3451–3460  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

3449}
3450
3451bool 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
3462Float UICodeEditor::getCharacterSize() const {
3463 return mFontStyleConfig.getFontCharacterSize();

Callers 3

~LSPClientPluginMethod · 0.80
onUnregisterMethod · 0.80
onUnregisterMethod · 0.80

Calls 3

sizeMethod · 0.45
eraseMethod · 0.45
beginMethod · 0.45

Tested by

no test coverage detected