home *** CD-ROM | disk | FTP | other *** search
/ Amiga MA Magazine 1998 #6 / amigamamagazinepolishissue1998.iso / coders / jËzyki_programowania / oberon / tool / xe.tool (.txt) < prev   
Oberon Text  |  1977-12-31  |  6KB  |  77 lines

  1. Syntax10i.Scn.Fnt
  2. Syntax10.Scn.Fnt
  3. ParcElems
  4. Alloc
  5. LineElems
  6. Alloc
  7. XE - Extended Edit    SHML    8 Mar 96    ludwig@inf.ethz.ch
  8. supports folded text, compilation according to file_extension, default
  9. file_extensions, EditKeys, configurable menus, and several keyboard shortcuts.
  10. XE.Open ^    (name[.ext] | "^")    Open a text
  11. XE.SysOpen ^    [defY] (name[.ext] | "^")    Open a tool (at defY)
  12. XE.OpenWide ^    (name[.ext] | "^")    Open a text in a new track
  13. XE.OpenAscii ^    (name[.ext] | "^")    Open a text using a
  14.         fixed spaced font
  15. XE.Compile    [options]    Compile viewer (containing
  16.         folds) in main frame with
  17.         options
  18.     | "*"    or marked viewer
  19.     | {file [options]}    or list of files (containing
  20.         folds) with options
  21.     | "^"    selection of filenames
  22. XE.Error    Locate next error in main frame or marked viewer
  23. XE.Defaults    see below
  24. XE.List    see below
  25. XE.GetHandler    see below
  26. Special mouse behavior:
  27. The right mouse button is used to select text. One click selects a character, a second click on the same location selects a word (e.g. Par), a third click a name (e.g. Oberon.Par.frame), a fourth the whole line. To select a line immediately, click twice at the end of the line or on any special or blank character within the line.
  28. The middle mouse button with right interclick tries to open the underlined word with the OpenCmd installed from XE.Configuration.Text. Thereby, documents can be opened by simply middle/right clicking at them. The name adheres to the OS' filename syntax.
  29. Clicking into selected text with the middle mouse button, dragging the mouse to a different position or viewer, and then left interclicking will move the text. The caret is set at the target position.
  30. Clicking into selected text with the middle mouse button, without dragging and interclicking will execute the underlined text (after a short delay).
  31. Double clicking the left mouse button will clear the current selection. This can be useful when using Edit.Search and then copying in some text, which will remain selected. Reinvoking Edit.Search will use the current selection, instead of the last search argument. A double click clears this current selection.
  32. Special keys:
  33. CR, Ctrl-M    carriage return with automatic indentation
  34. LF, Ctrl-J    carriage return without indentation
  35. Cursor up, Ctrl-P    move caret one line up
  36. Cursor down, Ctrl-N    move caret one line down
  37. Backspace, Ctrl_D    delete character to the right of caret
  38. Ctrl_F    move one word forward
  39. Ctrl_B    move one word backward
  40. Ctrl_W    move to beginning of (previous) line.
  41.     (Ctrl-A is Umlaut-A on some machines)
  42. Ctrl_E    move to end of (next) line
  43. Ctrl_K    delete to end of line/delete CR at end of line
  44. Ctrl_T    swap previous two characters
  45. Ctrl_X    move selection to caret
  46. XE.Open and XE.OpenWide    try .Mod and .Text as default extensions or the extension from the configuration file. If both fail, then they retry with the given name without extension.
  47.     E.g. XE.Open x.P tries x.P, x.P.Mod, x.P.Text, x.Mod, and x.Text.
  48. XE.OpenAscii    tries .c and .h as default extensions or the extension from the configuration file. If both fail, then it retries with the given name without extension.
  49.     E.g. XE.OpenAscii x.P tries x.P, x.P.c, x.P.h, x.c, and x.h.
  50. XE.Open and XE.OpenWide try to search for a given name similar to Edit.Show.
  51.     E.g. XE.Open Prog.Ident searches in Prog.Mod (if it exists) first for Ident*, then for Ident-, and finally for Ident.
  52. XE.SysOpen    tries .Tool as a default extension or the extension from the configuration file (accepts default Y_coordinate).
  53.     E.g. XE.SysOpen System tries System and System.Tool.
  54. XE uses XE.Menu.Text for menus. The first line is the menu for Mod viewers in the user track, the second line is for Text viewers in the user track, the third line is for tool viewers, the fourth and fifth for viewers opened with OpenWide and OpenAscii, respectively.
  55. XE.GetHandler    is used to get a procedure variable containing the Handler procedure of XE without importing XE. Use this command via Oberon.Call with a new Oberon.Par. The handler is put into Oberon.Par.frame.handle, if and only if Oberon.Par.pos = XE.GetHandlerKey. (See XEInstaller for details.)
  56. XE.List    lists the default open command and the compile command - extension - error file table.
  57. XE.Defaults    initializes the default open command and the compile command - extension - error file table from the file XE.Configuration.Text. The syntax of the XE.Configuration.Text is:
  58.     ["OpenCmd" open_command]
  59.     {("Open" | "SysOpen" | "OpenWide" | "OpenAscii") ext1 ext2}
  60.     ["Compiler" {compile_command "*" | (extension error_file)}]
  61. where a line with an * lists the default compile command used for unknown extensions.
  62. Example XE.Configuration.Text:
  63. OpenCmd
  64.     Doc.Open
  65.     Empty.Mod    Mod    Text
  66. SysOpen
  67.     My.Tool    Tool    Tool
  68. OpenAscii
  69.     Test.c    c    h
  70. Compiler
  71.     Compiler.Compile    *
  72.     Compiler.Compile    Mod    OberonErrors.Text
  73.     Lola.Compile    Lola    LolaErrors.Text
  74.     DPA.Compile    Deb    DeboraErrors.Text
  75.     Assembler.Assemble    Asm    AssemblerErrors.Text
  76.     CComp.Compile    c    NoErrors.Text
  77.