jfrancis%netscape.com
6b9ca53f07
fix for 20457: deletion in editor pretty darn screwy. Lots of changes to improve this. Document modifying entry points in editor now go thru a standard sandwich, which allows tracking of what changed in the doc, which allows proper post-processing of what changed. Also, all deletions now go thru the rules code, if applicable. Also some bugs in tracking the changed document portion have been fixed. Finally selection setting after a delete is improved.
1999-12-07 08:30:19 +00:00
dmose%mozilla.org
8535dda53e
updated xPL license boilerplate to v1.1, a=chofmann@netscape.com,r=endico@mozilla.org
1999-11-06 03:43:54 +00:00
brade%netscape.com
19ec219fb7
allow for txn to have id/string for get/set
1999-09-21 22:31:27 +00:00
sfraser%netscape.com
98818652df
Landing editor API changes. Removed nsITextEditor and nsTextEditor, split interfaces into more, non-overlapping interfaces, and other general cleanup.
1999-08-09 01:37:50 +00:00
buster%netscape.com
5c7a93503f
replaced IID's with CID's where they were appropriate, and removed lots of
...
NS_DEFINE_IID macros in favor of GetCID() wherever I could.
plus some minor bug fixes.
1999-07-15 19:13:46 +00:00
sfraser%netscape.com
0b45173a06
Changed transactions not to have owning pointers to the Editor.
1999-05-28 00:13:02 +00:00
kin%netscape.com
e667e633d4
Changed all occurrences of GetUndoString() and GetRedoString() to accept nsString *.
1999-05-27 20:50:52 +00:00
akkana%netscape.com
4123eec5cf
- Rename iDirection enum to ECollapsedSelectionAction
...
- Initial implementation of Insert HTML
1999-05-05 23:27:17 +00:00
jfrancis%netscape.com
05c077bc42
including header
1999-03-09 20:04:59 +00:00
jfrancis%netscape.com
bcb97b8ac4
integrated with content iterator
1999-03-09 19:22:48 +00:00
cmanske%netscape.com
7aca17a8cb
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
061b766061
Highlights:
...
updated to new nsCOMPtr usage
nsTextEditor::InsertBreak() implemented
splits the text node at the caret (deletes any extended selection to force a collapsed selection.)
inserts a <BR> which I assume we'll convert to a CR when we write to a text stream.
undo and redo work, except for the bug noted below
More stuff:
interface cleanup
strategic debugging code added
delete selection txn sets the collapses the selection...this is just a placeholder, but I needed it for undo/redo of InsertBreak.
join and split now work for text nodes as well as interior nodes
1999-02-17 19:42:29 +00:00
buster%netscape.com
c947533db7
minor fixes and lots of comments
1999-02-15 18:25:30 +00:00
buster%netscape.com
c80b396ad6
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
83a4e325ce
* 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
92705ab193
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