// // TAB-SET.VDM - Two macros for TAB and table handling. // // Written by: Christian Ziemski Germany // // Last change: 02/23/1998 // // Requires: VEDIT 5.00 or up (not tested with older versions) // // Using: Select {MISC, Load/Execute macro}. // Enter filename "TAB-SET.VDM". Use default register number "100". // // // That will assign the keys ALT-Q with Tab-Set and // Ctrl-Tab with Auto-Tab // // Save the new keyboard layout to VEDIT.KEY if you want. // // (Documentation see below.) // Save_Pos() if(Search("|S",REVERSE+ADVANCE+NOERR)==0){ Begin_Of_Line } #100=Cur_Pos if (Search("|S",NOERR)==0) { End_Of_Line } #101=RF() Reg_Copy_Block(#101,#100,Cur_Pos) Restore_Pos() Help(@#101) Reg_Empty(#101)