39 Commits

Author SHA1 Message Date
buster%netscape.com
ea9a76f945 changed nsIEditor to enable undo separately from Init
work in progress API changes to nsIEditor and nsEditor


git-svn-id: svn://10.0.0.236/trunk@18914 18797224-902f-48f8-a5cc-f745e15eee43
1999-01-28 06:02:53 +00:00
buster%netscape.com
c4f9290ed2 checked in wrong version of editor previously. This is the right version.
git-svn-id: svn://10.0.0.236/trunk@18541 18797224-902f-48f8-a5cc-f745e15eee43
1999-01-26 00:38:34 +00:00
buster%netscape.com
817b2a47d9 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


git-svn-id: svn://10.0.0.236/trunk@18540 18797224-902f-48f8-a5cc-f745e15eee43
1999-01-26 00:37:42 +00:00
amusil%netscape.com
5868424a36 Added support for new service manager
git-svn-id: svn://10.0.0.236/trunk@18479 18797224-902f-48f8-a5cc-f745e15eee43
1999-01-25 10:55:35 +00:00
buster%netscape.com
cd2edf3e7c added some basic tree navigation methods.
implemented part of backspacing from the beginning of a text node.


git-svn-id: svn://10.0.0.236/trunk@18363 18797224-902f-48f8-a5cc-f745e15eee43
1999-01-22 22:58:15 +00:00
buster%netscape.com
652e32c887 better delete now that selection offsets are real.
git-svn-id: svn://10.0.0.236/trunk@18329 18797224-902f-48f8-a5cc-f745e15eee43
1999-01-22 19:44:46 +00:00
buster%netscape.com
53a4f6ba7d delete range now iterates through the selection properly.
fixed an xpcom usage problem with macros...ALWAYS use {} on your if statements!


git-svn-id: svn://10.0.0.236/trunk@18325 18797224-902f-48f8-a5cc-f745e15eee43
1999-01-22 19:05:08 +00:00
buster%netscape.com
62018679d8 updated to new nsCOMPtr usage
git-svn-id: svn://10.0.0.236/trunk@18315 18797224-902f-48f8-a5cc-f745e15eee43
1999-01-22 16:55:59 +00:00
buster%netscape.com
f1bacd2e07 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)


git-svn-id: svn://10.0.0.236/trunk@18304 18797224-902f-48f8-a5cc-f745e15eee43
1999-01-22 15:40:31 +00:00
mjudge%netscape.com
7a09e861da fix build
git-svn-id: svn://10.0.0.236/trunk@18252 18797224-902f-48f8-a5cc-f745e15eee43
1999-01-22 02:06:06 +00:00
akkana%netscape.com
826d1b136d Try a different form of casting to keep both Linux and the Mac happy
git-svn-id: svn://10.0.0.236/trunk@18197 18797224-902f-48f8-a5cc-f745e15eee43
1999-01-21 21:10:12 +00:00
buster%netscape.com
902ec60ee1 factored editor so a request (public) is separate from building the txn for that request (private)
added some debug code to transactions


git-svn-id: svn://10.0.0.236/trunk@18190 18797224-902f-48f8-a5cc-f745e15eee43
1999-01-21 19:44:26 +00:00
akkana%netscape.com
9f4dfbc49b Fix nsCOMPtr casting build bustage
git-svn-id: svn://10.0.0.236/trunk@18188 18797224-902f-48f8-a5cc-f745e15eee43
1999-01-21 19:31:57 +00:00
buster%netscape.com
b48e2caf7c * 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.


git-svn-id: svn://10.0.0.236/trunk@18122 18797224-902f-48f8-a5cc-f745e15eee43
1999-01-21 01:51:09 +00:00
mjudge%netscape.com
1e63a95689 changes to unload my library correctly
git-svn-id: svn://10.0.0.236/trunk@18107 18797224-902f-48f8-a5cc-f745e15eee43
1999-01-21 00:56:18 +00:00
buster%netscape.com
dceac9452d added DeleteElementTxn and DeleteRangeTxn, and added merging of text insertions.
added some better error checking on all transactions.


git-svn-id: svn://10.0.0.236/trunk@17740 18797224-902f-48f8-a5cc-f745e15eee43
1999-01-14 18:02:45 +00:00
buster%netscape.com
8a19fb26be 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.


git-svn-id: svn://10.0.0.236/trunk@17518 18797224-902f-48f8-a5cc-f745e15eee43
1999-01-11 22:47:23 +00:00
buster%netscape.com
5ca13143ec support for ChangeAttributeTxn
git-svn-id: svn://10.0.0.236/trunk@17252 18797224-902f-48f8-a5cc-f745e15eee43
1999-01-06 20:29:11 +00:00
mjudge%netscape.com
28a5884fce changing COM_auto_ptr to nsCOMPtr.h
git-svn-id: svn://10.0.0.236/trunk@16595 18797224-902f-48f8-a5cc-f745e15eee43
1998-12-17 19:26:17 +00:00
mjudge%netscape.com
cee4bdaa4e fixing factory issues
git-svn-id: svn://10.0.0.236/trunk@16193 18797224-902f-48f8-a5cc-f745e15eee43
1998-12-11 01:03:12 +00:00
cmanske%netscape.com
ea8761c29b Fixing build bustage
git-svn-id: svn://10.0.0.236/trunk@16094 18797224-902f-48f8-a5cc-f745e15eee43
1998-12-09 21:22:17 +00:00
cmanske%netscape.com
0b219df90c Fixed build problems with Editor Gui Manager
git-svn-id: svn://10.0.0.236/trunk@16083 18797224-902f-48f8-a5cc-f745e15eee43
1998-12-09 19:57:09 +00:00
mjudge%netscape.com
e75f4b14dd removing NULL replacing with nsnull
git-svn-id: svn://10.0.0.236/trunk@15745 18797224-902f-48f8-a5cc-f745e15eee43
1998-12-03 23:46:36 +00:00
jfrancis%netscape.com
19234409ed 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!
git-svn-id: svn://10.0.0.236/trunk@15690 18797224-902f-48f8-a5cc-f745e15eee43
1998-12-03 09:35:38 +00:00
mjudge%netscape.com
6c6a833e89 modifying
git-svn-id: svn://10.0.0.236/trunk@15385 18797224-902f-48f8-a5cc-f745e15eee43
1998-11-28 01:46:56 +00:00
mjudge%netscape.com
6fffbd0142 removed non production code
git-svn-id: svn://10.0.0.236/trunk@15383 18797224-902f-48f8-a5cc-f745e15eee43
1998-11-28 01:28:00 +00:00
mjudge%netscape.com
19263c1621 just broke the mac build. I will tell jfrancis!
git-svn-id: svn://10.0.0.236/trunk@15381 18797224-902f-48f8-a5cc-f745e15eee43
1998-11-28 01:19:53 +00:00
mjudge%netscape.com
39745ca900 build breakage... oops
git-svn-id: svn://10.0.0.236/trunk@15180 18797224-902f-48f8-a5cc-f745e15eee43
1998-11-23 22:02:18 +00:00
mjudge%netscape.com
65c64c5a3f context loader will be used for keybindings
git-svn-id: svn://10.0.0.236/trunk@15178 18797224-902f-48f8-a5cc-f745e15eee43
1998-11-23 22:00:29 +00:00
mjudge%netscape.com
f288875f23 putting in changes for selection in editor. fixing problem akkana has had?
git-svn-id: svn://10.0.0.236/trunk@15177 18797224-902f-48f8-a5cc-f745e15eee43
1998-11-23 21:53:14 +00:00
mjudge%netscape.com
8422a7b923 editor changes
git-svn-id: svn://10.0.0.236/trunk@14967 18797224-902f-48f8-a5cc-f745e15eee43
1998-11-20 00:01:15 +00:00
mjudge%netscape.com
b7621fa804 changes to editor
git-svn-id: svn://10.0.0.236/trunk@14881 18797224-902f-48f8-a5cc-f745e15eee43
1998-11-18 19:18:47 +00:00
mjudge%netscape.com
f1990d8cbf editor changes will not affect build. working on typing
git-svn-id: svn://10.0.0.236/trunk@14826 18797224-902f-48f8-a5cc-f745e15eee43
1998-11-18 00:49:02 +00:00
mjudge%netscape.com
ea2e4366fa editor changes that will not affect build! gooooo mike
git-svn-id: svn://10.0.0.236/trunk@14695 18797224-902f-48f8-a5cc-f745e15eee43
1998-11-15 07:04:45 +00:00
mjudge%netscape.com
762c599ef7 this works with the new autopointers
git-svn-id: svn://10.0.0.236/trunk@14534 18797224-902f-48f8-a5cc-f745e15eee43
1998-11-12 22:18:43 +00:00
mjudge%netscape.com
35e4aa0583 we now have a DLL!!!
git-svn-id: svn://10.0.0.236/trunk@14481 18797224-902f-48f8-a5cc-f745e15eee43
1998-11-12 00:15:58 +00:00
mjudge%netscape.com
5dabcba40d changes to get autopointers to work
git-svn-id: svn://10.0.0.236/trunk@14455 18797224-902f-48f8-a5cc-f745e15eee43
1998-11-11 20:44:02 +00:00
mjudge%netscape.com
f5eeccb6c0 more changes to API
git-svn-id: svn://10.0.0.236/trunk@14421 18797224-902f-48f8-a5cc-f745e15eee43
1998-11-11 09:26:42 +00:00
mjudge%netscape.com
eadf162c58 moving editor core to "core"
git-svn-id: svn://10.0.0.236/trunk@14400 18797224-902f-48f8-a5cc-f745e15eee43
1998-11-11 03:34:37 +00:00