VEDITOR.LST 7.5 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201
  1. Listing:
  2. 1 IMPLEMENTATION MODULE VEditor;
  3. 2 (*
  4. 3 * REPERTOIRE
  5. 4 * Release 1.6
  6. 5 * By Charles Bradford and Cole Brecheen
  7. 6 * (c) Copyright 1985-1992 PMI
  8. 7 * Green Bay, Wisconsin
  9. 8 * All rights reserved
  10. 9 * (414) 468-6040
  11. 10 *
  12. 11 * $Header: D:/logfiles/mods/veditor.mov 1.5 10 Mar 1991 15:34:18 coleb $
  13. 12 *
  14. 13 *)
  15. 14
  16. 15 IMPORT MsColors;
  17. 16 IMPORT VWindows;
  18. 17
  19. 18 VAR
  20. 19 Initialized : BOOLEAN;
  21. 20
  22. 21 PROCEDURE Init();
  23. 22 BEGIN
  24. 23 IF Initialized THEN
  25. 24 RETURN;
  26. 25 ELSE
  27. 26 Initialized := TRUE;
  28. 27 END;
  29. 28 MsColors.Init();
  30. ***** ^ not supported yet
  31. ***** ^ not supported yet
  32. ***** ^ not supported yet
  33. 29 VWindows.Init();
  34. ***** ^ not supported yet
  35. ***** ^ not supported yet
  36. ***** ^ not supported yet
  37. 30 END Init;
  38. ***** ^ not supported yet
  39. 31
  40. 32
  41. 33 PROCEDURE InitEdRec( VAR Rec: AnEdControlRec );
  42. ***** ^ undeclared identifier
  43. 34 BEGIN
  44. 35 Rec.Col1 := 1;
  45. ***** ^ not supported yet
  46. ***** ^ not supported yet
  47. 36 Rec.Row1 := 1;
  48. ***** ^ not supported yet
  49. ***** ^ not supported yet
  50. 37 Rec.Col2 := VWindows.EndCol( VWindows.CurrentWindow );
  51. ***** ^ not supported yet
  52. ***** ^ not supported yet
  53. ***** ^ not supported yet
  54. ***** ^ not supported yet
  55. ***** ^ not supported yet
  56. ***** ^ not supported yet
  57. 38 Rec.Row2 := VWindows.EndRow( VWindows.CurrentWindow );
  58. ***** ^ not supported yet
  59. ***** ^ not supported yet
  60. ***** ^ not supported yet
  61. ***** ^ not supported yet
  62. ***** ^ not supported yet
  63. ***** ^ not supported yet
  64. 39 Rec.TextRow1 := 1;
  65. ***** ^ not supported yet
  66. ***** ^ not supported yet
  67. 40 Rec.CursorCol := 1;
  68. ***** ^ not supported yet
  69. ***** ^ not supported yet
  70. 41 Rec.CursorRow := 1;
  71. ***** ^ not supported yet
  72. ***** ^ not supported yet
  73. 42 Rec.Wrapping := FALSE;
  74. ***** ^ not supported yet
  75. ***** ^ not supported yet
  76. 43 Rec.ReadOnly := FALSE;
  77. ***** ^ not supported yet
  78. ***** ^ not supported yet
  79. 44 Rec.ChangeMade := FALSE;
  80. ***** ^ not supported yet
  81. ***** ^ not supported yet
  82. 45 Rec.FrameRec := NIL;
  83. ***** ^ not supported yet
  84. ***** ^ not supported yet
  85. 46 Rec.WindowHandle := VWindows.CurrentWindow;
  86. ***** ^ not supported yet
  87. ***** ^ not supported yet
  88. ***** ^ not supported yet
  89. ***** ^ not supported yet
  90. 47 Rec.NextFrame := '';
  91. ***** ^ not supported yet
  92. ***** ^ not supported yet
  93. 48 Rec.MaxLines := 0;
  94. ***** ^ not supported yet
  95. ***** ^ not supported yet
  96. 49 Rec.EdLastKey := 0;
  97. ***** ^ not supported yet
  98. ***** ^ not supported yet
  99. 50 Rec.overwriting := FALSE;
  100. ***** ^ not supported yet
  101. ***** ^ not supported yet
  102. 51 Rec.DoCounting := FALSE;
  103. ***** ^ not supported yet
  104. ***** ^ not supported yet
  105. 52 (* whether or not to use prompts *)
  106. 53 Rec.ExitBox := 1;
  107. ***** ^ not supported yet
  108. ***** ^ not supported yet
  109. 54 Rec.EntryBox := 2;
  110. ***** ^ not supported yet
  111. ***** ^ not supported yet
  112. 55 (* if one of these is 0, no box is drawn around the editor
  113. 56 window; 1 makes it a single-lined box, and 2 makes it
  114. 57 a double-lined box. *)
  115. 58 Rec.CountRow := Rec.Row2 - 1;
  116. ***** ^ not supported yet
  117. ***** ^ not supported yet
  118. ***** ^ not supported yet
  119. ***** ^ not supported yet
  120. 59 (* the screen row to show counts if they are used *)
  121. 60 Rec.EdPromptFore := MsColors.black;
  122. ***** ^ not supported yet
  123. ***** ^ not supported yet
  124. ***** ^ not supported yet
  125. ***** ^ not supported yet
  126. 61 Rec.EdPromptBack := MsColors.cyan;
  127. ***** ^ not supported yet
  128. ***** ^ not supported yet
  129. ***** ^ not supported yet
  130. ***** ^ not supported yet
  131. 62 Rec.EdPromptAttrib := MsColors.ReverseVideo;
  132. ***** ^ not supported yet
  133. ***** ^ not supported yet
  134. ***** ^ not supported yet
  135. ***** ^ not supported yet
  136. 63 Rec.EntryAttrib := MsColors.plain;
  137. ***** ^ not supported yet
  138. ***** ^ not supported yet
  139. ***** ^ not supported yet
  140. ***** ^ not supported yet
  141. 64 Rec.ExitAttrib := MsColors.plain;
  142. ***** ^ not supported yet
  143. ***** ^ not supported yet
  144. ***** ^ not supported yet
  145. ***** ^ not supported yet
  146. 65 Rec.EntryForeColor := MsColors.lightgrey;
  147. ***** ^ not supported yet
  148. ***** ^ not supported yet
  149. ***** ^ not supported yet
  150. ***** ^ not supported yet
  151. 66 Rec.EntryBackColor := MsColors.blue;
  152. ***** ^ not supported yet
  153. ***** ^ not supported yet
  154. ***** ^ not supported yet
  155. ***** ^ not supported yet
  156. 67 Rec.ExitForeColor := MsColors.lightgrey;
  157. ***** ^ not supported yet
  158. ***** ^ not supported yet
  159. ***** ^ not supported yet
  160. ***** ^ not supported yet
  161. 68 Rec.ExitBackColor := MsColors.blue;
  162. ***** ^ not supported yet
  163. ***** ^ not supported yet
  164. ***** ^ not supported yet
  165. ***** ^ not supported yet
  166. 69 Rec.EntryForeBox := MsColors.red;
  167. ***** ^ not supported yet
  168. ***** ^ not supported yet
  169. ***** ^ not supported yet
  170. ***** ^ not supported yet
  171. 70 Rec.EntryBackBox := MsColors.blue;
  172. ***** ^ not supported yet
  173. ***** ^ not supported yet
  174. ***** ^ not supported yet
  175. ***** ^ not supported yet
  176. 71 Rec.ExitForeBox := MsColors.red;
  177. ***** ^ not supported yet
  178. ***** ^ not supported yet
  179. ***** ^ not supported yet
  180. ***** ^ not supported yet
  181. 72 Rec.ExitBackBox := MsColors.blue;
  182. ***** ^ not supported yet
  183. ***** ^ not supported yet
  184. ***** ^ not supported yet
  185. ***** ^ not supported yet
  186. 73 END InitEdRec;
  187. ***** ^ not supported yet
  188. 74
  189. 75
  190. 76 BEGIN
  191. 77 Initialized := FALSE;
  192. 78 Init();
  193. ***** ^ not supported yet
  194. ***** ^ not supported yet
  195. 79 END VEditor.
  196. ***** ^ not supported yet
  197. 116 errors