kin%netscape.com
85e00a320c
Disabled HACKForceRedraw() calls. Added calls to nsIViewManager::BeginUpdateViewBatch() and nsIViewManager::EndUpdateViewBatch().
...
git-svn-id: svn://10.0.0.236/trunk@32714 18797224-902f-48f8-a5cc-f745e15eee43
1999-05-26 21:18:12 +00:00
akkana%netscape.com
0325b11e9d
6773: an nsresult was being checked before it was initialized. Appv'd chofmann
...
git-svn-id: svn://10.0.0.236/trunk@32364 18797224-902f-48f8-a5cc-f745e15eee43
1999-05-20 01:48:12 +00:00
kin%netscape.com
b1424f52bf
Fix for bug #4796 : UMR: nsEditor::JoinNodesImpl().
...
git-svn-id: svn://10.0.0.236/trunk@31903 18797224-902f-48f8-a5cc-f745e15eee43
1999-05-17 18:59:40 +00:00
kin%netscape.com
31bd0fb412
Commented out all calls to HACKForceRedraw(). We now call it from
...
nsEditor::EndTransaction().
git-svn-id: svn://10.0.0.236/trunk@31897 18797224-902f-48f8-a5cc-f745e15eee43
1999-05-17 13:31:56 +00:00
jfrancis%netscape.com
2a700f7f7c
insert list and indent work
...
git-svn-id: svn://10.0.0.236/trunk@31895 18797224-902f-48f8-a5cc-f745e15eee43
1999-05-17 12:22:31 +00:00
mjudge%netscape.com
b1fe71c301
adding in selection ability for images in editor only
...
git-svn-id: svn://10.0.0.236/trunk@31873 18797224-902f-48f8-a5cc-f745e15eee43
1999-05-17 00:21:50 +00:00
akkana%netscape.com
622007a1d7
5786: Cut shouldn't do anything when selection is collapsed
...
git-svn-id: svn://10.0.0.236/trunk@31638 18797224-902f-48f8-a5cc-f745e15eee43
1999-05-14 19:24:10 +00:00
rods%netscape.com
089a8e7024
removed reference to nsIDataFlavor and merged nsITransferable and nsIGenericTransferable
...
git-svn-id: svn://10.0.0.236/trunk@31462 18797224-902f-48f8-a5cc-f745e15eee43
1999-05-13 21:53:57 +00:00
sfraser%netscape.com
0659e88f57
Fix misplaced )
...
git-svn-id: svn://10.0.0.236/trunk@31407 18797224-902f-48f8-a5cc-f745e15eee43
1999-05-13 04:42:11 +00:00
tague%netscape.com
4e4477d076
Added work around for #5912
...
git-svn-id: svn://10.0.0.236/trunk@31315 18797224-902f-48f8-a5cc-f745e15eee43
1999-05-12 23:23:14 +00:00
sfraser%netscape.com
ac1a4a233b
Added file opening functionality
...
git-svn-id: svn://10.0.0.236/trunk@31300 18797224-902f-48f8-a5cc-f745e15eee43
1999-05-12 22:24:47 +00:00
akkana%netscape.com
1c82a16281
Add test for IsDataFlavorSupported for xpfe folks to fix bug 6289
...
git-svn-id: svn://10.0.0.236/trunk@31169 18797224-902f-48f8-a5cc-f745e15eee43
1999-05-11 23:34:40 +00:00
rods%netscape.com
220cb361cc
Removed static IID defs and am now using GetIID from the interface
...
git-svn-id: svn://10.0.0.236/trunk@30709 18797224-902f-48f8-a5cc-f745e15eee43
1999-05-07 19:39:58 +00:00
akkana%netscape.com
0d82dd7ce3
Make Insert HTML a transaction
...
git-svn-id: svn://10.0.0.236/trunk@30697 18797224-902f-48f8-a5cc-f745e15eee43
1999-05-07 19:23:17 +00:00
dp%netscape.com
f015deb427
Converting stray UnregisterFactory calls to UnregisterComponent
...
git-svn-id: svn://10.0.0.236/trunk@30485 18797224-902f-48f8-a5cc-f745e15eee43
1999-05-06 01:37:04 +00:00
akkana%netscape.com
392f2f0298
- Rename iDirection enum to ECollapsedSelectionAction
...
- Initial implementation of Insert HTML
git-svn-id: svn://10.0.0.236/trunk@30432 18797224-902f-48f8-a5cc-f745e15eee43
1999-05-05 23:27:17 +00:00
waterson%netscape.com
9153931565
Fix nsCOMPtr bustage.
...
git-svn-id: svn://10.0.0.236/trunk@30383 18797224-902f-48f8-a5cc-f745e15eee43
1999-05-05 05:56:58 +00:00
buster%netscape.com
8d03d0ce7c
fixed mac bustage
...
git-svn-id: svn://10.0.0.236/trunk@30377 18797224-902f-48f8-a5cc-f745e15eee43
1999-05-05 05:17:59 +00:00
buster%netscape.com
c59396c61b
added a param to GetPriorNode and GetNextNode to tell these methods whether to use or skip
...
non-editable content.
added some comments, turned off some debugging flags.
git-svn-id: svn://10.0.0.236/trunk@30373 18797224-902f-48f8-a5cc-f745e15eee43
1999-05-05 04:51:54 +00:00
buster%netscape.com
9a004fa0f0
1. block transformation infrastructure is now in place. We can go ahead and implement interesting
...
features like set paragraph style, set list type, indent, etc. I'm sure there's holes in my
implementation that these high level features will make obvious.
2. I've factored a lot of utility methods from several modules into nsEditor as public static methods.
This makes them easily accessable to all, and will help Joe and I remove redundant methods.
3. I changed the HTML tags to lower case, and made all string compares case-insensitive. No, this
isn't quite the right thing to do, but we don't have atoms from layout yet. The Right Thing is for us
to reuse those atoms.
git-svn-id: svn://10.0.0.236/trunk@30367 18797224-902f-48f8-a5cc-f745e15eee43
1999-05-05 04:05:19 +00:00
jfrancis%netscape.com
cd95192e53
fixing problem with undo of join txn
...
git-svn-id: svn://10.0.0.236/trunk@30096 18797224-902f-48f8-a5cc-f745e15eee43
1999-05-04 08:03:51 +00:00
tague%netscape.com
6b3b505007
Fixed bug #5527 (Editor is not able to accumulate successive Japanese input)
...
git-svn-id: svn://10.0.0.236/trunk@30002 18797224-902f-48f8-a5cc-f745e15eee43
1999-05-03 22:57:48 +00:00
sfraser%netscape.com
7ec5fb9eec
Memory leak fixes for bug 5870. r mjudge, a chofmann.
...
git-svn-id: svn://10.0.0.236/trunk@30001 18797224-902f-48f8-a5cc-f745e15eee43
1999-05-03 22:26:07 +00:00
mjudge%netscape.com
218c99b232
ok done Simon reviewed 5870. choffman approved for M5
...
git-svn-id: svn://10.0.0.236/trunk@29998 18797224-902f-48f8-a5cc-f745e15eee43
1999-05-03 21:52:19 +00:00
kostello%netscape.com
0b56937bd5
Changed:
...
nsI*Editor::OutputText(nsString& aOutputString);
nsI*Editor::OutputHTML(nsString& aOutputString);
These methods always returns back a Unicode version of whatever is in the content model. It is the
responsibility of the caller then to call whatever converter is required to convert to the appropriate
charset.
Added:
nsI*Editor::OutputText(nsIOutputStream* aOutputStream, nsString* aCharsetOverride = nsnull)
nsI*Editor::OutputHTML(nsIOutputStream* aOutputStream, nsString* aCharsetOverride = nsnull)
These methods output the the current content model to aOutputStream. The document is encoded using the
document defined charset or if the user passes in a non-null value for aCharsetOverride then this
encoding overrides the encoding used by the document.
git-svn-id: svn://10.0.0.236/trunk@29967 18797224-902f-48f8-a5cc-f745e15eee43
1999-05-03 18:48:39 +00:00
mjudge%netscape.com
5fb2b5d521
FIXING M5 BUGS: making weak links to stop extra addreff to presshell. fixing xul to set editor doc type to "content"
...
git-svn-id: svn://10.0.0.236/trunk@29799 18797224-902f-48f8-a5cc-f745e15eee43
1999-04-29 20:21:04 +00:00
kin%netscape.com
a32fea50dd
Modified nsIEditActionListener to have Will*() and Do*() methods. Added
...
nsIEditActionListener support to nsEditor.cpp and nsEditor.h.
git-svn-id: svn://10.0.0.236/trunk@29438 18797224-902f-48f8-a5cc-f745e15eee43
1999-04-27 17:14:28 +00:00
rods%netscape.com
addd96526d
Switch Paste support over to nsCOMPtr
...
git-svn-id: svn://10.0.0.236/trunk@28840 18797224-902f-48f8-a5cc-f745e15eee43
1999-04-23 14:41:32 +00:00
buster%netscape.com
1664ba068f
vastly improved type-in state handling. smaller and faster
...
git-svn-id: svn://10.0.0.236/trunk@28704 18797224-902f-48f8-a5cc-f745e15eee43
1999-04-22 14:46:53 +00:00
mcafee%netscape.com
9407a5b0b7
Removing NEW_CLIPBOARD_SUPPORT ifdef.
...
git-svn-id: svn://10.0.0.236/trunk@28668 18797224-902f-48f8-a5cc-f745e15eee43
1999-04-22 05:41:51 +00:00
cmanske%netscape.com
371fdba5b7
Added simple dialogs for insert link and restructured ui source directories
...
git-svn-id: svn://10.0.0.236/trunk@28472 18797224-902f-48f8-a5cc-f745e15eee43
1999-04-21 18:53:55 +00:00
buster%netscape.com
cbaf88c3e7
more factoring
...
git-svn-id: svn://10.0.0.236/trunk@28331 18797224-902f-48f8-a5cc-f745e15eee43
1999-04-20 22:02:02 +00:00
buster%netscape.com
c230df0710
added atoms for H1 and H2
...
git-svn-id: svn://10.0.0.236/trunk@28246 18797224-902f-48f8-a5cc-f745e15eee43
1999-04-20 17:42:07 +00:00
buster%netscape.com
5649bb420a
fix warning
...
git-svn-id: svn://10.0.0.236/trunk@28245 18797224-902f-48f8-a5cc-f745e15eee43
1999-04-20 17:41:00 +00:00
buster%netscape.com
9a19651f6b
allow delete of a node that is not in the document tree. This is a no-op.
...
git-svn-id: svn://10.0.0.236/trunk@28244 18797224-902f-48f8-a5cc-f745e15eee43
1999-04-20 17:40:15 +00:00
buster%netscape.com
9d9d079eda
*** empty log message ***
...
git-svn-id: svn://10.0.0.236/trunk@28243 18797224-902f-48f8-a5cc-f745e15eee43
1999-04-20 17:39:23 +00:00
rods%netscape.com
143378c1df
Added additional comments for Paste
...
git-svn-id: svn://10.0.0.236/trunk@28055 18797224-902f-48f8-a5cc-f745e15eee43
1999-04-19 19:35:55 +00:00
rods%netscape.com
5b35f2fb38
Switched over to new nsIGenericTransferable
...
git-svn-id: svn://10.0.0.236/trunk@27984 18797224-902f-48f8-a5cc-f745e15eee43
1999-04-17 13:51:42 +00:00
buster%netscape.com
a907540332
factored out re-parenting of content into MoveContentIntoNewParent
...
WIP on font handling.
git-svn-id: svn://10.0.0.236/trunk@27862 18797224-902f-48f8-a5cc-f745e15eee43
1999-04-16 18:29:12 +00:00
sfraser%netscape.com
e6296a153a
Adapt to fixed selection interface
...
git-svn-id: svn://10.0.0.236/trunk@27662 18797224-902f-48f8-a5cc-f745e15eee43
1999-04-15 20:20:12 +00:00
buster%netscape.com
d7cdf20fb8
* 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
git-svn-id: svn://10.0.0.236/trunk@27556 18797224-902f-48f8-a5cc-f745e15eee43
1999-04-15 06:06:33 +00:00
sfraser%netscape.com
bbda90e2b0
Updated to conform to new IDL-ized selection interfaces.
...
git-svn-id: svn://10.0.0.236/trunk@27289 18797224-902f-48f8-a5cc-f745e15eee43
1999-04-13 01:33:32 +00:00
akkana%netscape.com
32e728b35e
turn off annoying debug print
...
git-svn-id: svn://10.0.0.236/trunk@27227 18797224-902f-48f8-a5cc-f745e15eee43
1999-04-12 22:37:20 +00:00
jdunn%netscape.com
6a8295e0a5
on AIX (and I am suspecting HPUX) nsDerivedSafe needs to be a friend in
...
order to access the private constructor.
git-svn-id: svn://10.0.0.236/trunk@27181 18797224-902f-48f8-a5cc-f745e15eee43
1999-04-12 20:14:20 +00:00
jfrancis%netscape.com
c6d12c638f
checkpointing html typing rules
...
git-svn-id: svn://10.0.0.236/trunk@27152 18797224-902f-48f8-a5cc-f745e15eee43
1999-04-12 12:01:32 +00:00
buster%netscape.com
64e11a9d2f
vastly improved RemoveTextProperty
...
turned off debug output
git-svn-id: svn://10.0.0.236/trunk@27115 18797224-902f-48f8-a5cc-f745e15eee43
1999-04-11 22:55:40 +00:00
buster%netscape.com
23cdcfcbf2
added some debugging output
...
git-svn-id: svn://10.0.0.236/trunk@27114 18797224-902f-48f8-a5cc-f745e15eee43
1999-04-11 22:53:17 +00:00
mjudge%netscape.com
3f9c7d2ca8
adding batch changes around editor BeginTransaction. bug 4593
...
git-svn-id: svn://10.0.0.236/trunk@26770 18797224-902f-48f8-a5cc-f745e15eee43
1999-04-08 01:28:33 +00:00
akkana%netscape.com
c16be50ebc
4661: Fix win32 crasher inserting an image. Approved by chofmann.
...
Split nsEditor::DeleteSelectionAndCreateNode into two parts,
so that routines like InsertImage which need to set attributes
on the new node before inserting into the tree can do so.
This is somewhat temporary, since the current method isn't undo-able;
undo will be implemented after M4.
git-svn-id: svn://10.0.0.236/trunk@26766 18797224-902f-48f8-a5cc-f745e15eee43
1999-04-08 00:46:10 +00:00
mcafee%netscape.com
d98f8fccf1
Finishing clipboard ifdef so we can remove the old clipboard.
...
git-svn-id: svn://10.0.0.236/trunk@26678 18797224-902f-48f8-a5cc-f745e15eee43
1999-04-07 03:56:07 +00:00