"HTML with Perl"

Let us know what you would like to see in the next version of this software

Moderator: kfury77

Forum rules
Please follow these guidelines when posting feature requests. This will help to increase the value of your contribution.

  • Do not create new topics for already requested features. Add your comments to the existing feature request topics instead;
  • Create separate topic for each feature suggestion. Do NOT post a number of non-related feature suggestions in a single topic;
  • Give your topic a meaningful title. Do NOT create topics with meaningless titles, such as "My Suggestion" or "My Problem".

Please note that we DO READ all suggestions, even if a reply is not posted. Thanks!

"HTML with Perl"

Postby Corey » Fri Jun 24, 2005 1:42 am

I am a mod_perl / Mason developer and have the unfortunate duty of using Windows-based editors that will either highlight/autocomplete HTML or Perl, but not both simultaneously (only vim seems to be capable). It would be absolutely wonderous if HTMLPad could support this method of syntax highlighting and auto-completion.

Perl is delineated in mod_perl / Mason by the following rules:
- a '%' at the absolute beginning of the line
- enclosed in <% %> or <& &> tags.
- enclosed in <%(blah) %>...<%/(blah) %> tags

If you could make this happen, I'm sure we could buy some licenses for the whole dev team heheh :wink:
Corey
 
Posts: 2
Joined: Fri Jun 24, 2005 1:36 am

Postby Karlis » Mon Jun 27, 2005 5:52 pm

So as I understand you need

a) Syntax highlighting
b) Auto Complete

It would be great if you could provide some info about mor_perl syntax specifics as I'm not familiar with mod_perl. How does mod_perl syntax is different from standart Perl / CGI.

Also please describe how do you see mod_perl auto complete. Are there any objects or built in functions? Probably you can provide a link to some editor that has this feature.

Thanks!
Karlis Blumentals
Blumentals Software
www.blumentals.net
User avatar
Karlis
Site Admin
 
Posts: 3601
Joined: Mon Jul 15, 2002 5:24 pm
Location: Riga, Latvia, Europe

Postby Corey » Mon Jun 27, 2005 6:33 pm

Thank you for replying.

the mod_perl "syntax" is identical to standard Perl (in regards to syntax highlighting and auto-complete), it only varies in how it is used in-place with HTML (like PHP). Instead of being enclosed in <? ?> tags like PHP is, it has it's own many variations of ways to include it which I have specified in my previous post.

Here is a link to the documentation of Mason, the particular mod_perl system I use use:

http://www.masonhq.com/docs/manual/Deve ... l_sections

From what I understand, most other mod_perl implementations use pretty much the same delimiter methods.
Corey
 
Posts: 2
Joined: Fri Jun 24, 2005 1:36 am


Return to HTMLPad / Rapid CSS / Rapid PHP / WeBuilder Feature Requests

Who is online

Users browsing this forum: No registered users and 40 guests

cron