jfrancis%netscape.com
5846a4cc07
const crazy - bet you can't eat jsut one!
...
git-svn-id: svn://10.0.0.236/trunk@31898 18797224-902f-48f8-a5cc-f745e15eee43
1999-05-17 14:14:36 +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
656494ed95
fixing bustage
...
git-svn-id: svn://10.0.0.236/trunk@31896 18797224-902f-48f8-a5cc-f745e15eee43
1999-05-17 13:10:29 +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
cmanske%netscape.com
18352a19b6
Implemented Spell Checking
...
git-svn-id: svn://10.0.0.236/trunk@31452 18797224-902f-48f8-a5cc-f745e15eee43
1999-05-13 20:59:08 +00:00
cmanske%netscape.com
1dc89a2562
Implemented InsertLinkAroundSelection
...
git-svn-id: svn://10.0.0.236/trunk@30786 18797224-902f-48f8-a5cc-f745e15eee43
1999-05-07 22:26:23 +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
sfraser%netscape.com
ebe41203f5
Implement Save, Save As in editor.
...
git-svn-id: svn://10.0.0.236/trunk@30665 18797224-902f-48f8-a5cc-f745e15eee43
1999-05-07 05:02:35 +00:00
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
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
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
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
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
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
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
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
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
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
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
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
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
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
bruce%cybersight.com
76b73c5a60
Add new line for native unix compilers.
...
git-svn-id: svn://10.0.0.236/trunk@27971 18797224-902f-48f8-a5cc-f745e15eee43
1999-04-17 02:32:32 +00:00
bruce%cybersight.com
452caf2517
Added blank line for native compilers.
...
git-svn-id: svn://10.0.0.236/trunk@27935 18797224-902f-48f8-a5cc-f745e15eee43
1999-04-16 22:34:54 +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
buster%netscape.com
149ccd1c08
initial check in for nsITextEditor unit test
...
git-svn-id: svn://10.0.0.236/trunk@27560 18797224-902f-48f8-a5cc-f745e15eee43
1999-04-15 07:01:24 +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
jfrancis%netscape.com
427a56fc02
merging in rules work with Simon's selection changes
...
git-svn-id: svn://10.0.0.236/trunk@27324 18797224-902f-48f8-a5cc-f745e15eee43
1999-04-13 13:35:08 +00:00
bruce%cybersight.com
0b3e46b83a
Fix for compile error on AIX. Need to define inline functions before calling them. Reviewed by akkana.
...
git-svn-id: svn://10.0.0.236/trunk@27294 18797224-902f-48f8-a5cc-f745e15eee43
1999-04-13 02:28:11 +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
jfrancis%netscape.com
2b679b5ef6
attempting to fix unix build
...
git-svn-id: svn://10.0.0.236/trunk@27157 18797224-902f-48f8-a5cc-f745e15eee43
1999-04-12 14:10:24 +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
akkana%netscape.com
202959b6e8
Cleaner addendum to the fix for 4661
...
git-svn-id: svn://10.0.0.236/trunk@26767 18797224-902f-48f8-a5cc-f745e15eee43
1999-04-08 00:54:32 +00:00