jfrancis%netscape.com
d6e95890c8
Fix for bug 21346.
This is actually a major reworking of how the low level editor txns perturb selection. There is a mode now for telling the txns not to disturb the selection. There is also a fix for unlisting lists (sometimes list items got merged unintentionally when unlisting).
2000-01-04 03:09:41 +00:00
dmose%mozilla.org
142ac52eaf
updated xPL license boilerplate to v1.1, a=chofmann@netscape.com,r=endico@mozilla.org
1999-11-06 03:43:54 +00:00
buster%netscape.com
7a638a9c93
fixed some space leaks reported by kipp. no bug #, r=tague
...
added some assertions and error checking to nsEditor::Do, no bug #, r=kin
fixed bug 14898 (implemented type-in state for any context), r=jfrancis
1999-10-06 20:27:41 +00:00
brade%netscape.com
5dc0db68e3
allow for txn to have id/string for get/set
1999-09-21 22:31:27 +00:00
jfrancis%netscape.com
9ea8122814
making nsPresShell and nsDocument support weak references; using weak references to docs and pres shells within the editor
1999-08-25 10:51:55 +00:00
buster%netscape.com
dca6c49edd
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
kin%netscape.com
41199b08d2
Changed all occurrences of GetUndoString() and GetRedoString() to accept nsString *.
1999-05-27 20:50:52 +00:00
jdunn%netscape.com
502899b64d
on AIX (and I am suspecting HPUX) nsDerivedSafe needs to be a friend in
...
order to access the private constructor.
1999-04-12 20:14:20 +00:00
cmanske%netscape.com
072ec2c507
Changed editor classes to inherited model. Fixed lots of destructor warnings.
1999-03-05 21:05:35 +00:00
scc%netscape.com
2ec0a397ea
rename |IID()| --> |GetIID()|
1999-03-03 19:48:57 +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
3c0989c25b
minor fixes and lots of comments
1999-02-15 18:25:30 +00:00
akkana%netscape.com
eb4fd64caa
Implement a new interface, nsIDOMSelection, intended to become the
...
external interface for selection (to be IDL-ified later).
Fix some editor bugs:
- Advance the cursor on text insert (so text is inserted in the right order)
- Make DeleteSelection in the editor call the actual selection
- Make DeleteSelection update the frames' notion of the selection
1999-01-29 18:57:56 +00:00
buster%netscape.com
e1f0594680
put in crude support for aggregating type-ins across selection changes.
...
this needs to get beefed up to handle offsets within elements, which we'll
do as soon as selection is set properly following an insertion.
1999-01-28 19:00:14 +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
sfraser%netscape.com
f0793df5ed
Reinstate buster's changes, with a fix for the nsCOMPtr problem.
1999-01-15 00:03:41 +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
f328d2f2b1
use base class Redo
1999-01-07 17:57:57 +00:00
buster%netscape.com
4435c98060
support for inserting text
1999-01-07 01:02:32 +00:00