Commit Graph
38 Commits
Author SHA1 Message Date
buster@netscape.com 0bb84045af checked in wrong version of editor previously. This is the right version. 1999-01-26 00:38:34 +00:00
buster@netscape.com c5df0312b5 DeleteSelection now walks the content tree, so it can handle delete at the
end of a node and backspace at the beginning of a node
1999-01-26 00:37:42 +00:00
amusil@netscape.com b88cd1afe7 Added support for new service manager 1999-01-25 10:55:35 +00:00
buster@netscape.com 446813cbdd added some basic tree navigation methods.
implemented part of backspacing from the beginning of a text node.
1999-01-22 22:58:15 +00:00
buster@netscape.com 0a6e949c93 better delete now that selection offsets are real. 1999-01-22 19:44:46 +00:00
buster@netscape.com 89a5cd0c42 delete range now iterates through the selection properly.
fixed an xpcom usage problem with macros...ALWAYS use {} on your if statements!
1999-01-22 19:05:08 +00:00
buster@netscape.com 270f85812e updated to new nsCOMPtr usage 1999-01-22 16:55:59 +00:00
buster@netscape.com c42754da8a made GetIsTransient return false by default, so most transactions don't need to implement GetIsTransient
made delete and backspace do the right thing (testing hacks removed)
1999-01-22 15:40:31 +00:00
mjudge@netscape.com a393ca51a9 fix build 1999-01-22 02:06:06 +00:00
akkana@netscape.com 188eacb6ed Try a different form of casting to keep both Linux and the Mac happy 1999-01-21 21:10:12 +00:00
buster@netscape.com 901837d75f factored editor so a request (public) is separate from building the txn for that request (private)
added some debug code to transactions
1999-01-21 19:44:26 +00:00
akkana@netscape.com 3d0bae2eca Fix nsCOMPtr casting build bustage 1999-01-21 19:31:57 +00:00
buster@netscape.com 2c6e14181c * added TransactionFactory. Editor no longer allocates its own transactions. This gives us an oppurtunity for a recycler.
* added DeleteSelection to editor.  Doesn't work very well yet because selection is giving me random offsets into text content.
* lots of work in the various transactions.
1999-01-21 01:51:09 +00:00
mjudge@netscape.com 778d50ac6b changes to unload my library correctly 1999-01-21 00:56:18 +00:00
buster@netscape.com 2f8a38357c added DeleteElementTxn and DeleteRangeTxn, and added merging of text insertions.
added some better error checking on all transactions.
1999-01-14 18:02:45 +00:00
buster@netscape.com 7223c8cec6 shuffled around the responsibilities of core editing objects.
The key listener is now mostly a mapper of key events to editor actions.  Soon, this should be 100% true.
The editor builds transactions that are themselves intelligent. The editor makes very few DOM calls itself.
It relies on the transactions to do most of the actual editing.
1999-01-11 22:47:23 +00:00
buster@netscape.com b683c964aa support for ChangeAttributeTxn 1999-01-06 20:29:11 +00:00
mjudge@netscape.com 0733408c5a changing COM_auto_ptr to nsCOMPtr.h 1998-12-17 19:26:17 +00:00
mjudge@netscape.com 3e6fcec7dd fixing factory issues 1998-12-11 01:03:12 +00:00
cmanske@netscape.com 3d8c35b8d7 Fixing build bustage 1998-12-09 21:22:17 +00:00
cmanske@netscape.com c704f1914d Fixed build problems with Editor Gui Manager 1998-12-09 19:57:09 +00:00
mjudge@netscape.com b060b372d7 removing NULL replacing with nsnull 1998-12-03 23:46:36 +00:00
jfrancis@netscape.com 703de5d1d8 taking out the factory extern cruft that we only needed before we had shared libs working on the mac. Long live the shared lib conversion! 1998-12-03 09:35:38 +00:00
mjudge@netscape.com 62a712db5b modifying 1998-11-28 01:46:56 +00:00
mjudge@netscape.com ddb94842ad removed non production code 1998-11-28 01:28:00 +00:00
mjudge@netscape.com db197bbe14 just broke the mac build. I will tell jfrancis! 1998-11-28 01:19:53 +00:00
mjudge@netscape.com 643de3c438 build breakage... oops 1998-11-23 22:02:18 +00:00
mjudge@netscape.com 4b40ae7373 context loader will be used for keybindings 1998-11-23 22:00:29 +00:00
mjudge@netscape.com 5190f2cea2 putting in changes for selection in editor. fixing problem akkana has had? 1998-11-23 21:53:14 +00:00
mjudge@netscape.com f7f49c0569 editor changes 1998-11-20 00:01:15 +00:00
mjudge@netscape.com 0bf6abc552 changes to editor 1998-11-18 19:18:47 +00:00
mjudge@netscape.com 5076fa4df6 editor changes will not affect build. working on typing 1998-11-18 00:49:02 +00:00
mjudge@netscape.com 6bf66bdc15 editor changes that will not affect build! gooooo mike 1998-11-15 07:04:45 +00:00
mjudge@netscape.com 6e83ffb82c this works with the new autopointers 1998-11-12 22:18:43 +00:00
mjudge@netscape.com a7bc13848d we now have a DLL!!! 1998-11-12 00:15:58 +00:00
mjudge@netscape.com 117c3ae48f changes to get autopointers to work 1998-11-11 20:44:02 +00:00
mjudge@netscape.com b9bf460df7 more changes to API 1998-11-11 09:26:42 +00:00
mjudge@netscape.com d008467ece moving editor core to "core" 1998-11-11 03:34:37 +00:00