Dancer routes, Padre, function list
Hello all, I did a little patch, which should show Dancer routes in Padre's Function List. But I need some help ;) Dancer routes are shown with this patch, but nothing happens when I double click on it. Have no ideas why. Can somebody help with it? VirtualBox Perl # pwd /usr/local/share/perl/5.14.2/Padre/Document/Perl VirtualBox Perl # diff -c FunctionList.pm.orig FunctionList.pm *** FunctionList.pm.orig 2012-04-19 18:36:17.000000000 +0600 --- FunctionList.pm 2012-08-27 23:29:45.068781182 +0600 *************** *** 30,35 **** --- 30,38 ---- | \* (\w+(?:::\w+)*) \s*=\s* (?: sub\b | \\\& ) ) + | + (?:^|$newline)\s* + (?:any|get|post|ajax|head)\s+[\'|\"](.+?)[\'|\"]\s*=> ) }sx; -- Best Regards, Nick Knutov http://knutov.com ICQ: 272873706 Voice: +7-904-84-23-130
Solved. https://gist.github.com/3490726/ Any ideas about committing this to Padre are appreciated. 27.08.2012 23:36, Nick Knutov пишет:
Hello all,
I did a little patch, which should show Dancer routes in Padre's Function List. But I need some help ;)
Dancer routes are shown with this patch, but nothing happens when I double click on it. Have no ideas why. Can somebody help with it?
VirtualBox Perl # pwd /usr/local/share/perl/5.14.2/Padre/Document/Perl
VirtualBox Perl # diff -c FunctionList.pm.orig FunctionList.pm *** FunctionList.pm.orig 2012-04-19 18:36:17.000000000 +0600 --- FunctionList.pm 2012-08-27 23:29:45.068781182 +0600 *************** *** 30,35 **** --- 30,38 ---- | \* (\w+(?:::\w+)*) \s*=\s* (?: sub\b | \\\& ) ) + | + (?:^|$newline)\s* + (?:any|get|post|ajax|head)\s+[\'|\"](.+?)[\'|\"]\s*=> ) }sx;
-- Best Regards, Nick Knutov http://knutov.com ICQ: 272873706 Voice: +7-904-84-23-130
On Mon, Aug 27, 2012 at 11:00 PM, Nick Knutov <mail@knutov.com> wrote:
Solved.
https://gist.github.com/3490726/
Any ideas about committing this to Padre are appreciated.
Ask for a commit bit on #padre irc.perl.org or open a ticket at http://padre.perlide.org/trac/ and attach your patch to it. Gabor
participants (2)
-
Gabor Szabo -
Nick Knutov