Commit Graph

1062 Commits

Author SHA1 Message Date
joki%netscape.com
aa0f12ff69 Partially fix bug 28323 by changing the text field editor keypress listener to not add characters into the text field if the user has cancelled the event. r:jst 2000-09-15 06:09:26 +00:00
kin%netscape.com
8993ad98a0 Fix for bug #33938: Pref/reply below quoted text does not move to bottom
mozilla/mailnews/compose/nsMsgCompose.cpp

      - Scroll the selection into view after all the reply text
        is inserted and the caret is positioned.

    mozilla/editor/base/nsHTMLEditor.cpp

      - Added nsAutoEditBatch variable to InsertBreak() to make
        sure that we reflow before returning. Without this fix,
        apps like MsgCompose will not be able to scroll the
        selection properly.

r=jfrancis@netscape.com
2000-09-14 22:39:04 +00:00
akkana%netscape.com
46cd04d95d Fixing solaris build bustage: substring workaround suggested by scc 2000-09-14 21:27:59 +00:00
akkana%netscape.com
18342dbd80 51799: Smarter quote rewrapping, taking into account multiple quote levels, and RFC2646-style citations. r=cmanske 2000-09-14 19:55:40 +00:00
mjudge%netscape.com
e2be918716 small but pervasive change to make nsIDOMSelection an xpidl interface. also broke it into 2 interfaces, nsISelection and nsISelectionPrivate. moved nsIDOMSelectionListener also to xpidl. these new idl files live in layout/base/public. r=sfraser, r=anthonyd bug 48575 2000-09-14 11:45:01 +00:00
jfrancis%netscape.com
86f482d466 fixes for 45608, 51398, 51591; r=cmanske 2000-09-14 05:59:19 +00:00
rayw%netscape.com
0257791053 Bug 37275, Changing value of all progids, and changing everywhere a progid
is mentioned to mention a contractid, including in identifiers.

r=warren
2000-09-13 23:57:52 +00:00
jdunn%netscape.com
7312330f97 Specify that the base class is indeed 'public' since some compilers (AIX)
assumes 'private'.  I ok'd each of these with the appropriate module
owners (see bug)

r= scc@mozilla.org & brendan@mozilla.org + everyone listed in bug
#= 52254
2000-09-13 13:50:30 +00:00
heikki%netscape.com
5a54ae35f1 Forgot to check that we fire the select event with Select All. Also fix event.target. Part of bug 46085. r=mjudge. 2000-09-12 20:54:41 +00:00
akkana%netscape.com
99628b2337 52035, 52171: Fix some recent regressions in key bindings. r=hyatt,jfrancis 2000-09-12 02:01:12 +00:00
anthonyd%netscape.com
1ed10ab85b fix for bug# 51321 getting d&d working again when
dragging to/from an ender.
r=mjudge
2000-09-11 07:43:04 +00:00
cmanske%netscape.com
1e7b200cf1 Adding comment concerning GetAlignment return values not showing mixed state 2000-09-07 14:33:06 +00:00
cmanske%netscape.com
0ea8fba700 Composer bugs: Drag and drop problems (47399, r=anthonyd), workaround for bad dragNdrop event (50703, r=nisheeth) 2000-09-05 23:26:48 +00:00
akkana%netscape.com
31d9c7fbca 50311, 51088: fix a hang/crash in Rewrap. r=scc 2000-09-01 22:27:26 +00:00
akkana%netscape.com
783035aa7e 50935: make multiline paste into single line text control switchable. r=mjudge 2000-09-01 21:12:43 +00:00
cmanske%netscape.com
71959db2e5 Fixed GetBackgroundColorState to get nested table and cell color, needed to make background color on toolbar correct. b=49952, r=buster 2000-08-31 12:44:55 +00:00
cmanske%netscape.com
2a97a514ae Finished HTML Source editing problems with title tag (41869), split table crash (50791), filename problems (48631). r=akkana, fixed NS_LITERAL_STRING usages in nsHTMLEditor for performance (26384), r=scc 2000-08-30 22:49:08 +00:00
jfrancis%netscape.com
fbac81eb1c fix for bug 49889; r=fm 2000-08-30 04:33:20 +00:00
jfrancis%netscape.com
938ff8af98 fix for bug 49889; r=fm 2000-08-30 04:26:55 +00:00
cmanske%netscape.com
5ffccc6765 nsbeta3 bug fixes: HTML source now working (50034, 41869), copy cell color after split (45279), truncate file url at '#' (48631). r=sfraser, kin 2000-08-30 02:44:08 +00:00
pinkerton%netscape.com
4f3a971cb3 don't bubble the onDragOver event when we decide that the drop is allowable. This prevents it from being reset by someone else higher up the chain. r=anthonyd. bug# 47428. 2000-08-30 01:18:11 +00:00
akkana%netscape.com
d9d40942bd 23485: make it possible for urlbar to go to urls spanning multiple lines. r=jfrancis 2000-08-28 22:15:03 +00:00
jfrancis%netscape.com
6f9a1f38a0 fixing snafu 2000-08-28 08:40:22 +00:00
jfrancis%netscape.com
c3fbd24ce0 fixes 40363, 40364: deletion bugs with tables; r=fm 2000-08-28 05:11:49 +00:00
dbaron%fas.harvard.edu
50cf2e5446 Add newline to end of file to fix jfrancis's HP bustage. 2000-08-26 14:04:16 +00:00
jfrancis%netscape.com
0202119f78 fixes bugs 46782,50161,48643,49266,49265,46395; groundwork for bugs 47931,49952; r=fm 2000-08-26 04:03:50 +00:00
sfraser%netscape.com
a040e67b1d Kill a printf that would fire when typing in textareas. r=jfrancis 2000-08-24 20:31:58 +00:00
anthonyd%netscape.com
112b262913 fix for bug 48624 (hidden selection issues with plain text widgets)
fix for bug 45662 (updating range impl to dom spec)
fix for some edge case selection issues invloving multiple windows, no bug #
but saari knows about this.
r: sfraser, jfrancis, mjudge, saari
a: beppe
2000-08-24 03:54:30 +00:00
sfraser%netscape.com
1b144a56a0 Fixes for 48474 (JS errors typing in plain text compose), 44684 (make align buttons reflect state), 49155 (UMR in editor code). r=anthonyd 2000-08-24 01:20:29 +00:00
jst%netscape.com
9abec73fbe DOM string changes. All nsString& in DOM interfaces (and interfaces needed by DOM implementations) have been changed to nsAReadableString& and nsAWritableString&. String implementation additions (sanctioned by scc) to support DOM needs. Bug 49091. r=vidur,jst,scc 2000-08-23 17:27:06 +00:00
cmanske%netscape.com
3afb7bab79 Fixed lots of nsbeta3+ bugs: 45756, 47654, 41810,47503,48990, 48995,40204, 42740, 46953, 47646, 47696, 48693, 45899. r=sfraser,jfrancis 2000-08-23 00:29:24 +00:00
akkana%netscape.com
7eccb199f7 Correct an error in a comment 2000-08-21 23:54:59 +00:00
scc%mozilla.org
7a18ea22f2 fixing code that relied on implicit string construction; note that |NS_LITERAL_STRING| does not produce an |nsString|, it produces something that is a |nsAReadableString|. Many functions still take |nsString&| arguments, and so |NS_LITERAL_STRING| is not appropriate in calling them, yet. 2000-08-20 00:34:08 +00:00
jfrancis%netscape.com
d3bb1b3e45 fixing 49392: editor spazzing uneeded br tags in tables; r=fm 2000-08-19 05:58:11 +00:00
rcassin%supernova.org
b9d6fbb741 Fix for 45645 (Can paste into ReadOnly textfield) r=akkana 2000-08-18 01:34:22 +00:00
jfrancis%netscape.com
b6ce5282bb gave a pref a better name and a more traditional set of values. 2000-08-17 09:51:27 +00:00
jfrancis%netscape.com
38b49a5376 adding a hidden pref for the editor: editor.liReturnBehavior "no" will disable the default behavior of popping you out of lists if you hit return in an empty list item. 2000-08-17 05:26:32 +00:00
jfrancis%netscape.com
03c675c33c fix for 48132: editor observer list maintainance was even less safe than i would have guessed... 2000-08-17 04:50:04 +00:00
jfrancis%netscape.com
ed3fbaf39c 44684: adding a "GetAlignment" call to the editor so that ui can reflect alignment of selection 2000-08-17 03:59:50 +00:00
jfrancis%netscape.com
76f9c50305 groundwork for 44684: adding a "GetAlignment" call to the editor so that ui can reflect alignment of selection 2000-08-14 12:07:10 +00:00
jfrancis%netscape.com
d25d7bd494 fix for 48297: ome edit operations not scroling selection into view; r=fm 2000-08-14 02:39:37 +00:00
jfrancis%netscape.com
fe45f8fa34 fixing bustage. bizarre merge error? 2000-08-14 00:53:41 +00:00
jfrancis%netscape.com
6adf6aed3d fix for 45281, cannot insert a table caption. r=fm 2000-08-13 23:53:34 +00:00
cmanske%netscape.com
37cbf70bba Restrict nsEditorShellMouseListener to HTML editor; fix to optimize GetSelectedNode for named anchors, b=47687, r=sfraser 2000-08-11 04:59:37 +00:00
cmanske%netscape.com
a5251f332c Big UI fix checkin continued - same bugs as last checkin. r=sfraser 2000-08-10 03:43:09 +00:00
anthonyd%netscape.com
9132d3b807 bug fix for 47399
dropping a drag session onto the originating selection
should do nothing.
r: mjudge, jfrancis
2000-08-10 01:01:18 +00:00
sfraser%netscape.com
277decdb88 Fix for 25161 -- allow editor to handle pages with form elements. Avoid infinite loop in editor, and add some CSS for form elements in editor. r=jfrancis 2000-08-08 23:37:51 +00:00
ducarroz%netscape.com
bc46f1e467 Part of fix for bug 36480. I check in this fix for jfrancis. The function EndOfDocument which wasn't used yet was setting the selection on the wrong node. R=ducarroz 2000-08-08 04:05:26 +00:00
anthonyd%netscape.com
562e4bc652 checkins for Hurricane
translation of all C++ functions to JS which included SaveDocument
which eventually will allow for the completeion of autosave
r: brade, anthonyd
a: waterson, cmanske
2000-08-07 21:12:18 +00:00
bratell%lysator.liu.se
f30a2447a8 Fix for bug 46306, html-to-plaintext replies have > on blank lines. The fix was to strip ending new lines in the citer. r=akkana, a=waterson. 2000-08-07 06:05:27 +00:00
shanjian%netscape.com
de23b7e7a9 #14022 IME98 Reconversion does not work in HTML Editor
r = jfrancis
a = ftang
fix proposed by m_kato@ga2.so-net.ne.jp

New events are added to support reconversion. As a result, many files
are affected. They are:
editor:
  nsEditor.h nsEditor.cpp nsEditorEventListeners.cpp nsEditorEventListeners.h
  nsHTMLEditor.h nsHTMLEditor.cpp nsIEditorIMESupport.h
dom and layout:
  nsIPrivateCompositionEvent.h nsDOMEvent.h nsDOMEvnet.cpp nsEventListenerManager.cpp
  nsIDOMCompositionListener.h
widget:
  nsGUIEvent.h nsWindow.h nsWindow.cpp
2000-08-04 21:43:29 +00:00
brade%netscape.com
3e2f41a7c8 fix src/dest d&d (do move if in same doc unless modifier key is pressed); bug #45607; r=kin 2000-08-04 20:51:33 +00:00
anthonyd%netscape.com
940be572c5 bug fixes:
39529 - caret width not correct for single/muti line textfields, which relied on:
46445 -  nsLookAndFeel needs to be a service.
r: mjudge@netscape.com, kin@netscape.com
a:beppe
2000-07-28 22:12:45 +00:00
brade%netscape.com
55c95531cb add missing move/selection command (cmd_selectBottom); bug #22529 2000-07-28 10:53:27 +00:00
brade%netscape.com
c8475ad994 remove registration of save and saveas commands (now handled in JS); submitted by rcassin@supernova.org (bug #16360) 2000-07-28 10:14:22 +00:00
brade%netscape.com
07804d8679 add static to remove warning 2000-07-27 21:49:46 +00:00
brade%netscape.com
7ff1ae3049 clean up the code; remove unnecessary code/functions; don't handle delete/fwd delete keypresses if there is a modifier key pressed; bug #41078; r=kin 2000-07-27 21:39:48 +00:00
jfrancis%netscape.com
03d288ef63 take 2: fix for 22227 and partial fix for 46209; r=mjudge; a=beppe 2000-07-27 01:03:16 +00:00
kin%netscape.com
ab1bb7b6d0 Backout previous checkin/fix for 46209 & 22227 since in some instances
the frame data it relies on does not contain valid info. This causes
data loss in some cases like when making text bold.
a=granrose
2000-07-26 18:52:59 +00:00
jfrancis%netscape.com
2a81ee0fdb fix for 46209 & 22227; list items and table cells with a single space gave you unclickable content in the editor. r=mjudge 2000-07-26 13:07:54 +00:00
jfrancis%netscape.com
a1d0ae438e fix for 33213; r=sfraser 2000-07-21 22:06:48 +00:00
kin%netscape.com
918f55d913 Fix for bug #42263: Unable to invoke IME in the receipient and subject field on plain text mail composer
Replaced GetDeepestWidget() with new function GetEditorContentWindow().
Modified ForceCompositionEnd() to call GetEditorContentWindow().

r=sfraser@netscape.com
2000-07-18 22:11:31 +00:00
jfrancis%netscape.com
b043301d96 adding in support for nsIEditorObserver. this is for bug 42329: autocompletion firing in the middle of uncommitted ime entry. r=fm 2000-07-16 06:36:27 +00:00
kin%netscape.com
baa1e3d567 Fix for bug #45002: Password displayed in clear text.
layout/html/forms/src/nsGfxTextControlFrame2.cpp
      - Modified CreateAnonymousContent() to disable forced
        refreshes and reflows in the editor, and call
        SetTextControlFrameState() to set the intial value
        of the text widget.
      - Fixed leak in SetTextControlFrameState().

    editor/public/nsIHTMLEditor.h
      - Added DisableForcedUpdates and DisableForcedRefreshes flags.

    editor/base/nsEditor.cpp
      - Modified EndUpdateViewBatch() so that it uses the new
        DisableForcedUpdates and DisableForcedRefreshes flags.
      - We now also close the reflow batch before we close the
        update batch.

r=brade@netscape.com
2000-07-14 20:26:09 +00:00
anthonyd%netscape.com
706f605d27 fix for regression, bug#45477
cant insert hrules, images, etc...
r=brade, a=granrose
2000-07-14 18:38:24 +00:00
mjudge%netscape.com
aea4ff3323 anthonyd: r=mjudge bug 39919 letting DOM level 2 stuff work for the editor. eliminating createelementNS and using the factory instead. 2000-07-13 23:15:41 +00:00
akkana%netscape.com
0411decc92 Take my name out of a debug printf -- tired of seeing all that output 2000-07-13 22:50:39 +00:00
jfrancis%netscape.com
10ffff9a64 fix for 36570; mail signature shows up in middle of quoted text 2000-07-12 23:44:56 +00:00
jfrancis%netscape.com
7a58814661 fix for 43903; making a list after inline contnet doesnt work 2000-07-12 23:21:49 +00:00
cmanske%netscape.com
1e5179bdb7 Fixed warnings revealed by Linux build in table editing code 2000-07-12 01:15:17 +00:00
cmanske%netscape.com
15901d9765 Finishing table editing+dialog work (b=20973, r=jfrancis), and disabling commands when in HTML Source mode (b=38875, r=sfraser) 2000-07-11 23:41:22 +00:00
jfrancis%netscape.com
209a7ca3fa fix for 43366; r=kin 2000-07-11 19:51:36 +00:00
jfrancis%netscape.com
bf63dbc3b1 fixing increase/decrease font bustage in editor 2000-07-07 23:17:37 +00:00
cmanske%netscape.com
e50d57138a Table editing work. b=20973, r=jfrancis 2000-07-01 00:37:12 +00:00
jfrancis%netscape.com
20d4516bf6 fix for undo in ender-lite (text fields, url bar, etc) 2000-06-30 04:58:34 +00:00
jfrancis%netscape.com
56d058dd39 bug fixes: 41744 - editor shouldnt be quite as loosy goosy about html 4.0 as CnavDTD is; 41746 - editor ui state (paragraph format feedback) wrong if a <br> is embedded inside the current block; 41971 - using alignment inside table cells gives unexpected results. 2000-06-29 09:23:41 +00:00
mjudge%netscape.com
ec56b60700 wrong ifdef. 25% increase in editor typing on windows r=ftang 2000-06-28 03:41:32 +00:00
mjudge%netscape.com
f92fecf1e5 fix for 42188, r=akkana 42347. use selection controller to tell the doc if it should display non-text-selection. 2000-06-23 04:00:45 +00:00
cmanske%netscape.com
7193e676db Implement switching betweeen TH and TD elements for table editing. b=20973, r=jfrancis, akkana 2000-06-22 05:39:54 +00:00
brade%netscape.com
4aa46d5e76 fix returned error codes (as part of bug #42510) 2000-06-20 14:25:34 +00:00
brade%netscape.com
45f6fbf78e call PreventDefault for key events which we want to "consume" (bug #42510); r=smfr 2000-06-20 14:23:43 +00:00
ducarroz%netscape.com
748743bb73 Fix for bug 38716 & bug 38715. Do not kill the dragdrop event when is not a flavor supported by the editfield. R=brade 2000-06-20 01:01:49 +00:00
cmanske%netscape.com
c073210b68 Fixed list command problems: bug 41735, r=brade 2000-06-16 14:21:46 +00:00
sfraser%netscape.com
246949d32b Belt-and-braces check for bug 42145; check for null args. r=akkana 2000-06-16 06:06:55 +00:00
rbs%maths.uq.edu.au
26742e611c Change invalid REC-html40 to correct XHTML namespace. b:7834. a:ekrock@netscape.com 2000-06-15 09:54:41 +00:00
dbaron%fas.harvard.edu
50432067a5 Fix leaks of nsHTMLHeadElement. r=waterson@netscape.com 2000-06-15 02:14:16 +00:00
cmanske%netscape.com
4f01ada9bf New method for table editing (b=20973, r=jfrancis); Use nsIStyleSheet::SetEnable() for editmode stylesheets instead of removing and reloading -- necessary for bug 40767. r=sfraser 2000-06-14 04:58:29 +00:00
mjudge%netscape.com
6f0c30e104 regressions from 34986 ender-lite. listeners now block percolation of events. until we have better fix. r=saari, akkana 2000-06-14 02:58:34 +00:00
cmanske%netscape.com
8bdae7a16a Fixed problem in nsEditor::CloneAttributes where undo system used when it shouldn't. b=41862. r=sfraser. a=beppe 2000-06-14 01:32:27 +00:00
akkana%netscape.com
09592145c3 42306: Change middle-mouse paste from MouseDown to MouseClick,
and prevent it bubbling up to where navigator.js will handle it.
r=saari,mjudge; a=beppe
2000-06-13 23:19:48 +00:00
jfrancis%netscape.com
338a1b0aeb fix for 41369: editor backspace crashes or loses data when at the beginning of text that has multiple br's before it. (dogfood+) r=sfraser; a=beppe 2000-06-10 02:25:50 +00:00
mjudge%netscape.com
4d8ea6168b cleaning up 34896 ender-lite with saari's review. 2000-06-09 21:13:03 +00:00
shanjian%netscape.com
5ca3f53ba7 #39726 typo in IMETextTxn.cpp
r=ftang a=waterson
2000-06-08 23:40:31 +00:00
brade%netscape.com
fa8e2b58fc drag within editor implemented; r=kin; a=beppe; bug#6255 2000-06-08 14:47:29 +00:00
kin%netscape.com
6790b4afdd Fix for bugs:
41605 Crash doing editor.js:EditorShutdown() when doing File->close
  41734 Applying Override StyleSheet causes Editor crash.

Added missing NS_IF_ADDREF in GetSelectedElement().

r=jfrancis@netscape.com  a=beppe@netscape.com
2000-06-08 14:45:12 +00:00
mjudge%netscape.com
334756250b regression fix. my bad. changing editor code to have some duplicate code from nsSelection to output the whole document. r=donm a=donm regression ect. 2000-06-07 22:44:52 +00:00
mjudge%netscape.com
9703a755f8 bug=34896 changing use of CreateElement to CreateElementNS. this was necessary outside of ender-lite also. good change. r=jfrancis a=beppe 2000-06-07 01:18:12 +00:00
cmanske%netscape.com
946b869f76 Fix for 41034 - new list submenu command support for doing DL lists. r=sfraser, a=beppe 2000-06-05 20:26:40 +00:00
warren%netscape.com
512c8bf433 Renaming nsIAllocator to nsIMemory (and nsAllocator to nsMemory). API cleanup/freeze. Bug #18433 2000-06-03 09:46:12 +00:00
jfrancis%netscape.com
e93fa5fecf backend work for 41034: getting format feedback and list feedback untangled from each other. 2000-06-02 07:47:53 +00:00
jfrancis%netscape.com
08769b0013 fixes 41075: forward delete can delete wrong char, 41149: incorrect format feedback when in lists 2000-06-02 06:03:46 +00:00
sspitzer%netscape.com
1d1c974367 turn off mjudge's printf for everyone but mjudge 2000-06-01 23:04:46 +00:00
mjudge%netscape.com
6a340adf28 fixing caret usages. hiding caret now is done by giving the stack destructor a caret * not a presshell 2000-06-01 02:38:13 +00:00
kin%netscape.com
2e76a9364c Fix for bug #40392: Crash on exit from composer due to spellchecker init failure
Modified First/LastSelectedBlock() to check if a range is collapsed before
trying to iterate over it.

    editor/txtsvc/src/nsTextServicesDocument.cpp

r=jfrancis@netscape.com  a=beppe@netscape.com
2000-05-31 03:18:46 +00:00
kin%netscape.com
82849412ce Fix for bug #36935: [i18n] Textwidget doesn't scroll when non-7-bit-ascii chars
Made ScrollSelectionIntoView() a static function and called it from HandleText().
    editor/base/nsEditorEventListeners.cpp
    editor/base/nsEditorEventListeners.h

r=jfrancis@netscape.com  a=beppe@netscape.com
2000-05-31 03:18:05 +00:00
akkana%netscape.com
313130d552 36559: run selection batching earlier in DeleteSelection, now that
the fix for 38713 allows it, so that deleting the selection doesn't
cause an autocopy. r=jfrancis a=beppe
2000-05-31 00:03:02 +00:00
jfrancis%netscape.com
18688d3585 fixing unix nsCOMPtr usage 2000-05-24 23:59:45 +00:00
jfrancis%netscape.com
512565acef fixes: 14753, 29843, 39864, 40141, 40139, 36679, 39542, 34729, 34855, 37216, 39292, 26447 r=sfraser,cmanske,fm; a=beppe 2000-05-24 23:38:07 +00:00
jfrancis%netscape.com
f8789832b8 fixes: 14753, 29843, 39864, 40141, 40139, 36679, 39542, 34729, 34855, 37216, 39292, 26447 r=sfraser,cmanske,fm; a=beppe 2000-05-24 23:00:24 +00:00
cmanske%netscape.com
3ca51295e3 Fixed infinite loop in Join Table Cell, bug 30606, r=akkana, a=chofmann 2000-05-18 21:02:10 +00:00
cmanske%netscape.com
0cac01227f Last tweak of the night to Split Table Cell 2000-05-17 06:47:34 +00:00
cmanske%netscape.com
07234c7763 Fixed another edge case in Split Cell when lots of columns have rowspan > 1 2000-05-17 06:23:55 +00:00
cmanske%netscape.com
7020903b71 Fixed problems when spliting a cell that has both rowspan > 1 and colospan > 1, part of bug 20973 2000-05-17 04:58:34 +00:00
cmanske%netscape.com
2780e53fa4 Implemented Split Table Cell, part of bug 20973 2000-05-17 03:21:17 +00:00
jst%netscape.com
930a889eb7 Updating nsIContent to allow accessin the attribute prefix and not only the attribute name and value. 2000-05-17 00:21:53 +00:00
rods%netscape.com
0516e9165c DD&D now checks for readonly and disabled
b 38773
2000-05-16 21:57:06 +00:00
brade%netscape.com
9e0f23802d enable drop of more types 2000-05-16 14:53:43 +00:00
cmanske%netscape.com
44d6a93dee Fixed Composer taskbar buttons. Changed Editorshell mouse listener so editorshell controls action, allowing selection of elements in All Tags mode with single click. Improved isCommandEnabled for Split cell command 2000-05-16 05:33:51 +00:00
mjudge%netscape.com
0e61917f36 no point in turning off the link handler if we are allready in text only mode. 2000-05-15 05:18:45 +00:00
cmanske%netscape.com
ef2ee30b83 Another tweak to table editing 2000-05-15 04:39:27 +00:00
cmanske%netscape.com
7d5d83345c Shoud return NS_EDITOR_ELEMENT_NOT_FOUND from GetFirstSelectedCellInTable if cell not found 2000-05-15 04:29:10 +00:00
cmanske%netscape.com
bf15afa2b3 Table editing: Join and Split cells (part of bug 20973) 2000-05-15 03:06:29 +00:00
mjudge%netscape.com
32eba0ac36 writing out from content start using domseelction 2000-05-13 08:04:29 +00:00
jfrancis%netscape.com
f9cbdf9698 fix for 38991: making lists screwed up 2000-05-12 23:43:50 +00:00
brade%netscape.com
de866a32ba allow drop of files into Composer (create image or link as appropriate) 2000-05-12 14:57:03 +00:00
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