This class provides a text editor specialized for editing
HTML source.
The EditHTML class is derived from the
Edit class, and
therefore inherits all of its features.
It colors HTML commands and supports
hypertext links.
That is, hypertext references in the HTML file are live.
Note that after entering hypertext links,
you will need to invoke the Recolorize
command in the Format
menu for the hypertext links to become live.
A special feature is the
check links
command, available under the Edit
menu.
This command identifies all the hypertext links in the file
and checks to see whether they are valid.
It is currently limited to links of the forms:
<a href="filename"> <a href="#point"> <a href="filename#point">The "point" is a name within the file identified by a name attribute. The quotation marks are optional, unless there are spaces in either the filename or the point. An invalid link is one where the referenced file does not exist or is not readable, or the named point within the file does not exist. When an invalid link is found, the user is queried for a substitute.
The Tycho HTML browser support some Tycho-specific HTML extensions. Moreover, there is an automatic index generator.
Special
menu contains three cascade submenus that
will generate common HTML strings. The submenus are:
Chars
, Fonts
and Blocks
.
For each menu item, we list the HTML that is produced.