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

Method openDocument

kdevplatform/interfaces/idocumentcontroller.cpp:16–22  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

14}
15
16KDevelop::IDocument* IDocumentController::openDocument( const QUrl &url,
17 const KTextEditor::Cursor& cursor,
18 DocumentActivationParams activationParams,
19 const QString& encoding)
20{
21 return openDocument(url, cursor.isValid() ? KTextEditor::Range(cursor, 0) : KTextEditor::Range::invalid(), activationParams, encoding);
22}
23
24}
25

Callers

nothing calls this directly

Calls 3

RangeClass · 0.70
invalidFunction · 0.50
isValidMethod · 0.45

Tested by

no test coverage detected