Author Topic: Comments in html/xml  (Read 1483 times)

cichlasoma

  • Guest
Comments in html/xml
« on: May 10, 2010, 09:26:31 am »
Personally, I'd find it nice when "autocommenting" in html and xml would insert spaces between comment tags and commented text (<!-- xyz --> instead of <!--xyz-->).
(Of course, it's a really minor request as everyone can define his own code templates for it.)

Offline alex

  • Developer
  • Global Moderator
  • Hero Member
  • *****
  • Posts: 2171
  • Karma: +37/-3
    • View Profile
    • HippoEDIT
Re: Comments in html/xml
« Reply #1 on: May 10, 2010, 01:32:40 pm »
Yes, the best way to achieve this is to add your own code template.
Another hard way, is to change style definition for xml comments to have trailing/leading space. The HE will also add spacing on commenting. There is no way to control this. This is generic built-in function which generically use defined comment style tags for commenting. And there is no way (and it will not be added) to specialize it.

The one more possibility I see with 1.50 + scripting is overriding of standard commend by script command.

 

Related Topics

  Subject / Started by Replies Last post
10 Replies
4132 Views
Last post October 17, 2009, 02:25:36 pm
by alex
HTML

Started by alex Syntax Files

0 Replies
3361 Views
Last post October 26, 2009, 12:53:32 am
by alex
1 Replies
933 Views
Last post October 08, 2010, 04:30:49 pm
by alex
3 Replies
3452 Views
Last post September 06, 2012, 11:52:32 pm
by alex
2 Replies
1437 Views
Last post November 17, 2014, 12:18:11 am
by alex