tcl(9)
[Home]
[Commands]
[Variables]
[Macro-Dev]
[Glossary]
SYNOPSIS
tcl, tk - TCL Programming language templates
FILES
hktcl.emf - TCL/TK programming language hook definition
tcl.etf - TCL/TK programming language template file
EXTENSIONS
MAGIC STRINGS
^#![ \t]*/.*wish
MicroEmacs '99 recognizes the magic string on the first line of the file used to locate the executable. The tcl files may be extension less and are still recognized.
DESCRIPTION
The tcl provides hilighting and automatic formatting features, in addition to a number of tools to handle the file type.
General Editing
On creating a new file, a new header is automatically included into the file.
time(2m) is by default enabled, allowing the modification time-stamp to be maintained in the header.
Hilighting
The hilighting features allow commands, variables, logical, preprocessor definitions, comments, strings and characters of the language to be differentiated and rendered in different colors.
Auto Layout
Tags
A C-tags file may be generated within the editor using the Tools -> Tcl-Tools -> Create Tag File.
find-tag(2) takes the user to the file using the tag information.
Folding and Information Hiding
Generic folding is enabled within the C and C++ files. The folds occur about braces {...} located on the left-hand margin.
fold-all(3) (un)folds all regions in the file,
fold-current(3) (un)folds the current region. Note that folding does not operate on K&R style code.
Short Cuts
The short cut keys used within the buffer are:-
C-c C-c - Comment out the current line.
C-c C-d - Uncomment the current line.
C-c C-e - Comment to the end of the line with stars (*).
A-C-i - Restyle the current region.
f2 - (un)fold the current region
f3 - (un)fold all regions
SEE ALSO
(c) Copyright JASSPA 1999
Last Modified: 1999/07/06
Generated On: 1999/12/01