Command to go to error?
Moderators: AmigoJack, bbadmin, helios, Bob Hansen, MudGuard
Command to go to error?
What's the key command to go to the source of the next error reported in the tool output?
Thanks, but not working here. e.g. no effect here http://i.imgur.com/KYWo5Nl.png.MudGuard wrote:F4 (might be depending on keyboard compatibility setting)
Here F4 is assigned to SearchJumpNext.
-
- Posts: 2461
- Joined: Sun Mar 02, 2003 9:22 pm
Aha. It is blank. The tool is PHP and I cannot locate a regex for PHP.ben_josephs wrote:What are the values of Regular expression to match output and Registers for the tool you are using?
e.g.ben_josephs wrote:Please post the tool output in text form.
Notice: Undefined index: x in D:\Projects\ChrisJJ\chrisjj.com web\www.chrisjj.com\tango\cjjsets\trackfind\trackfind.php on line 2
-
- Posts: 2461
- Joined: Sun Mar 02, 2003 9:22 pm
Thanks Ben. Adjusting that for TextPad 6.5 here, gives:ben_josephs wrote:Try
Regular expression to match output:
in ([A-Z]:\\.*) on line (\d+)$
Registers:
File: 1 Line: 2
Code: Select all
in \([A-Z]:\\.*?\) on line \([0-9]+\)$
1) Verify regex matched error in Find http://i.imgur.com/N8lFewD.png
2) Configure tool http://i.imgur.com/Cm9ZJU5.png .
3) Press CTRL+1 to run tool
4) See Tool Output report an error
5) Press F4
Expected: Jump to source line
Observed: No jump. And status line says "At end of list".
-
- Posts: 2461
- Joined: Sun Mar 02, 2003 9:22 pm
OK. Perhaps time for me to bite the bullet on the regex incompatibility and upgrade to 7.ben_josephs wrote:I no longer have a copy of TextPad 6 to experiment with.
Thanks for spotting that. It is valid and works in Find, but indeed I should have written:ben_josephs wrote:The sequence *? is not meaningful in TextPad's old-style regexes.
Code: Select all
in \([A-Z]:\\.*\) on line \([0-9]+\)$