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

Method checkEditorExists

src/eepp/ui/tools/uicodeeditorsplitter.cpp:1507–1517  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

1505}
1506
1507bool UICodeEditorSplitter::checkEditorExists( UICodeEditor* checkEditor ) const {
1508 bool found = false;
1509 forEachEditorStoppable( [&found, checkEditor]( UICodeEditor* editor ) {
1510 if ( editor == checkEditor ) {
1511 found = true;
1512 return true;
1513 }
1514 return false;
1515 } );
1516 return found || checkEditor == nullptr || mAboutToAddEditor == checkEditor || mFirstCodeEditor;
1517}
1518
1519bool UICodeEditorSplitter::isWidgetInAnyWidget( UIWidget* checkWidget ) const {
1520 bool found = false;

Callers 1

onTabCreatedMethod · 0.80

Calls

no outgoing calls

Tested by

no test coverage detected