MCPcopy Create free account
hub / github.com/Codeya-IDE/deepin-ide / currentTabWidget

Method currentTabWidget

src/plugins/codeeditor/gui/workspacewidget.cpp:541–548  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

539}
540
541TabWidget *WorkspaceWidgetPrivate::currentTabWidget() const
542{
543 if (focusTabWidget)
544 return focusTabWidget;
545
546 // Return a default tabWidget
547 return tabWidgetList.isEmpty() ? nullptr : tabWidgetList.first();
548}
549
550void WorkspaceWidgetPrivate::doSplit(TabWidget *fromTW, QSplitter *spliter, int index, const QString &fileName)
551{

Callers 14

currentEditorMethod · 0.80
currentFileMethod · 0.80
selectedTextMethod · 0.80
cursorBeforeTextMethod · 0.80
cursorBehindTextMethod · 0.80
setTextMethod · 0.80
replaceSelectedTextMethod · 0.80
showTipsMethod · 0.80
insertTextMethod · 0.80
undoMethod · 0.80
cursorPositionMethod · 0.80

Calls 1

isEmptyMethod · 0.45

Tested by

no test coverage detected