home *** CD-ROM | disk | FTP | other *** search
/ ARM Club 3 / TheARMClub_PDCD3.iso / hensa / texted / stronged_2 / !StrongED / Defaults / Modes / C < prev    next >
Text File  |  1997-05-13  |  2KB  |  124 lines

  1.  
  2. HelpPath    C,
  3.  
  4. #-------------------------------------------
  5.  
  6. Search
  7.     include1    [_spct] "#include" _spct "<" [_spct] @0 * (@9 ".H" [_spct] ">")
  8.     include2    [_spct] "#include" _spct '"' [_spct] @0 * (@9 ".H" [_spct] '"')
  9.  
  10. End
  11.  
  12. Foldparm1 ("/*{{{","/*}}}",startspace,case)
  13.  
  14. ClickList
  15.     include1    LoadOne ("C:H.<tmp$word>")
  16.     include2    LoadOne ("<tmp$path>.^.H.<tmp$word>")
  17. End
  18.  
  19. #-------------------------------------------
  20.  
  21. ID_FirstChar    A-Za-z_
  22. ID_Middle    A-Za-z_0-9
  23.  
  24. SyntaxOptions
  25.     SingleQuote    Yes
  26.     DoubleQuote    Yes
  27.     QuoteChar    \
  28.     QuoteQuote    No
  29.     SplitString    Yes
  30.     HexPrefix    0x
  31. End
  32.  
  33. SyntaxComment 1
  34.     Type        Multiline
  35.     StartWith    /*
  36.     EndWith        */
  37. End
  38.  
  39. SyntaxWords Group1 case
  40.     do default
  41.     continue
  42.     for while break do return goto
  43.     if else switch default
  44. End
  45.  
  46. SyntaxWords Group2 case
  47.     auto register static extern typedef
  48.     void char short int long float double signed unsigned
  49.     const volatile
  50.     struct union
  51. End
  52.  
  53. SyntaxWords Group3 nocase EndOfLine
  54.     #include #ifdef #ifndef #else #endif
  55.     #pragma #line #error #define #undef
  56. End
  57.  
  58. #----------------------------------------------------------
  59.  
  60. KeyList
  61.     ^⇧[        InsertStr("/*")
  62.     ^⇧]        InsertStr("*/")
  63. #    Return        Clicklist("indent")
  64. End
  65.  
  66. #----------------------------------------------------------
  67.  
  68. Functions
  69.  
  70.     Key    ⇧F2
  71.     Menu    List of functions ⇧F2
  72.     Icon    LoF
  73.     Select    ListOfC (All,Sort)
  74.     Help    HCM_lof
  75.  
  76.     Key     ⇧PgUp
  77.     Icon    up
  78.     Select    GotoPrevC (Text)
  79.     Help    HCM_up
  80.  
  81.     Key     ⇧PgDown
  82.     Icon    down
  83.     Select    GotoNextC (Text)
  84.     Help    HCM_dn
  85.  
  86.     Key    ^H
  87.     Menu    Load H.*
  88.     Icon    save
  89.     Help    HCM_ld
  90.     Select    SetTmp() LoadOne ("<tmp$path>.^.H.<tmp$word>","C:H.<tmp$word>")
  91.  
  92.     Key    F10
  93.     Menu    Save & Compile      F10
  94.     Icon    Run
  95.     Select    SaveDrag ("cc")
  96.     Help    HCM_run
  97.  
  98.     Key    ⇧^F10
  99.     Menu    Save & Make      ⇧^F10
  100.     Icon    brick
  101.     Select    SetTmp() SaveDClick ("<tmp$path>.^.Makefile")
  102.     Help    HCM_mak
  103.  
  104.     Key    ^G 1
  105.     Menu    Goto function definition
  106.     Icon    goto
  107.     Select    Push GotoFoundC (all)
  108.     Help    HCM_go
  109.  
  110.     Key    ^G 2
  111.     ⇧Select    Pop
  112.  
  113. End
  114.  
  115. Shortcuts
  116.     w(    while (\@) {\n\i  \@\n\i}
  117.     f(    for (\@;\@;\@) {\n\i  \@\n\i}
  118.     s(    switch (\@) {\n\i  case\n\i}
  119.     p(    printf("\@");
  120.     #<    #include <\@.h>\n\@
  121.     #"    #include "\@.h"\n\@
  122.     ``-     /*----------------------------------------------------------------------------*/
  123. End
  124.