Notes on various text api projects
Enhancements that possibly require alternatives to standard Document classes:
Chat rendering
Could possibly simply be sped up with
ElementSpec[]
insertion
May just need alternate view? formatting is derived from structure?
SM: enhanced doc construction
Enhancements that may just need alternative View classes:
Syntax highlighting for wiki-style text and raw html editor components
Should at least color-code shorthand elements and html tags
Could interpret bold, italic, and headline tags
Blue: start-of-line tags, correct link/embed tags, correct & sequences
Grey: terminated html tags
Red: Incorrect/unterminated link/embed tags, html tags, or escapes
Paren highlighting in formula editor
WYSIWYG editor
need attribute support in SharedDocument
Spell checking?
See "Jazzy" on sourceforge/freshmeat
Word lists at
http://wordlist.sourceforge.net/
API notes:
AbstractDocument.createLeafElement(...) only called at EOL
GlyphView.createFragment(...) is called on line/word-wrap
GlyphPainter imp that wraps existing imp, intercepts calls, changes Graphics context color, and
Element responsible for tracking runs
RunSet cached, recomputed only if text changes
/
public
/
users
/
isenhour
/
notes
/
Text API Project notes Summer 02
Login
|
Web Editor
|
Full Editor
Last modified 8/5/02 9:00 PM by isenhour (
history
)
Site contents