home *** CD-ROM | disk | FTP | other *** search
/ High Voltage Shareware / high1.zip / high1 / DIR8 / WP4PROG.ZIP / WP4PROG.KEY < prev    next >
Text File  |  1993-04-22  |  7KB  |  164 lines

  1. /*****************************************************************************
  2.              WordPerfect-for-Programmer Key Definitions for
  3.                        The SemWare Editor V1.0
  4.        The Semware Editor Copyright 1991-1993 SemWare Corporation.
  5.                     All Rights Reserved Worldwide.
  6.  
  7.         WordPerfect for Programmers Interface by Mike Hammer 4/93
  8.  
  9.                 General Idea: Keep all the usual WP editing key defs
  10.                 while providing access to the neat TSE programming
  11.                 functions (!) using standard main TSE menu & unused
  12.                 WP function keys. See the .DOC file supplied with this
  13.                 interface for more notes and information.
  14.  
  15. *****************************************************************************/
  16.  
  17.         /* help lines */
  18. <HelpLine>          '{F1}-Help! {F2}-Find {F3}-NextWin {F5}-Files {F7}-Exit {F9}-AddLine {F10}-Save {F11}-Match'
  19. <Alt HelpLine>      '{F1}-UnDel {F2}-Replace {F4}-BlockMark {F5}-HorWin {F6}-FlushRight {F10}-ExecScrapMacro'
  20. <Ctrl HelpLine>     '{F1}-Dos {F2}-SpellChk {F3}-Window->> {F4}-{M}ove/{C}opy {F5}-Text {F10}-RecordKeyMacro'
  21. <Shift HelpLine>    '{F1}-Config {F2}-RepeatFind {F3}-NextFile {F4}-UnMark {F5}-Date {F6}-Ctr {F7}-Prt {F10}-Edit'
  22.  
  23.  
  24.         /* function key assignments */
  25. <F1>                ShowHelp(WPHelp)
  26. <Alt F1>            GlobalUnDelete()
  27. <Ctrl F1>           Shell()
  28. <Shift F1>          ExecMacro('iconfig')
  29.  
  30. <F2>                Find()              // see Ctrl I, Ctrl N, Ctrl P
  31. <Alt F2>            Replace()
  32. <Ctrl F2>           mSpellChk()
  33. <Shift F2>          RepeatFind()        // does work with IncrSearch!!!
  34.  
  35. <F3>                NextWindow()        // ShowHelp() moved to F1 */
  36. <Alt F3>            PrevFile()          // Reveal Codes -- Not Supported -- */
  37. <Shift F3>          NextFile()
  38. <Ctrl F3><c>        CloseWindow()       // this is WP's "Screen" command set */
  39. <Ctrl F3><f>        FullWindow()        // put all window commands in Ctrl-F3 */
  40. <Ctrl F3><g>        GotoWindow()
  41. <Ctrl F3><h>        HWindow()
  42. <Ctrl F3><o>        OneWindow()
  43. <Ctrl F3><r>        ResizeWindow()
  44. <Ctrl F3><v>        VWindow()
  45. <Ctrl F3><z>        ZoomWindow()
  46. <Alt 1>                 GotoWindow(1)       // listed here for clarity
  47. <Alt 2>                 GotoWindow(2)       // even though they don't use
  48. <Alt 3>                 GotoWindow(3)       // Ctrl-F3
  49. <Alt 4>                 GotoWindow(4)
  50. <Alt 5>                 GotoWindow(5)
  51. <Alt 6>                 GotoWindow(6)
  52. <Alt 7>                 GotoWindow(7)
  53. <Alt 8>                 GotoWindow(8)
  54. <Alt 9>                 GotoWindow(9)
  55.  
  56. <F4>                AutoIndentMenu()    // access to indent controls, anyway
  57. <Alt F4>            MarkStream()        // WP-style block mark
  58. <Ctrl F4><m>        MoveBlock()         // std block move
  59. <Ctrl F4><c>        CopyBlock()         // std block copy
  60. <Ctrl F4><d>        DelBlock()          // std delete block
  61. <Ctrl F4><i>        Paste()             // std insert block
  62. <Ctrl F4><l>        Lower()             // low-case block
  63. <Ctrl F4><u>        Upper()             // up-case block
  64. <Shift F4>          UnMarkBlock()       // release marked block
  65.  
  66. <F5>                EditFile()          // like QEdit
  67. <Alt F5>            mQEditGetFile()     /* Marking Options -- Not Supported -- */
  68. <Ctrl F5>           mTextInOut()
  69. <Shift F5>          mFullDate()         // from v1.0 macros
  70.  
  71. <F6>                Paste()             /* Bold -- Not Supported -- */
  72. <Alt F6>            mFlushRight()
  73. <Ctrl F6>           mShift()            /* Align Tab -- Not Supported -- */
  74. <Shift F6>          mCenterLine()
  75.  
  76. <F7>                mQEditExit()        // like QEdit
  77. <Alt F7>            SaveAllAndExit()
  78. <Ctrl F7>           ChangeCurrFilename()
  79. <Shift F7>          PrintMenu()
  80.  
  81. <F8>                   // no std text underline format to substitute
  82. <Alt F8>            Toggle(WordWrap)
  83. <Ctrl F8>           mWrapPara()
  84. <Shift F8>          ReconfigMenu()
  85.  
  86. <F9>                AddLine()
  87. <Alt F9>            DupLine()
  88. <Ctrl F9>           mSwapLines()
  89. <Shift F9>          SplitLine()
  90.  
  91. <F10>               SaveFile()
  92. <Alt F10>           ExecScrapMacro()
  93. <Ctrl F10>          RecordKeyMacro()
  94. <Shift F10>         EditFile()
  95.  
  96.  
  97.         /* can put those other useful programmer's functions in F11 and F12 */
  98. <F11>               mMatch()
  99. <Alt F11>           ShowEntryScreen()
  100. <Ctrl F11>          RestoreCursorLine()
  101. <Shift F11>         mShift()
  102.  
  103. <F12>               mAsciiChart()
  104. <Alt F12>           mListRecentFiles()
  105. <Ctrl F12>          PlaceMark()
  106. <Shift F12>         GotoMark()
  107.  
  108.  
  109.         /* misc other neat programmer's functions */
  110. <Shift ]>           mCloseBrace()               // can't live without!
  111. <Ctrl F>            mListRecentFiles()
  112. <Ctrl W>            mFindWordAtCursor('+')
  113. <Alt W>             mFindWordAtCursor('b')
  114. <Ctrl C>            NamedClipBoardMenu()
  115. <Ctrl I>            mIncrementalSearch()
  116. <Ctrl N>            mRepeatForward()
  117. <Ctrl P>            mRepeatBackward()
  118.  
  119.  
  120.         /* other menus */
  121. <Ctrl U>            UtilMenu()
  122. <Ctrl M>            mMacMenu(0)
  123.  
  124.  
  125.         /* Gen'l Keys */
  126. <CursorRight>       NextChar()
  127. <CursorLeft>        PrevChar()
  128. <CursorUp>          Up()
  129. <CursorDown>        Down()
  130. <Escape>            MainMenu()
  131. <Del>               mDelChar()
  132. <BackSpace>         mBackSpace()
  133. <Home>              WPHome()            // you really get used to WP's Home use!
  134. <PgUp>              BegScreen()
  135. <PgDn>              EndScreen()
  136. <Enter>             mCReturn()
  137. <Alt =>             MainMenu()
  138. <Tab>               TabRight()
  139. <Shift Tab>         TabLeft()
  140. <End>               EndLine()
  141. <Ins>               ToggleInsert()
  142. <Ctrl Del>          WPDelWord()         // Ctrl key gets a workout!!!
  143. <Ctrl BackSpace>    DelRightWord()
  144. <Ctrl Tab>          DelLeftWord()
  145. <Ctrl Ins>          Paste()
  146. <Ctrl Home>         GotoLine()          // goto line # instead of page #
  147. <Ctrl CursorLeft>   WordLeft()
  148. <Ctrl CursorRight>  WordRight()
  149. <Ctrl PgUp>         BegFile()
  150. <Ctrl PgDn>         EndFile()
  151. <Ctrl Y>            DelLine()
  152. <Ctrl End>          DelToEol()
  153. <Ctrl V>            Literal()           // almost WP literal key...
  154.  
  155.  
  156.         /* Mouse support -- same as TSE Std Interface */
  157. <LeftBtn>               mLeftBtn()
  158. <Ctrl LeftBtn>          MouseMarking(_COLUMN_)
  159. <Alt LeftBtn>           MouseMarking(_LINE_)
  160. <Shift LeftBtn>         mTrackMouseCursor()
  161.  
  162. <RightBtn>              ClipBoardMenu()
  163.  
  164.