as well as like this: {!-- --}. I looked inside my \Configuration\CodeColoring\CodeColoring.xml file, and thought I might be on the right track by editing the HTML scheme as the attached code, but to no avail. Any ideas? Thanks a lot! Yes No ]]> ]]> [allowsmilie] => 1 [showsignature] => 0 [ipaddress] => [iconid] => 0 [visible] => 1 [attach] => 0 [infraction] => 0 [reportthreadid] => 0 [isusenetpost] => 1 [msgid] => [ref] => [htmlstate] => on_nl2br [postusername] => Heraldmonkey [ip] => webforumsuser@m [isdeleted] => 0 [usergroupid] => [membergroupids] => [displaygroupid] => [password] => [passworddate] => [email] => [styleid] => [parentemail] => [homepage] => [icq] => [aim] => [yahoo] => [msn] => [skype] => [showvbcode] => [showbirthday] => [usertitle] => [customtitle] => [joindate] => [daysprune] => [lastvisit] => [lastactivity] => [lastpost] => [lastpostid] => [posts] => [reputation] => [reputationlevelid] => [timezoneoffset] => [pmpopup] => [avatarid] => [avatarrevision] => [profilepicrevision] => [sigpicrevision] => [options] => [akvbghsfs_optionsfield] => [birthday] => [birthday_search] => [maxposts] => [startofweek] => [referrerid] => [languageid] => [emailstamp] => [threadedmode] => [autosubscribe] => [pmtotal] => [pmunread] => [salt] => [ipoints] => [infractions] => [warnings] => [infractiongroupids] => [infractiongroupid] => [adminoptions] => [profilevisits] => [friendcount] => [friendreqcount] => [vmunreadcount] => [vmmoderatedcount] => [socgroupinvitecount] => [socgroupreqcount] => [pcunreadcount] => [pcmoderatedcount] => [gmmoderatedcount] => [assetposthash] => [fbuserid] => [fbjoindate] => [fbname] => [logintype] => [fbaccesstoken] => [newrepcount] => [vbseo_likes_in] => [vbseo_likes_out] => [vbseo_likes_unread] => [temp] => [field1] => [field2] => [field3] => [field4] => [field5] => [subfolders] => [pmfolders] => [buddylist] => [ignorelist] => [signature] => [searchprefs] => [rank] => [icontitle] => [iconpath] => [avatarpath] => [hascustomavatar] => 0 [avatardateline] => [avwidth] => [avheight] => [edit_userid] => [edit_username] => [edit_dateline] => [edit_reason] => [hashistory] => [pagetext_html] => [hasimages] => [signatureparsed] => [sighasimages] => [sigpic] => [sigpicdateline] => [sigpicwidth] => [sigpicheight] => [postcount] => 1 [islastshown] => [isfirstshown] => 1 [attachments] => [allattachments] => ) --> as well as like this: {!-- --}. > > I looked inside my \Configuration\CodeColoring\CodeColoring.xml file, and > thought I might be on the right track by editing the HTML scheme as the > attached code, but to no avail. > > Any ideas? Thanks a lot![/quote] [allowsmilie] => 1 [showsignature] => 0 [ipaddress] => [iconid] => 0 [visible] => 1 [attach] => 0 [infraction] => 0 [reportthreadid] => 0 [isusenetpost] => 1 [msgid] => [ref] => [htmlstate] => on_nl2br [postusername] => Randy Edmunds [ip] => redmunds_nospam [isdeleted] => 0 [usergroupid] => [membergroupids] => [displaygroupid] => [password] => [passworddate] => [email] => [styleid] => [parentemail] => [homepage] => [icq] => [aim] => [yahoo] => [msn] => [skype] => [showvbcode] => [showbirthday] => [usertitle] => [customtitle] => [joindate] => [daysprune] => [lastvisit] => [lastactivity] => [lastpost] => [lastpostid] => [posts] => [reputation] => [reputationlevelid] => [timezoneoffset] => [pmpopup] => [avatarid] => [avatarrevision] => [profilepicrevision] => [sigpicrevision] => [options] => [akvbghsfs_optionsfield] => [birthday] => [birthday_search] => [maxposts] => [startofweek] => [referrerid] => [languageid] => [emailstamp] => [threadedmode] => [autosubscribe] => [pmtotal] => [pmunread] => [salt] => [ipoints] => [infractions] => [warnings] => [infractiongroupids] => [infractiongroupid] => [adminoptions] => [profilevisits] => [friendcount] => [friendreqcount] => [vmunreadcount] => [vmmoderatedcount] => [socgroupinvitecount] => [socgroupreqcount] => [pcunreadcount] => [pcmoderatedcount] => [gmmoderatedcount] => [assetposthash] => [fbuserid] => [fbjoindate] => [fbname] => [logintype] => [fbaccesstoken] => [newrepcount] => [vbseo_likes_in] => [vbseo_likes_out] => [vbseo_likes_unread] => [temp] => [field1] => [field2] => [field3] => [field4] => [field5] => [subfolders] => [pmfolders] => [buddylist] => [ignorelist] => [signature] => [searchprefs] => [rank] => [icontitle] => [iconpath] => [avatarpath] => [hascustomavatar] => 0 [avatardateline] => [avwidth] => [avheight] => [edit_userid] => [edit_username] => [edit_dateline] => [edit_reason] => [hashistory] => [pagetext_html] => [hasimages] => [signatureparsed] => [sighasimages] => [sigpic] => [sigpicdateline] => [sigpicwidth] => [sigpicheight] => [postcount] => 2 [islastshown] => 1 [isfirstshown] => [attachments] => [allattachments] => ) --> Defining HTML brackets - Macromedia Exchange Dreamweaver Extensions

Defining HTML brackets - Macromedia Exchange Dreamweaver Extensions

Is it possible to extend DW so that it recognizes curly brackets, i.e. "{" and "}" as tag brackets? In other words, I want to write HTML comments both like this: <!-- --> as well as like this: {!-- --}. I looked inside my \Configuration\CodeColoring\CodeColoring.xml file, and thought I might be on the right track by editing the HTML scheme as the attached code, but to no avail. Any ideas? Thanks a lot! <scheme name="HTML" id="HTML" doctypes="ASP.NET_VB,ASP.NET_CSharp,ASP-JS,ASP-VB,ColdFusion,CFC,HTML,JSP,PHP_My SQL,LibraryItem,WML,XSLT" priority="50"> <ignoreCase>Yes</ignoreCase> <ignoreTags>No</ignoreTags> <defaultText name="Text" id="CodeColor_HTMLText" /> <defaultTag name="Other Tags" id="CodeColor_HTMLTag" /> <defaultAttribute /> <commentStart name="Comment" id="CodeColor_HTMLComment"><![CDATA[<!--]]></commentStart> <commentEnd><![CDATA[-->]]></commentEnd> <commentStart><![CDATA[<%--]]></commentStart> <commentEnd><![CDATA[--%>]]></commentEnd> <!--Start curly ...

  1. #1

    Default Defining HTML brackets

    Is it possible to extend DW so that it recognizes curly brackets, i.e. "{" and
    "}" as tag brackets? In other words, I want to write HTML comments both like
    this: <!-- --> as well as like this: {!-- --}.

    I looked inside my \Configuration\CodeColoring\CodeColoring.xml file, and
    thought I might be on the right track by editing the HTML scheme as the
    attached code, but to no avail.

    Any ideas? Thanks a lot!


    <scheme name="HTML" id="HTML"
    doctypes="ASP.NET_VB,ASP.NET_CSharp,ASP-JS,ASP-VB,ColdFusion,CFC,HTML,JSP,PHP_My
    SQL,LibraryItem,WML,XSLT" priority="50">
    <ignoreCase>Yes</ignoreCase>
    <ignoreTags>No</ignoreTags>
    <defaultText name="Text" id="CodeColor_HTMLText" />
    <defaultTag name="Other Tags" id="CodeColor_HTMLTag" />
    <defaultAttribute />
    <commentStart name="Comment"
    id="CodeColor_HTMLComment"><![CDATA[<!--]]></commentStart>
    <commentEnd><![CDATA[-->]]></commentEnd>
    <commentStart><![CDATA[<%--]]></commentStart>
    <commentEnd><![CDATA[--%>]]></commentEnd>
    <!--Start curly bracket Stuff -->
    <commentStart><![CDATA[{!--]]></commentStart>
    <commentEnd><![CDATA[--}]]></commentEnd>
    <brackets name="Bracket"
    id="CodeColor_HTMLBracket"><![CDATA[{[()]}]]></brackets>
    <!--End curly bracket Stuff -->

    Heraldmonkey Guest

  2. #2

    Default Re: Defining HTML brackets

    The CodeColoring.xml only affects Code View code coloring.

    You may be able to get some of this to work. It would be a major effort,
    and I'm not sure it would achieve what you want, but here's how I'd
    approach it.

    Look in the Configuration/Objects folder. This is where all of the
    Insert menu commands are defined. You'd need to define a new "object"
    for any tag that you want to insert in this new format.

    The Configuration/Inpectors folder defines PIs. You'll need to define
    PIs for any tags that you want to insert from there.

    If you want DW to "recognize curly brackets as tags brackets" in Design
    View, then you'll need to create a Translator.

    HTH,
    Randy

    > Is it possible to extend DW so that it recognizes curly brackets, i.e. "{" and
    > "}" as tag brackets? In other words, I want to write HTML comments both like
    > this: <!-- --> as well as like this: {!-- --}.
    >
    > I looked inside my \Configuration\CodeColoring\CodeColoring.xml file, and
    > thought I might be on the right track by editing the HTML scheme as the
    > attached code, but to no avail.
    >
    > Any ideas? Thanks a lot!
    Randy Edmunds Guest

Similar Threads

  1. Custom tags that are not angle brackets
    By The_edge in forum Macromedia Exchange Dreamweaver Extensions
    Replies: 1
    Last Post: April 19th, 03:13 PM
  2. delete [text between brackets] from string
    By Marco Snoek in forum PHP Programming
    Replies: 1
    Last Post: November 12th, 03:55 PM
  3. grep with [ ] brackets ... ?
    By Luke Bakken in forum PERL Beginners
    Replies: 3
    Last Post: September 23rd, 02:14 PM
  4. [PHP] square brackets in form names violate HTML specs?
    By Eugene Lee in forum PHP Development
    Replies: 3
    Last Post: September 14th, 09:09 PM
  5. square brackets in form names violate HTML specs?
    By Gary Petersen in forum PHP Development
    Replies: 0
    Last Post: September 13th, 10:08 PM

Bookmarks

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •