MCPcopy Create free account
hub / github.com/dail8859/NotepadNext / switchToEditor

Method switchToEditor

src/DockedEditor.cpp:127–137  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

125}
126
127void DockedEditor::switchToEditor(const ScintillaNext *editor)
128{
129 ads::CDockWidget *dockWidget = qobject_cast<ads::CDockWidget *>(editor->parentWidget());
130
131 if (dockWidget == Q_NULLPTR) {
132 qWarning() << "Expected editor's parent to be CDockWidget";
133 }
134 else {
135 dockWidget->raise();
136 }
137}
138
139void DockedEditor::dockWidgetCloseRequested()
140{

Callers 1

loadSessionMethod · 0.45

Calls

no outgoing calls

Tested by

no test coverage detected