mjudge%netscape.com
78cd7564f7
no point in turning off the link handler if we are allready in text only mode.
...
git-svn-id: svn://10.0.0.236/trunk@69746 18797224-902f-48f8-a5cc-f745e15eee43
2000-05-15 05:18:45 +00:00
cmanske%netscape.com
97d27f72e7
Another tweak to table editing
...
git-svn-id: svn://10.0.0.236/trunk@69741 18797224-902f-48f8-a5cc-f745e15eee43
2000-05-15 04:39:27 +00:00
cmanske%netscape.com
429c38a08e
Shoud return NS_EDITOR_ELEMENT_NOT_FOUND from GetFirstSelectedCellInTable if cell not found
...
git-svn-id: svn://10.0.0.236/trunk@69740 18797224-902f-48f8-a5cc-f745e15eee43
2000-05-15 04:29:10 +00:00
cmanske%netscape.com
8803273a98
Table editing: Join and Split cells (part of bug 20973)
...
git-svn-id: svn://10.0.0.236/trunk@69728 18797224-902f-48f8-a5cc-f745e15eee43
2000-05-15 03:06:29 +00:00
mjudge%netscape.com
1f55bd749b
writing out from content start using domseelction
...
git-svn-id: svn://10.0.0.236/trunk@69537 18797224-902f-48f8-a5cc-f745e15eee43
2000-05-13 08:04:29 +00:00
jfrancis%netscape.com
3b0339c1f2
fix for 38991: making lists screwed up
...
git-svn-id: svn://10.0.0.236/trunk@69482 18797224-902f-48f8-a5cc-f745e15eee43
2000-05-12 23:43:50 +00:00
brade%netscape.com
b1dc7bed7a
allow drop of files into Composer (create image or link as appropriate)
...
git-svn-id: svn://10.0.0.236/trunk@69418 18797224-902f-48f8-a5cc-f745e15eee43
2000-05-12 14:57:03 +00:00
cmanske%netscape.com
40262764bc
Fixed SetBackgroundColor to remove 'bgcolor' when appropriate. Changed prompt for Title to use new string messages
...
git-svn-id: svn://10.0.0.236/trunk@69317 18797224-902f-48f8-a5cc-f745e15eee43
2000-05-12 02:37:33 +00:00
mjudge%netscape.com
fee885fd3f
changes to add hidden attribute on selection. also to make setcaret go through the selection controller
...
git-svn-id: svn://10.0.0.236/trunk@69174 18797224-902f-48f8-a5cc-f745e15eee43
2000-05-11 04:22:32 +00:00
cmanske%netscape.com
6eede096f5
Lots of editor feature work: bugs 26286, 34519, 28498, 36998, 37089, 14342. r=sfraser
...
git-svn-id: svn://10.0.0.236/trunk@68913 18797224-902f-48f8-a5cc-f745e15eee43
2000-05-09 23:03:41 +00:00
jfrancis%netscape.com
994d0de6a6
editor embedding work; fixing bug with making lists
...
git-svn-id: svn://10.0.0.236/trunk@68883 18797224-902f-48f8-a5cc-f745e15eee43
2000-05-09 21:06:49 +00:00
jfrancis%netscape.com
d3579b5131
fix for 30759, plaintext paste as quotation creates ubercaret
...
git-svn-id: svn://10.0.0.236/trunk@68653 18797224-902f-48f8-a5cc-f745e15eee43
2000-05-08 07:50:57 +00:00
mjudge%netscape.com
f2fb0e21c6
we get selection controller not from pres shell. we get it from GetSelectionController
...
git-svn-id: svn://10.0.0.236/trunk@68629 18797224-902f-48f8-a5cc-f745e15eee43
2000-05-08 04:01:26 +00:00
jfrancis%netscape.com
69a8501658
fixed bug where undo could cause extra break nodes; fixed bug 37845: plaintext gets clutered with empty text nodes; fixed bug where toolbar style feedback was wrong after typing a return.
...
git-svn-id: svn://10.0.0.236/trunk@68563 18797224-902f-48f8-a5cc-f745e15eee43
2000-05-07 01:33:42 +00:00
sfraser%netscape.com
ce149a6b13
Big command tidyup. Make the distinction between editor and composer command clearer, and remove vestiges of the old singleton composer command manager. Also tidy up command node state attribute code.
...
git-svn-id: svn://10.0.0.236/trunk@68459 18797224-902f-48f8-a5cc-f745e15eee43
2000-05-05 23:20:21 +00:00
jfrancis%netscape.com
5c452edf65
rest of fix for bug 30763
...
git-svn-id: svn://10.0.0.236/trunk@68435 18797224-902f-48f8-a5cc-f745e15eee43
2000-05-05 21:57:58 +00:00
jfrancis%netscape.com
289b75d564
splitting mail cites in replies now gives you the caret where you want it.
...
git-svn-id: svn://10.0.0.236/trunk@68428 18797224-902f-48f8-a5cc-f745e15eee43
2000-05-05 21:22:09 +00:00
jfrancis%netscape.com
ce54ba7bc9
fixing bugs with paste; making paste not inherit local inline stlyes
...
git-svn-id: svn://10.0.0.236/trunk@68414 18797224-902f-48f8-a5cc-f745e15eee43
2000-05-05 20:42:36 +00:00
kin%netscape.com
5d6c2dec76
Fixed spellchecker recheck bug.
...
mozilla/editor/base/nsEditorShell.cpp
mozilla/editor/idl/nsIEditorSpellCheck.idl
- Modified StartSpellChecking() so that it no longer calls
NextMisspelledWord().
- Renamed Start/CloseSpellChecking() to Init/UninitSpellChecker().
- Changed prototype of GetCurrentDictionary() in the idl file.
- Replaced all references of NS_SPELLCHECKER_CID with NS_SPELLCHECKER_PROGID.
mozilla/editor/txtsvc/public/nsISpellChecker.h
- Added NS_SPELLCHECKER_PROGID.
mozilla/editor/txtsvc/public/nsTextServicesCID.h
- Removed NS_SPELLCHECKER_CID.
mozilla/editor/ui/composer/content/ComposerCommands.js
- Replaced all calls to Start/CloseSpellChecking() with
Init/UninitSpellChecker().
- We now call GetNextMisspelledWord() after initing the spellchecker.
mozilla/editor/ui/dialogs/content/EdSpellCheck.js
- Dialog now assumes the spellchecker language has been set before the
dialog is invoked.
- Fixed Recheck() so that it now sets the language.
git-svn-id: svn://10.0.0.236/trunk@68398 18797224-902f-48f8-a5cc-f745e15eee43
2000-05-05 14:58:43 +00:00
jfrancis%netscape.com
70ffe624ce
fix for 29320; deletion putting caret in wrong table cell
...
git-svn-id: svn://10.0.0.236/trunk@68292 18797224-902f-48f8-a5cc-f745e15eee43
2000-05-04 23:54:00 +00:00
cmanske%netscape.com
f9998d03b6
Added 'Split Cell' and fixed initialization of 'Join Cells' in table menu. Added stubs for 'Split Cell'
...
git-svn-id: svn://10.0.0.236/trunk@68273 18797224-902f-48f8-a5cc-f745e15eee43
2000-05-04 22:32:24 +00:00
kin%netscape.com
4285edb03b
Added spellchecker support for different dictionaries/languages:
...
mozilla\editor\base\nsEditorShell.cpp
mozilla\editor\idl\nsIEditorSpellCheck.idl
mozilla\editor\txtsvc\public\nsISpellChecker.h
- Added GetDictionaryList() and Get/SetCurrentDictionary() methods.
mozilla\editor\ui\dialogs\content\EdDialogCommon.js
- Added AppendValueAndDataToMenulist() function.
mozilla\editor\ui\dialogs\content\EdSpellCheck.xul
- We now import strres.js.
mozilla\editor\ui\dialogs\content\EdSpellCheck.js
- Added InitLanguageMenu().
git-svn-id: svn://10.0.0.236/trunk@68236 18797224-902f-48f8-a5cc-f745e15eee43
2000-05-04 14:37:56 +00:00
cmanske%netscape.com
eddcbafbde
Replace GetBodyElement with GetRootElement to fix bustage
...
git-svn-id: svn://10.0.0.236/trunk@68235 18797224-902f-48f8-a5cc-f745e15eee43
2000-05-04 14:32:07 +00:00
cmanske%netscape.com
140f858dfd
HTML Soure editor is working. Tweaked some dialog xul. Removed some unused stuff from EditorCommands.js
...
git-svn-id: svn://10.0.0.236/trunk@68234 18797224-902f-48f8-a5cc-f745e15eee43
2000-05-04 14:02:03 +00:00
mjudge%netscape.com
f7f4dc1659
merge error. my fault. fix
...
git-svn-id: svn://10.0.0.236/trunk@68221 18797224-902f-48f8-a5cc-f745e15eee43
2000-05-04 09:32:40 +00:00
mjudge%netscape.com
447ac72532
massive change to prepare for ender-lite. should be a no-op for current implementation
...
git-svn-id: svn://10.0.0.236/trunk@68218 18797224-902f-48f8-a5cc-f745e15eee43
2000-05-04 08:33:48 +00:00
akkana%netscape.com
bb9e9876ad
Fix warnings
...
git-svn-id: svn://10.0.0.236/trunk@68178 18797224-902f-48f8-a5cc-f745e15eee43
2000-05-03 23:42:25 +00:00
akkana%netscape.com
a76b67e514
Restoring one of Joe's fixes, apparently lost in a CVS merge in the last checkin
...
git-svn-id: svn://10.0.0.236/trunk@68175 18797224-902f-48f8-a5cc-f745e15eee43
2000-05-03 23:38:36 +00:00
akkana%netscape.com
b9a29fd98d
37560: convert platform to dom newlines before inserting html. r=cmanske
...
git-svn-id: svn://10.0.0.236/trunk@68106 18797224-902f-48f8-a5cc-f745e15eee43
2000-05-03 21:18:23 +00:00
dprice%netscape.com
909c21583e
fixing 37980, r=mjudge
...
git-svn-id: svn://10.0.0.236/trunk@68028 18797224-902f-48f8-a5cc-f745e15eee43
2000-05-03 03:11:23 +00:00
jfrancis%netscape.com
4a240e0ec1
partial fix for bug 30763
...
git-svn-id: svn://10.0.0.236/trunk@68002 18797224-902f-48f8-a5cc-f745e15eee43
2000-05-03 01:34:34 +00:00
jfrancis%netscape.com
c1c92a17d8
implementing list behavior spec, plus a few bug fixes
...
git-svn-id: svn://10.0.0.236/trunk@67974 18797224-902f-48f8-a5cc-f745e15eee43
2000-05-03 00:14:28 +00:00
jfrancis%netscape.com
afd82c66f7
First Checked In.
...
git-svn-id: svn://10.0.0.236/trunk@67973 18797224-902f-48f8-a5cc-f745e15eee43
2000-05-03 00:09:13 +00:00
cmanske%netscape.com
5eed0d89a9
Set focus when page is done loading. Fixed labels for menus and toolbars. Replaced 'vertical-align' with 'valign' for box alignment. Changed strings for Edit Modes. Unload style sheets when loading a url into existing window
...
git-svn-id: svn://10.0.0.236/trunk@67836 18797224-902f-48f8-a5cc-f745e15eee43
2000-05-02 03:24:11 +00:00
sfraser%netscape.com
e1c3f451ab
Fixes for bugs 34503 and 34504 -- split the editor controller into editor and composer controllers, and make commands for lots of editor functions.
...
git-svn-id: svn://10.0.0.236/trunk@67740 18797224-902f-48f8-a5cc-f745e15eee43
2000-05-01 21:49:52 +00:00
anthonyd%netscape.com
1ddf298e06
r: mjudge
...
disabled selection (grey selection) excludes input fields now.
git-svn-id: svn://10.0.0.236/trunk@67670 18797224-902f-48f8-a5cc-f745e15eee43
2000-04-30 18:55:13 +00:00
cmanske%netscape.com
ae7bc112b6
Fixed bug 37029, strip <body> from head output string. Last checkin fixed bug 36681: put last-modified date in Page Properties
...
git-svn-id: svn://10.0.0.236/trunk@67590 18797224-902f-48f8-a5cc-f745e15eee43
2000-04-28 23:39:27 +00:00
mjudge%netscape.com
aacbb20c68
massive change to stop the editor fromknowing about nsIPresShell or nsIDocument
...
git-svn-id: svn://10.0.0.236/trunk@67485 18797224-902f-48f8-a5cc-f745e15eee43
2000-04-28 06:20:36 +00:00
cmanske%netscape.com
e196258f67
Fixed Composer bugs 287475, 36937, 36981, 36996. More massive XUL skin conversion.
...
git-svn-id: svn://10.0.0.236/trunk@67482 18797224-902f-48f8-a5cc-f745e15eee43
2000-04-28 05:59:16 +00:00
mjudge%netscape.com
24b8f29c46
ender lite checkin.
...
git-svn-id: svn://10.0.0.236/trunk@67387 18797224-902f-48f8-a5cc-f745e15eee43
2000-04-27 07:37:12 +00:00
akkana%netscape.com
b2aefd93c7
Change Save File APIs in layout and editor to eliminate the specific
...
references to text and html and make them more general (take a mime type).
In the editor, prettyprint all output if editor.prettyprint_html is set.
git-svn-id: svn://10.0.0.236/trunk@67155 18797224-902f-48f8-a5cc-f745e15eee43
2000-04-26 01:00:50 +00:00
brade%netscape.com
845b272d31
for DragDrop, call InsertFromDrop which will handle the drop for the appropriate flavors (as paste if appropriate)
...
git-svn-id: svn://10.0.0.236/trunk@67113 18797224-902f-48f8-a5cc-f745e15eee43
2000-04-25 14:15:33 +00:00
brade%netscape.com
95c5ec2a22
factored paste so drop could use the common code; added InsertFromDrop, InsertFromTransferable, PrepareTransferable; r/tested=akkana; tested=jst
...
git-svn-id: svn://10.0.0.236/trunk@67112 18797224-902f-48f8-a5cc-f745e15eee43
2000-04-25 14:15:04 +00:00
brade%netscape.com
a670cfd1c0
add methods for InsertFromDrop, PrepareTransferable, InsertFromTransferable; r=akkana
...
git-svn-id: svn://10.0.0.236/trunk@67111 18797224-902f-48f8-a5cc-f745e15eee43
2000-04-25 14:14:48 +00:00
jfrancis%netscape.com
612bfa299f
lots of improvements to block transformations:
...
1) looks inside inlines for breaks;
2) fixes the "extra break when unlisting" bug
3) changing paragraph style to normal consistently gets breaks
4) any splitting needed occurs when blocks inserted
plus a lot of small bug fixes
git-svn-id: svn://10.0.0.236/trunk@66975 18797224-902f-48f8-a5cc-f745e15eee43
2000-04-24 11:51:12 +00:00
scc%netscape.com
0dbeaa04b3
making string conversions explicit
...
git-svn-id: svn://10.0.0.236/trunk@66693 18797224-902f-48f8-a5cc-f745e15eee43
2000-04-21 09:33:45 +00:00
scc%netscape.com
96a031fd50
making string conversions explicit
...
git-svn-id: svn://10.0.0.236/trunk@66666 18797224-902f-48f8-a5cc-f745e15eee43
2000-04-21 06:56:47 +00:00
anthonyd%netscape.com
10a34f6e1b
drawing selection as tri-state. on-off-disabled. hardcoded disable color to grey right now. r=mjudge
...
git-svn-id: svn://10.0.0.236/trunk@66600 18797224-902f-48f8-a5cc-f745e15eee43
2000-04-20 23:11:41 +00:00
akkana%netscape.com
0e6558edd8
6276: Add wrapping support for mail.
...
git-svn-id: svn://10.0.0.236/trunk@66579 18797224-902f-48f8-a5cc-f745e15eee43
2000-04-20 22:45:54 +00:00
akkana%netscape.com
c965d13ea1
Wrapping code, useful for citers and perhaps other code
...
git-svn-id: svn://10.0.0.236/trunk@66571 18797224-902f-48f8-a5cc-f745e15eee43
2000-04-20 22:32:56 +00:00