Zaphod - a multi-user text viewer (and maybe an editor in some time)
In theory, this could become a rudimentary multi-user text editor, based
on the idea of abusing XmlHttpRequest to transfer data. I've only
implemented local cursor movement, and even that badly. Keyboard movement
and moving the cursor by mouse currently work. Nothing else works.
Seems like your browser doesn't work with my code.
test 1 test 2 test 3
test 4 test 5 test 6
test 7 test 8 test 9
Key code:??
Local features to be implemented
- Move cursor by mouse (implemented)
- Move cursor by keyboard (implemented, even with a "keymap")
- Insert text
- Delete text
- Select text
(S)Ajax Commands to be implemented
- set_cursor (x,y) (implemented)
- set_selection ((x,y),(x,y)) (postponed, since it has to span multiple lines)
- insert ((x,y),data)
- delete ((x,y),count)
- annotate ((x,y),text)
Help Wanted
If you are proficient with cross-browser JavaScript and/or
the Ajax idea of using XmlHttpRequest, I'm interested in your
support! Currently, I develop on FireFox, so this is expected
to break horribly on Internet Explorer.