Re: [gedit-list] Navigating to a file/line from the Shell Output



It appears that when the file name is printed as "<newline>filename:linenumber:" (i.e. first thing in the line and a : follows it immediately) then it can be clicked. But that is not flexible enough for me.


Here is an example of the output that my testing framework produces:

*** Expected: equals “36”
         got: “35”
    gospec/examples._func_010()
        at /home/orfjackal/devel/gospec/examples/fib_test.go:37


And here is an example of the stack traces that the programming language's runtime produces:

panic: runtime error: invalid memory address or nil pointer dereference

panic PC=0x2b79d4acc148
runtime.panic+0x7c /home/orfjackal/go/src/pkg/runtime/proc.c:1012
	runtime.panic(0x2b7900000000, 0x405df4)
panicstring+0x60 /home/orfjackal/go/src/pkg/runtime/runtime.c:83
	panicstring(0x47e450, 0x2b79d4b623e0)
sigpanic+0x84 /home/orfjackal/go/src/pkg/runtime/linux/thread.c:285
	sigpanic()
gospec._func_106+0xac /home/orfjackal/devel/gospec/src/gospec/execution_model_test.go:20
	gospec._func_106(0x0, 0x48d300)
nanospec.*aSpec·Execute+0x21 /home/orfjackal/devel/nanospec.go/src/context.go:100
	nanospec.*aSpec·Execute(0x2b79d4b637e0, 0x499e58, 0x4445c9, 0x2b79d4b63810)
...


I would need the file paths and line numbers in all of those to be clickable.



Esko Luontola wrote on 10.5.2010 1:49:
In gedit 2.28.0 (Ubuntu 9) it used to be possible to navigate to a file
when the file name and line number were printed on the Shell Output
window ("/path/to/file.ext:123"). It underlined the file path and it was
possible to click it (although there was a bug that if the line
contained non-ASCII characters, then the underlining was misaligned and
clicking did not work).

In gedit 2.30.2 (Ubuntu 10) it is not anymore possible to click and
navigate to the files. This make it hard to develop software, because I
can't click the stack traces of failed tests to navigate to the line.
How can I get the old behaviour back?


--
Esko Luontola
www.orfjackal.net


[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]