What we _could_ perhaps do (because detecting a URI in a text flow is
undefined territory, with already quite a few quirks in place, such as
stripping off the trailing dot) is to strip off the trailing
":linenumber". That is, the trailing ":" if it's followed by numbers
only.
That way you could ea
The problem is: according to the URI specification, there is no way to
denote the line number. In fact, the URI
"file:///full/path/to/filename.cpp:linenumber" refers to a file whose
name is literally "filename.cpp:linenumber".
Correspondingly, the entire stack that handles the opening of a URI (th
the issue that qt creator can't handle
file:///full/path/to/filename.cpp:linenumber on commandline (but supposed to)
is known: https://bugreports.qt.io/browse/QTCREATORBUG-30143
however qt creator handles /full/path/to/filename.cpp:linenumber on commandline
that's how I made a wrapper restoring