home *** CD-ROM | disk | FTP | other *** search
/ Info-Mac 3 / Info_Mac_1994-01.iso / Text Processing / PlainText / PlainText Worksheet next >
Encoding:
Text File  |  1993-12-14  |  5.7 KB  |  136 lines  |  [TEXT/MRPH]

  1. ;----------------------------------------------------------------------------
  2. ;                                 Worksheet
  3. ;
  4. ; Use this window as a scratch pad for keeping notes and as a space for 
  5. ; temporary and intermediate work. Its contents are saved between launches
  6. ; of the PlainText program.
  7. ;
  8. ;----------------------------------------------------------------------------
  9.  
  10.     This is a beta version of PlainText. While all major features work, 
  11. and seem to work well on the machines I have tested them on, there are a 
  12. number of minor features not yet implemented. I’ll mention them as I go 
  13. through the menus and give you a brief introduction to PlainText.
  14.  
  15.     First of all, you should make a copy of this file and save it 
  16. somewhere with a different name. One way of doing this is to select the
  17. “Save a Copy” item from the File Menu. Name the copy “Original PlainText
  18. Worksheet” or some such.
  19.  
  20. File Menu
  21.     This is standard Mac stuff. Everything but “Revert to Saved” is
  22. implemented. PlainText will open any text file and its own binary files.
  23. These latter produce a map window. Printing works passibly well for text,
  24. just tolerably well for map windows and is not worth bothering with for
  25. data entry windows. I know how I want printing to be for each type of
  26. window. It’s just not done yet.
  27.  
  28. Edit Menu
  29.     Everything works except “Show Clipboard” and “Format…,” i.e. you’re
  30. stuck looking at this 9 point monaco font for a while. Realize that most of
  31. the Edit menu functions apply only to text and so are not active when a map
  32. window is front most. Check out the Undo function. It really works like it
  33. should!
  34.  
  35. Find Menu
  36.     This all works. “Find…” and “Replace…” are pretty standard and pretty
  37. intuitive functions for text windows. The search string can be a selection
  38. expression, that is, an expression that contains wildcards. Try a search
  39. using *menu as the selection expression. Choose “Find…” and type “*menu”
  40. (with or without quotes) and click the “Selection Expression” check box. 
  41. Now click the Find button (or hit the return key). See how a lines 
  42. containing “menu” has been found? Command-G repeats the search.
  43.  
  44. If the selection expression is a number, it is interpreted as a line number.
  45. Try 47 as a selection expression.
  46.  
  47.     This line, the 47th in this window, will be selected.
  48.  
  49.     If you hold down the shift key when you choose any of the Find menu 
  50. items, then the search will be in the reverse direction. This is handiest 
  51. when used in conjunction with the keyboard equivalents command-h and 
  52. command-g. 
  53.  
  54. Mark Menu
  55.     Marks are like bookmarks that you can place in a text or map file so
  56. that you can recall previous selections. When you select a mark from the
  57. Mark Menu, the text or survey corresponding to that mark is selected and 
  58. the window scrolls to show it. Marks the window size, current selection, 
  59. and scrollbar position). You can add new marks with the Mark menu item and 
  60. remove them with Unmark. You can alphabetize the order in which marks are 
  61. displayed in the Mark Menu by selecting the Alphabetize menu item. Selecting 
  62. it again restores the original order. Look at the Marks that I have made
  63. for this file by opening the Marks Menu.
  64.  
  65. Window Menu
  66.     Stack and Tile windows work, as does the rest, a catalog of open
  67. windows.
  68.  
  69. Convert Menu
  70.     These functions all work. If you spot bugs in them, be sure to let
  71. me know.
  72.  
  73.     PlainText is a good text editor. Besides being fast and able to handle 
  74. even very large files, it also has some built-in features:
  75.  
  76.     1.    Double-clicking selects a whole word.
  77.     2.    Triple-clicking selects a whole line.
  78.     3.    Double clicking on a bracket or parenthesis (i.e. “[”, “{”, etc.) 
  79.         causes all the text between the bracket or parenthesis and its 
  80.         matching bracket or parenthesis to become selected.
  81.     4.    Cutting, pasting, and undoing are fully implemented.
  82.     5.    The arrow keys work to move the insertion point or selection (hold
  83.         the shift key down) in the expected ways.
  84.     6.    Command-option-uparrow move the insertion point to the top of the
  85.         file. Command-option-downarrow does the opposite. Holding the shift
  86.         key down while doing either of these extends the selection to either
  87.         the top or bottom of the document.
  88.     7.    It is a command-line interpreter in its own right. Simply type a 
  89.         command that PlainText understands and then hit the enter (not
  90.         return) key.
  91.  
  92.         PlainText also performs the following commands executed from any text
  93.         window: ls (same as dir in DOS), cd (change directory), open, target,
  94.         find, line. Open opens the named file and makes it the front window.
  95.         Target is similar except the window is made the target window (second
  96.         from front). “line n” selects selects the nth line of the target
  97.         window (n is a number. “Find exp” searchs the target window for the
  98.         string “exp.” Wildcards can be used with the find and ls commands,
  99.         just as you would expect in DOS.
  100.  
  101.         In summary, hitting the enter key causes the current line or current 
  102.         selection, whichever is smaller, to be interpreted as a command line.
  103.  
  104.         Commands implemented:
  105.  
  106.             cd            Change default directory (folder)
  107.             file        Open a file and make it the target.
  108.             find ss        Find an string
  109.             ls            List a directory's contents.
  110.             ls -l        Give a full listing of a directory's contents.
  111.             line nn        Select line nn in the target window.
  112.             open ff        Open a file
  113.     
  114. Large Files
  115.  
  116.     PlainText must load it's text files entirely into memory. If you get
  117. an out of memory error message when trying to open a very large file, just
  118. increase the partition (in the Finder's Get Info for PlainText) to be 
  119. larger than the file being opened. In System 7, turn on virtual memory
  120. if you have to.
  121.  
  122. Bug Reports
  123.  
  124.     Send comments and complaints to:
  125.  
  126.         Mel Park
  127.         Department of Anatomy and Neurobiology
  128.         University of Tennessee
  129.         855 Monroe Avenue
  130.         Memphis, TN 38163
  131.         (901) 528-5984
  132.         mpark@utmem1.utmem.edu
  133.  
  134. PlainText is free.
  135.  
  136.