[Prev][Next][Index][Thread]

html editor extensions



greetings.

those who use Bill St. Clair's "html-editor" from the 4.0cd or the CL-HTTP
release may wish to take a look at the "HTML-dialog (970119).sit" among the
contributions in digitool's repository.
i've been doing enough editing lately that i (especially on a powerbook)
tire of the pull-down menu, but not enough that i remember the
key-stroke-equivalents.
so i put together a limited set of dialog-menus for the most frequent
formatting tags.

the accompanying "HTML-dialog.html" explains the basics.

bye,

--------------------------------------------------------------------------------
<html>
<head>
<title>README: HTML Dialogs</title>
</head>
<body>

<h2>Introduction</h2>

this is an addition to Bill St. Clair's "html-editor.lisp" menu for HTML
tags and ancilliary text formatting.
it creates a dialog with buttons for the html tags for those of us who don't
like having to use a pull-down menu 'cause they can't seem to remember
the key-bindings.
<p>
the button layout is specified by a :row/:column description.
the provided arrangement is a bit space-intensive, but it gives a good
overview of the basic structure of a HTML document.
should one desire a specific mix of tags, one need change a single
method definition (see #'UI:AGGREGATE-DESCRIPTION), or
alternatively specialize a class for a single
initialization argument (see, for example, the class HEADINGS-AGGREGATE).
<p>
in order to limit display-clutter, "collapsing" sub-menus are provided for
heading, style, list, and table tags.
if 'drag and drop' support is present, those menus are also available
as autonomous sub-menus.
'drag and drop' methods are also implemented for most tags.
for the larger environments, for example <HTML>, the outer tag will drag
selected default constituents along.
<p>
the dialog makes no attempt to provide the full functionality of
html-editor. i just wanted the tags...
if you need other things, just define a button and add it to the description.
<p>
<h2>Installation</h2>
<ol>
<li>should you desire 'drag and drop' support, then load
"drag-and-drop.lisp" and
"fred-drag.lisp" first.
<li>either load "dcl-for-html-dialog.lisp" directly, or compile it and load the
respective .FASL/.PFSL file.
<br>the files are:
<ul>
<li>"packages", for just that
<li>"defClassMacro", an O-O wrapper for cl:defclass
<li>"aggregate-view", for view layouts
<li>"html-editor", the original editor / menu
<li>"html-editor-mods", additions to the menus and commands
<li>"html-dialog", the dialogs
</ul>
</ol>
the "HTML Dialog ..." item which appears at the bottom of the "EDIT" menu
opens a new dialog for the HTML tags.
<hr>


copyright &copy; james anderson/MeCom/CNW/ 1997
<BR>This program is 'free' software; you can redistribute those components
    for which i claim the copyright and/or modify them under the following
terms:
<UL>
<LI>This program is distributed in the hope that it will be useful,
    but WITHOUT ANY WARRANTY; without even the implied warranty of
    MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.
<LI>This source file and the contact address,
    <address><a href="mailto:janson2@ibm.net">janson2@ibm.net</a></address>,
    must be included with any distribution.
</UL>
<hr>
queries to: <A
HREF="mailto:janson@IBM.net"><address>janson@IBM.net</address></A>
</body>
</html>