Commit Graph
16 Commits
Author SHA1 Message Date
buster@netscape.com 84b5f256c8 fixed warnings 1999-06-28 13:44:40 +00:00
buster@netscape.com d36a64814f minor cleanup, removal of old code 1999-06-12 21:13:15 +00:00
sfraser@netscape.com 44bf3a6bbf Changed transactions not to have owning pointers to the Editor. 1999-05-28 00:13:02 +00:00
kin@netscape.com 8191eaeb18 Changed all occurrences of GetUndoString() and GetRedoString() to accept nsString *. 1999-05-27 20:50:52 +00:00
buster@netscape.com 258cd97612 factored out re-parenting of content into MoveContentIntoNewParent
WIP on font handling.
1999-04-16 18:29:12 +00:00
cmanske@netscape.com 1f37937813 Changed editor classes to inherited model. Fixed lots of destructor warnings. 1999-03-05 21:05:35 +00:00
cmanske@netscape.com 786d067af5 Implemented nsHTMLEditor. Changed prototypes to be use NS_IMETHOD and NS_IMETHODIMP. Started table editing transactions 1999-03-02 05:30:53 +00:00
mcafee@netscape.com 357e75196c Solaris: adding do_QueryInterface() wrappers to finish scc's nsCOMPtr carpool. a=scc 1999-02-19 11:30:31 +00:00
buster@netscape.com 29eddc6299 * the viewer test app now instantiates an nsITextEditor via nsRepository for "Editor mode"
* the TxnMgr is invoked by the editor via nsRepository
* editor.h|cpp have been renamed nsEditor.h|cpp for consistency
* editorInterfaces.h|cpp have been renamed nsEditorEventListeners.c|hpp
* added nsITextEditor.h, nsTextEditor.h|cpp.  The text editor is a placeholder for the rules unique to text
editing.  It invokes the nsIEditor to do core editing operations.
* reworked nsIEditor and related interfaces as per emerging design.
* nsEditor::BeginTransaction and EndTransaction call nsTransactionManager::BeginBatch and EndBatch.
1999-02-12 17:18:58 +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
pinkerton@netscape.com 2850ce3b00 fixes for SetDOMAttribute --> SetAttribute change. 1999-01-12 18:20:58 +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 135c5b2512 support for removing attributes 1999-01-07 01:02:16 +00:00
buster@netscape.com 7f5adb32d3 ChangedAttributeTxn implementation
base class EditTxn implementation
1999-01-06 20:30:13 +00:00