Main Menu

Tools: Capture Output

Started by Arthur, April 21, 2009, 10:17:29 PM

Previous topic - Next topic

Arthur

Where can I see tagged expressions (output capture functionality)?

Arthur

Tools Output: Use Default Pattern - what it is the default?


Where can I see what the "Default pattern" looks like in the capture output?

Stefan

Hi Arthur,

You have to know how looks the output line of you tool (f.ex. "Error at  12 line 123 C:\test.pl")

In the box above you can enter en regular expression  (f.ex. ^.+ at (.+) line ([0-9]+)(.*) )
then you can capture some parts of this output by using regex and () meta chars

f.ex.  for
^.+ at (.+) line ([0-9]+)(.*)

(.+) would be  Tagged Expression 1
([0-9]+)         Tagged Expression 2
(.*)               Tagged Expression 3

Now i guess you can choose
as File Name: Tagged Expression 3 >> C:\test.pl
as    Column: Tagged Expression 1 >> 12
as Line:        Tagged Expression 2 >> 123

just as example
Stefan, HippoEDIT beta tester 
HippoEDIT - the editor programmers wants to code thyself when they are dreaming.        -Don't just edit. HippoEDIT!-

Arthur

Thank you, good, and what will happen next, after I have had it set?

Stefan

I guess you would execute this tool which launch your interpreter with   %current file name%  tag
and the output is captured as set  above
into the Output pane, where you can at easy jump to (File Name:) and the focus is set there to (Column:) at (Line:)
so you could review what the error causes.
Stefan, HippoEDIT beta tester 
HippoEDIT - the editor programmers wants to code thyself when they are dreaming.        -Don't just edit. HippoEDIT!-

alex

#5
Default pattern - is all possible in HippoEDIT output patterns checked one by one.

All possible (known) patterns in HippoEDIT, are that you can see in help for pattern filed (see attachment).
HippoEDIT team
[url="http://www.hippoedit.com/"]http://www.hippoedit.com/[/url]