Commit Graph
27 Commits
Author SHA1 Message Date
buster@netscape.com 5f7938eb27 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 f2071e943e 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 983c42ff56 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 bfe820c79b 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 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
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
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 858ec20a39 SplitElementTxn implementation. Do only.
test with Control-S.
1999-01-08 22:16:22 +00:00
sfraser@netscape.com 3d3e68066d Hack so that keycodes are returned on Mac (again! Buster wiped it out). 1999-01-08 03:39:55 +00:00
buster@netscape.com fd5562df76 fixed an uninitialized pointer problem
ctrl-ins appends an HR to the BODY
1999-01-08 01:41:34 +00:00
buster@netscape.com 37f5b8ca60 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 a55a507fd4 create element transaction WIP 1999-01-07 22:36:23 +00:00
buster@netscape.com ea66bbb244 support for DeleteTextTxn, backspace and delete 1999-01-07 17:58:15 +00:00
sfraser@netscape.com 0023db0d8f Hack so that keycodes are returned on Mac 1999-01-07 01:17:20 +00:00
buster@netscape.com cf3bfd9bb8 support for inserting text 1999-01-07 01:02:32 +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
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
mjudge@netscape.com db197bbe14 just broke the mac build. I will tell jfrancis! 1998-11-28 01:19:53 +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 9153aff143 changing names for nsEditorMouseListener ect 1998-11-20 19:30:50 +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 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 4357797aa2 changes for better naming conventions of interfaces and their implementation 1998-11-11 20:48:57 +00:00