Key mapping html tags

Key mapping html tags

2
NewbieNewbie
2

    Nov 08, 2006#1

    Is there a way to key map the HTML tags? I'm converting pages of text to HTML. Each line will need a <p> before and a </p> after. A key map 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

    6,683583
    Grand MasterGrand Master
    6,683583

      Nov 08, 2006#2

      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 introduced with UE for Windows v11.00 (and removed in UE v23.00). 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 key 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 Tag List view can be used which can be enabled/disabled via 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.
      Best regards from an UC/UE/UES for Windows user from Austria

      2
      NewbieNewbie
      2

        Nov 08, 2006#3

        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 unnecessary. I'll look into the macros.

        Again, thanks for your post.

        Greg