Commit Graph

837 Commits

Author SHA1 Message Date
cmanske%netscape.com
66180a846b Fixed SetBackgroundColor to remove 'bgcolor' when appropriate. Changed prompt for Title to use new string messages 2000-05-12 02:37:33 +00:00
mjudge%netscape.com
e1ad6bd23a changes to add hidden attribute on selection. also to make setcaret go through the selection controller 2000-05-11 04:22:32 +00:00
cmanske%netscape.com
0aa739ecd5 Lots of editor feature work: bugs 26286, 34519, 28498, 36998, 37089, 14342. r=sfraser 2000-05-09 23:03:41 +00:00
jfrancis%netscape.com
658fa56fa3 editor embedding work; fixing bug with making lists 2000-05-09 21:06:49 +00:00
jfrancis%netscape.com
bd8b43e4c5 fix for 30759, plaintext paste as quotation creates ubercaret 2000-05-08 07:50:57 +00:00
mjudge%netscape.com
693b7801f1 we get selection controller not from pres shell. we get it from GetSelectionController 2000-05-08 04:01:26 +00:00
jfrancis%netscape.com
307b8fbcc5 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. 2000-05-07 01:33:42 +00:00
sfraser%netscape.com
1ebf5439a6 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. 2000-05-05 23:20:21 +00:00
jfrancis%netscape.com
eb2ab3d2ee rest of fix for bug 30763 2000-05-05 21:57:58 +00:00
jfrancis%netscape.com
04915ae284 splitting mail cites in replies now gives you the caret where you want it. 2000-05-05 21:22:09 +00:00
jfrancis%netscape.com
b109f8dbd6 fixing bugs with paste; making paste not inherit local inline stlyes 2000-05-05 20:42:36 +00:00
kin%netscape.com
c4f863915d 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.
2000-05-05 14:58:43 +00:00
jfrancis%netscape.com
26e457e4fd fix for 29320; deletion putting caret in wrong table cell 2000-05-04 23:54:00 +00:00
cmanske%netscape.com
7237e38781 Added 'Split Cell' and fixed initialization of 'Join Cells' in table menu. Added stubs for 'Split Cell' 2000-05-04 22:32:24 +00:00
kin%netscape.com
9a62a21851 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().
2000-05-04 14:37:56 +00:00
cmanske%netscape.com
fdced22104 Replace GetBodyElement with GetRootElement to fix bustage 2000-05-04 14:32:07 +00:00
cmanske%netscape.com
3403bfda38 HTML Soure editor is working. Tweaked some dialog xul. Removed some unused stuff from EditorCommands.js 2000-05-04 14:02:03 +00:00
mjudge%netscape.com
e08e0cd08f merge error. my fault. fix 2000-05-04 09:32:40 +00:00
mjudge%netscape.com
ebafd36182 massive change to prepare for ender-lite. should be a no-op for current implementation 2000-05-04 08:33:48 +00:00
akkana%netscape.com
afedd3f559 Fix warnings 2000-05-03 23:42:25 +00:00
akkana%netscape.com
19c96db73d Restoring one of Joe's fixes, apparently lost in a CVS merge in the last checkin 2000-05-03 23:38:36 +00:00
akkana%netscape.com
acb1acede5 37560: convert platform to dom newlines before inserting html. r=cmanske 2000-05-03 21:18:23 +00:00
dprice%netscape.com
4feedc9725 fixing 37980, r=mjudge 2000-05-03 03:11:23 +00:00
jfrancis%netscape.com
509b944592 partial fix for bug 30763 2000-05-03 01:34:34 +00:00
jfrancis%netscape.com
f6251ee4f7 implementing list behavior spec, plus a few bug fixes 2000-05-03 00:14:28 +00:00
jfrancis%netscape.com
64c1b28325 First Checked In. 2000-05-03 00:09:13 +00:00
cmanske%netscape.com
003a94051d 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 2000-05-02 03:24:11 +00:00
sfraser%netscape.com
035965297d Fixes for bugs 34503 and 34504 -- split the editor controller into editor and composer controllers, and make commands for lots of editor functions. 2000-05-01 21:49:52 +00:00
anthonyd%netscape.com
ad6918e77a r: mjudge
disabled selection (grey selection) excludes input fields now.
2000-04-30 18:55:13 +00:00
cmanske%netscape.com
457644b039 Fixed bug 37029, strip <body> from head output string. Last checkin fixed bug 36681: put last-modified date in Page Properties 2000-04-28 23:39:27 +00:00
mjudge%netscape.com
67a72ebc1e massive change to stop the editor fromknowing about nsIPresShell or nsIDocument 2000-04-28 06:20:36 +00:00
cmanske%netscape.com
e78e6fbae6 Fixed Composer bugs 287475, 36937, 36981, 36996. More massive XUL skin conversion. 2000-04-28 05:59:16 +00:00
mjudge%netscape.com
2c0953e1be ender lite checkin. 2000-04-27 07:37:12 +00:00
akkana%netscape.com
5709d8739f 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.
2000-04-26 01:00:50 +00:00
brade%netscape.com
e6b4111fd7 for DragDrop, call InsertFromDrop which will handle the drop for the appropriate flavors (as paste if appropriate) 2000-04-25 14:15:33 +00:00
brade%netscape.com
59f3e13cf7 factored paste so drop could use the common code; added InsertFromDrop, InsertFromTransferable, PrepareTransferable; r/tested=akkana; tested=jst 2000-04-25 14:15:04 +00:00
brade%netscape.com
7b4cdb0bf5 add methods for InsertFromDrop, PrepareTransferable, InsertFromTransferable; r=akkana 2000-04-25 14:14:48 +00:00
jfrancis%netscape.com
c207f78168 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 2000-04-24 11:51:12 +00:00
scc%netscape.com
bb0ce46710 making string conversions explicit 2000-04-21 09:33:45 +00:00
scc%netscape.com
8d5a2627d8 making string conversions explicit 2000-04-21 06:56:47 +00:00
anthonyd%netscape.com
815b66f915 drawing selection as tri-state. on-off-disabled. hardcoded disable color to grey right now. r=mjudge 2000-04-20 23:11:41 +00:00
akkana%netscape.com
c2c750f37e 6276: Add wrapping support for mail. 2000-04-20 22:45:54 +00:00
akkana%netscape.com
fc94fffa54 Wrapping code, useful for citers and perhaps other code 2000-04-20 22:32:56 +00:00
sfraser%netscape.com
27b5192b2c Fix for 29843 -- caret disappears on delete. r=jfrancis 2000-04-20 03:59:50 +00:00
sfraser%netscape.com
1b34326be4 Fix a warning. 2000-04-20 03:58:10 +00:00
danm%netscape.com
d0d8c4d5c3 dist...chrome restructuring 2000-04-19 21:42:30 +00:00
akkana%netscape.com
b16cf77faa 29794: Disable meta-refresh in editor pages.
API and some implementation for 6276: rewrap.
2000-04-18 22:39:10 +00:00
jfrancis%netscape.com
9e1600956e tab in table, tab in lists, fixed inline style handling over multi-ranged selections 2000-04-18 21:39:35 +00:00
scc%netscape.com
04b44006ee making string conversions explicit 2000-04-18 07:52:02 +00:00
scc%netscape.com
9ac6c4fb06 making string conversions explicit 2000-04-18 07:44:58 +00:00