hi, I have been trying to get the double clicking on the command results
windows to work so that double click on the error will jump to the line in
the source file. I have been getting "Cannot jump to the item under cursor"
message on the status bar. What does this mean??
What the "File", "Line", and "Column" under the Preferences > Registers for?
and lastly, how to configure textpad to do that??
regards,
Mgst
gnu gcc compiler errors
Moderators: AmigoJack, bbadmin, helios, Bob Hansen, MudGuard
Re: gnu gcc compiler errors
Hi,
try this
Configure,
Preferences,
Tools,
select your tool
set capture output
under Regular Expression to match output type
^\(..[^:]+\):\([0-9]+\):
and File = 1
and Line = 2
and Column = nothing
Regards
Dieter
try this
Configure,
Preferences,
Tools,
select your tool
set capture output
under Regular Expression to match output type
^\(..[^:]+\):\([0-9]+\):
and File = 1
and Line = 2
and Column = nothing
Regards
Dieter
Re: gnu gcc compiler errors
cool, it works, but I still don't get the idea how.
I understand the regular expression part, 'cos its just like the unix sed, grep (correct me if I am wrong about this). But for the "File", "Line" and "Column", I have no idea what's all that.
thanks
cheers,
Mgst
I understand the regular expression part, 'cos its just like the unix sed, grep (correct me if I am wrong about this). But for the "File", "Line" and "Column", I have no idea what's all that.
thanks
cheers,
Mgst
Re: gnu gcc compiler errors
1 stands for the first part in \(\)
2 stands for the second in \(\)
and so on
the \(\) in the regex only have the purpose to denote which parts are the file name, line number or column number (if available), they are not necessary for matching the lines.
But textpad needs them (along with the relation of number to file/line/column) to decide where on the matched line to find the filename (resp. line number/col number).
2 stands for the second in \(\)
and so on
the \(\) in the regex only have the purpose to denote which parts are the file name, line number or column number (if available), they are not necessary for matching the lines.
But textpad needs them (along with the relation of number to file/line/column) to decide where on the matched line to find the filename (resp. line number/col number).