arrowd added a comment.
In D18296#437985 <https://phabricator.kde.org/D18296#437985>, @apol wrote: > Overall this makes sense to me, this assumes though that there will never be a file ending with `:digit`, is that something we can live with? Judging from UrlInfo(QString path) : line(0), column(0) { /** * first try: just check if the path is an existing file */ if (QFile::exists(path)) { /** * create absolute file path, we will e.g. pass this over dbus to other processes * and then we are done, no cursor can be detected here! */ url = QUrl::fromLocalFile(QDir::current().absoluteFilePath(path)); return; } such files can still be opened, they just can't receive cursor information. REPOSITORY R126 KDE CLI Utilities REVISION DETAIL https://phabricator.kde.org/D18296 To: arrowd, #plasma, #ktexteditor, broulik Cc: apol, cullmann, plasma-devel, jraleigh, GB_2, ragreen, Pitel, ZrenBot, lesliezhai, ali-mohamed, jensreuterberg, abetts, sebas, mart