map a-u (while ca (if cl (tlate -32) right) wright)
map a-up (first top)
map a-x (rx Append bdelete)
map a-z (undeline)
map a-. (first while !r (firstnb split first join ( **> ) reformat return))
map a-, (wordwrap off first c-tab (RE: ) wright wright remeol last ( by ) join find ( at ) remeol)
map a-= (setparcol -1 title `Left Margin Set To -1')
map a-[ (ifelse l a-0 sa-[)
map a-] (margin \$colno title `Right Margin Set To \$margin')
map a-| (top col 40 while !b (join down))
map a-@ (set CMark \$colno title `Column Marker Set To \$CMark')
map as-c (set Phrase (\$currentline))
map as-w (set Buf (\$CMark))
map as-b (col \$Buf)
map as-nk. (ifelse c>\$CMark (split col \$CMark split down as-c deline up join) (set X \$colno col \$CMark split col \$X split down as-c deline up join))
map as-e (as-w a-@ as-b)
map as-f1 (setenv P (\$fpath) setenv N (\$fname))
map as-nk. (split col (\$CMark) split down as-c deline up join)
map sa-[ (left ifelse x<\$margin (setparcol \$colno title `Left Margin Set To \$colno') (title (Can't Set Left Margin To \$colno. The Right Margin is \$margin.)) right)
map sc-] (firstnb split first join last set x (-\$colno) col \$margin col \$x right right ping 9 insline pong 9 join)
title `DMD is Tradeware.'
menuoff
menuclear
menuadd Project (Clear Window ) (title (Hit RETURN to Clear Window, ESC to Exit) escimm (if m (title `File is Modified. Hit RETURN to Continue, ESC to Exit.' escimm (modified off ping 9 newwindow pong 9 quit)) ping 9 newwindow pong 9 quit)
menuadd Project (Insert File F1) f1
menuadd Project (Replace File F2) f2
menuadd Project (Open New File F3) f3
menuadd Project (New Window F4) f4
menuadd Project (Print File s-F7) s-f7
menuadd Project (Print Preview s-F8) s-f8
menuadd Project (Rename File c-F4) c-f4
menuadd Project (Save File F9) arpsave
menuadd Project (Save & Rename File s-F9) s-f9
menuadd Project (Save & Crunch File a-F9) a-f9
menuadd Project (Save File & Quit F10) f10
menuadd Project (About a-Help) a-help
menuadd Format (Reformat ¶ c-f) c-f
menuadd Format (Reformat Entire Document ) (top while !b (a-f $NextBlank down))
menuadd Format (Indent & Reformat Each ¶ ) (top a-0 while !b (firstnb split col 9 join reformat $NextBlank down))
menuadd Format (Paginate Document ) (rx1 Paginate \$margin)
menuadd Format (Left Justify @ Column 1 A-[) $(A-[)
menuadd Format (Left Justify @ Cursor A-@) $(A-@)
menuadd Format (Right Justify @ Margin A-]) $(A-])
menuadd Format (Justify Full A-j) $(A-j)
menuadd Format (Center A-=) $(A-=)
menuadd Format (Indent N Spaces A-i) $(A-i)
menuadd Format (Align Line with Previous Line A-{) $(A-{)
menuadd Format (Hanging Indent A-}) $(A-})
menuadd Format (Single Space A-1) $(A-1)
menuadd Format (Double Space A-2) $(A-2)
menuadd Format (Margin Release a-0) a-0
menuadd Format (Set Left Margin a-[) a-[
menuadd Format (Set Right Margin a-]) a-]
menuadd Format (No Left Margin a-=) a-=
menuadd Outline (Position Roman Heading A-r) $(A-r)