home *** CD-ROM | disk | FTP | other *** search
/ Liren Large Software Subsidy 7 / 07.iso / c / c034 / 4.ddi / PWB / INI / TOOLS.PR$ / TOOLS.bin
Encoding:
Text File  |  1990-02-26  |  3.6 KB  |  133 lines

  1. ;
  2. ; Predefined and example Programmer's Work Bench Macros
  3. ;
  4. ; assignments
  5. ; Displays the current assignments pseudo-file. (Formerly called "help").
  6. ;
  7. assignments:=arg "?" assign <
  8. assignments:f10
  9. ;
  10. ; rawoutput
  11. ; Switches the current window to the compile log to view the raw compile
  12. ; output.
  13. ;
  14. rawoutput:=arg "<compile>" setfile
  15. rawoutput:alt+F3
  16. ;
  17. ; spell
  18. ; Invokes the Microsoft Word 4.0 spelling checker on the current file. (Only
  19. ; available under DOS).
  20. ;
  21. spell:=arg "spell-am " curfile shell
  22. spell:ctrl+f7
  23. ;
  24. ; undotoggle
  25. ; Toggling undo. Repeatedly executing this macro undoes and redoes the most
  26. ; recent editing change.
  27. ;
  28. undotoggle:=meta undo +> undo
  29. undotoggle:ctrl+bksp
  30. ;
  31. ;
  32. ; build switch examples
  33. ;
  34. ; The following are examples of error strings.  If messages output to the
  35. ; compile window match these strings they will be counted and found by
  36. ; nextmsg (Search.Next Error, etc.).  The compiler and utility messages 
  37. ; will be added by the extensions.  If you do not load the extensions,
  38. ; but want to match these messages in the compile window, add these to 
  39. ; your tools.ini.
  40. ;
  41. ;
  42. ;    pwbrmake
  43. build: message "^pwbrmake: [^U]+U[124]"
  44. ;    bind
  45. build: message "^BIND : [^U]+U[124]"
  46. ;    C
  47. build: message "^\\(\\:p\\)(\\(\\:z\\)) : [^C]+C[124]" file line
  48. build: message "^[^C]+C[124][0-9]+: "
  49. ;    C or FORTRAN
  50. build: message "^[^D]+D[124][0-9]+ : "
  51. ;    FORTRAN
  52. build: message "^\\(\\:p\\)(\\(\\:z\\)) : [^F]+F[124]" file line
  53. build: message "^[^F]+F[1234][0-9]+: "
  54. ;    BASIC
  55. build: message "^\\(\\:p\\)([ \t]*\\(\\:z\\),[ \t]*\\(\\:z\\)) : " file line col
  56. ;    MASM
  57. build: message "^\\(\\:p\\)(\\([0-9]+\\))[ \t]*:[ \t]*[^A]+A[12456]" file line
  58. ;    general
  59. build: message "^fatal error"
  60. ;    generic OS/2 system messages (SYS and NET are already in defaults)
  61. build: message "^[A-Z][A-Z][A-Z]\\:d\\:d\\:d\\:d:\\:b"
  62. ;
  63. ;
  64. ;   Default colors.
  65. ;
  66. ; The following are the color settings that the PWB uses by default.  On
  67. ; some hardware configurations, the PWB may incorrectly identify your
  68. ; monochrome video as color (or vice-versa).  If the PWB screen looks
  69. ; wrong, try using the color set appropriate for your hardware
  70. ;
  71. ; Colors for a Color system
  72. ;
  73. ;    color:        background 07
  74. ;    color:        hilitectrl 07
  75. ;    color:            greyed 78
  76. ;    color:           enabled 70
  77. ;    color:          disabled 78
  78. ;    color:             alert 70
  79. ;    color:         dialogbox 70
  80. ;    color:        pushbutton 70
  81. ;    color:        buttondown 07
  82. ;    color:           listbox 70
  83. ;    color:         scrollbar 70
  84. ;    color:          elevator 07
  85. ;    color:           menubox 70
  86. ;    color:              menu 70
  87. ;    color:          menuselected 07
  88. ;    color:        menuhilite 7f
  89. ;    color:         menuhilitesel 0f
  90. ;    color:         itemhilitesel 0f
  91. ;    color:           dialogaccel 7f
  92. ;    color:        dialogaccelbor 7f
  93. ;    color:            shadow 08
  94. ;    color:              text 17
  95. ;    color:         highlight 1f
  96. ;    color:              info 3f
  97. ;    color:         selection 71
  98. ;    color:            border 07
  99. ;    color:            status 70
  100. ;    color:           scratch 07
  101. ;
  102. ;
  103. ; Colors for a Monochrome system
  104. ;
  105. ;    color:        background 07
  106. ;    color:        hilitectrl 07
  107. ;    color:            greyed 70
  108. ;    color:           enabled 70
  109. ;    color:          disabled 70
  110. ;    color:             alert 70
  111. ;    color:         dialogbox 70
  112. ;    color:        pushbutton 70
  113. ;    color:        buttondown 07
  114. ;    color:           listbox 70
  115. ;    color:         scrollbar 70
  116. ;    color:          elevator 07
  117. ;    color:           menubox 70
  118. ;    color:              menu 70
  119. ;    color:          menuselected 07
  120. ;    color:        menuhilite 7f
  121. ;    color:         menuhilitesel 0f
  122. ;    color:         itemhilitesel 0f
  123. ;    color:           dialogaccel 7f
  124. ;    color:        dialogaccelbor 7f
  125. ;    color:            shadow 07
  126. ;    color:              text 07
  127. ;    color:         highlight 0f
  128. ;    color:              info 70
  129. ;    color:         selection 70
  130. ;    color:            border 07
  131. ;    color:            status 70
  132. ;    color:           scratch 07
  133.