Dismiss
InnovationQ will be updated on Sunday, Oct. 22, from 10am ET - noon. You may experience brief service interruptions during that time.
Browse Prior Art Database

Keeping Text Attributes Separately from Edited Text

IP.com Disclosure Number: IPCOM000111760D
Original Publication Date: 1994-Mar-01
Included in the Prior Art Database: 2005-Mar-26
Document File: 2 page(s) / 60K

Publishing Venue

IBM

Related People

Eltoft, DA: AUTHOR [+3]

Abstract

The data structure architecture described efficiently maintains text attribute information separately from edited text data and allows attributes and data to be updated easily while properly maintaining the associations. The text attributes are maintained independently of one another so text attributes can be added and removed without affecting other text attributes associated with the same text data. The architecture also permits the text attributes to be maintained in a multiple level hierarchy, allowing for inheritance of text attributes.

This text was extracted from an ASCII text file.
This is the abbreviated version, containing approximately 74% of the total text.

Keeping Text Attributes Separately from Edited Text

      The data structure architecture described efficiently maintains
text attribute information separately from edited text data and
allows attributes and data to be updated easily while properly
maintaining the associations.  The text attributes are maintained
independently of one another so text attributes can be added and
removed without affecting other text attributes associated with the
same text data.  The architecture also permits the text attributes to
be maintained in a multiple level hierarchy, allowing for inheritance
of text attributes.

      The text data is maintained as one or more text segments
separated by one or more text gaps.  Text attributes are associated
with a range of text data through range points (Fig. 1).  A pair of
range points are used to identify the beginning and ending locations
within the text data that the text attributes are associated with.
The range points are maintained in order and their location within
the text data is specified as a byte offset from the range point
base.  The text attributes can be maintained within the range point
structure or maintained separately when the same text attributes are
associated with multiple ranges of text data.  Not shown in Fig. 1 is
the link between the beginning and ending range points that form a
pair.

      Text attributes are updated by inserting or deleting the range
point pairs associated with the text attributes being...