cmanske%netscape.com
a762d8c6c5
More improvements to insert link and insert image dialogs. Added EdDialogCommon.js, where we should put java script used by all dialogs
...
git-svn-id: svn://10.0.0.236/trunk@30639 18797224-902f-48f8-a5cc-f745e15eee43
1999-05-07 00:44:46 +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
cmanske%netscape.com
3918932e7d
Added the redraw hack to SetParagraphFormat so we can see the content change
...
git-svn-id: svn://10.0.0.236/trunk@30483 18797224-902f-48f8-a5cc-f745e15eee43
1999-05-06 01:33:48 +00:00
cmanske%netscape.com
0a9edc9d32
Added UI for paragraph style and preliminary versions of image and link dialogs
...
git-svn-id: svn://10.0.0.236/trunk@30437 18797224-902f-48f8-a5cc-f745e15eee43
1999-05-05 23:29:18 +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
jfrancis%netscape.com
cf6d856eef
revamped join on deletion
...
git-svn-id: svn://10.0.0.236/trunk@30095 18797224-902f-48f8-a5cc-f745e15eee43
1999-05-04 08:03:07 +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
jfrancis%netscape.com
b4767a9319
fix for bug 5832; bad constant for nbsp value. rvd - floppy moose; appv - chofmann
...
git-svn-id: svn://10.0.0.236/trunk@30000 18797224-902f-48f8-a5cc-f745e15eee43
1999-05-03 22:16:02 +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
jfrancis%netscape.com
e1f400aecd
fix for bug 5782 - check for null return when getting prev/next node is deletion rules; rvd floppy moose, appr chofmann
...
git-svn-id: svn://10.0.0.236/trunk@29950 18797224-902f-48f8-a5cc-f745e15eee43
1999-05-01 19:37:50 +00:00
buster%netscape.com
68a1ee7d46
with permission from chofmann:
...
1. fix for bug 5796, crash on exit. This was a bad, bad memory smudge on my part, easily fixed by doing the right ref counting in the
right places.
2. some preliminary code for M6 block transformations has leaked into this checkin. It's safer than trying to re-code the fix above into
a fresh tree. Unless you're making calls to do block transformations, you won't see any difference.
git-svn-id: svn://10.0.0.236/trunk@29897 18797224-902f-48f8-a5cc-f745e15eee43
1999-04-30 22:40:18 +00:00
joki%netscape.com
a158b164ef
Adding scrolling fixes to fix bug #3999 , A: chofmann
...
git-svn-id: svn://10.0.0.236/trunk@29867 18797224-902f-48f8-a5cc-f745e15eee43
1999-04-30 19:38:39 +00:00
akkana%netscape.com
98097b95da
5734: put back working copy from version 1.17, which got accidentally stomped in a cvs merge. a=cyeh,kostello
...
git-svn-id: svn://10.0.0.236/trunk@29843 18797224-902f-48f8-a5cc-f745e15eee43
1999-04-30 18:03:39 +00:00
mjudge%netscape.com
9a8eb984ef
hack to get redraw to work on setting bold or italics editor only
...
git-svn-id: svn://10.0.0.236/trunk@29813 18797224-902f-48f8-a5cc-f745e15eee43
1999-04-30 00:06:40 +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
pinkerton%netscape.com
44fe02fdd9
fix build bustage comparing raw pointer to nsCOMPtr.
...
git-svn-id: svn://10.0.0.236/trunk@29782 18797224-902f-48f8-a5cc-f745e15eee43
1999-04-29 01:01:04 +00:00
buster%netscape.com
fa9252b0f9
approved bug fix for infinite loop when typing a space in a document with only a single text node
...
git-svn-id: svn://10.0.0.236/trunk@29777 18797224-902f-48f8-a5cc-f745e15eee43
1999-04-29 00:14:05 +00:00
ftang%netscape.com
72ac644edf
pass charset info from the current doc to the parser
...
git-svn-id: svn://10.0.0.236/trunk@29586 18797224-902f-48f8-a5cc-f745e15eee43
1999-04-27 23:52:39 +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
sfraser%netscape.com
e304ad83e7
Advance the iterator so we don't freeze bringing up the link dialog.
...
git-svn-id: svn://10.0.0.236/trunk@29323 18797224-902f-48f8-a5cc-f745e15eee43
1999-04-27 01:10:10 +00:00
buster%netscape.com
74a2e2a5ec
just removing a printf
...
git-svn-id: svn://10.0.0.236/trunk@29298 18797224-902f-48f8-a5cc-f745e15eee43
1999-04-26 23:41:13 +00:00
jfrancis%netscape.com
8591f5670e
more html typing rules implementation
...
git-svn-id: svn://10.0.0.236/trunk@29166 18797224-902f-48f8-a5cc-f745e15eee43
1999-04-26 14:08:52 +00:00
rickg%netscape.com
8832f32e49
sync with nsString2
...
git-svn-id: svn://10.0.0.236/trunk@29011 18797224-902f-48f8-a5cc-f745e15eee43
1999-04-24 01:39:50 +00:00
bruce%cybersight.com
1ef8e5b65a
Must define inline methods _before_ calling them on AIX 4.2 with xlC.
...
git-svn-id: svn://10.0.0.236/trunk@28857 18797224-902f-48f8-a5cc-f745e15eee43
1999-04-23 16:47:30 +00:00
rods%netscape.com
5b22bfbff7
Switch Drag&Drop over to nsCOMPtr and fixed service release
...
git-svn-id: svn://10.0.0.236/trunk@28841 18797224-902f-48f8-a5cc-f745e15eee43
1999-04-23 14:43:30 +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
buster%netscape.com
bd55504f8d
remove block
...
git-svn-id: svn://10.0.0.236/trunk@28703 18797224-902f-48f8-a5cc-f745e15eee43
1999-04-22 14:45:48 +00:00
rickg%netscape.com
8884beb31a
update to sync with nsString2
...
git-svn-id: svn://10.0.0.236/trunk@28675 18797224-902f-48f8-a5cc-f745e15eee43
1999-04-22 06:19:44 +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
buster%netscape.com
a0c5370c5e
added the notion of contain vs. replace for block transformations.
...
git-svn-id: svn://10.0.0.236/trunk@28519 18797224-902f-48f8-a5cc-f745e15eee43
1999-04-21 21:01:59 +00:00
buster%netscape.com
2003734a30
fixed a bug in handling text properties that have an attribute, such as <FONT color=...>
...
git-svn-id: svn://10.0.0.236/trunk@28518 18797224-902f-48f8-a5cc-f745e15eee43
1999-04-21 21:01:30 +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
jfrancis%netscape.com
6c71acb72d
more typing rules work - space and tab occassionally do the right thing now
...
git-svn-id: svn://10.0.0.236/trunk@28460 18797224-902f-48f8-a5cc-f745e15eee43
1999-04-21 14:49:58 +00:00
buster%netscape.com
0411bb407a
more block transformation WIP: nested blocks work much better now
...
git-svn-id: svn://10.0.0.236/trunk@28427 18797224-902f-48f8-a5cc-f745e15eee43
1999-04-21 04:08:43 +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
0af3b54f63
factoring of text property code for reuse.
...
extended APIs to handle fonts -- the trick here is to allow attributes and values
to effectively describe independent properties.
git-svn-id: svn://10.0.0.236/trunk@28252 18797224-902f-48f8-a5cc-f745e15eee43
1999-04-20 17:49:34 +00:00
buster%netscape.com
3528936793
preliminary work for applying block transformations to content. works for simple selections.
...
remove block parent not yet implemented.
git-svn-id: svn://10.0.0.236/trunk@28251 18797224-902f-48f8-a5cc-f745e15eee43
1999-04-20 17:47:12 +00:00
buster%netscape.com
26494bf503
added tests for fonts and block transformations
...
git-svn-id: svn://10.0.0.236/trunk@28247 18797224-902f-48f8-a5cc-f745e15eee43
1999-04-20 17:43:26 +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