Updownquark / Quick

Quark's User Interface Creation Kit
0 stars 0 forks source link

Make a rich text document #51

Closed Updownquark closed 10 years ago

Updownquark commented 10 years ago

Should support all background and text styles. The API should allow modifying the style of a section of text. Text appended to the document will have the style of the location appended at. Extensive chaining should be used to facilitate easy composition of multi-style documents.

RTF or similar formatting should be used to populate these documents (via labels or rich text fields) from XML. RTF output should also be supported.

Updownquark commented 10 years ago

The basic rich document model is pretty well complete except for listeners. I need to add listeners for content and I also need to probably add some architecture to have listeners for when the style changes. After that:

  1. I need to make an extension that supports selection.
  2. I need to support rtf or some other rich format.
  3. I need to analyze the chaining and maybe improve it. I want it to be super easy to make multi-styled text on a single line. (I may choose to add shortcut methods later, but the single-line capability is there.)
Updownquark commented 10 years ago

New TODO list:

  1. Test the simple model--text test and text field test need to work.
  2. Support a rich format in the label.
  3. Write a test or update the text test to use some rich content.
Updownquark commented 10 years ago

Looks like this is done.