Change HTML tag list from upper to lower case letters?

General and specific configuration/INI settings

Change HTML tag list from upper to lower case letters?

Postby JohnJSal » Mon Feb 06, 2006 12:50 am

Is there a way to make the HTML tags in the tag list lower case?

Thanks.
User avatar
JohnJSal
Advanced User
Advanced User
 
Posts: 60
Joined: Sat Mar 05, 2005 12:00 am

Re: making html tags lowercase?

Postby Mofi » Mon Feb 06, 2006 7:38 am

Yes, you can manually edit all tags with the tag edit dialog (right mouse in tag list window - Modify Tags) or you make it with this macro (modify the 2 paths according to your installation):

InsertMode
ColumnModeOff
HexOff
Open "C:\Program Files\UltraEdit-32\taglist.txt"
Find "[Tag Group - HTML - Tags]"
IfNotFound
ExitMacro
EndIf
Key HOME
Key DOWN ARROW
Clipboard 9
StartSelect
Find Select "^p^p"
Copy
NewFile
Paste
Top
Loop
Find ":UEDS"
IfFound
Key RIGHT ARROW
StartSelect
Key END
ToLower
EndSelect
Else
ExitLoop
EndIf
EndLoop
SelectAll
StartSelect
Copy
CloseFile NoSave
Paste
ClearClipboard
Clipboard 0
SaveAs "C:\Program Files\UltraEdit-32\MyTaglist.txt"

Don't forget to enable the macro property Continue if a Find with Replace not found which must be set for this macro.

The macro saves the modified taglist file to a new name. I think this is better than modifying the original because the Taglist.txt file is always updated during an update of UltraEdit. Although the update is done with a notification and creation of a backup, many users have a compulsion to click on OK buttons without reading.

To use this new modified taglist file instead of original open the modify tags dialog as described above and click on the Browse button to select MyTaglist.txt.
User avatar
Mofi
Grand Master
Grand Master
 
Posts: 4042
Joined: Thu Jul 29, 2004 11:00 pm
Location: Vienna

Re: making html tags lowercase?

Postby JohnJSal » Mon Feb 06, 2006 2:45 pm

Thanks! I really need to learn how to write some macros! The macro worked very well.
User avatar
JohnJSal
Advanced User
Advanced User
 
Posts: 60
Joined: Sat Mar 05, 2005 12:00 am

Re: Change HTML tag list from upper case to lower case?

Postby Mofi » Thu Apr 19, 2007 3:07 pm

Or look at Tag Lists on the extras downloads page of this website. There is an updated tag list file for HTML named HTML Tags and Entities - 03/23/2007.

This tag list file contains both, a group with HTML tags in upper and a group with HTML tags in lower case and some other HTML related tag list groups.

On the download page is also a link to a README.TXT which describes how to modify the tag list file.
User avatar
Mofi
Grand Master
Grand Master
 
Posts: 4042
Joined: Thu Jul 29, 2004 11:00 pm
Location: Vienna


Return to Configuration/INI Settings