[top] [up]

Trinc-Prolog Text Editor


The default text editor of Trinc-Prolog is the internal text editor, the text editor used can be selected by the Interface settings window.

The text editor can be used to open and edit multiple files, the names of the open files are displayed at the bottom or at the top of the window in the tabs. By pressing on a tab the associated text file is displayed. The buttons on the toolbar of the edit window can be used for the most comment file operations like creating, opening, closing and saving files. The 'Compile' button attempts to compile the current text file (the text file that is visible), the key shortcut CTRL+F9 also compiles the current file.

pl_img71.gif (15943 bytes)

At the bottom of the text edit window there are several small read-only text windows that display information about the current file being edited. The first label shows the current position of the caret inside the window, the second label shows if the text was changed since it was last saved, the third label shows if characters are being inserted or overwritten (by pressing the INSERT key this option changes), the fourth label shows the state of the inference engine if the visual debugger is used and the last label displays the complete filename of the current file being edited.

To compress and/or encrypt a text file the 'Save As' menu item must be selected, the 'Save As' dialog that appears has file types for saving the file as compressed and/or encrypted files. The text editor can automatically decompress gzipped (files with the .gz extension) and/or encrypted files. If the text editor detects that file has been encrypted then it always asks for a key to decrypt the file. For more information about compression and encryption see Saving a module.

Context sensitive help is available for all the built-in predicates and operators of Trinc-Prolog. By pressing the F1 key on a word (or part of a word) in the text editor a help window is opened.

arrow.gif (1632 bytes) Files can also be opened by dropping them on the text editor.

see also: Editor options Print options

[top] [up]

 

info@trinc-prolog.com