rods%netscape.com
03fef4236a
Added code for switching over Clipboard support to new classes
...
At the moment the are ifdef'ed out
1999-03-23 15:45:58 +00:00
akkana%netscape.com
eec13f4b56
Add hard-coded alt-I for testing insert html
1999-03-22 22:10:29 +00:00
jfrancis%netscape.com
709b2b5918
bug 4057: fix is in layout; here I'm removing the old workaround code
1999-03-22 09:04:06 +00:00
tague%netscape.com
21fe067546
Added support for basic Japanese input on Win32
1999-03-19 23:36:20 +00:00
buster%netscape.com
76b4113a16
small change to match change in semantics in nsIDOMRange::GetCommonParent
1999-03-18 21:55:23 +00:00
leaf%mozilla.org
0a0f5ac00f
Landing nspr library name change, and plevent function call change.
1999-03-17 21:32:03 +00:00
buster%netscape.com
8a2a986a11
split and join now properly remember which content gets deleted, and which content remains in the tree
...
split and join now properly set selection to the remaining node, at the proper offset.
fixes bugs 3910 3881, with approval from chofmann
1999-03-17 20:56:10 +00:00
buster%netscape.com
5a81ea8ed6
I fixed the content twiddling part of bug 3778. Mike has a fix for the display part of it in his tree, but determined the risk didn't
...
justify the benefit. This is partly true because he and I would have had to integrate tonight before checking in, which we thought
presented some additional risk. In any event, this bug is fixed for all cases except when the user hits enter at the end of the
document. That is the only case in text editing when the selection will not render correctly.
Some related problems got fixed as a side benefit of my code changes. I filed bug 3896.
1999-03-17 06:13:46 +00:00
buster%netscape.com
5e09828b42
fixed join.
...
made a special case for typing with BR as the selection (as after an InsertBreak.)
made DEL and BACKSPACE at the beginning and end of a text node
fixes bugs 3742 and 3756 (with permission from choff and gkostello)
1999-03-16 16:38:09 +00:00
buster%netscape.com
6d531f533f
added WillUndo, DidUndo, WillRedo, DidRedo and some supporting code so
...
the text edit rule object can maintain it's own state more efficiently and correctly.
1999-03-15 05:08:30 +00:00
buster%netscape.com
2b8c73f66e
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
rods%netscape.com
acc73f7d27
Added DragListener for Drag & Drop (it's not turned on)
1999-03-14 04:45:00 +00:00
buster%netscape.com
d4224521f3
added checks for DOM Key event returning 0x0 key code. If we get 0, we bail.
1999-03-14 04:12:21 +00:00
kostello%netscape.com
d7eb47c97d
Added HACKForceRedraw() when deleting a range or inserting text
1999-03-14 01:02:53 +00:00
kostello%netscape.com
09e20dae08
Add HACKForceRedraw() to force a redraw until the drawing
...
problems are solved in Gecko
1999-03-14 00:31:35 +00:00
buster%netscape.com
06f218e889
InsertBreak now works at the beginning of a line. Plus a trivial bug fix.
1999-03-13 05:31:22 +00:00
buster%netscape.com
240da85e33
added delegate code for InsertText (WillInsertText, DidInsertText)
...
which calls generic WillInsert, DidInsert to test for magic bogus
content and does the right thing.
You now can't delete magic content with user gestures, and when you
insert anything the magic kludgy is deleted first.
1999-03-13 04:53:21 +00:00
kostello%netscape.com
def5f64f9e
Force Redraw on Enter: this is a workaround for bug#3356 & bug#3639
1999-03-12 15:40:29 +00:00
sfraser%netscape.com
84473f96fa
Throw the switch so we now pay attention to the charCode in the key event.
1999-03-12 05:28:22 +00:00
buster%netscape.com
e7be453ae5
deleting the last editable object in a document now causes a bogus placeholder <P> </P> to be added to the document. This node has the
...
attribute MOZ_EDITOR_BOGUS_NODE set to TRUE. this solves the problem of when you do a SelectAll then a DEL, you don't have a cursor
or any way to set selection in the document. You do still have the problem that the nbsp is pretty narrow and the frame containing it is hard to hit
with the mouse. We really need the "set selection to frame nearest the mouse down point" operation.
the intent is for all inserts to look for this node, and if found delete it before the insert. likewise, all deletes will be no-ops if this node is found.
1999-03-12 02:28:24 +00:00
buster%netscape.com
10abab085e
fixed a small bug. mRefNode may be nsnull.
1999-03-12 02:27:48 +00:00
mjudge%netscape.com
b6027c828a
reverting fix :(
1999-03-12 01:49:12 +00:00
mjudge%netscape.com
fd5733ba79
fixed copy paste issue on windows, linking wrong.lib file
1999-03-12 00:01:24 +00:00
sfraser%netscape.com
4640d83543
Fix for 3630 -- terminate text and HTML strings returned from the editor.
1999-03-11 21:31:03 +00:00
sfraser%netscape.com
1f8973c082
Fix the key handling, and fix my macro for the charCode stuff
1999-03-11 19:34:28 +00:00
sfraser%netscape.com
b784058886
Add SelectAll()
1999-03-11 19:33:37 +00:00
sfraser%netscape.com
97a6619823
Adapted key listener to get char code directly from event, rather than trying to do a key code conversion (#ifdeffed out until char code is there on all platforms).
1999-03-11 06:42:09 +00:00
mjudge%netscape.com
e3c9b3a179
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
akkana%netscape.com
13a246a08e
Change the reference to the global selection mgr to fix windows build
1999-03-11 00:08:10 +00:00
akkana%netscape.com
bf40a872a6
Comment out debug prints
1999-03-10 22:50:51 +00:00
akkana%netscape.com
2920383dee
Implement editor cut/copy/paste
1999-03-10 22:46:15 +00:00
akkana%netscape.com
7606e45b30
Fix Solaris build problems -- thanks to braddr & bruce @ puremagic.com
1999-03-10 22:41:18 +00:00
sfraser%netscape.com
b5a8cb2fc4
Add Cut, Copy and Paste to editor interfaces and classes, with a stub implemenatioon in nsEditor.
1999-03-10 21:29:41 +00:00
kin%netscape.com
3854e3bfb8
Changed all occurences of NS_TRANSACTION_MANAGER_FACTORY_CID
...
and kCTransactionManagerFactoryCID to NS_TRANSACTIONMANAGER_CID
and kCTransactionManagerCID.
1999-03-10 21:27:02 +00:00
sfraser%netscape.com
40c939125e
Add static to remove warning
1999-03-10 21:26:33 +00:00
kin%netscape.com
bf5f23f2e0
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
cd54a83c26
first cut at rules delegate for text editor, will change drastically in the next week or two
1999-03-10 19:53:26 +00:00
buster%netscape.com
0c62f0bed4
creation of text nodes now supported
1999-03-10 19:51:55 +00:00
buster%netscape.com
bb2bd2a108
mNewNode is a DOM Node, not a DOM Element
1999-03-10 19:51:07 +00:00
buster%netscape.com
cab053f693
small fix of an off-by-one error in an assertion
1999-03-10 19:50:17 +00:00
buster%netscape.com
f436abdcd6
SelectAll wired to Ctrl-A.
1999-03-10 19:49:43 +00:00
buster%netscape.com
709ac5c2c8
small interface change to InsertBreak
1999-03-10 19:49:18 +00:00
buster%netscape.com
fd1334e42c
improvements to InsertBreak, and first crack at adding support for rules delegate
1999-03-10 19:48:46 +00:00
buster%netscape.com
88a87e021d
Implemented SelectAll.
...
Added nsEditor::DoInitialInsert() for doing first insert into an empty document. Try typing into <html><body></body></html>
Added some smarts to DeleteSelectionAndCreateNode() so it only splits the selected node when appropriate (when the selection is not at offset 0 or max)
CreateElementTxn now creates text nodes as well as DOM elements
1999-03-10 19:48:13 +00:00
buster%netscape.com
9e210afb5b
added nsTextEditRules
1999-03-10 19:47:34 +00:00
cmanske%netscape.com
c391f0853e
2nd try to get it right in get editor factory method
1999-03-09 23:06:16 +00:00
cmanske%netscape.com
ec8f15ffaf
Fixed editor registration and startup problems
1999-03-09 22:52:24 +00:00
jfrancis%netscape.com
5f2a20fa5b
catching up with nsComponentManager and getting rid of cout usage
1999-03-09 20:11:27 +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