MCPcopy Create free account
hub / github.com/KDE/kdevelop / fileClose

Method fileClose

kdevplatform/shell/documentcontroller.cpp:736–746  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

734
735
736void DocumentController::fileClose()
737{
738 IDocument *activeDoc = activeDocument();
739 if (activeDoc)
740 {
741 UiController *uiController = Core::self()->uiControllerInternal();
742 Sublime::View *activeView = uiController->activeSublimeWindow()->activeView();
743
744 uiController->activeArea()->closeView(activeView);
745 }
746}
747
748void DocumentController::notifyDocumentClosed(Sublime::Document* doc_)
749{

Callers

nothing calls this directly

Calls 5

uiControllerInternalMethod · 0.80
activeSublimeWindowMethod · 0.80
activeAreaMethod · 0.80
activeViewMethod · 0.45
closeViewMethod · 0.45

Tested by

no test coverage detected