The HTML viewer in Tycho provides a top-level window that displays formatted HTML. It is based on the HTML library written by Stephen Uhler of Sun Microsystems, which supports all the features of HTML 2.0. There is currently no support in Tycho for HTTP hyperlink references, so you cannot within Tycho directly read documents on the internet, although this might come in the future. A sample document illustrates the HTML tags that are supported.
The HTML viewer is derived from the File class, and therefore inherits all of its features. In addition, it provide a pull-down menu for adjusting the sizes of the fonts in the display plus a toolbar at the top for invoking commonly invoked functions. The "File" menu provides the following commands:
The "Special" Menu includes an Appletviewer
choice that
will bring up a Exec Dialog with the
command to run the appletviewer
on the current file.
The appletviewer
is a windowized application that displays
Java applets.
Note that not all tcl ports support the Exec Dialog, so the Appletviewer
choice might be greyed out.
The Tycho documentation policy explains Tycho-specific HTML extensions and how to write HTML so that an index can be generated automatically by the index generator. Note that hypertext links can be to any type of file, and based on the file name extension, Tycho will open a context-specific editor. Thus, you can have hypertext links to source code, or to graphical editors.