// HTM-Z.VDM // May 1999 originally by Fritz Heberlein (sla019@ku-eichstaett.de) (HTM.VDM) // 30.06.1999 completely new coded by Christian Ziemski // 15.08.2000 Modif. f. 5.20 DI1 // // Calls a menu of the html shortcuts used in html.vtm (additions marked with an *) // and prompts for one. // // Assign it to a function key in your startup.vdm, section // "File-type specific configuration" by adding something like: // Key_Add("F12","[VISUAL EXIT] CALLF(100,'HTM-Z.VDM')",NOCONFIRM) // // Shortcuts "00" and "TM" call TXT2HTML.VDM and HTMLTABL.VDM (written by Scott Lambert). // // If a block is marked before executing this macro: // - The cursor position is forced to the block begin ! // - The block is inserted into the tag (if approp.) // // // Now easy to modify or expand. See the table below. // // The color code "FC" uses a menu (like Fritz' one) for the colors. // But if you know the correct code you can call it directly by FCb, FCm etc. // // ------------------------------------------------------------------------------------- // // Resources: // // 80 = table of shortcuts and commands // 81 = user input // 82 = command // 83 = temp. for marked block // 84 = menu // // #80 = buffer number // #81 = number for cursor movement // #82 = flag // #83 = input // // Buffer 35 // // --------------------------------------------- if(#82!=13579){ #82=13579 // flag (for faster execution) // // Table of shortcuts. Here you can modify/expand this macro. // // The '$'-sign is used as delimiter for RS()==> '$' must not occur in the text!!!! // // // Shortcut code : command/text // // code: 0 = only insert the text // -n = place the cursor n characters back (and insert the block there) // [+]n = place the cursor n characters after the inserted text // @ = execute the command after the ":" // RS(80,$ Q @ : VM(NOMSG) return TM @ : chain_file(100,'htmltabl.vdm') 00 @ : chain_file(100,'txt2html.vdm') AD -10 :
AH -6 : AL -1 : ALINK="" AN -6 : AP -2 : BA -1 : BACKGROUND="" BD -4 : BF -12 : BG -1 : BGCOLOR="" BL -13 :
BO -7 : BR 0 :
CA 10 : CD -7 : CE -9 :
CI -7 : CM -3 : DA -11 :
DD -5 :
DF -6 : DI -6 : DL -5 :
DT -5 :
EM -5 : FC @ : call(100,"FC") FCb -7 : FCc -7 : FCg -7 : FCm -7 : FCr -7 : FM -7 :
FO -7 : FR -2 : FS -9 : FT -11 : H1 -5 :

H2 -5 :

H3 -5 :

H4 -5 :

H5 -5 :
H6 -5 :
HE -7 : HI -1 : HEIGHT="" HM -7 : HR 0 :
IM -2 : IN -1 : IS -10 : IT -4 : KB -6 : LI -5 :
  • LK -1 : LINK="" LS -10 : ME -7 : NF -11 : NO -7 : OL -5 :
      OP 0 :