Граф коммитов

29 Коммитов

Автор SHA1 Сообщение Дата
buster%netscape.com 033ffdd7ed * beginnings of font handling. WIP, I did a big merge today and I'm checking in to synch up, not to announce new functionality here.
* added TextEditorTest.cpp, a unit test module for nsTextEditor.  It's use is actually commented out since my checkin is happening so late due
to all-day build bustage, and I don't have a Mac handy to verify.  With someone's Mac help tomorrow, I can turn it on.
* some minor bug fixes to property handling
1999-04-15 06:06:33 +00:00
jfrancis%netscape.com fbf6bdcbae Adding nsHTMLEditRules.cpp 1999-03-29 08:01:21 +00:00
leaf%mozilla.org 4ad9f70d5d Landing nspr library name change, and plevent function call change. 1999-03-17 21:32:03 +00:00
buster%netscape.com d5932338f7 added PlaceholderTxn. This is an aggregate transaction that sits on the undo stack
and merges in subsequent transactions indiscriminately until it's told to stop.
It also gives the last transaction in its child list a chance to merge the
next transaction.
All this is in support of complex transactions that result in text insertion
being able to collapse into a single undoable event.
Also improved tracking of bogus content node used when document is empty.
1999-03-15 00:57:32 +00:00
mjudge%netscape.com 17ab7eccaa reverting fix :( 1999-03-12 01:49:12 +00:00
mjudge%netscape.com d765fc4d34 fixed copy paste issue on windows, linking wrong.lib file 1999-03-12 00:01:24 +00:00
mjudge%netscape.com 40d69bded8 fixing windows build bustage by temporarily loading the raptorwidget_s.dll when ender.dll is loaded. temporary until repository code working 1999-03-11 00:20:27 +00:00
kin%netscape.com 17133e31ce Modified the clobber target so that it removes the dll from the bin/components directory. 1999-03-10 21:25:03 +00:00
buster%netscape.com fe54c86b01 added nsTextEditRules 1999-03-10 19:47:34 +00:00
cmanske%netscape.com f2098f2965 Fixed editor classes to do autoregistration correctly and moved target directory to bin/components 1999-03-08 22:46:33 +00:00
kostello%netscape.com dceb833a0a Added Implementations for OutputHTML and OutputTXT 1999-03-04 21:53:42 +00:00
cmanske%netscape.com e415eb79b4 Implemented nsHTMLEditor. Changed prototypes to be use NS_IMETHOD and NS_IMETHODIMP. Started table editing transactions 1999-03-02 05:30:53 +00:00
buster%netscape.com c05dfef653 added InsertElementTxn
added nsEditProperty
beginning of implementation for SetTextProperties.  Currently, it only works if the selection is entirely within a single text node.  Currently only
supports bold and italic (mapped to ctrl-b and ctrl-i for testing purposes.)
changed a bunch of interfaces to make things easier, like CreateElement now returns (as an out-param) the element created.
1999-02-24 17:24:37 +00:00
buster%netscape.com 1ceedf5abc * 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 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 d18aa37ef9 SplitElementTxn implementation. Do only.
test with Control-S.
1999-01-08 22:16:22 +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
buster%netscape.com 4435c98060 support for inserting text 1999-01-07 01:02:32 +00:00
buster%netscape.com d2d19db4f0 ChangedAttributeTxn implementation
base class EditTxn implementation
1999-01-06 20:30:13 +00:00
mjudge%netscape.com 14720e37e2 tabbing 1998-11-29 21:59:52 +00:00
mjudge%netscape.com bd75a79258 removed non production code 1998-11-28 01:28:00 +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 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 baca672151 changes to get autopointers to work 1998-11-11 20:44:02 +00:00
mjudge%netscape.com b3a77e866c more changes to API 1998-11-11 09:26:42 +00:00
mjudge%netscape.com 091a6a14b8 moving editor core to "core" 1998-11-11 03:34:37 +00:00