I have a tool that outputs lines like:
0004:057: # Purpose: Tex.......
0023:034: blah blah......
...
where the first two tokens are line and col number. I specified it under configure/Tools with "Regular Expression to Match Output" like
^\([0-9]+\):\([0-9]+\):
and File: is blank, Line: is 1 and Column: is 2
Which worked just fine in Versions 4 and 5. I could run the tool, see the tool output, click on a line, and get transferred to the the correct row and column in my original file.
I installed Version 6.
This FAILS in Version 6. Instead, i get an error "Cannot jump to item under the cursor"
Oddly, it worked in version 5 with POSIX either checked or unchecked. It fails in Ver 6.2.2 with POSIX checked or unchecked.
Win 7
Regression: Tool RE worked in versions 4, 5, FAILS in 6.2.2
Moderators: AmigoJack, bbadmin, helios, Bob Hansen, MudGuard
-
- Posts: 8
- Joined: Thu Jun 03, 2010 12:21 pm
- Location: A2, Mi, US
-
- Posts: 2461
- Joined: Sun Mar 02, 2003 9:22 pm
-
- Posts: 8
- Joined: Thu Jun 03, 2010 12:21 pm
- Location: A2, Mi, US
I'll try that. Thanks. Meanwhile, i attempted to delete the tool. In the tool list it appeared as the whole command string: "perl blah blah blah". When i highlighted it and hit my Delete key i got a Windows pop-up that Textpad failed and had to close.
I tried again, same result.
I renamed it to "zzzz" and used the Delete key, with success.
I tried again, same result.
I renamed it to "zzzz" and used the Delete key, with success.
-
- Posts: 8
- Joined: Thu Jun 03, 2010 12:21 pm
- Location: A2, Mi, US
In ver 5 i added my external tool as a "DOS command", so that in the tool spec window, the Command was shown as cmd.exe in gray (not changeable). I added my Paramters as "perl -S blah blah...."
My regular expression is ^\([0-9]+\):\([0-9]+\):
I can still do that, and i can invoke the tool, and it runs, and i can see the expected output (*almost*) in the "Tool Output" screen, but when i double click a line i get the error msg "Cannot jump to item under the cursor"
But success when adding my external tool as a "Program." I can specify the program as "c:...\cmd.exe" and add my params as "/c perl -S blah blah" or i can specify the program as "c:\...\perl.exe" and the Parameters as "-S blah blah". Either way works as desired.
(*almost*) means that the content of the output looks the same as in the other two methods, but the font is different - it's smaller. Properties still shows Courier Regular 10, but it's not.
This is a change from Version 5.4.2, but i found a way that works in Ver 6. And i get the rest of the Ver 6 stuff, including the Close X on the file tab.
My regular expression is ^\([0-9]+\):\([0-9]+\):
I can still do that, and i can invoke the tool, and it runs, and i can see the expected output (*almost*) in the "Tool Output" screen, but when i double click a line i get the error msg "Cannot jump to item under the cursor"
But success when adding my external tool as a "Program." I can specify the program as "c:...\cmd.exe" and add my params as "/c perl -S blah blah" or i can specify the program as "c:\...\perl.exe" and the Parameters as "-S blah blah". Either way works as desired.
(*almost*) means that the content of the output looks the same as in the other two methods, but the font is different - it's smaller. Properties still shows Courier Regular 10, but it's not.
This is a change from Version 5.4.2, but i found a way that works in Ver 6. And i get the rest of the Ver 6 stuff, including the Close X on the file tab.