Highlighting Perl modules usage

Syntax highlighting, code folding, brace matching, code indenting, and function list

Highlighting Perl modules usage

Postby mapg » Sat Oct 14, 2006 6:38 am

I would like to highlight Perl modules, but using ...

**::

in the wordfile.txt, I just get ...

use MIME::Base64;

and certainly I would like to get ...

use MIME::Base64;

How I could do it?

Thank you very much in advance

Mapg
User avatar
mapg
Newbie
 
Posts: 2
Joined: Sun Sep 17, 2006 11:00 pm

Re: Highlighting Perl modules usage

Postby Mofi » Sat Oct 14, 2006 12:58 pm

That's simply not possible. The character : is in the default wordfile.txt for Perl a delimiter character. That means that MIME::Base64 are for the word based syntax highlighting engine 4 words: MIME::Base64.

I'm already wondering that **:: is working.



Edit: Found the reason why **:: works in the history in readme.txt.

Code: Select all
V10.00
        - Syntax Highlighting allows delimiters to be start character of word
User avatar
Mofi
Grand Master
Grand Master
 
Posts: 4058
Joined: Thu Jul 29, 2004 11:00 pm
Location: Vienna

Re: Highlighting Perl modules usage

Postby mapg » Sat Oct 14, 2006 2:00 pm

OK. Thank you.

And about ...

**::


Yes, it's working.

I have these delimiters for Perl ...

/Delimiters = ~!@$%^&*()+=|\/{}[]:;"'<> ,.?\`/


Hope this could clarify something.

Some suggestion to highlight cases like i.e: MIME::Base64??

Thanks

Mapg
User avatar
mapg
Newbie
 
Posts: 2
Joined: Sun Sep 17, 2006 11:00 pm


Return to Syntax Highlighting