EDITOR.LST 1.8 KB

12345678910111213141516171819202122232425262728293031323334353637383940414243444546474849505152535455565758596061
  1. Listing:
  2. 1 DEFINITION MODULE Editor;
  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/defs/editor.dev 1.4 30 Dec 1990 18:00:06 coleb $
  13. 12 *
  14. 13 *)
  15. 14
  16. 15
  17. 16 IMPORT GenLists;
  18. 17 IMPORT KbdInput;
  19. 18 IMPORT MsColors;
  20. 19 IMPORT ScrnTypes;
  21. 20 IMPORT VEditor;
  22. 21
  23. 22 VAR
  24. 23 overwriting, DoCounting : BOOLEAN;
  25. 24 MaxLines, EdLastKey, EntryBox, ExitBox,
  26. 25 CountRow : CARDINAL;
  27. 26
  28. 27 EntryForeColor, EntryBackColor, ExitForeColor,
  29. 28 ExitBackColor, EntryForeBox, EntryBackBox,
  30. 29 ExitForeBox, ExitBackBox, EdPromptFore,
  31. 30 EdPromptBack: MsColors.AColor;
  32. ***** ^ not supported yet
  33. 31
  34. 32 EntryAttrib, ExitAttrib, EdPromptAttrib:
  35. 33 MsColors.AMonoAttribute;
  36. ***** ^ not supported yet
  37. 34
  38. 35 PROCEDURE ScrnEdit(Col1, Row1, Col2, Row2 :
  39. 36 CARDINAL; VAR TheList : GenLists.GenList;
  40. ***** ^ not supported yet
  41. 37 VAR TextRow1, CursorCol, CursorRow:
  42. 38 CARDINAL; VAR ChangeMade: BOOLEAN; ReadOnly:
  43. 39 BOOLEAN; VAR FrameRec:
  44. 40 ScrnTypes.DisplayFrame): INTEGER;
  45. ***** ^ not supported yet
  46. 41
  47. 42 PROCEDURE DefaultEditor( VAR TheList:
  48. 43 GenLists.GenList; VAR Rec:
  49. ***** ^ not supported yet
  50. 44 VEditor.AnEdControlRec);
  51. ***** ^ not supported yet
  52. 45
  53. 46 PROCEDURE Init();
  54. 47
  55. 48 END Editor.
  56. ***** ^ not supported yet
  57. 7 errors