Bug 100439 - jump to line from cmd line args
Summary: jump to line from cmd line args
Status: RESOLVED INTENTIONAL
Alias: None
Product: kate
Classification: Applications
Component: general (show other bugs)
Version: 2.3.2
Platform: unspecified Linux
: NOR wishlist
Target Milestone: ---
Assignee: KWrite Developers
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2005-02-28 14:55 UTC by geiseri
Modified: 2012-10-25 19:56 UTC (History)
1 user (show)

See Also:
Latest Commit:
Version Fixed In:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description geiseri 2005-02-28 14:55:01 UTC
Version:           2.3.2 (using KDE 3.3.2,  (3.1))
Compiler:          gcc version 3.3.5 (Debian 1:3.3.5-8)
OS:                Linux (ppc) release 2.6.8-powerpc

since gdb and gcc both print lines as:
/some/file/path/file.name:lineno
it would rock if Kate could understand that and not only open up file.name, but jump to lineno after the file is opened.

this would make it very easy to use from gdb or gcc messages.
Comment 1 Anders Lund 2005-03-03 17:14:30 UTC
On Monday 28 February 2005 14:55, geiseri@kde.org wrote:
> since gdb and gcc both print lines as:
> /some/file/path/file.name:lineno
> it would rock if Kate could understand that and not only open up file.name,
> but jump to lineno after the file is opened.

How bad is it to have to convert that into
--line lineno /some/file/path/file.name 

sed s,([^:]*):(\d+),--line \2 \1,

will do that, for example.

-anders
Comment 2 Christoph Cullmann 2012-10-25 19:56:17 UTC
We use --line, we don't split strings