https://bugs.kde.org/show_bug.cgi?id=398998
Bug ID: 398998
Summary: Allow kioclient exec to open kwrite/kate documents at
specified cursor
Product: kde-cli-tools
Version: unspecified
Platform: unspecified
OS: All
Status: REPORTED
Severity: wishlist
Priority: NOR
Component: general
Assignee: [email protected]
Reporter: [email protected]
Target Milestone: ---
Kate/KWrite support "file.cpp:123:456" notion to open a text file at the
specified line/row position. I use "kioclient exec" extensively to open text
files and it would be super-neat to be able to open where compiler reported a
error.
I poked around code a bit and it boiled down to making KRun accept plain
QString instead of QUrl, because the latter can't hold cursor information. I'm
ready to implement this, but first wanted to consult code owners.
For reference, Kate/KWrite use UrlInfo helper class that converts QString to
QUrl with good old QUrl::fromUserInput, but additionaly chops and saves
":123:456" part at the end.
--
You are receiving this mail because:
You are watching all bug changes.