home *** CD-ROM | disk | FTP | other *** search
/ Gold Fish 3 / goldfish_volume_3.bin / files / dev / obero / oberon / tool / xe.tool (.txt) < prev   
Encoding:
Oberon Text  |  1995-04-06  |  6.0 KB  |  77 lines

  1. Syntax10i.Scn.Fnt
  2. Syntax10.Scn.Fnt
  3. ParcElems
  4. Alloc
  5. LineElems
  6. Alloc
  7. XE - Extended Edit    SHML    23 Mar 95    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.Comp    [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.     | "^"
  22. XE.Err    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. Special keys:
  32. CR    carriage return with automatic indentation
  33. LF    carriage return without indentation
  34. Cursor up, Ctrl-P    move caret one line up
  35. Cursor down, Ctrl-N    move caret one line down
  36. Backspace, Ctrl_D    delete character to the right of caret
  37. Ctrl_F    move one word forward
  38. Ctrl_B    move one word backward
  39. Ctrl_W    move to beginning of (previous) line.
  40.     (Ctrl-A is Umlaut-A on some machines)
  41. Ctrl_E    move to end of (next) line
  42. Ctrl_K    delete to end of line/delete CR at end of line
  43. Ctrl_T    swap previous two characters
  44. Ctrl_X    move selection to caret
  45. 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.
  46.     E.g. XE.Open x.P tries x.P, x.P.Mod, x.P.Text, x.Mod, and x.Text.
  47. 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.
  48.     E.g. XE.OpenAscii x.P tries x.P, x.P.c, x.P.h, x.c, and x.h.
  49. XE.Open and XE.OpenWide try to search for a given name similar to Edit.Show.
  50.     E.g. XE.Open Prog.Ident searches in Prog.Mod (if it exists) first for Ident*, then for Ident-, and finally for Ident.
  51. XE.SysOpen    tries .Tool as a default extension or the extension from the configuration file (accepts default Y_coordinate).
  52.     E.g. XE.SysOpen System tries System and System.Tool.
  53. XE uses XE.Menu.Text for menus. The first line is the menu for user viewers, the second line is for tool viewers, the third and fourth for viewers opened with OpenWide and OpenAscii, respectively.
  54. 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.)
  55. XE.List    lists the default open command and the compile command - extension - error file table.
  56. 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:
  57.     ["OpenCmd" open_command]
  58.     {("Open" | "SysOpen" | "OpenWide" | "OpenAscii") ext1 ext2}
  59.     ["Compiler" {compile_command "*" | (extension error_file)}]
  60. where a line with an * lists the default compile command used for unknown extensions.
  61. Example XE.Configuration.Text:
  62. OpenCmd
  63.     Doc.Open
  64.     Empty.Mod    Mod    Text
  65. SysOpen
  66.     My.Tool    Tool    Tool
  67. OpenAscii
  68.     Test.c    c    h
  69. Compiler
  70.     Compiler.Compile    *
  71.     Compiler.Compile    Mod    OberonErrors.Text
  72.     Lola.Compile    Lola    LolaErrors.Text
  73.     DPA.Compile    Deb    DeboraErrors.Text
  74.     Assembler.Assemble    Asm    AssemblerErrors.Text
  75.     CComp.Compile    c    NoErrors.Text
  76. Net.ReceiveFiles Pluto shml:XE.obj shml:XE.Tool shml:XE.Menu.Text shml:XE.Configuration.Text shml:XEInstaller.obj Elems:FoldElems.obj EditKeys.Text EditKeys.obj KeyCmds.obj~
  77.