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

Styled text dialog item CONTRIB



Howdy. I've uploaded a couple files to /pub/MACL/CONTRIB:

  -rw-r--r--  1 cornell      1902 Jul 28 17:07 styled-text-edit-info.txt
  -rw-r--r--  1 cornell     20675 Jul 28 17:07 styled-text-edit.sit.hqx

and

  -rw-r--r--  1 cornell       874 Jul 28 17:07 text-edit-info.txt
  -rw-r--r--  1 cornell      6989 Jul 28 17:07 text-edit.sit.hqx

The first implements a new class of text dialog item which allows
multiple fonts, styles, and sizes withing a *single* item. It comes
with a new *dialog* class which knows how to manage them.

The second file adds some handy text edit routines to
*editable-text-dialog-item* like getting the current selection,
converting a point to a text offset, etc.

More information is available in the *-info.txt files. They're useful
enough for me right now but a lot could be done to improve them. If
you make any improvements please send them to me for inclusion and
resubmission. Hope they're helpful!

matt


Matthew Cornell
==================================================
Knowledge Communication Systems Group
Department of Computer and Information Science
University of Massachusetts/Amherst, MA 01002
cornell@cs.umass.edu
(413) 256-6664[home] (413) 545-0639, -0582[office]
==================================================