Commit Graph

27 Commits

Author SHA1 Message Date
buster%netscape.com
666e4a3c97 fixed some UMR's due to mRefCnt being uninitialized. This fixes some memory leaks. 1999-01-28 19:45:23 +00:00
buster%netscape.com
cd0654ab9d fixed a minor bug where shortcut keys were being declared as "handled" even if
Ctrl wasn't pressed, so you couldn't type in the character.
1999-01-28 17:06:42 +00:00
buster%netscape.com
1d6de2d02b changed nsIEditor to enable undo separately from Init
work in progress API changes to nsIEditor and nsEditor
1999-01-28 06:02:53 +00:00
buster%netscape.com
e4eb194e3d made split test work with Ctrl-S only, so now you can type "s" 1999-01-22 19:03:23 +00:00
buster%netscape.com
d93ebdb1ac 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
buster%netscape.com
c544a4698b * 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
buster%netscape.com
50d5211732 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
397587a596 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
d18aa37ef9 SplitElementTxn implementation. Do only.
test with Control-S.
1999-01-08 22:16:22 +00:00
sfraser%netscape.com
4e85ff5519 Hack so that keycodes are returned on Mac (again! Buster wiped it out). 1999-01-08 03:39:55 +00:00
buster%netscape.com
196f38742c fixed an uninitialized pointer problem
ctrl-ins appends an HR to the BODY
1999-01-08 01:41:34 +00:00
buster%netscape.com
27b37e6ffc implemented do and undo for CreateElement
the test is INS key, it adds an HR
1999-01-08 01:30:53 +00:00
buster%netscape.com
6c3a16ef91 create element transaction WIP 1999-01-07 22:36:23 +00:00
buster%netscape.com
6c2020d8cf support for DeleteTextTxn, backspace and delete 1999-01-07 17:58:15 +00:00
sfraser%netscape.com
c1bf80c0da Hack so that keycodes are returned on Mac 1999-01-07 01:17:20 +00:00
buster%netscape.com
4435c98060 support for inserting text 1999-01-07 01:02:32 +00:00
buster%netscape.com
af2c66d39a support for ChangeAttributeTxn 1999-01-06 20:29:11 +00:00
mjudge%netscape.com
1a702419c2 changing COM_auto_ptr to nsCOMPtr.h 1998-12-17 19:26:17 +00:00
cmanske%netscape.com
8d267cb79d Fixed build problems with Editor Gui Manager 1998-12-09 19:57:09 +00:00
mjudge%netscape.com
ac6b0fe43f removing NULL replacing with nsnull 1998-12-03 23:46:36 +00:00
mjudge%netscape.com
63135b6376 just broke the mac build. I will tell jfrancis! 1998-11-28 01:19:53 +00:00
mjudge%netscape.com
21f34b8bf8 putting in changes for selection in editor. fixing problem akkana has had? 1998-11-23 21:53:14 +00:00
mjudge%netscape.com
01f2d41279 changing names for nsEditorMouseListener ect 1998-11-20 19:30:50 +00:00
mjudge%netscape.com
2ca0a8f304 editor changes will not affect build. working on typing 1998-11-18 00:49:02 +00:00
mjudge%netscape.com
33669aac7f this works with the new autopointers 1998-11-12 22:18:43 +00:00
mjudge%netscape.com
5087e0532d we now have a DLL!!! 1998-11-12 00:15:58 +00:00
mjudge%netscape.com
b0e2c08be3 changes for better naming conventions of interfaces and their implementation 1998-11-11 20:48:57 +00:00