[Date Prev][Date Next][Thread Prev][Thread Next] [Search] [Date Index] [Thread Index]

[MacPerl] Syntax Coloring in BBEdit



Hello folks,

This is probably a newbie faq, but after ten minutes of looking, I can't 
find the answer...

When instructing MacPerl to "Edit Script with BBEdit", the file that is 
opened in BBEdit is named:

     my_file_name.pl [Perl]

BBEdit is configured to apply colorisation to the syntax of files with 
extensions .pl, but not files ending in [Perl]. Furthermore, when adding 
[Perl] as an extension in the "Languages" preference panels, it attempts 
define the expected suffix ".[Perl]" (preceded with a dot) rather than " 
[Perl".

The workaround I've found is to end sourcefile names with a dot, e.g.:

     my_file_name.pl.

...and define a Perl language prefix in BBEdit...

     . [Perl]

In this case, the files opened in BBEdit, from within MacPerl, are 
colorised. I'd prefer not to end all my .pl files with an additional dot 
(i.e. .pl.), so I hope there's a simpler solution.

Any information greatly appreciated.

Kind regards,

Matt Henderson   |   matt@exponet.net   |    www.exponet.net
                 .                      .    
E x p o n e t   M e d i a  T e c h n o l o g i e s   G m b H
Full-Service Web Development & Engineering Services Provider


***** Want to unsubscribe from this list?
***** Send mail with body "unsubscribe" to mac-perl-request@iis.ee.ethz.ch