Page 1 of 1
Command to go to error?
Posted: Sun Sep 20, 2015 11:28 pm
by chrisjj
What's the key command to go to the source of the next error reported in the tool output?
Posted: Sat Sep 26, 2015 7:35 pm
by MudGuard
F4 (might be depending on keyboard compatibility setting)
Posted: Sat Sep 26, 2015 9:14 pm
by chrisjj
MudGuard wrote:F4 (might be depending on keyboard compatibility setting)
Thanks, but not working here. e.g. no effect here
http://i.imgur.com/KYWo5Nl.png.
Here F4 is assigned to SearchJumpNext.
Posted: Sat Sep 26, 2015 9:55 pm
by ben_josephs
What are the values of Regular expression to match output and Registers for the tool you are using?
Please post the tool output in text form.
Posted: Sat Sep 26, 2015 10:51 pm
by chrisjj
ben_josephs wrote:What are the values of Regular expression to match output and Registers for the tool you are using?
Aha. It is blank. The tool is PHP and I cannot locate a regex for PHP.
ben_josephs wrote:Please post the tool output in text form.
e.g.
Notice: Undefined index: x in D:\Projects\ChrisJJ\chrisjj.com web\www.chrisjj.com\tango\cjjsets\trackfind\trackfind.php on line 2
Posted: Sun Sep 27, 2015 3:42 pm
by ben_josephs
You seem to have a space in your path. This will bite you sooner or later. It also makes the regex trickier.
Try
Regular expression to match output:
in ([A-Z]:\\.*) on line (\d+)$
Registers:
File: 1 Line: 2
Posted: Tue Sep 29, 2015 8:18 pm
by chrisjj
ben_josephs wrote:Try
Regular expression to match output:
in ([A-Z]:\\.*) on line (\d+)$
Registers:
File: 1 Line: 2
Thanks Ben. Adjusting that for TextPad 6.5 here, gives:
Code: Select all
in \([A-Z]:\\.*?\) on line \([0-9]+\)$
But still F4 doesn't work.
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".
Posted: Wed Sep 30, 2015 7:08 am
by ben_josephs
I no longer have a copy of TextPad 6 to experiment with.
The sequence *? is not meaningful in TextPad's old-style regexes.
Posted: Wed Sep 30, 2015 2:47 pm
by chrisjj
ben_josephs wrote:I no longer have a copy of TextPad 6 to experiment with.
OK. Perhaps time for me to bite the bullet on the regex incompatibility and upgrade to 7.
ben_josephs wrote:The sequence *? is not meaningful in TextPad's old-style regexes.
Thanks for spotting that. It is valid and works in Find, but indeed I should have written:
Code: Select all
in \([A-Z]:\\.*\) on line \([0-9]+\)$
Sadly that too fails for F4.
Posted: Thu Oct 01, 2015 9:09 pm
by kengrubb
You might want to consider stepping into 7.5.1, latest version. It's been quite stable.
Posted: Thu Oct 01, 2015 11:10 pm
by chrisjj
I considered it. But until then. I'd like V6.5 to work.