If you want to trace it, it is in Cursor.pmc in your Perl 5 lib directory. I will try it today on an Ubuntu VM once I can get it updated to the latest stuff.
I am also working with sorear @ #padre, #perl6 to update S:H:P6 to the latest STD.pm6. Have fun :) Ahmad On Mon, Jun 7, 2010 at 8:36 AM, Richard Hainsworth <rich...@rusrating.ru>wrote: > Dear Ahmad, > > Thanks for the reply. Gabor suggested the same and I have tried that - it > did not seem to work. > > I think the problem is somewhere in STD.pm > > I tried looking at the code for the colorizer and STD.pm - not enough time > to get to the bottom of everything. > > It seems that you / someone has done more work on the STD environment since > Padre. Would it be possible to do some refactoring so that it would be > possible to replace an old version of STD with a new version? > > Richard > > > > On 06/06/2010 04:07 PM, Ahmad Zawawi wrote: > >> Hi Richard, >> >> I forgot to CC the list the first time I sent you the email. Sorry for any >> inconvenience :) >> >> You need to define an environment variable PERL6LIB that has your Perl 6 >> library directories separated by UNIX-style path delimiters ':' . That is >> needed since Padre Perl 6 syntax checker task works on a temp copy of >> your >> file. >> >> Please let me know if that works for you or not. >> >> Regards, >> Ahmad<azawawi> >> >> On Sat, Jun 5, 2010 at 12:23 PM, Richard Hainsworth<rich...@rusrating.ru >> >wrote: >> >> >> >>> Just installed latest Padre. >>> >>> To test, I used a program that I tested and runs without Padre. >>> >>> Program uses modules. Program runs out of Padre, but syntax checking does >>> not work. >>> >>> Minimal test case. >>> >>> In file mymod.pm, which must be stored in ~/.perl6/lib >>> <start file> >>> module mymod; >>> >>> sub foo() is export { say 'hi' } >>> <end file> >>> >>> In file test.p6 >>> <start file> >>> use v6; >>> use mymod; >>> foo(); >>> <end file> >>> >>> Running test.p6 in Padre generates the output: 'hi' >>> >>> The syntax checking stops at 'use mymod;' line. >>> >>> What needs to be changed for STD.pm to recognise the modules? >>> >>> Richard<finanalyst> >>> >>> >>> >>> >> >> >
_______________________________________________ Padre-dev mailing list Padre-dev@perlide.org http://mail.perlide.org/mailman/listinfo/padre-dev