home *** CD-ROM | disk | FTP | other *** search
/ RISC DISC 2 / RISC_DISC_2.iso / pd_share / apps / stronged / !StrongED / BaseMode < prev    next >
Encoding:
Text File  |  1995-05-05  |  6.6 KB  |  357 lines

  1.  
  2. # Description of the "Base" mode
  3. # This is the mode that lies under any other mode. This file should not be
  4. # renamed. If it is, StrongED will get seriously confused and won't start..
  5. # There shouldn't be any errors in it either..
  6.  
  7. PrintHead    <tmp$path>.<tmp$leaf>|i|i<Sys$Date> <Sys$Time>|m
  8. PrintFoot    |m|i---- <tmp$page> ----
  9.  
  10. Search
  11.     _Indent        {" "|"\t"}
  12.     _MarkWord    {AlphaNum|"_"}+ | {Punct}+
  13.     _MoveWord    {A}+
  14.     _DeleteWord    _MoveWord
  15.     _EndSpc        {" "}+ >
  16.     _spct        {" " | "\t"}+
  17.     _Complete    {" "} ((Upper [{Upper}+ | {Lower}+]) | {Lower}+ ["_"]) | {Punct|Digit}+
  18.     _Wrap        ~NL Any @1 {" "} NL ~ NL|"\t"|" "
  19.  
  20.     me        "Guttorm"|("Strong" "ED"|"Help"|"Hlp")
  21.  
  22. End
  23.  
  24. Replace
  25.     _rwrap        @01 " "
  26. End
  27.  
  28. #KeyList LoF
  29. #    Up        LoF_Up
  30. #    Down        LoF_Down
  31. #    ESC        Lof_Close
  32. #    Return        Lof_Select LoF_Close
  33. #    Space        Lof_Select
  34. #End
  35.  
  36. KeyList SearchReplace
  37.     ^A        Select(Advanced)
  38.     ^L        Select(Line)
  39.     ^C        Select(Case)
  40.     ⇧F4        Select(Old)
  41.     ^N        Select(Count)
  42.     ^S        Select(Scope)
  43.     RETURN        Select(GO)
  44.     PgUp        History(older)
  45.     PgDown        History(newer)
  46.     F1        MenuToWindow HelpString("StrongED.advancedsyntax")
  47. End
  48.  
  49. KeyList LoF_dbox
  50.     ^A        Select(Advanced)
  51.     ^L        Select(Line)
  52.     ^C        Select(Case)
  53.     F2        Select(Old)
  54.     ^D        Select(Display)
  55.     ^S        Select(Search)
  56.     Return        Select(GO)
  57.     PgUp        History(older)
  58.     PgDown        History(newer)
  59. End
  60.  
  61. KeyList Interactive
  62.     ^C        Select(Case)
  63.     F4        Select(Old)
  64.     Down        Select(Next)
  65.     Up        Select(Prev)
  66.     PgUp        Select(Old)
  67.     PgDown        Adjust(Old)
  68. End
  69.  
  70. KeyList SaveBox
  71.     Return        Select(Save)
  72.     ^Q        Select(Kill)
  73.     F3        History(older)
  74.     ⇧F3        History(older)
  75.     PgUp        History(older)
  76.     PgDown        History(newer)
  77. End
  78.  
  79. KeyList WhatNext
  80.     Down        Select(Next)
  81.     ^N        Select(Next)
  82.     Return        Select(Replace)
  83.     ^R        Select(Replace)
  84.     ^A        Select(All)
  85.     F8        Select(Undo)
  86.     ^F8        Select(Redo)
  87. End
  88.  
  89. KeyList Print
  90.     ^F        Select(HeaderFooter)
  91.     Return        Select(GO)
  92. End
  93.  
  94. #----------------------------------
  95.  
  96. KeyList CopyCursor
  97.     ESC        CopyCursor_Off
  98.     Copy        CopyFromCC
  99.     ⇧Copy        CopyCursor_Off
  100.     Left        CopyCursor_Left
  101.     Right        CopyCursor_Right
  102.     Up        CopyCursor_Up
  103.     Down        CopyCursor_Down
  104.     ⇧Left        CaretLeft
  105.     ⇧Right        CaretRight
  106.     ⇧Up        CaretUp
  107.     ⇧Down        CaretDown
  108.     Return        CopyCursor_Off NewLine
  109. End
  110.  
  111. KeyList TaskWindow
  112.     ^C        BlockCopy
  113.     F7        BlockCopy
  114. #    ⇧Copy        CopyCursor_On
  115.     Copy        CopyFromCC
  116.     Left        CopyCursor_Left
  117.     Right        CopyCursor_Right
  118.     Up        CopyCursor_Up
  119.     Down        CopyCursor_Down
  120.     PgUp        PageUp
  121.     PgDown        PageDown
  122.     Return        CopyCursor_Off NewLine
  123.     ^Q        KillView
  124.     ^TAB        PassOn
  125.     ⇧F11        PassOn
  126.     ^F11        PassOn
  127.     ^⇧F11        PassOn
  128.     F12        PassOn
  129.     ⇧F12        PassOn
  130.     ^F12        PassOn
  131.     ^⇧F12        PassOn
  132. End
  133.  
  134. KeyList Global
  135.     ^⇧F9        dbox_Chars
  136.     ^F1 1        GotoMark (1)
  137.     ^F2 1        GotoMark (2)
  138.     ^F3 1        GotoMark (3)
  139.     ^F4 1        GotoMark (4)
  140.     ⇧F5 1        GotoBlock_Start
  141.     ⇧F5 2        GotoBlock_End
  142.     ^⇧H        HideAll
  143.     ^L        ListOfWindows
  144.     ^W        Complete(_Complete) ;
  145. #    ^W        WordToBuffer   ; These three are used to copy text to writable fields in dboxes.
  146.     F7        BlockToBuffer  ; They have no meaning if no writable field has caret.
  147.     F8        ClipToBuffer   ;
  148.     F11        CreateText
  149.     ^⇧Tab        SetDir
  150.     ⇧Up        NextWindow
  151.     ⇧Down        PreviousWindow
  152. End
  153.  
  154. KeyList
  155.     ESC        BlockMark_ESC
  156. #    F1        HelpWord
  157.     F2        dbox_ListOfFound
  158.     F3        dbox_SaveText
  159.     F4        dbox_Interactive
  160.     F5        dbox_GotoLine
  161.     F6        BlockMark_Standard
  162. #    F6        BlockMark_Continous
  163.     F7        BlockCopy
  164.     F8        Undo
  165.     F9        Playback
  166.  
  167. #    ⇧F1        HelpStrongED
  168. #    ⇧F3        SaveBlock
  169.     ⇧F4        dbox_Replace
  170. #    ⇧F5        GotoBlock
  171.     ⇧F6        BlockClear
  172.     ⇧F7        BlockMove
  173.     ⇧F8        BlockDelete
  174.     ⇧F9        Learn
  175.  
  176.     ^F5        InsertCtrl
  177.     ^F6        MarkText
  178.     ^F7        LoseCaret
  179.     ^F8        Redo
  180.  
  181.     ^F1 1        SetMark(5) GotoMark (1)
  182.     ^F2 1        SetMark(5) GotoMark (2)
  183.     ^F3 1        SetMark(5) GotoMark (3)
  184.     ^F4 1        SetMark(5) GotoMark (4)
  185.     ^F1 2        GotoMark(5)
  186.     ^F2 2        GotoMark(5)
  187.     ^F3 2        GotoMark(5)
  188.     ^F4 2        GotoMark(5)
  189.  
  190.     ^⇧F1 1        SetMark (1)
  191.     ^⇧F2 1        SetMark (2)
  192.     ^⇧F3 1        SetMark (3)
  193.     ^⇧F4 1        SetMark (4)
  194.  
  195.     ^⇧F1 2        ClearMark (1)
  196.     ^⇧F2 2        ClearMark (2)
  197.     ^⇧F3 2        ClearMark (3)
  198.     ^⇧F4 2        ClearMark (4)
  199.  
  200.     ^A 1        MarkChar
  201.     ^A 2        MarkWord
  202.     ^A 3        MarkLine
  203.     ^A 4        MarkText
  204. #    ^B,^U        UppercaseBlock
  205. #    ^B,^L        LowercaseBlock
  206. #    ^B,^S        SwapcaseBlock
  207.     ^⇧B        ToggleIndent
  208.     ^C        BlockCopy
  209.     ^⇧F11        Debug
  210. #    ^⇧F11        Sort
  211.     ^D,^D        DateAndTime ("%DY.%MN.%YR")
  212.     ^D,^T        DateAndTime ("%24:%MI")
  213.     ^D,^W        DateAndTime ("%WK")
  214.  
  215.     ^F        ListOfWord (Text,Whole,NoLine,NoCase)
  216.     ^⇧F        ListOfWord (All,Whole,NoLine,NoCase)
  217.     ^H        HideView
  218. #    ^I        dbox_FileInfo
  219. #    ^I        CharInfo
  220.     ^J        LowercaseChar
  221.     ^N        FindNext
  222.     ^P        PreviousMessage
  223.  
  224.     ^Q        KillView
  225.     ^R        Pop
  226.     ^⇧R        PopAll
  227.     ^S        SwapcaseChar
  228.     ^T        ViewToTop
  229. #    ^T        Transpose(-2)
  230.     ^U        UppercaseChar
  231.     ^V        BlockMove
  232. #    ^W        MarkWord
  233. #    ^W 2        MarkLine
  234.     ^W,^C        CreateView
  235.     ^W,^V        SplitViewVert
  236.     ^W,^H        SplitViewHor
  237.     ^W,^F        FullView
  238.     ^X        BlockDelete
  239.     ^Z        BlockClear
  240.  
  241.     Tab        Tab
  242.     ⇧Tab        ToggleTabLine
  243.     ^Tab        CycleTabkey
  244.     Copy        DeleteRight
  245.     ⇧Copy        CopyCursor_On
  246.     ^Copy        DeleteLine
  247.     ^⇧Copy 1    MarkToEnd_tl
  248.     ^⇧Copy 2    BlockDelete
  249.     Print        Print
  250.     ⇧Print        dbox_Print
  251.     Delete        DeleteLeft
  252. #    Delete        DeleteRight
  253.     ⇧Delete        DeleteWordRight
  254.     ^Delete        CB_Copy BlockDelete
  255.     Backspace    DeleteLeft
  256.     ⇧Backspace    DeleteWordLeft
  257.     Insert        ToggleInsert
  258.     ^Insert        CB_Copy
  259.     ⇧Insert        CB_Paste
  260.     Home        StartOfText
  261.     Return        NewLine
  262.  
  263.     Left        CaretLeft
  264.     ⇧Left        WordLeft
  265.     ^Left 1        StartOfWLine
  266.     ^Left 2        StartOfTLine
  267.     ^⇧Left 1    MarkToStart_tl
  268.     ^⇧Left 2    BlockDelete
  269.  
  270.     Right        CaretRight
  271.     ⇧Right        WordRight
  272.     ^Right 1    EndOfWLine
  273.     ^Right 2    EndOfTLine
  274.     ^⇧Right 1    MarkToEnd_tl
  275.     ^⇧Right 2    BlockDelete
  276.  
  277.     Up        CaretUp
  278.     ^Up        StartOftext
  279.     ^⇧Up        LineUp
  280.     Down        CaretDown
  281.     ^Down        EndOfText
  282.     ^⇧Down        LineDown
  283.  
  284.     PgUp        PageUp
  285.     PgDown        PageDown
  286.  
  287.     ^⇧Z        CB_Purge
  288.     ^⇧X        CB_Copy  BlockDelete
  289.     ^⇧C        CB_Copy  BlockClear
  290.     ^⇧V        CB_Paste
  291.  
  292. End
  293.  
  294. Functions
  295.  
  296.     Key    ⇧F1
  297.     Icon    help
  298.     Help    Select gives help on StrongED. Adjust looks up word under caret.|MShift-Select gives info on file and Shift-Adjust gives info on char under caret.
  299.     Select    HelpStrongED
  300.  
  301.     Key    F1
  302.     Adjust    HelpWord
  303.  
  304.     Key    ^I
  305.     ⇧Select    dbox_FileInfo
  306.  
  307.     ⇧Adjust    CharInfo
  308.  
  309.     Key    ^L
  310.     Icon    Lot
  311.     Help    Select opens/closes the List of Windows window.
  312.     Select    ListOfWindows
  313.  
  314.     Icon    opton
  315.     Help    Select opens/closes the Global Choices window,|Mand Adjust opens/closes the Mode Choices window.
  316.     Select    dbox_GlobalChoices
  317.  
  318.     Adjust    dbox_ModeChoices
  319.  
  320. #    Key    ^W,^F
  321. #    Select    Fullview
  322.  
  323. #    Menu    Tab to spaces
  324. #    Help    Replaces occurrences of the TAB character with spaces.
  325. #    Select    Untab
  326. #
  327. #    Menu    Spaces to Tab
  328. #    Help    Replaces multiple spaces with TAB characters.|MOnly handles spaces at the start of the line.
  329. #    Select    TabIt
  330.  
  331.     Menu    List me
  332.     Select    ListOfFound (me,Text,Align,NoLine,NoCase)
  333.  
  334.     Menu    Trim lines
  335.     Help    Removes spaces from the end of lines
  336.     Select    Replace (_EndSpc,"",,NoLine)
  337.  
  338.     Menu    Left Adjust
  339.     Help    Removes spaces from the start of each line
  340.     Select    Replace (_spct,"",,Line)
  341.  
  342.     Menu    Wrap
  343.     Help    Join lines together
  344.     Select    Replace (_wrap,_rwrap,,Noline)
  345.  
  346.     Menu    Unwrap
  347.     Help    Split lines
  348.     Select    Unwrap
  349.  
  350. End
  351.  
  352.  
  353. Shortcuts
  354.     $me    Guttorm Vik\n\iMarkesmauet 6B\n\i5016 Bergen\n\iNorway\n\n\iarmstrong@bbb.no
  355.     $test    TEST
  356. End
  357.