https://bugs.kde.org/show_bug.cgi?id=398998

--- Comment #3 from Gleb Popov <6year...@gmail.com> ---
How about this:

We add KRun::setCursorInformation(int,int) method and in
KRun::runApplicationImpl() or whatever actually runs the program do 

if(serviceSupportsPassingCursorInfo())
    args << "--line " << line << "--column" << column;

where

bool serviceSupportsPassingCursorInfo() { return service.name() == "KWrite" ||
service.name() == "Kate; }

Looks pretty clean and non-invasive to me.

-- 
You are receiving this mail because:
You are watching all bug changes.

Reply via email to