home *** CD-ROM | disk | FTP | other *** search
/ Otherware / Otherware_1_SB_Development.iso / amiga / misc / textra.lzh / textra / docs / Textra.doc < prev    next >
Text File  |  1991-10-23  |  31KB  |  705 lines

  1.  
  2.    This document describes TEXTRA, a very user-friendly text editor.  So
  3. user-friendly, I hope, that you could use it without reading a manual.
  4. Good learning philosophy: play with it.  One of the easiest, that's
  5. the goal.
  6.  
  7.    TEXTRA is freely distributable.  However, please insure that the
  8. 'doc' files & rexx scripts accompany the executable if passed around.
  9.  
  10.    If you are using TEXTRA to read this file, just point the mouse
  11. at the arrow in the lower-right corner, and hold the left mouse button
  12. down.  You'll know when to let up.
  13.  
  14.    TEXTRA was written in JForth Professional, which I recommend highly.
  15. As far as I know, TEXTRA is enforcer-clean under WB 2.04.
  16.  
  17.                                             Thanx,  Mike Haas
  18.  
  19.  
  20. 26-Apr-89 v1.01 executable size 60148
  21. 29-May-89 v1.02   "    "    "   60864
  22. 22-Jul-89 v1.03   "    "    "   61080
  23. 21-Oct-89 v1.04   "    "    "   65208
  24. 05-Jan-90 v1.05   "    "    "   69836
  25. 18-Feb-90 v1.06   "    "    "   69400
  26. 18-Apr-90 v1.07   "    "    "   70520
  27. 06-Jun-90 v1.08   "    "    "   71544
  28. 15-Dec-90 v1.09   "    "    "   79404
  29. 26-Aug-91 v1.10   "    "    "   98976 ARexx, horiz scroll bar, help kbd
  30. 23-Oct-91 v1.11   "    "    "  100500 WB2.0 graphics, fix GET CURSOR CHAR
  31.  
  32. (see the 'WhatsNew.doc' file for better history/features information)
  33. ---------------------------------------------------------------------------
  34.  
  35.  
  36.  
  37.               T A B L E     O F     C O N T E N T S
  38.              ---------------------------------------
  39.  
  40. 1.  INVOKING TEXTRA
  41.     1.1  General
  42.     1.2  Invoking from Workbench
  43.     1.3  Invoking from CLI or SHELL
  44.     1.4  TEXTRA as the Default Tool for "Project"-type icons
  45.     1.5  Launching more than once.
  46.  
  47. 2.  THE TEXTRA CURSOR
  48.     2.1  Cursor appearance
  49.     2.2  Positioning the cursor with the keyboard arrow keys
  50.     2.3  Positioning the cursor with the mouse
  51.     2.4  Quickly finding the cursor (function key F3)
  52.  
  53. 3.  ENTERING TEXT INTO THE DOCUMENT
  54.     3.1  Inserting text at the cursor location
  55.     3.2  The RETURN key
  56.          3.2.1  The "Auto-Indent" mode
  57.     3.3  The BACKSPACE key
  58.          3.3.1  The "Auto-BackSpace" mode
  59.     3.4  The DEL key
  60.     3.5  The TAB key
  61.          3.5.1 Settable TAB Width
  62.     3.6  The control-key filter and defeat feature (Function key F2)
  63.     3.7  The HELP key
  64.  
  65. 4.  SELECTING A RANGE OF TEXT
  66.     4.1  Using the mouse to select a range of characters
  67.     4.2  Selecting text by double and triple clicking
  68.     4.3  Operations on selected ranges
  69.     4.4  Selecting more than the visible screen
  70.     4.5  Quickly finding the selected range (function key F3)
  71.     4.6  Extending a select range by SHIFT-clicking
  72.  
  73. 5.  VIEWING PAGES
  74.     5.1  The vertical scroll arrow gadgets
  75.     5.2  The vertical scroll thumb gadget
  76.     5.3  Scrolling the page with the keyboard arrow keys
  77.     5.4  Keys that PAGE-up or PAGE-down
  78.     5.5  The horizontal scroll gadget
  79.  
  80. 6.  TEXTRA WINDOWS
  81.     6.1  Limitations
  82.     6.2  The title bar
  83.     6.3  The close gadget
  84.     6.4  The sizing gadget
  85.     6.5  The Window-Size-Toggle feature (Function key F1)
  86.     6.6  The 'Present Next Window' feature (Function key F6)
  87.  
  88. 7.  THE TEXTRA AREXX PORT  ("TREXXTRA" -- hoo boy!)
  89.     7.1  General AREXX Information
  90.     7.2  Executing TEXTRA/AREXX Scripts or Commands
  91.     7.3  Writing Your Own TEXTRA/AREXX scripts
  92.  
  93. 8.  TEXTRA MENUS
  94.     8.1  Accessing the menus
  95.     8.2  The "Project" menu
  96.          8.2.1  Open A File...
  97.          8.2.2  Open By Name...
  98.          8.2.3  New File
  99.          8.2.4  Revert To Saved
  100.          8.2.5  Save File
  101.          8.2.6  Save File As...
  102.          8.2.7  Save All Files
  103.          8.2.8  Close File
  104.          8.2.9  About TEXTRA...
  105.          8.2.8  Close File
  106.          8.2.9  Print File
  107.          8.2.10 Printing Preferences...
  108.          8.2.11 About TEXTRA...
  109.          8.2.12 Quit
  110.     8.3  The "Windows" menu
  111.          8.3.1  Dynamically-changing items
  112.          8.3.2  Additional information
  113.     8.4  The "Edit" menu
  114.          8.4.1  Cut
  115.          8.4.2  Copy
  116.          8.4.3  Paste
  117.          8.4.4  Find
  118.                 8.4.4.1  String...
  119.                          8.4.4.1.1 Wrap-around search option
  120.                 8.4.4.2  Next Occurence
  121.          8.4.5  Replace
  122.                 8.4.5.1  String...
  123.                 8.4.5.2  Next Occurence
  124.          8.4.6  Case
  125.                 8.4.6.1  lower
  126.                 8.4.6.2  UPPER
  127.                 8.4.6.3  Capitalize
  128.          8.4.7  Go to Line...
  129.          8.4.8  Editing Preferences...
  130.     8.5  The "Utilities" menu
  131.          8.5.1  File Protections...
  132.          8.5.2  Help on Keyboard...
  133.          8.5.3  AREXX...
  134.          
  135. 9.  TEXTRA GENERAL INFORMATION
  136.     9.1  TEXTRA's use of Path and File names
  137.     9.2  String Gadget Shortcuts
  138.     9.3  TEXTRA String Gadgets and the RETURN key
  139.     9.4  TEXTRA Requesters
  140.     9.5  TEXTRA Preferences File
  141.     9.6  Converting CR,LF sequences to Amiga End-Of-Lines.
  142.     9.7  Operation under Workbench 2.0 & earlier (v1.11)
  143.     9.8  TEXTRA Keyboard Summary
  144.  
  145. ---------------------------------------------------------------------------
  146.  
  147.  
  148. 1. INVOKING TEXTRA
  149.  
  150. 1.1 TEXTRA may be launched in all of the various ways the Amiga
  151. permits.
  152.  
  153. 1.2 TEXTA may double-clicked from Workbench (probably the most
  154. common means of starting it).  Workbench Extended-Selection mode
  155. is implemented to provide opening a specific set of document icons.
  156. For information about this mode, refer to your Workbench manual.
  157.  
  158. 1.3 "TEXTRA" may be typed into the CLI or SHELL, with as many
  159. optional filenames as the AmigaDOS command line will allow.
  160. For example...
  161.  
  162.     1> RUN TEXTRA <filename1> <filename2> ... <filenameX>
  163.  
  164. 1.4 A "Project" icon that has TEXTRA specified in its "Default Tool"
  165. field will invoke TEXTRA, when double-clicked, and be opened in its
  166. own window.
  167.  
  168. 1.5 TEXTRA will not launch twice.  If a newly-launched TEXTRA finds
  169. another TEXTRA already running, it will present a notification requester
  170. then exit.  (This will probably be changed in future versions to do
  171. much smarter things, like pass the names of any files to the running
  172. program before exiting).
  173.  
  174. ---------------------------------------------------------------------------
  175.  
  176.  
  177. 2. THE TEXTRA CURSOR
  178.  
  179. 2.1 The current cursor location (where text will be inserted) is
  180. represented by a thin line, of a different color than either text
  181. or background.  The cursor marks the place where newly-typed
  182. characters will be inserted, characters following will 'shift right'.
  183.  
  184. 2.2 The cursor may be moved with the "arrow" keys on the keyboard; a
  185. SHIFT-left-arrow or SHIFT-right-arrow will move the cursor to the
  186. beginning or end of the current line, respectively.
  187.  
  188. 2.3 The cursor may also be positioned by clicking the LEFT MOUSE
  189. BUTTON, while the mouse cursor is over a part of the windows text area.
  190.  
  191. 2.4 The display will move to display the cursor when the F3 key
  192. is pressed (unless visible already).
  193.  
  194. ---------------------------------------------------------------------------
  195.  
  196.  
  197. 3. ENTERING TEXT INTO THE DOCUMENT
  198.  
  199. 3.1 As keys are typed at the keyboard, they are entered in the file
  200. at the current cursor location, and the cursor is advanced by one.
  201.  
  202. 3.2 The RETURN key inserts a new line, and moves the cursor there.
  203.  
  204. 3.2.1 If the Auto-Indent mode is enabled (see section 8.4.8), the
  205. cursor will align with the line above when the RETURN key is pressed.
  206.  
  207. 3.3 The BACKSPACE deletes the character to the immediate left of the
  208. cursor and backs the cursor up one column.  If the cursor is at the
  209. leftmost column, the preceeding newline is removed and the cursor
  210. moves up one line.
  211.  
  212. 3.3.1 The Auto-BackSpace mode (section 8.4.8), if enabled, comes into
  213. play when the cursor rests on the 1st non-blank character of a line.
  214. Then, the line is "backed-up" by whatever it takes to line up with
  215. the beginning of the text on the line above.  If the previous line
  216. does not start to the left of the cursor line, the alignment is made
  217. to the next line above that does.
  218.  
  219. 3.4 The DELETE key removes the character to the immediate right of the
  220. cursor.  If the cursor is at the end of a line, the newline is removed
  221. and the next line moves up to merge with the current.
  222.  
  223. 3.5 The TAB key advances the cursor to the next column that is an
  224. even multiple of the TAB width value (section 3.5.1).
  225.  
  226. 3.5.1 Settable TAB WIDTH (section 8.4.8) provides a way of changing
  227. the default TAB width (4).  A string requester is presented, with
  228. the currently installed size.  Maximum width accepted is 16.  The
  229. setting applies to all windows.
  230.  
  231. 3.6 Normally, TEXTRA will not allow control characters into the
  232. window, permitting only visible or white-space characters.  This
  233. feature can be temporarily defeated, for 1 character, by pressing F2.
  234. Following F2, the next character will be accepted into the window
  235. unfiltered.
  236.  
  237. 3.7 The HELP key will display an informational requestor, displaying
  238. information about the functions that are available from the keyboard.
  239.  
  240. ---------------------------------------------------------------------------
  241.  
  242.  
  243. 4. SELECTING A RANGE OF TEXT
  244.  
  245. 4.1 It is possible to mark a series of characters for the next
  246. operation by "dragging" with the mouse.  The sequence is:
  247.  
  248.   a. Position the mouse over the 1st character of the desired series.
  249.   b. Press the left mouse button and, while holding it down, move the
  250.      mouse to the last character of the series (even if it is on another
  251.      line).  Note that the characters between that clicked-on and wherever
  252.      you move the mouse become "highlighted" (selected).
  253.   c. Release the left mouse button when the desired range of characters
  254.      is selected.
  255.  
  256. 4.2 Any series of non-white characters will become selected if the
  257. LEFT MOUSE BUTTON is double-clicked while the mouse cursor is
  258. positioned over them.  If the LEFT MOUSE BUTTON is triple-clicked,
  259. the entire line that the cursor is pointing to is selected.
  260.  
  261. 4.3 When a range of text is selected, a subsequent operation will
  262. affect the entire selected area.  For example, if a key is typed while
  263. a range is selected, the range will be cut from the file, replaced by
  264. that key.  Other examples are the BACKSPACE and DEL keys, which both
  265. act to simply delete any selected area.  Certain items under the EDIT
  266. menu, described later, also operate on any current range.
  267.  
  268. 4.4 If, while selecting text, the mouse is moved near the bottom or top
  269. of the window, available text in the appropriate direction will scroll
  270. into view, becoming selected in the process.  Therefore, a select range
  271. can extend past the visible limits of the window.
  272.  
  273. 4.5 The display will move to the beginning of any currently-selected
  274. range when the F3 key is pressed.
  275.  
  276. 4.6 A select range may be established or size changed by holding
  277. down the SHIFT key when clicking in the window.  If the click occurs
  278. outside the current select range, the range is extended to there.
  279. If inside, the end-point of the select range is adjusted to the
  280. click-point.
  281.  
  282. ---------------------------------------------------------------------------
  283.  
  284.  
  285. 5. VIEWING PAGES
  286.  
  287. 5.1 The easiest method for moving through the file is to use the vertical
  288. scroll bar on the right side of the window.  Single clicks of the left
  289. mouse button on the arrows at either end move the document vertically
  290. in continuous scroll fashion.
  291.  
  292. 5.2 The "thumb" in the middle of the scroll bar not only indicates the
  293. visible-page-area relative to the total-file-size (by it's height),
  294. but also the position within the file (by its vertical positioning).
  295. It can also be "selected" with the left mouse button and moved as
  296. a "coarse adjust".  The area immediately above and below the "thumb"
  297. may be clicked with the left button as a "page-scroll" mechanism.
  298.  
  299. 5.3 Another method by which text may be scrolled into view is to move
  300. the cursor, via the keyboard "arrow" keys, to either the top or bottom
  301. of the visible window.  Attempts to move the cursor "off the window"
  302. will cause text in that direction to scroll.
  303.  
  304. 5.4 Function keys F4 and F5 will PAGE the display down and up,
  305. respectively.  The Shift-UP/DOWN-arrow-key combinations will also PAGE
  306. the display in the appropriate direction AND position the cursor
  307. to the middle of the new page.
  308.  
  309. 5.5 The horizontal scroll gadget works similarly to the vertical
  310. scroll gadget.  It becomes functional when a line is being displayed
  311. that exceeds the current width of the window.  Note that the display
  312. will auto-scroll when typing to center the cursor when it traverses
  313. the window edge.
  314.  
  315. ---------------------------------------------------------------------------
  316.  
  317.  
  318. 6. TEXTRA WINDOWS
  319.  
  320. 6.1 TEXTRA allows any number of windows, limited by the amount of
  321. memory in your computer (most limiting is possibly the amount of
  322. available CHIP ram).  Textra lines can be up to 255 characters long,
  323. number of lines limited by your total available memory (entire file
  324. is kept in ram, FAST is grabbed first).
  325.  
  326. 6.2 The title of each TEXTRA window is set to the full-pathname
  327. of the file that was read in (or created).  This is also the name
  328. of the file that will be written during a SAVE operation (unless
  329. the "SAVE AS..." menu option is chosen, section 8.2.6).  If the
  330. file has been modified since last saved, the filename will be
  331. preceeded by a '*'.
  332.  
  333. 6.3 Each window includes a standard Intuition close gadget, which
  334. performs the same action as the "CLOSE FILE" menu option.  See the
  335. discussion on "CLOSE FILE" (section 8.2.8) for more information.
  336.  
  337. 6.4 The "sizing" gadget in the lower-right hand corner of each window
  338. may be used to adjust the dimensions of that window, up to the
  339. full-screen limitations of the Workbench.
  340.  
  341. 6.5 Function key F1 may be used as a "window-size-toggle" between
  342. default size (when F1 was first hit) and full-screen (as per current
  343. screen resolution settings).  This is particularly
  344. useful when Workbench is in 400 line interlace.
  345.  
  346. 6.6 Function key F6 will cycle through and present each file loaded
  347. by the editor.
  348.  
  349. ---------------------------------------------------------------------------
  350.  
  351.  
  352. 7. THE TEXTRA-AREXX PORT
  353.  
  354. 7.1 When TEXTRA starts up, it opens a message port called "TEXTRA".
  355. This port listens for AREXX messages from other programs, and allows
  356. you to control the editor both from other applications or from AREXX
  357. "scripts".  These scripts may contain a mixture of AREXX and TEXTRA
  358. commands; they allow access to many internal TEXTRA editing functions
  359. which may be performed on the 'current' window.
  360.  
  361. 7.2 TEXTRA/AREXX scripts or commands may be executed via the "AREXX..."
  362. menu item (section 8.5.3).
  363.  
  364. 7.3 Please refer to the accompanying file "RexxCommand.doc" for a
  365. description of the TEXTRA/AREXX command set as well as general
  366. information about writing your own scripts.
  367.  
  368. ---------------------------------------------------------------------------
  369.  
  370.  
  371. 8. TEXTRA MENUS
  372.  
  373. 8.1 4 menus are available and present themselves when the RIGHT
  374. MENU BUTTON is depressed and held.  Some menu items may also
  375. be activated by simultaneously pressing the RIGHT AMIGA key
  376. and the one that is specified in the menu item text.  A list of
  377. such menu "key equivalents" presents itself, as part of the HELP
  378. key facility (section 3.7).
  379.  
  380. 8.2 The "Project" Menu
  381.  
  382. 8.2.1 OPEN A FILE... opens a new window with a full file-selector
  383. requester and buttons that allow quick access to the top 6 disk
  384. devices (like DF0:).  The PARENT button changes the current directory
  385. to the level above the one being displayed.  The KEYBOARD button
  386. presents the user with a string requester into which a file or
  387. directory specification may be typed.  The CANCEL button exits the
  388. requester with no other action while the OK button enters the file
  389. or directory selected in the list box (the same as CANCEL if nothing
  390. is selected).  Double-clicking one of the names performs the same
  391. action as the OK button.
  392.  
  393. 8.2.2 OPEN BY NAME... opens a new window, then presents a string
  394. requester for specifying the filename from the keyboard, bypassing
  395. the directory scan for the list of names (which can take time on
  396. large directories, especially on floppy drives).  Note that the
  397. current directory of the requester is that of the spawning window.
  398. If a pathname is typed into this requester, the "OPEN A FILE" selector
  399. requester is opened, presenting a list of the files in that directory.
  400.  
  401. 8.2.3 NEW FILE opens a window without specifying a filename; the
  402. default name "Untitled" is assigned, at the directory level of
  403. the spawning window.
  404.  
  405. 8.2.4 REVERT TO SAVED causes the read-in version of the selected
  406. file to be discarded, replaced by the version that was last-saved
  407. to disk.  A verification requester is presented to make sure this
  408. is not done accidently.
  409.  
  410. 8.2.5 SAVE FILE causes the currently-selected file to be written to
  411. disk, if modified.  If the file has not been changed (no '*' before
  412. the title), this menu item is disabled.
  413.  
  414. 8.2.6 SAVE FILE AS... allows saving the currently selected file under
  415. a different name.  After this operation, the title bar will contain
  416. the new name, and it will have been created on disk.  If the
  417. specified file already exists, the user is warned and given a
  418. chance to abort.  The "USE LIST" button will present a full
  419. file-requester through which an existing file may be selected with
  420. the mouse.  This requester is very similar in operation to the
  421. "OPEN FILE..." requester; all buttons work the same, except the
  422. OK button will overwrite the selected file (as does double-clicking
  423. a filename).
  424.  
  425. 8.2.7 SAVE ALL FILES causes all files that have been modified and not
  426. saved to be written to disk.  If there are no modified files, this
  427. menu item is disabled.
  428.  
  429. 8.2.8 CLOSE FILE will check if the file has been modified but not
  430. saved and warn the user if so.  Note that closing TEXTRA's last window
  431. will cause it to exit; a requester will notify you if you are closing
  432. the last window and give you the chance to abort.
  433.  
  434. 8.2.9 PRINT FILE prints (to the printer.device) the currently selected
  435. window using the current preference settings (section 8.2.10).  While
  436. a print job is in progress, other windows may be edited, but not printed.
  437. Print jobs may be cancelled at any time.
  438.  
  439. 8.2.10 PRINTING PREFERENCES... presents a dialog to allow the user to
  440. specify whether or not to print 1). a one-line page header at the top
  441. of each page noting the date, filename and page number and 2). preceed
  442. each line with its sequential number in the file.  Note that TEXTRA also
  443. observes the system 'Preferences' settings for left & right margin,
  444. characters-per-line, and lines-per-page (use your system 'Preferences'
  445. tool to set these).  The USE button causes the currently displayed
  446. settings to go into effect.  The USE+SAVE button does the USE function,
  447. and also saves the current settings in the Textra Preferences file (sec-
  448. tion 9.5).  The CANCEL button causes any currently displayed settings
  449. (that have been changed), to be discarded.  If the PRINT PREFERENCES
  450. requester is active, this menu item is disabled from other windows.
  451.  
  452. 8.2.11 ABOUT TEXTRA is self-explanatory.
  453.  
  454. 8.2.12 QUIT will exit TEXTRA, closing all files in the process.  All
  455. files that have been modified but not saved will issue a notification
  456. requester, providing the opportunity to save at that time.
  457.  
  458. 8.3 The "Windows" Menu
  459.  
  460. 8.3.1 One item exists in the "WINDOWS" menu for each open file, the
  461. menu item text being the same as the title bar for the associated
  462. window.  Selecting an item makes it the current window, if not
  463. already.
  464.  
  465. 8.3.2 Additionally, the text includes the "*" character before the
  466. filename if the file has been modified since last written to disk.
  467. A checkmark preceeds the item representing the current file.
  468.  
  469. 8.4 The "Edit" Menu
  470.  
  471. 8.4.1 CUT removes the selected range of characters from the 
  472. currently-selected file, but saves them in the TEXTRA clip area
  473. (TEXTRA does not interface with the standard Amiga Clipboard
  474. Device...future versions may do so).  The previous contents of
  475. the TEXTRA clip area are lost.  If there is no select range,
  476. this menu item is disabled.
  477.  
  478. 8.4.2 COPY moves the selected range of characters of the 
  479. currently-selected file to the TEXTRA clip area, but does not
  480. remove them from the file.  The previous contents of the TEXTRA
  481. clip area are lost.  If there is no select range, this menu
  482. item is disabled.
  483.  
  484. 8.4.3 PASTE inserts whatever is in the TEXTRA clip area into the
  485. currently-selected file, at the current cursor location.  If a select
  486. range is active in this file, it is deleted before the insertion takes
  487. place.  There is no effect on the contents of the TEXTRA clip area.
  488. It nothing has been placed into the TEXTRA clip area (via CUT or COPY),
  489. this menu item is disabled.
  490.  
  491. 8.4.4 FIND presents a sub-menu with 2 choices:
  492.  
  493. 8.4.4.1 STRING... presents a requester prompting for the string
  494. to search for, ignoring character case.  The string gadget will, as
  495. a default, contain the previous string searched for (empty if none).
  496. However, if a range of characters is selected that is ALL ON ONE
  497. LINE, it will supercede any previously-searched-for string as the
  498. default for the string gadget.  The search begins just past the
  499. current cursor location or selected range of characters.
  500.  
  501. 8.4.4.1.1 WRAP... On the FIND STRING requester is a checkbox that
  502. allows you to enable "wrap-around" search.  Normally, if the search
  503. string is not found, TEXTRA terminates the search at the end of the
  504. document.  With the "wrap" box checked, the search will continue from
  505. line 1, and end when either the text is found, or the starting line
  506. is reached.  This mode also applies to the "FIND NEXT OCCURENCE" menu
  507. item (section 8.4.4.2).
  508.  
  509. 8.4.4.2 NEXT OCCURENCE conducts another case-insensitive search
  510. for the same text string that had previously been searched for.
  511. If no search had yet been conducted the "STRING..." requester is presented.
  512.  
  513. 8.4.5 REPLACE presents a sub-menu with 2 choices:
  514.  
  515. 8.4.5.1 STRING... presents a double-string-requester, prompting for
  516. 1). the string to conduct a case-insensitive search for, and 2). a
  517. string to replace the first with, when found.  The RETURN key will
  518. toggle the selected string gadget.  The user may optionally 1). replace
  519. all instances of the found string (with the "ALL" button), 2). replace
  520. just the next one found (via the "ONCE" button), or 3). abort (via
  521. "CANCEL").  The search begins just past the current cursor location
  522. or selected range of characters.
  523.  
  524. 8.4.5.2 NEXT OCCURENCE conducts another "REPLACE" operation, using the
  525. same strings that were used last time.  If none exist, the "STRING..."
  526. requester is presented.
  527.  
  528. 8.4.6 CASE presents a sub-menu with 3 choices:
  529.  
  530. 8.4.6.1 LOWER exhibits 2 behaviors depending on whether an area
  531. is selected or not.  If there is, the entire selected area is converted
  532. to lower case.  If not, the next word after the cursor is searched for
  533. and converted to lower case if found. 
  534.  
  535. 8.4.6.2 UPPER exhibits 2 behaviors depending on whether an area
  536. is selected or not.  If there is, the entire selected area is converted
  537. to upper case.  If not, the next word after the cursor is searched for
  538. and converted to upper case if found. 
  539.  
  540. 8.4.6.3 CAPITALIZE exhibits 2 behaviors depending on whether an area
  541. is selected or not.  If there is, each word in the selected area is
  542. located and capitalized.  If not, the next word after the cursor is
  543. located and capitalized. 
  544.  
  545. 8.4.7 GO TO LINE... presents a string requester prompting for the
  546. desired line number, with the initial string gadget contents being
  547. equal to the current cursor line (or the beginning of any selected
  548. range).  First line of file is considered line 1.
  549.  
  550. 8.4.8 EDITING PREFERENCES... presents a requester allowing the selection
  551. of modes and settings, specifically, the "Auto-Indent" mode (section
  552. 3.2.1), the "Auto-BackSpace" mode (section 3.3.1), the TAB WIDTH
  553. (section 3.5.1), and the "Convert CR,LF to LF" mode (section 9.6).
  554.    The USE button causes the currently displayed settings to go into effect.
  555. The USE+SAVE button does the USE function, and also saves the current
  556. settings in the Textra Preferences file (section 9.5).  The CANCEL button
  557. causes any currently displayed settings (that have been changed), to be
  558. discarded.  If the EDITING PREFERENCES requester is active, this menu item
  559. is disabled from other windows.
  560.  
  561. 8.5  The "Utilities" Menu
  562.  
  563. 8.5.1  FILE PROTECTIONS... provides the ability to set the 6 relevant
  564. file protection bits that are stored and processed by AmigaDOS.  These
  565. include Deletable, Executable, Writable, Readable, Archived and Script
  566. (particularly handy when writing AmigaDOS scripts).  The SAVE button
  567. causes the currently displayed settings to become active.  The CANCEL
  568. button is self-explanatory.
  569.  
  570. 8.5.2  HELP ON KEYBOARD... performs the same action as the HELP key
  571. (section 3.7).
  572.  
  573. 8.5.3  AREXX... presents a requester with 4 string gadgets.  Each
  574. will accept either the name of an available TEXTRA-AREXX script such as:
  575.  
  576.     slide 4
  577.  
  578. or a TEXTRA/AREXX command line such as:
  579.  
  580.     @gotoxy 0 0;text "Hi, there!"
  581.  
  582. Note that if a command line is entered (as opposed to a script name),
  583. it must be preceeded by an '@' character.
  584.    Also present on the requester is a button beside each string
  585. gadget.  Clicking it has the same effect as selecting a string gadget and
  586. pressing RETURN...that is, to execute the contents of the string gadget.
  587. The button text describes the F-KEY that will execute the string gadget
  588. contents when the requester is NOT active.
  589.    Two additional buttons are presented, one to SAVE the current strings
  590. for later reloading when TEXTRA is launched.  The other button is to
  591. CANCEL the requester operation.  (The string gadget contents are saved
  592. in "S:TEXTRA.CMDS" which is only as large as the length of the 4 strings
  593. plus 4 EOL characters).
  594.    Note that the AREXX menu item is dimmed if AREXX is not available when
  595. TEXTRA is launched.
  596.    The supplied TEXTRA/AREXX scripts, as well as any you might otherwise
  597. aquire, should be copied to your REXX: directory and should end in
  598. ".textra".
  599.  
  600. ---------------------------------------------------------------------------
  601.  
  602.  
  603. 9. TEXTRA GENERAL INFORMATION
  604.  
  605. 9.1 TEXTRA always fully expands a specified file or directory name
  606. and uses that form to again find the file, if necessary.  For example,
  607. you may have typed in "DF1:MyFile" as the filename, but the window
  608. title will substitute the name of the volume, possibly "MyDisk:MyFile".
  609. This is almost always desirable, because if TEXTRA saved "DF1:", you
  610. might unknowingly save it to the wrong disk, just because you switched
  611. the disk in that drive.  TEXTRA will ask you specifically for the same
  612. name.
  613.    The only situation you should be aware of is WHEN YOU HAVE TWO
  614. DISKS OF THE SAME NAME in your system.  In this case, AmigaDOS can
  615. sometimes choose the wrong disk when TEXTRA passes the full-pathname
  616. to it.
  617.   In the above example, we could save it to the wrong disk if the disk
  618. in DF0: is also named "MyDisk:" (a backup, perhaps???).  This is not
  619. caused by TEXTRA, but can happen anytime in AmigaDOS that you use the
  620. full-pathname to specify a file.
  621.  
  622. 9.2 Intuition provides two String Gadget shortcuts that can be
  623. useful to the TEXTRA user.  TEXTRA string gadgets that provide
  624. a default text string when they appear will revert back to this
  625. string whenever "Right Amiga-Q" is pressed.  The "Right Amiga-X"
  626. combination will clear any displayed string.
  627.  
  628. 9.3 For most string gadgets, the RETURN key will perform the same
  629. action  as the "OK" button.  An example exception is the
  630. "REPLACE" double-string requester, where the RETURN key toggles
  631. between the two string gadgets.
  632.  
  633. 9.4 TEXTRA Requesters are attached to (drawn in) the window that they
  634. have been spawned from.  The advantage is that multiple requesters
  635. are possible...you can select and work in another file even if
  636. the previous window is waiting for you to answer a question.  Every
  637. window can, in fact, have an open requester.
  638.   Note that a TEXTRA window will automatically increase in size
  639. to accomodate a given requester, and will return to it's original
  640. position/size when the requester is closed.
  641.  
  642. 9.5 TEXTRA maintains certain user-settable parameters in the file
  643. "devs:Textra.prefs".  If your system disk is of the floppy variety,
  644. you may therefore be asked to insert this disk if you elect to save it.
  645. Normally, TEXTRA looks for this file only once, at startup.
  646.  
  647. 9.6 Whenever TEXTRA reads in a file (as a result of an OPEN or
  648. REVERT operation, for example), any CR,LF (Carraige Return, Line Feed)
  649. combinations will be automatically converted to the standard Amiga
  650. End-of-Line representation (Line Feed alone) IF the "Convert CR,LF to
  651. CR" item is checked in the "Editing Preferences" (section 8.4.8).
  652.  
  653. 9.7  TEXTRA v1.11 changed it's gadget imagery to be like 
  654. that in Workbench 2.0.  While this color scheme still looks quite 
  655. attractive under the standard Workbench 1.3 and earlier colors, 
  656. 1.3 users often customized them in radically different ways.  For 
  657. example, instead of something of intermediate brightness for the 
  658. background color (color 0...WB 1.3 used pale blue), using black 
  659. causes the shaded-gadget imagery of 2.0 to appear very odd.  For 
  660. this reason, TEXTRA v1.11 will render it's requester and gadget 
  661. imagery, under Workbench 1.3 and earlier, for the most part in 
  662. monochrome (colors 0 and 1).  Boolean gadgets (checkboxes) are 
  663. also rendered differently.
  664.  
  665. 9.8 Keyboard Summary:
  666.  
  667.     F1 - Window Size Toggle (6.4)
  668.     F2 - Keyboard Filter Defeat (3.6)
  669.     F3 - Page to Cursor or Beginning of Select Range (4.5)
  670.     F4 - Display next page (5.4)
  671.     F5 - Display previous page (5.4)
  672.     F6 - Present next file (6.6)
  673.     F7 - AREXX string (8.5.3)
  674.     F8 -   "      "      "
  675.     F9 -   "      "      "
  676.     F10-   "      "      "
  677.  
  678.     Help - Displays Function Key Assignments for F1 - F10 (3.7)
  679.     
  680.     Shift-Left-arrow  - Cursor to beginning of current line (2.2)
  681.     Shift-Right-arrow - Cursor to end of current line (2.2)
  682.     Shift-Up-arrow    - Display previous page, cursor to middle (5.4)
  683.     Shift-Down-arrow  - Display next page, cursor to middle (5.4)
  684.  
  685.     Right-Amiga-O - Open existing file via file requester (8.2.1)
  686.     Right-Amiga-P - Open existing file by typing its name (8.2.2)
  687.     Right-Amiga-[ - Open a new file (8.2.3)
  688.     Right-Amiga-S - Save the current file (8.2.5)
  689.     Right-Amiga-X - Cut selected text, save in clip area (8.4.1)
  690.     Right-Amiga-C - Copy selected text into clip area (8.4.2)
  691.     Right-Amiga-V - Paste clip area into file (8.4.3)
  692.     Right-Amiga-F - Find string in any case (8.4.4.1)
  693.     Right-Amiga-N - Find the next occurance of same string (8.4.4.2)
  694.     Right-Amiga-R - Replace string with another (8.4.5.1)
  695.     Right-Amiga-T - Find & replace same string again (8.4.5.2)
  696.     Right-Amiga-L - Set text or next word to lower case (8.4.6.1)
  697.     Right-Amiga-U - Set text or next word to upper case (8.4.6.2)
  698.     Right-Amiga-K - Capitalize words or next word (8.4.6.3)
  699.     Right-Amiga-G - Go to a specific line (8.4.7)
  700.     
  701.     Requester control...
  702.     
  703.     Right-Amiga-X - Clear text in string requester (9.2)
  704.     Right-Amiga-Q - Restore original string requester text (9.2)
  705.