1.9 Editing ML files

1.9.1 Custom editors

As stated above, custom editors are similar to external editors because they are defined with a command string. However, a custom editor also has:

You can use the custom editor's name in the Preferences > Editor dialog to specify that you want to use it. The connect dialog is not a window-system dialog, but a list of commands that are sent to the editor when MLWorks establishes contact with it. When MLWorks wants to connect to an (existing) remote editor, it first establishes contact and then sends the editor a sequence of commands down the channel that has been established. These commands typically direct the editor to load a source file at a specific position.

Note that connect dialogs are not necessary for all custom editors you define; most editors cannot accept commands issued in this way.

See the section on the Shell.Editor.Custom structure in the MLWorks Reference Manual for details of building custom editors.


MLWorks User Guide (UNIX version 1.0) - 3 DEC 1996

Generated with Harlequin WebMaker