home *** CD-ROM | disk | FTP | other *** search
/ System Booster / System Booster.iso / Texteditors / Textra116 / Docs / Textra.doc < prev    next >
Encoding:
Text File  |  1996-09-27  |  50.1 KB  |  1,153 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 the 
  5. goal.
  6.  
  7.    TEXTRA is SHAREWARE.  For $25.00, I will send you a personalized 
  8. executable that does not contain the 60-second startup-delay screens that 
  9. are in the otherwise-identical UN-registered version.
  10.  
  11.    The UN-registered version is freely-distributable.  However, please 
  12. insure that the unaltered 'doc' files & rexx scripts accompany the 
  13. executable if you do pass it around.
  14.  
  15.    If you are using TEXTRA to read this file, just Press F4 to view the 
  16. next page.  F5 to review the previous page.
  17.  
  18.    TEXTRA was written in JForth Professional, which I recommend highly.  As 
  19. far as I know, TEXTRA is enforcer-clean under WB 2.04 and later.
  20.  
  21. 26-Apr-89 v1.01 executable size 60148
  22. 29-May-89 v1.02   "    "    "   60864
  23. 22-Jul-89 v1.03   "    "    "   61080
  24. 21-Oct-89 v1.04   "    "    "   65208
  25. 05-Jan-90 v1.05   "    "    "   69836
  26. 18-Feb-90 v1.06   "    "    "   69400
  27. 18-Apr-90 v1.07   "    "    "   70520
  28. 06-Jun-90 v1.08   "    "    "   71544
  29. 15-Dec-90 v1.09   "    "    "   79404
  30. 26-Aug-91 v1.10   "    "    "   98976 ARexx, horiz scroll bar, help kbd
  31. 23-Oct-91 v1.11   "    "    "  100500 WB2.0 graphics, fix GET CURSOR CHAR
  32. 16-Mar-92 v1.12   "    "    "  111280 Undo, SmartLaunch, 1st shareware
  33. 10-Jan-93 v1.13   "    "    "  129252 Fonts, Multi-Processing, lots more
  34. 29-May-93 v1.14   "    "    "  137260 -- v1.14 Status Line, User-define kybd
  35. 20-Jan-94 v1.15   "    "    "  155088 -- v1.15 Marks, SAS/C interoperability
  36. 04-Jan-95 v1.16   "    "    "  164144 -- v1.16 Columnar Cut/Pst, C= Installer
  37.  
  38.  
  39. (see the 'WhatsNew.doc' file for better history/features information)
  40. ---------------------------------------------------------------------------
  41.  
  42.  
  43.               T A B L E     O F     C O N T E N T S
  44.              ---------------------------------------
  45.  
  46. Suggestions...
  47.  
  48.    o  If using Textra 1.15 or later to read this, pull down the
  49.       "Utilities, Go To Mark..." menu item.  (If disabled,
  50.       you are missing a file called "}Textra.doc").
  51.    
  52.    o  In any version of Textra...
  53.    
  54.       1. Double-click on the section number ( for example, 10.4.8 )
  55.       2. "Find" it by using Right-Amiga-F (press RETURN in the requester)
  56.       3. If necessary, use Right-Amiga-N (Find Next) to locate the next
  57.          occurence of the same text (most likely a cross-reference).
  58.  
  59.  
  60. 1.  INSTALLING TEXTRA
  61.     1.1  The Textra Package
  62.          1.1.1 The Program and Icon
  63.          1.1.2 The ARexx Scripts
  64.          1.1.3 The Documentation
  65.     1.2  The Commodore-compatible Installation Script
  66.     1.3  The Proprietary Installation Program
  67.  
  68. 2.  INVOKING TEXTRA
  69.     2.1  General
  70.     2.2  Invoking from Workbench
  71.     2.3  Invoking from CLI or SHELL
  72.     2.4  TEXTRA as the Default Tool for "Project"-type icons
  73.     2.5  Launching more than once.
  74.     2.6  Automatic gadget imagery selection
  75.  
  76. 3.  THE TEXTRA CURSOR
  77.     3.1  Cursor appearance
  78.     3.2  Positioning the cursor with the mouse
  79.     3.3  Positioning the cursor with the keyboard arrow keys
  80.     3.4  Quickly finding the cursor (function key F3)
  81.  
  82. 4.  ENTERING TEXT INTO THE DOCUMENT
  83.     4.1  Inserting text at the cursor location
  84.     4.2  The RETURN key
  85.          4.2.1  The "Auto-Indent" mode
  86.     4.3  The BACKSPACE key
  87.          4.3.1  The "Auto-BackSpace" mode
  88.     4.4  The DEL key
  89.     4.5  The TAB key
  90.     4.6  The control-key filter and defeat feature (Function key F2)
  91.     4.7  The HELP key
  92.  
  93. 5.  SELECTING A RANGE OF TEXT
  94.     5.1  Using the mouse to select a range of characters
  95.     5.2  Selecting text by double and triple clicking
  96.          5.2.1 Double-Clicking Alphanumeric strings and options
  97.     5.3  Operations on selected ranges
  98.     5.4  Selecting more than the visible screen
  99.     5.5  Extending a select range by SHIFT-clicking
  100.     5.6  Identifying balanced parenthesis or brackets
  101.     5.7  Establishing a COLUMNAR selection for Cut or Copy.
  102.  
  103. 6.  VIEWING PAGES
  104.     6.1  The vertical scroll arrow gadgets
  105.     6.2  The vertical scroll thumb gadget
  106.     6.3  Scrolling the page with the keyboard arrow keys
  107.     6.4  Keys that PAGE-up or PAGE-down
  108.     6.5  The horizontal scroll gadget
  109.  
  110. 7.  TEXTRA WINDOWS
  111.     7.1  Limitations
  112.     7.2  The title bar
  113.          7.2.1 The optional Status Line
  114.     7.3  The close gadget
  115.     7.4  The sizing gadget
  116.     7.5  The Window-Size-Toggle feature (Function key F1)
  117.     7.6  The 'Previous Window' feature (Function key F6)
  118.     7.7  The Window's font
  119.  
  120. 8.  THE TEXTRA AREXX INTERFACE  ("TREXXTRA" -- hoo boy!)
  121.     8.1  General AREXX Information
  122.     8.2  Executing TEXTRA/AREXX Scripts or Commands
  123.     8.3  Running scripts in the background
  124.     8.4  Writing Your Own TEXTRA/AREXX scripts
  125.     8.5  The TEXTRA "Tutorial" ARexx script
  126.     8.6  Aborting TEXTRA-ARexx Scripts
  127.     8.7  User-definable keyboard via the CTRL key
  128.  
  129. 9. THE MARKS FACILITY
  130.     9.1  General Description
  131.     9.2  Accessing the MARKS facility
  132.     9.3  How MARKS info is stored
  133.     9.4  Special "MARK"-ed file considerations
  134.          9.4.1  Copying MARK-ed files
  135.          9.4.2  Maximum MARKed-file name length
  136.  
  137. 10.  TEXTRA MENUS
  138.     10.1  Accessing the menus
  139.     10.2  The "Project" menu
  140.          10.2.1  Open A File...
  141.          10.2.2  Open By Name...
  142.          10.2.3  New File
  143.          10.2.4  Insert File...
  144.          10.2.5  Revert To Saved
  145.          10.2.6  Save File
  146.          10.2.7  Save File As...
  147.          10.2.8  Save All Files
  148.          10.2.9  Close File
  149.          10.2.10 Print File
  150.          10.2.11 Print Selected Lines
  151.          10.2.12 Printing Preferences...
  152.          10.2.13 About TEXTRA...
  153.          10.2.14 Quit
  154.     10.3  The "Windows" menu
  155.          10.3.1  Dynamically-changing items
  156.          10.3.2  Additional information
  157.     10.4  The "Edit" menu
  158.          10.4.1  Undo
  159.          10.4.2  Cut
  160.          10.4.3  Copy
  161.          10.4.4  Paste
  162.                 10.4.4.1  Performing a Columnar Paste
  163.          10.4.5  Find
  164.                 10.4.5.1  String...
  165.                          10.4.5.1.1 Wrap-around search option
  166.                          10.4.5.1.2 Reverse search option
  167.                 10.4.5.2  Next Occurence
  168.          10.4.6  Replace
  169.                 10.4.6.1  String...
  170.                 10.4.6.2  Next Occurence
  171.                 10.4.6.3  Then Find
  172.          10.4.7  Case
  173.                 10.4.7.1  lower
  174.                 10.4.7.2  UPPER
  175.                 10.4.7.3  Capitalize
  176.          10.4.8  Go to Line...
  177.          10.4.9  Editing Preferences...
  178.     10.5  The "Utilities" menu
  179.          10.5.1  File Protections...
  180.          10.5.2  Write-Protect/Enable Window
  181.          10.5.3  Help on Keyboard...
  182.          10.5.4  ARexx...
  183.          10.5.5  Set Window Font...
  184.          10.5.6  Font Preferences...
  185.          10.5.7  Mark Selected Text......
  186.          10.5.8  Go To Mark...
  187.          10.5.9  Delete Mark...
  188.          
  189. 11.  TEXTRA GENERAL INFORMATION
  190.     11.1  TEXTRA's use of Path and File names
  191.     11.2  TEXTRA String Gadget Shortcuts
  192.     11.3  TEXTRA String Gadgets and the RETURN key
  193.     11.4  TEXTRA Requesters
  194.          11.4.1 Use of the Asl library
  195.          11.4.2 The Asl file requesters vs. Native TEXTRA file requesters
  196.     11.5  TEXTRA Preferences File
  197.     11.6  TEXTRA behavior when reading in files
  198.          11.6.1  MSDOS text format compatibility
  199.          11.6.2  Checks file type when reading in a file.
  200.     11.7  Operation under low-memory conditions
  201.     11.8  TEXTRA Keyboard Summary
  202.  
  203. ---------------------------------------------------------------------------
  204.  
  205.  
  206. 1. INSTALLING TEXTRA
  207.  
  208. 1.1 TEXTRA may be run without any installation at all.  The 
  209. installation procedure simply copies the program and a set of support 
  210. files (none required) to your hard disk.
  211.  
  212. 1.1.1 The program and icon file are supplied at the root of the 
  213. installation package.  They may be used to view any and all 
  214. documentation.  All supplied text files default tool fields point to 
  215. this TEXTRA.
  216.  
  217. 1.1.2 The TEXTRA package includes a variety of macro files, executable 
  218. under its powerful ARexx interface.  General page/paragraph-formatting 
  219. macros, useful utilities, and scripts that allow TEXTRA to act as an 
  220. integrated editing environment for JForth Professional, HSPascal and
  221. SAS/C are provided.
  222.  
  223. 1.1.3 The accompanying documentation, of which this is a part of, is 
  224. detailed and complete.  It includes separate files covering Textra as 
  225. editing environment, its ARexx interface and command set, detailed 
  226. version history, and list of known gotchas.
  227.  
  228. 1.2 The package provides a script for the standard Commodore 
  229. installation program with icon that will prompt the user through the 
  230. installation process.  When the installer prompts for a destination 
  231. location for anything, it will create the specified directory, if it 
  232. doesn't already exist.
  233.  
  234. 1.3 If the user does not have the Commodore Installer program, a
  235. proprietary one is provided.  Do the following:
  236.  
  237.     1. Open the 'Scripts' drawer
  238.     2. Drag the 'Install_Textra' icon out of the 'Scripts' drawer,
  239.        placing it at the same level as the 'Textra' program.
  240.     3. Double-Click on the 'Install_Textra' icon and follow the
  241.        instructions.
  242.  
  243. ---------------------------------------------------------------------------
  244.  
  245.  
  246. 2. INVOKING TEXTRA
  247.  
  248. 2.1 TEXTRA may be launched from Workbench, Shell or ARexx.
  249.  
  250. 2.2 When launched from Workbench (probably the most common means of 
  251. starting it), Extended-Selection mode is implemented to provide 
  252. opening a specific set of document icons.  For information about this 
  253. mode, refer to your Workbench manual.
  254.  
  255. 2.3 "TEXTRA" may be typed into the CLI or SHELL, with as many optional 
  256. filenames as the AmigaDOS command line will allow.  For example...
  257.  
  258.     1> RUN TEXTRA <filename1> <filename2> ... <filenameX>
  259.  
  260. 2.4 A "Project" icon that has TEXTRA specified in its "Default Tool"
  261. field will invoke TEXTRA, when double-clicked, and be opened in its
  262. own window.
  263.  
  264. 2.5 Normally, TEXTRA will not launch twice.  If a TEXTRA B is launched 
  265. and finds TEXTRA A already running, B will send to A the names of the 
  266. files that B was passed via the mechanisms described above in sections 
  267. 2.2, 2.3 or 2.4.  TEXTRA B will then exit.  This feature allows users 
  268. to "get that file open" in the whatever means is most convienient.  
  269. (Note that enough memory must be available for TEXTRA B and TEXTRA A 
  270. to momentarily reside in the machine.  Also, ARexx must be running for 
  271. 'Smartlaunch' to work.)
  272.  
  273. 2.5.1  To satisfy the "keep-control-until-finished-editing" 
  274. expectations of some external programs such as mail readers, Textra 
  275. 1.15 introduced both an Rexx command as well as a command-line option.  
  276. If one configures their mail reader to launch Textra in either of the 
  277. 2 following forms...
  278.  
  279.     run Textra -wait <filename>
  280.  
  281. ...or...
  282.  
  283.     rx 'address TEXTRA "OpenFileWait <filename>"'
  284.  
  285. ...Textra will not return control to the calling program until the
  286. window for <filename> is closed.  See RexxCommand.doc for more info
  287. on the OpenFileWait ARexx command.
  288.  
  289. Note that the latter form (the use of the Rexx command) is recommended
  290. as the former actually runs another copy of Textra for as long as the
  291. editong session is active.  Also, note that ARexx is required for either
  292. method.
  293.  
  294. 2.6 At startup, TEXTRA checks the relative average color intensities 
  295. of the active intuition screen and if same as wb 2.0+, (color1 
  296. darkest, color0 medium, color2 brightest), it will use shaded gadgets 
  297. and 2.0-style checkbox imagery (even if under 1.3 and earlier).
  298.  
  299. If the colors are not found suitable for shadowing, TEXTRA will render 
  300. it's requester and gadget imagery primarily in monochrome (colors 0 
  301. and 1).  Boolean gadgets (checkboxes) are also rendered differently.
  302.  
  303. ---------------------------------------------------------------------------
  304.  
  305.  
  306. 3. THE TEXTRA CURSOR
  307.  
  308. 3.1 The current cursor location (where text will be inserted) is
  309. represented by a thin line, of a different color than either text
  310. or background.  The cursor marks the place where newly-typed
  311. characters will be inserted (characters following will 'shift right')
  312. or backspace or forward delections will occur.
  313.  
  314. 3.2 The cursor may be positioned by simply single-clicking the LEFT MOUSE
  315. BUTTON on the text where you want the cursor to be.
  316.  
  317. 3.3 The cursor may also be moved with the "arrow" keys on the keyboard.
  318. A SHIFT-left-arrow or SHIFT-right-arrow will move the cursor to the
  319. beginning or end of the current line, respectively.
  320.  
  321. 3.4 If the cursor or select range is not on the visible part of the
  322. screen, it can be located and displayed via the F3 key.
  323.  
  324. ---------------------------------------------------------------------------
  325.  
  326.  
  327. 4. ENTERING TEXT INTO THE DOCUMENT
  328.  
  329. 4.1 As text keys are typed at the keyboard, they are entered in the file
  330. at the current cursor location, and the cursor is advanced by one.
  331.  
  332. 4.2 The RETURN key inserts a new line, and moves the cursor there.
  333.  
  334. 4.2.1 If the Auto-Indent mode is enabled (see section 10.4.9), the
  335. cursor will align with the line above when the RETURN key is pressed.
  336.  
  337. 4.3 The BACKSPACE deletes the character to the immediate left of the
  338. cursor and backs the cursor up one column.  If the cursor is at the
  339. leftmost column, the line is joined with the previous one.
  340.  
  341. 4.3.1 When the cursor rests on the 1st non-blank character of a line, 
  342. the Auto-BackSpace mode (section 10.4.9) comes into play, if enabled.  
  343. The BACKSPACE key will"back-up" the line text by whatever it takes to 
  344. line up with the beginning of the text on the line above.  If the 
  345. previous line does not start to the left of the cursor position, the 
  346. alignment is made to the next line above that does.
  347.  
  348. 4.4 The DELETE key removes the character to the immediate right of the
  349. cursor.  If the cursor is at the end of a line, the next line is joined with
  350. the cursor line.
  351.  
  352. 4.5 The TAB key advances the cursor to the next column that is an
  353. even multiple of the TAB width value (section 10.4.9).
  354.  
  355. 4.6 Normally, the TEXTRA CTRL key, when used with alphabetic keys (a-z and 
  356. A-Z), is used to execute user-definable ARexx scripts (see section 8.7).  
  357. This feature can be temporarily defeated, for 1 character, by pressing 
  358. F2.  Following F2, the next character will be accepted into the window 
  359. as the appropriate ASCII control-code.
  360.  
  361. 4.7 The HELP key will display an informational requestor, displaying
  362. information about the keyboard-activated functions.  The HELP key
  363. can also be user-defined (see section 8.7).
  364.  
  365. ---------------------------------------------------------------------------
  366.  
  367.  
  368. 5. SELECTING A RANGE OF TEXT
  369.  
  370. 5.1 It is possible to mark a series of characters for the next
  371. operation by "dragging" with the mouse.  Just press and hold the
  372. left mouse button, then drag to the desired selection end-point.
  373.  
  374. 5.2 A series of characters will become selected when the LEFT MOUSE 
  375. BUTTON is double-clicked while the mouse cursor is positioned over 
  376. them.  Based on the setting of the EDITING PREFERENCES (section 
  377. 10.4.9), the series will consist of either contiguous non-white-space 
  378. or aplha-numeric characters.  If the LEFT MOUSE BUTTON is 
  379. triple-clicked, that entire line will become selected.
  380.  
  381. 5.2.1 When the Alpha-Numeric mode is selected, up to 16 non-
  382. alphanumerics may specified in the accompanying string gadget.
  383. For example, if you enter an underscore '_' in this string gadget,
  384. then alpha-numeric double-clicks will select right through that
  385. character as though it were an alpha-numeric.
  386.  
  387. 5.3 When a range of text is selected, a subsequent operation will
  388. affect the entire selected area.  For example, if a key is typed while
  389. a range is selected, that text will be cut from the file, replaced by
  390. that key.  Other examples are the BACKSPACE and DEL keys, which both
  391. act to simply delete any selected area.  Certain items under the EDIT
  392. menu, described later, as well as many of the provided ARexx scripts
  393. also operate on the current selection.
  394.  
  395. 5.4 If, while selecting text, the mouse is moved near the bottom or top
  396. of the window, available text in the appropriate direction will scroll
  397. into view, becoming selected in the process.  Therefore, a select range
  398. can extend past the visible limits of the window.
  399.  
  400. 5.5 A select range may be established or size changed by holding
  401. down the SHIFT key when clicking in the window.  If the click occurs
  402. outside the current select range, the range is extended to there.
  403. If inside, the end-point of the select range is adjusted to the
  404. click-point.
  405.  
  406. 5.6 If you double click on any of these characters... ( ) < > [ ] { } 
  407. Textra will search through the file in the appropriate direction for a 
  408. "balanced match" and it (handles (nested (substrings))).  This is 
  409. great for example, when programming C and you want to see everything 
  410. that the { you're staring at encompasses.  Textra will highlight 
  411. everything forward to the balancing } character.
  412.  
  413. Note that you can also find corresponding double-quote characters 
  414. "like around this", but TEXTRA assumes you are clicking on the LEADING 
  415. double-quote.  (In other words, it will only conduct a forward search 
  416. for a corresponding double-quote).
  417.  
  418. 5.7 Drag-select a columnar range - Hold down the ALT key when you 
  419. first click the LEFT MOUSE BUTTON when beginning to drag-select.  When 
  420. you finish the drag-select (let the mouse button up), the select range 
  421. will change to a "square"  Most usually, you will then Cut or Copy the 
  422. area into the clipboard, in preparation for doing a columnar Paste 
  423. (section 10.4.4.1) in another location or window.  A columnar select, 
  424. however, can also be deleted, replaced, etc...  just like a normal 
  425. select range.
  426.    
  427. NOTE: When drag-selecting a columnar range, the finally-selected 
  428. "square" can extend past the end-of-lines.  If a "copy" of the 
  429. selected text is performed, such "short" lines will be padded with 
  430. blanks in the clipboard data such that all lines are the same length.
  431.    
  432. Caveats...
  433.       
  434. In this initial version, the ALT key and the mouse are the only 
  435. interface to establishing and working with columnar ranges.  In other 
  436. words, there is no ARexx command for "holding down the ALT key", and 
  437. one MUST use the mouse with the ALT key (the Right-Amiga keyboard 
  438. equivalent mechanism traps the ALT key, so keyboard-only columnar 
  439. pastes are not possible).  Because of some of these problems, I'll 
  440. probably change the ALT key to something else in the 
  441. not-too-distant-future.  Feedback is always appreciated.
  442.  
  443. ---------------------------------------------------------------------------
  444.  
  445.  
  446. 6. VIEWING PAGES
  447.  
  448. 6.1 The easiest method for moving through the file is to use the vertical
  449. scroll bar on the right side of the window.  Clicks of the left
  450. mouse button on the arrows at either end move the document vertically
  451. in continuous scroll fashion.
  452.  
  453. 6.2 The "thumb" in the middle of the scroll bar not only indicates the
  454. visible-page-area relative to the total-file-size (by it's height),
  455. but also the position within the file (by its vertical positioning).
  456. It can also be "selected" with the left mouse button and moved as
  457. a "coarse adjust".  The area immediately above and below the "thumb"
  458. may be clicked with the left button as a "page-scroll" mechanism.
  459.  
  460. 6.3 Another method by which text may be scrolled into view is by moving
  461. the cursor...attempts to move the cursor "off the window"
  462. will cause text in that direction to scroll.
  463.  
  464. 6.4 Function keys F4 and F5 will PAGE the display down and up,
  465. respectively.  The Shift-UP/DOWN-arrow-key combinations will also PAGE
  466. the display in the appropriate direction AND position the cursor
  467. to the middle of the new page.
  468.  
  469. 6.5 The horizontal scroll gadget works similarly to the vertical
  470. scroll gadget.  It becomes functional when a line is being displayed
  471. that exceeds the current width of the window.  When typing, the display
  472. will auto-scroll to center the cursor when it reaches a window edge.
  473.  
  474. ---------------------------------------------------------------------------
  475.  
  476.  
  477. 7. TEXTRA WINDOWS
  478.  
  479. 7.1 TEXTRA allows any number of windows, limited by the amount of 
  480. memory in your computer (most limiting is possibly the amount of 
  481. available CHIP ram, at least in early amigas).  Textra lines can be up 
  482. to 255 characters long, number of lines limited by your total 
  483. available memory (entire file is kept in ram, FAST is grabbed first).
  484.  
  485. 7.2 The title of each TEXTRA window is set to the full-pathname
  486. of the file that was read in (or created).  This is also the name
  487. of the file that will be written during a SAVE operation (unless
  488. the "SAVE FILE AS..." menu option is chosen, section 10.2.7).  If the
  489. file has been modified since last saved, the filename will be
  490. preceeded by a '*'.
  491.  
  492. 7.2.1 A Status Line may optionally be presented immediately below the 
  493. title bar.  It displays the current cursor location or select range in 
  494. column, line coordinates (zero-based).
  495.  
  496. 7.3 Each window includes a standard Intuition close gadget, which
  497. performs the same action as the "CLOSE FILE" menu option.  See the
  498. discussion on "CLOSE FILE" (section 10.2.9) for more information.
  499.  
  500. 7.4 The "sizing" gadget in the lower-right hand corner of each window
  501. may be used to adjust the dimensions of that window, up to the
  502. full-screen limitations of the Workbench.
  503.  
  504. 7.5 Function key F1 may be used as a "window-size-toggle" between
  505. default size (when F1 was first hit) and that size specified in the
  506. "Edit Preferences..." requester (10.4.9).  This preference setting
  507. defaults to full-screen.
  508.  
  509. 7.6 Function key F6 will re-select the previously-selected window.
  510. This a handy "toggle between 2 windows" mode, facilitating convienient
  511. evolutions such as successive Cut, Copy & Paste sequences (sections 10.4.2,
  512. 10.4.3 and 10.4.5).
  513.  
  514. 7.7 If the asl.library is available (usually means WB2.0 or later), 
  515. the font in which a window is initially rendered is configurable via 
  516. the "Font Preferences..." requester (10.5.6).  A windows font may be 
  517. changed at any time via the "Set Window Font..." asl requester 
  518. (10.5.5).
  519.  
  520. In WB1.3 and earlier, Textra assumes the system default font, so
  521. use of a utility such as setfont just before opening a window will
  522. allow various font displays.  Without the asl library, changing the
  523. font of an already-opened window is not possible.
  524.  
  525. ---------------------------------------------------------------------------
  526.  
  527.  
  528. 8. THE TEXTRA-AREXX INTERFACE
  529.  
  530. 8.1 When TEXTRA starts up and finds AREXX available, it opens a 
  531. message port called "TEXTRA".  This port listens for AREXX messages 
  532. from other programs, and allows you to control the editor both from 
  533. other applications or from AREXX "scripts", many of which are supplied 
  534. with TEXTRA (they should be copied to your 'rexx:' directory).  These 
  535. scripts may contain a mixture of AREXX and TEXTRA commands; they allow 
  536. access to many internal TEXTRA editing functions which may be 
  537. performed on the 'current' window.
  538.    After opening the "TEXTRA" message port, it searches to see if
  539. a script called "Startup.textra" is available, and if so, executed.
  540. No such script is supplied with the package, the feature is available
  541. soley for user customization.
  542.    The AREXX menu item is dimmed if AREXX is not available when TEXTRA 
  543. is launched.
  544.  
  545. 8.2 TEXTRA/AREXX scripts or commands may be executed via the 
  546. "AREXX..." item in the Utilities menu (section 10.5).
  547.  
  548. The ARexx requester will be presented.  It contains ten string 
  549. gadgets, 8 with an accompanying button describing the function key to 
  550. execute the gadgets contents without having to bring up the requester.  
  551. All string gadgets may be executed by selecting them and pressing 
  552. ENTER.
  553.  
  554. Some string gadgets will assume default strings when initially 
  555. installed.  Gadget contents are executed or saved as separate, 
  556. independant operations and if executed, the ARexx requester will close 
  557. before any ARexx commands are carried out.  The string gadget contents 
  558. are saved in "S:TEXTRA.CMDS" which is only as large as the length of 
  559. the strings plus an EOL character for each.  The CANCEL button allows 
  560. the requester to be closed and reverted to it's original state upon 
  561. opening.
  562.  
  563. Into any string gadget, you can enter the name of a Textra-ARexx 
  564. script that exists in the rexx: directory (followed by any required 
  565. arguments), as in...
  566.  
  567.         slide 8
  568.  
  569. Optionally, you can directly enter ARexx and Textra commands into the 
  570. string gadgets, but they should be preceeded with an '@' character.  
  571. Examples...
  572.  
  573.         @notify "Hello world!"
  574.         @prefs autoindent on
  575.         @options results; get file name; notify result
  576.  
  577. 8.3 Normally, while a script is executing, another window may be made 
  578. frontmost and edited.  (It should be noted that some system global 
  579. resources, such as the cut, copy & paste buffer, are shared between 
  580. the script and the edited window.  While none of the supplied
  581. scripts use the CUT, COPY or PASTE commands, it is worth keeping in
  582. mind if you write your own.)
  583.  
  584. 8.4 Please refer to the accompanying file "RexxCommand.doc" for a
  585. description of the TEXTRA/AREXX command set as well as general
  586. information about writing your own scripts.
  587.  
  588. 8.5 Using section 8.2 as a guide, execute the "Tutorial" ARexx script
  589. for an interactive 'training session' for beginners.  In one of the
  590. ARexx requester string gadgets, simply enter:
  591.  
  592.         tutorial
  593.  
  594. 8.6 While an ARexx script is executing, the 'ARexx...' menu text 
  595. changes to "Cancel ARexx Script".  This feature tries to tell the 
  596. running script that the user wishes it to terminate, but will only 
  597. have an effect if the running script uses the CHECKCANCEL Textra-ARexx 
  598. command.  (All appropriate supplied scripts utilize the CHECKCANCEL 
  599. command).
  600.  
  601. 8.7 By default, CTRL+any alphabetic key will execute an ARexx script 
  602. named after the key.  For example:  CTRL-A will look for and execute a 
  603. script called CTRLA.textra.  CTRL+HELP will try to run 
  604. CTRLhelp.textra.  EVERY ALPHABETIC KEY ON THE KEYBOARD IS THEREFORE 
  605. USER-DEFINABLE.
  606.    No CTRL scripts have been supplied with the package; this feature
  607. is provided soley for user customization.  (Note: the v1.15 release
  608. added some CTRL scripts as part of the SAS/C integration.  See
  609. 'docs/SASC.ReadMe'.)
  610.  
  611. ---------------------------------------------------------------------------
  612.  
  613.  
  614. 9. THE MARKS FACILITY
  615.  
  616. 9.1 The MARKS facility allows you to assign any selected text to a 
  617. logical name of up to 31 chars long.  Any number of assignments can be 
  618. made.  Textra keeps the list for you on disk (more about how it is 
  619. stored below) ... this information is updated each time the file is 
  620. SAVE...'d or SAVE AS...'ed.
  621.  
  622.    IF YOU ADD/DELETE MARKS FROM A FILE, YOU MUST "SAVE..." OR "SAVE 
  623.    AS..." THE FILE FOR THE CHANGES TO BECOME PERMANENT.  TEXTRA will
  624.    prompt if a file is about to be closed with unsaved changes to the
  625.    MARKS list.
  626.  
  627. 9.2 Textra provides 3 menu items to access the MARKS facility (see 
  628. 10.5.7, 10.5.8 and 10.5.9), two of which have keyboard equivalents.  
  629. Also, 3 ARexx commands have been added to mirror the menu interface 
  630. (see docs/RexxCommand.doc).
  631.  
  632. 9.3 Textra saves all of the MARKS information for the associated text 
  633. file in a 'shadow' file in the same directory.
  634.  
  635. This 'distant cousin' will be given the same name as the original text 
  636. file, except that a '}' character will be placed before it.  (This 
  637. arrangement causes the '}file' to appear last in dir listings, etc.).  
  638. For example, if your term paper is called...
  639.  
  640.       term.doc
  641.  
  642. ...Textra will name the shadow file...
  643.  
  644.       }term.doc
  645.  
  646. (There is an initial 8 byte overhead for the file setup, and each mark 
  647. adds 48 bytes, so the minimum shadow file size is 56 bytes.  Shadow 
  648. files tend to be MUCH smaller than their associated text file).
  649.  
  650. 9.4 There are a few special considerations when using MARK-ed files...
  651.  
  652. 9.4.1 Note that if you copy a MARK-ed file to another place, you 
  653. should also copy the }filename file if you wish the marks information 
  654. to be preserved in the new location.
  655.  
  656. 9.4.2 Because Textra will add a character to the filename, marks 
  657. cannot be saved for files if their name is the full 31-character 
  658. AmigaDOS limit in length.  30-character filenames and less will work 
  659. fine.
  660.  
  661. ---------------------------------------------------------------------------
  662.  
  663.  
  664. 10. TEXTRA MENUS
  665.  
  666. 10.1 Four menus are available and present themselves when the RIGHT
  667. MENU BUTTON is depressed and held.  Some menu items may also
  668. be activated by simultaneously pressing the RIGHT AMIGA key
  669. and the one that is specified in the menu item text.  When the HELP
  670. key is pressed (section 4.7), a list of such menu "key equivalents" 
  671. is included.
  672.  
  673. 10.2 The "Project" Menu
  674.  
  675. 10.2.1 OPEN FILE... opens a new window with a full file-selector
  676. requester and buttons that allow quick access to the top 8 disk
  677. devices (like DF0:).  The PARENT button changes the current directory
  678. to the level above the one being displayed.  The KEYBOARD button
  679. presents the user with a string requester into which a file or
  680. directory specification may be typed.  The CANCEL button exits the
  681. requester with no other action while the OK button enters the file
  682. or directory selected in the list box (the same as CANCEL if nothing
  683. is selected).  Double-clicking one of the names performs the same
  684. action as the OK button.
  685.  
  686. 10.2.2 OPEN BY NAME... opens a new window, then presents a string
  687. requester for specifying the filename from the keyboard, bypassing
  688. the directory scan for the list of names (which can take time on
  689. large directories, especially on floppy drives).  The current 
  690. directory of the requester is that of the spawning window.  If a 
  691. pathname is typed into this requester, the "OPEN FILE" selector 
  692. requester is opened, presenting a list of the files in that directory.
  693.  
  694. 10.2.3 OPEN NEW FILE opens a window without specifying a filename; the
  695. default name "Untitled" is assigned, at the directory level of
  696. the spawning window.  (No actual disk file will be written until
  697. the SAVE AS... function is invoked.)
  698.  
  699. 10.2.4 INSERT FILE... presents the TEXTRA file-requester allowing
  700. selection of a file to INSERT at the current cursor location (as
  701. though the entire file were typed in).  Any select range will be
  702. deleted prior to the insertion.
  703.  
  704. 10.2.5 REVERT TO SAVED causes the read-in version of the selected
  705. file to be discarded, replaced by the version that was last-saved
  706. to disk.  A verification requester is presented to make sure this
  707. is not done accidently.
  708.  
  709. 10.2.6 SAVE FILE causes the currently-selected file to be written to
  710. disk, if modified.  If the file has not been changed (no '*' before
  711. the title), this menu item is disabled.
  712.  
  713. Before you SAVE a file over an existing disk file, Textra performs 
  714. a check that the size of the disk file is the same as it was when the 
  715. file was read in by Textra.  If the size is different, the user is 
  716. notified and given the option to CANCEL the SAVE.  Note that this 
  717. behavior does NOT apply to the SAVE AS menu pick (10.2.7), nor 
  718. commands issue from the ARexx interface which overwrite a file on disk 
  719. (for example, SAVEAS "*").
  720.  
  721. 10.2.7 SAVE FILE AS... allows saving the currently selected file under 
  722. a different name.  After this operation, the title bar will contain 
  723. the new name, and it will have been created on disk.  If the specified 
  724. file already exists, the user is warned and given a chance to abort.  
  725. If a directory name is entered (or no name at all), the SAVE AS... 
  726. file requester is presented.  The FILE SAVE AS... requester contains a 
  727. unique feature... in the lower-left corner is a checkbox permitting 
  728. one to elect to save the file in MSDOS text format.
  729.  
  730. 10.2.8 SAVE ALL FILES causes all files that have been modified and not
  731. saved to be written to disk.  If there are no modified files, this
  732. menu item is disabled.
  733.  
  734. 10.2.9 CLOSE FILE will check if the file has been modified but not
  735. saved and warn the user if so.  Note that closing TEXTRA's last window
  736. will cause it to exit; a requester will notify you if you are closing
  737. the last window and give you the chance to abort.  After the window
  738. has closed, TEXTRA will select and front another TEXTRA window if any
  739. remain.  Right-Amiga-W is a keyboard menu-equivalent for the CLOSE
  740. FILE menu item.
  741.  
  742. 10.2.10 PRINT FILE prints (to the printer.device) the currently 
  743. selected window using the current preference settings (section 
  744. 10.2.12).  While a print job is in progress, other windows may be 
  745. edited or have ARexx scripts executed in them, but not printed.  Print 
  746. jobs may be cancelled at any time by using the CANCEL button on the 
  747. "Printing in progress..." requester.  (Any delay experienced is the 
  748. amount of time it takes your printer to respond to the RESET command).  
  749. If the window to be printed is the only one open, TEXTRA will ask if 
  750. you want to open another.
  751.  
  752. 10.2.11 PRINT SELECTED LINES prints any and all lines, in their 
  753. entirity, if any part of it is currently selected.  The current 
  754. preference settings (section 10.2.12) are observed.  The same 'print 
  755. job' behavior described in section 10.2.10 applies.
  756.  
  757. 10.2.12 PRINTING PREFERENCES... presents a dialog to allow the user to
  758. enable/disable the following print job behavior...
  759.  
  760.   1). Print a one-line page header at the top of each page noting the 
  761.       date, filename and page number.
  762.   2). Print sequential line numbers at the beginning of each line.
  763.   3). Skip over perforated page boundries of fanfold paper.
  764.   4). Eject the page (form-feed) after printing an entire file (10.2.10)
  765.   5). Eject the page (form-feed) after printing selected lines (10.2.11)
  766.  
  767. Note that TEXTRA also observes the system 'Preferences' settings.  A 
  768. 'SYSTEM' button is provided at the top of the requester which will 
  769. open your printer preferences tool.  If the System Preferences do not 
  770. come up, make sure they have not been moved from where originally
  771. installed.
  772.  
  773. The USE button causes the currently displayed settings to go into 
  774. effect.  The USE+SAVE button does the USE function, and also saves the 
  775. current settings in the Textra Preferences file (section 11.5).  The 
  776. CANCEL button causes any currently displayed settings that have been 
  777. changed to be discarded.  If the PRINT PREFERENCES requester is 
  778. active, this menu item is disabled from other windows.
  779.  
  780. 10.2.13 ABOUT TEXTRA provides the author's address and describes
  781. distribution information.  Also, if the TEXTRA is registered, the name
  782. and address of the honest person who has earned my thanks and respect
  783. is displayed in this requester.
  784.  
  785. 10.2.14 QUIT will exit TEXTRA, closing all files in the process.  All
  786. files that have been modified but not saved will issue a notification
  787. requester, providing the opportunity to save at that time.  Right-
  788. Amiga-Q is the keyboard menu-equivalent for the QUIT menu item.
  789.  
  790. 10.3 The "Windows" Menu
  791.  
  792. 10.3.1 One item exists in the "WINDOWS" menu for each open file, the
  793. menu item text being the same as the title bar for the associated
  794. window.  Selecting an item makes it the current window, if not
  795. already.
  796.  
  797. 10.3.2 Additionally, the text will include a "*" character before the
  798. filename if the file has been modified since but not saved to disk.
  799. A checkmark preceeds the item representing the current file.
  800.  
  801. 10.4 The "Edit" Menu
  802.  
  803. 10.4.1 UNDO reverts all changes since the cursor was last 
  804. re-positioned.
  805.  
  806. 10.4.2 CUT removes the selected range of characters from the 
  807. currently-selected file, but saves them in the Amiga Clipboard Device 
  808. (unit 0).  The previous contents of the clipboard are lost.  If there 
  809. is no select range, this menu item is disabled.
  810.  
  811. 10.4.3 COPY moves the selected range of characters of the 
  812. currently-selected file to the Amiga Clipboard Device (unit 0), but 
  813. does not remove them from the file.  The previous contents of the 
  814. Amiga Clipboard Device (unit 0) are lost.  If there is no select 
  815. range, this menu item is disabled.
  816.  
  817. 10.4.4 PASTE inserts whatever is in the Amiga Clipboard Device (unit 
  818. 0) into the currently-selected file, at the current cursor location.  
  819. If a select range is active in this file, it is deleted before the 
  820. insertion takes place.  There is no effect on the contents of the 
  821. Amiga Clipboard Device.
  822.  
  823. 10.4.4.1 Perform a Columnar Paste - Hold down the ALT key when you 
  824. pull down the "Edit, Paste" menu item to have Textra execute a paste 
  825. in columnar fashion.  (In other words, Textra will begin the paste at 
  826. the same column on each line.)  Currently, the menu item is the only
  827. interface to the columnar paste function.
  828.       
  829. 10.4.5 FIND presents a sub-menu with 2 choices:
  830.  
  831. 10.4.5.1 STRING... presents a requester prompting for the string to 
  832. search for, ignoring character case.  The string gadget will, as a 
  833. default, contain the previous string searched for (empty if none).  
  834. However, if a range of characters is selected that is ALL ON ONE LINE, 
  835. it will supercede any previously-searched-for string as the default 
  836. for the string gadget.  The search begins just past the current cursor 
  837. location or selected range of characters.
  838.  
  839. 10.4.5.1.1 WRAP... On the FIND STRING requester is a checkbox that
  840. allows you to enable "wrap-around" search.  Normally, if the search
  841. string is not found, TEXTRA terminates the search at the end of the
  842. document.  With the "wrap" box checked, the search will continue from
  843. line 1, and end when either the text is found, or the starting line
  844. is reached.  This mode also applies to the "FIND NEXT OCCURENCE" menu
  845. item (section 10.4.5.2).
  846.  
  847. 10.4.5.1.2 REVERSE... On the FIND STRING requester is a checkbox that
  848. permits Reverse-searching to be enabled.  As long as this checkbox
  849. is senabled, searched will be conducted backwards through the file.
  850.  
  851. 10.4.5.2 NEXT OCCURENCE conducts another case-insensitive search for 
  852. the same text string that had previously been searched for.  If no 
  853. search had yet been conducted the "STRING..." requester is presented.
  854.  
  855. 10.4.6 REPLACE presents a sub-menu with 2 choices:
  856.  
  857. 10.4.6.1 STRING... presents a double-string-requester, prompting for
  858. both the string to conduct a case-insensitive search for and a
  859. string to replace the it with.  The RETURN key will
  860. toggle the selected string gadget.  The user may optionally:
  861.  
  862.   1). replace all instances of the found string (with the "ALL" 
  863.       button)
  864.  
  865.   2). replace just the next one found (via the "ONCE" button)
  866.  
  867.   3). abort (via "CANCEL").
  868.  
  869. The search begins just past the current cursor location
  870. or selected range of characters.
  871.  
  872. 10.4.6.2 NEXT OCCURENCE conducts another "REPLACE" operation, using the
  873. same strings that were used last time.  If none exist, the "STRING..."
  874. requester is presented.
  875.  
  876. 10.4.6.3 THEN FIND allows the user to decide which instances of
  877. the specific text will be REPLACEd, and which will not.  This feature
  878. is usually used thusly:
  879.  
  880.   1). Bring up the REPLACE STRING Requester (via menu or 
  881.       Right-Amiga-R).
  882.   
  883.   2). Enter the appropriate strings in the 2 string gadgets.
  884.   
  885.   3). Click on the SEARCH button.  The first instance of the "Search 
  886.       for:" text will be located and highlighted (text must occur 
  887.       AFTER the cursor in the file, so if you want the entire file 
  888.       checked, put the cursor at the beginning of the document).
  889.   
  890.   4). If you want to REPLACE the highlighted text, press 
  891.       Right-Amiga-Y.  If not, Right-Amiga-N.  (like Yes and No)
  892.   
  893.   5). The editor will respond accordingly and locate the next instance 
  894.       of the text.
  895.  
  896. 10.4.7 CASE presents a sub-menu with 3 choices:
  897.  
  898. 10.4.7.1 LOWER exhibits 2 behaviors depending on whether an area
  899. is selected or not.  If there is, the entire selected area is converted
  900. to lower case.  If not, the next word after the cursor is searched for
  901. and converted to lower case if found. 
  902.  
  903. 10.4.7.2 UPPER exhibits 2 behaviors depending on whether an area
  904. is selected or not.  If there is, the entire selected area is converted
  905. to upper case.  If not, the next word after the cursor is searched for
  906. and converted to upper case if found. 
  907.  
  908. 10.4.7.3 CAPITALIZE exhibits 2 behaviors depending on whether an area
  909. is selected or not.  If there is, each word in the selected area is
  910. located and capitalized.  If not, the next word after the cursor is
  911. located and capitalized. 
  912.  
  913. 10.4.8 GO TO LINE... presents a string requester prompting for the
  914. desired line number, with the initial string gadget contents being
  915. equal to the current cursor line (or the beginning of any selected
  916. range).  First line of file is considered line 1.
  917.  
  918. 10.4.9 EDITING PREFERENCES... presents a requester allowing configuration
  919. of:
  920.  
  921.   1). "Auto-Indent" mode (section 4.2.1)
  922.   
  923.   2). "Auto-BackSpace" mode (section 4.3.1)
  924.   
  925.   3). Display Status Line or not (section 7.2.1)
  926.   
  927.   4). Use Asl file requester or internal (section 11.4)
  928.   
  929.   5). TAB WIDTH value (section 4.5)
  930.   
  931.   6). AlphaNumeric OR Non-Whitespace double-click highlighting
  932.       (section 5.2)
  933.  
  934.   7). Operation of the F1 Window Size Toggle function key.
  935.       (section 7.5).
  936.  
  937. The USE button causes the currently displayed settings to go into effect.
  938. The USE+SAVE button performs the USE function, and also saves the current
  939. settings in the Textra Preferences file (section 11.5).  The CANCEL button
  940. causes any currently displayed settings (that have been changed), to be
  941. discarded.  If the EDITING PREFERENCES requester is active, this menu item
  942. is disabled from other windows.  (Right-Amiga-E is a keyboard equivalent
  943. for this menu item.)
  944.  
  945. 10.5  The "Utilities" Menu
  946.  
  947. 10.5.1  FILE PROTECTIONS... provides the ability to set the 6 relevant
  948. file protection bits that are stored and processed by AmigaDOS.  These
  949. include Deletable, Executable, Writable, Readable, Archived and Script
  950. (particularly handy when writing AmigaDOS scripts).  The SAVE button
  951. causes the currently displayed settings to become active.  The CANCEL
  952. button is self-explanatory.
  953.  
  954. 10.5.2  WRITE-PROTECT/ENABLE WINDOW... This is a dual-purpose 
  955. menu-item; it toggles in text and function each time it is used.  When 
  956. used, it alternately write-protects or write-enables the currently 
  957. selected window.  The normal Textra editing/Arexx mode is considered
  958. write-enabled.  There are two ARexx commands that allow scripts and
  959. external programs to control this state.
  960.  
  961. When a window is write-protected, a '-' character appears in the 
  962. window title bar (much as the '*' character to indicate a changed 
  963. file).  A window which contains changes cannot be write-protected; it 
  964. must be saved first.
  965.       
  966. Note that while write-protected, functions which change window textual 
  967. content are not accessible.  This includes Insert-file, Undo, Cut, 
  968. Paste, Replace, the Case-changing functions, File protections, ARexx 
  969. (the only ARexx command that will work is WRITEENABLE), Mark Selected 
  970. Text and Delete mark.  Similarly, the keyboard cannot be used to 
  971. insert text.  One CAN still select text, copy text from the window, 
  972. print the window, etc.
  973.  
  974. 10.5.3  HELP ON KEYBOARD... performs the same action as the HELP key
  975. (section 4.7).
  976.  
  977. 10.5.4  AREXX... presents a requester affording access to the Textra-
  978. ARexx Interface.  See section 8 for more information.
  979.  
  980. 10.5.5  SET WINDOW FONT... allow the user to change or find the name 
  981. of the currently selected window's font.  This function requires the 
  982. asl.library.  The selection is completely independant of the selected 
  983. font used for Newly-Opened Windows (10.5.6).
  984.  
  985. 10.5.6  FONT PREFERENCES... presents those aspects of the font display 
  986. facility which provide save-able configuration parameters.  This 
  987. version (v1.13) only has one; the selection of which font will be used 
  988. for all subsequent newly- opened windows.  The consistant USE, 
  989. USE+SAVE, CANCEL interface of the other TEXTRA preferences dialog is 
  990. preserved.
  991.  
  992. 10.5.7  MARK SELECTED TEXT... becomes active when anything is 
  993. selected.  Presents a requester prompting for the name under which to 
  994. MARK the text selection under.  The program will prompt for 
  995. verification if a name redefinition is attempted.
  996.  
  997.    IF YOU ADD MARKS TO A FILE, YOU MUST "SAVE..." OR "SAVE 
  998.    AS..." THE FILE FOR THE CHANGES TO BECOME PERMANENT.
  999.  
  1000. 10.5.8  GO TO MARK... active when any Marks have been defined in the 
  1001. current file.  It presents a scrolling list gadget allowing selection 
  1002. of the MARK to display.
  1003.       
  1004. 10.5.9  DELETE MARK... active when any Marks have been defined in the 
  1005. current file.  It presents a scrolling list gadget allowing selection 
  1006. of the MARK to delete.
  1007.  
  1008.    IF YOU DELETE MARKS FROM A FILE, YOU MUST "SAVE..." OR "SAVE 
  1009.    AS..." THE FILE FOR THE CHANGES TO BECOME PERMANENT.
  1010.  
  1011. ---------------------------------------------------------------------------
  1012.  
  1013.  
  1014. 11. TEXTRA GENERAL INFORMATION
  1015.  
  1016. 11.1 TEXTRA always fully expands a specified file or directory name
  1017. and uses that form to again find the file, if necessary.  For example,
  1018. you may have typed in "DF1:MyFile" as the filename, but the window
  1019. title will substitute the name of the volume, possibly "MyDisk:MyFile".
  1020. This is almost always desirable, because if TEXTRA saved "DF1:", you
  1021. might unknowingly save it to the wrong disk, just because you switched
  1022. the disk in that drive.  TEXTRA will ask you specifically for the same
  1023. name.
  1024.    The only situation you should be aware of is WHEN YOU HAVE TWO
  1025. DISKS OF THE SAME NAME in your system.  In this case, AmigaDOS can
  1026. sometimes choose the wrong disk when TEXTRA passes the full-pathname
  1027. to it.
  1028.   In the above example, we could save it to the wrong disk if the disk
  1029. in DF0: is also named "MyDisk:" (a backup, perhaps???).  This is not
  1030. caused by TEXTRA, but can happen anytime in AmigaDOS that you use the
  1031. full-pathname to specify a file.
  1032.  
  1033. 11.2 Intuition provides two String Gadget shortcuts that can be useful 
  1034. to the TEXTRA user.  TEXTRA string gadgets that provide a default text 
  1035. string when they appear will revert back to this string whenever 
  1036. "Right Amiga-Q" is pressed.  The "Right Amiga-X" combination will 
  1037. clear any displayed string.
  1038.  
  1039. 11.3 For most string gadgets, the RETURN key will perform the same 
  1040. action  as the "OK" button.  One exception is the "REPLACE" 
  1041. double-string requester, where the RETURN key toggles between the two 
  1042. string gadgets.
  1043.  
  1044. 11.4 TEXTRA Requesters are attached to (drawn in) the window that they 
  1045. have been spawned from.  The advantage is that multiple requesters are 
  1046. possible...you can select and work in another file even if the 
  1047. previous window is waiting for you to answer a question.  Every window 
  1048. can, in fact, have one or more open requesters.  Note that a TEXTRA 
  1049. window will automatically increase in size to accomodate a given 
  1050. requester, and will return to it's original position/size when the 
  1051. requester is closed.
  1052.  
  1053. 11.4.1 Textra makes special use of the asl library, if found.  It will 
  1054. use the asl font requester to allow selection of font modes (section 
  1055. 7.7).  Textra will also use the asl file requester and even allow you 
  1056. to choose between it and a Textra native file requester.  Besides 
  1057. the obvious functional differences, there is a subtle but possibly 
  1058. important way in which the editor behaves when each file requester is 
  1059. presented:
  1060.  
  1061. 11.4.2 Because of the manner in which the asl library works, Textra is 
  1062. "blocked" when an asl requester is presented.  The editor is "frozen" 
  1063. (even print jobs and background ARexx script operation will pause) 
  1064. until the asl requester is closed.  One may optionally elect to NOT 
  1065. use the asl file requester via the Edit Preferences (section 10.4.9).  
  1066. Doing so will activate the use of the internal Textra file requester.  
  1067. (Textra does not contain an internal font requester).
  1068.  
  1069. By default, Textra uses the Asl file and font requesters.  If the 
  1070. asl.library is not available, the Textra internal file requester is 
  1071. used and cannot be changed and no font requesters are available.
  1072.  
  1073. 11.5 TEXTRA maintains certain user-settable parameters in the file 
  1074. "devs:Textra.prefs".  If your system disk is of the floppy variety, 
  1075. you may therefore be asked to insert this disk if you elect to save 
  1076. it.  Normally, TEXTRA looks for this file only once, at startup.
  1077.  
  1078. 11.6 TEXTRA performs certain operations when reading in a file from 
  1079. disk...
  1080.  
  1081. 11.6.1  OS2.1 introduced CrossDOS as a standard AmigaDOS feature, 
  1082. providing access to the MSDOS file-system.  Even prior to 2.1, that 
  1083. capability was available in a prolifera of products, including the 
  1084. commercial version of CrossDOS.  TEXTRA 1.15+ will successfully read 
  1085. and write such files automatically.  If desired, the user may change 
  1086. between the two formats via the SAVE FILE AS... menu item (section 
  1087. 10.2.7).
  1088.  
  1089. 11.6.2 Whenever TEXTRA reads in a file, it examines the first 32 
  1090. characters in an effort to evaluate the file's "text-ness".  If TEXTRA 
  1091. thinks it may not be a text file, it will give you the opportunity to 
  1092. abort and read in another file.
  1093.  
  1094. 11.7  As of V1.15, Textra is low-memory-failure-proof! ANY MEMORY 
  1095. REQUEST FAILURE WILL FLASH THE SCREEN 3 TIMES in 1 second, then wait 
  1096. until the memory comes available.  The editor is "frozen" until then, 
  1097. but will resume operation when the request succeeds.  The intention is 
  1098. to give the user a chance to close the terminal program or paint 
  1099. program that they left running in the background.  Note that this 
  1100. aplies only to memory allocations made by TEXTRA itself and Textra CAN 
  1101. fail to open a window, for example (it is Intuition which allocates 
  1102. that memory.  ARexx shares similar responsibilities), but possible 
  1103. failures are checked for.
  1104.    
  1105. 11.8 Keyboard Summary:
  1106.  
  1107.     F1 - Window Size Toggle (7.4)
  1108.     F2 - Keyboard Filter Defeat (4.6)
  1109.     F3 - Page to Cursor or Beginning of Select Range (3.4)
  1110.     F4 - Display next page (6.4)
  1111.     F5 - Display previous page (6.4)
  1112.     F6 - Present previous file (7.6)
  1113.     F7 - AREXX string (10.5.4)
  1114.     F8 -   "      "      "
  1115.     F9 -   "      "      "
  1116.     F10-   "      "      "
  1117.  
  1118.     Help - Displays this information (Keyboard Summary)
  1119.     
  1120.     Shift-Left-arrow  - Cursor to beginning of current line (3.2)
  1121.     Shift-Right-arrow - Cursor to end of current line (3.2)
  1122.     Shift-Up-arrow    - Display previous page, cursor to middle (6.4)
  1123.     Shift-Down-arrow  - Display next page, cursor to middle (6.4)
  1124.  
  1125.     Right-Amiga-O - Open existing file via file requester (10.2.1)
  1126.     Right-Amiga-P - Open existing file by typing its name (10.2.2)
  1127.     Right-Amiga-[ - Open a new file (10.2.3)
  1128.     Right-Amiga-S - Save the current file (10.2.6)
  1129.     Right-Amiga-W - Closes the current window (10.2.9)
  1130.     Right-Amiga-Q - Quits Textra (10.2.14)
  1131.     Right-Amiga-Z - Undo (10.4.1)
  1132.     Right-Amiga-X - Cut selected text, save in clipboard (10.4.2)
  1133.     Right-Amiga-C - Copy selected text into clipboard (10.4.3)
  1134.     Right-Amiga-V - Paste clipboard into file (10.4.4)
  1135.     Right-Amiga-F - Find string in any case (10.4.5.1)
  1136.     Right-Amiga-N - Find the next occurance of same string (10.4.5.2)
  1137.     Right-Amiga-R - Replace string with another (10.4.6.1)
  1138.     Right-Amiga-T - Find & replace same string again (10.4.6.2)
  1139.     Right-Amiga-L - Set text or next word to lower case (10.4.7.1)
  1140.     Right-Amiga-U - Set text or next word to upper case (10.4.7.2)
  1141.     Right-Amiga-K - Capitalize words or next word (10.4.7.3)
  1142.     Right-Amiga-G - Go to a specific line (10.4.8)
  1143.     Right-Amiga-E - Display the Editing Preferences requester (10.4.9)
  1144.     Right-Amiga-- - Write Protect/Enable window (x.x.x)
  1145.     Right-Amiga-/ - Select/enter/execute a Textra-Arexx script (x.x.x)
  1146.     Right-Amiga-M - Mark Selected Text (10.5.7)
  1147.     Right-Amiga-, - Go To Mark (10.5.8)
  1148.     
  1149.     Requester control...
  1150.     
  1151.     Right-Amiga-X - Clear text in string requester (11.2)
  1152.     Right-Amiga-Q - Restore original string requester text (11.2)
  1153.