Key mapping html tags

This forum is user-to-user based and not regularly monitored by IDM.
Please see the note at the top of this page on how to contact IDM.

Key mapping html tags

Postby fivestar » Wed Nov 08, 2006 6:02 am

Is there a way to keymap the html tags? I'm converting pages of text to html. Each line will need a <p> before and a </p> after. A keymap would be handy. Also the single line select selects the whole line and the very beginning of the next line. If I use it and then hit the <p> button the closing tags end up on the second line.

Can anyone help? Not quite a newbie but I need to be more efficient.

Thanks,

Greg
User avatar
fivestar
Newbie
 
Posts: 2
Joined: Wed Nov 08, 2006 12:00 am

Re: Key mapping html tags

Postby Mofi » Wed Nov 08, 2006 1:44 pm

Depending on your version of UltraEdit there are several methods to help you to convert a text file to a HTML file.

You can use the HTML Toolbar. Search in the Index of the UltraEdit help for these 2 words. If you can't find it, your version of UltraEdit does not have the HTML Toolbar.

You can use templates which first must be defined at Advanced - Display/Modify Templates. Press F1 when the dialog is open for the help about templates. You can use the templates with self-defined hot keys, via the Advanced - Insert Template or Adanced - Individual Templates or via the template list view which can be enabled/disabled at View - Views/Lists - Template List.

For HTML tags also the taglist view can be used which can be enabled/disabled at View - Views/Lists - Tag List.

All three methods above support inserting start and end tag at begin and end of a current selection.

Last and fastest method would be to use a macro to convert text files into HTML files. But this would need some knowledge about macro writing.
User avatar
Mofi
Grand Master
Grand Master
 
Posts: 4055
Joined: Thu Jul 29, 2004 11:00 pm
Location: Vienna

Re: Key mapping html tags

Postby fivestar » Wed Nov 08, 2006 3:07 pm

Thanks Mofi for your thoughtful post.

I've got the latest version of ultraedit and have been using the html toolbar. I'd like to assign a key to the <p></p> which I can't seem to do. The toolbar is good but the repetitive mouse movement from the text to the toolbar seems unneccessary. I'll look into the macros.

Again, thanks for your post.

Greg
User avatar
fivestar
Newbie
 
Posts: 2
Joined: Wed Nov 08, 2006 12:00 am


Return to UltraEdit General Discussion