Home | Online Help | OS/2 | Enhanced E Editor | Enhanced E Editor - Code Templates

Enhanced E Editor - Code Templates

Sponsored Link:

The Enhanced E has a code template tool built in. The template tool is outside the original scope of what the Enhanced E was to become but it seemed to be a nice enhancement to the editor and will remain.

To use the code template tool you must have code files installed in the Enhanced E directory. (available free at the PillarSoft website or you can build your own) Select the "Code Templates" menuitem fron the "Options" menu, a file dialog will open listing all the template files available in the Enhanced E directory, chose one and the code template will open with your selection.

There are three ways to transfer code from the template tool to the editor:

  • Double click on the entry you wish to use, it will be sent to the current cursor postion in the editor. This is by far the easiest method of transferring your choice to the edit window and one that is not implemented by any other editors that I know of. Double clicking will only send code to its' parent editor so if you have two or more instances of the Enhanced E running you may also run two or more different code types and they will only send information to their individual editors.
  • Highlight your choice, choose "Create link to clipboard" from the popup or "Options" menu and paste it into the editor. (always pastes to current cursor location)
  • You may also drag a snippet to the location of your choice in the editor. This is a very powerful method of inserting code exactly where you want it.

The template tool is extendable to allow it's use for many types of code or general information insertion. It follows a format widely used by other applications that will allow use of code from the other apps as well as making these code lists available elsewhere.

You can set up your own templates, add them together, modify them or even make templates that list taglines or jokes. It's up to you! If you have templates you would like to share with others, we can make them available for you on the PillarSoft website.

<ClipText Enhanced E Editor Drag and Drop>