D16341: Minor cleanups of TabSwitcher plugin
gregormi
noreply at phabricator.kde.org
Sun Oct 21 10:45:25 BST 2018
gregormi added a comment.
I tested kate and tstestapp. Both work fine.
INLINE COMMENTS
> tstestapp.cpp:23
> + auto doc = KTextEditor::Editor::instance()->createDocument(nullptr);
> + doc->openUrl(QUrl::fromLocalFile(path));
> + return doc;
I wondered why this works despite that fact that the given file does not exist. But apparently, all needed parts of the document instance are filled to be useful in this test.
REPOSITORY
R40 Kate
REVISION DETAIL
https://phabricator.kde.org/D16341
To: dhaumann, gregormi
Cc: kwrite-devel, michaelh, ngraham, demsking, cullmann, sars, dhaumann
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://mail.kde.org/pipermail/kwrite-devel/attachments/20181021/230781f1/attachment.html>
More information about the KWrite-Devel
mailing list