271 Commits

Author SHA1 Message Date
jfrancis%netscape.com
dab8e009ec editor fixes for:
180034 editor should respect the select_all style
183836 New list item should not reset inline styles
179384 Merging blocks via forward delete sends selection to front of document
98434 IME does not work correctly at the last characters in the text field  (patch courtesy of Shotaro Kamio)

r=jfrancis,brade,cmanske   sr=kin


git-svn-id: svn://10.0.0.236/trunk@135560 18797224-902f-48f8-a5cc-f745e15eee43
2002-12-22 01:51:14 +00:00
glazman%netscape.com
788b006f2d Text alignment feedback erroneous in Composer; b=183887, r=jfrancis, sr=peterv
git-svn-id: svn://10.0.0.236/trunk@135496 18797224-902f-48f8-a5cc-f745e15eee43
2002-12-19 14:10:50 +00:00
caillon%returnzero.com
9641b989dd Bug 181442 - Convert editor's pref usage to the new pref APIs.
r=brade sr=kin


git-svn-id: svn://10.0.0.236/trunk@134351 18797224-902f-48f8-a5cc-f745e15eee43
2002-11-23 01:26:58 +00:00
jfrancis%netscape.com
940908cb67 reland fix for 174017: Multiple enters after quoted text does not move cursor; r=fm; sr=kin
git-svn-id: svn://10.0.0.236/trunk@134296 18797224-902f-48f8-a5cc-f745e15eee43
2002-11-22 01:03:08 +00:00
jfrancis%netscape.com
e5288c6ffc 152419: Pressing ENTER after adding styles to text does not move caret to next line.
r=brade
sr=kin


git-svn-id: svn://10.0.0.236/trunk@133992 18797224-902f-48f8-a5cc-f745e15eee43
2002-11-17 03:11:45 +00:00
jfrancis%netscape.com
490f165cd9 fix for 172147: URL in composition "decoration" continues on next line
r=brade
sr=kin


git-svn-id: svn://10.0.0.236/trunk@133989 18797224-902f-48f8-a5cc-f745e15eee43
2002-11-17 01:37:29 +00:00
jfrancis%netscape.com
c408834454 fix for 143338: Word wrap of double space incorrect in HTML mailcompose
r=glazman
sr=kin


git-svn-id: svn://10.0.0.236/trunk@133988 18797224-902f-48f8-a5cc-f745e15eee43
2002-11-17 01:25:30 +00:00
bzbarsky%mit.edu
04bc7e2dbf Clean up some array stuff in editor; switch to nsCOMArray in a bunch of
places.  Bug 175564, r=jfrancis, sr=kin


git-svn-id: svn://10.0.0.236/trunk@133685 18797224-902f-48f8-a5cc-f745e15eee43
2002-11-12 19:40:11 +00:00
jfrancis%netscape.com
b3dd2a097b fix for 174017: Multiple enters after quoted text does not move cursor; r=fm; sr=kin
git-svn-id: svn://10.0.0.236/trunk@133290 18797224-902f-48f8-a5cc-f745e15eee43
2002-11-07 11:38:08 +00:00
jfrancis%netscape.com
303874b31f fix for 164060: Drop link into list item makes cursor jump to next item; r=fm; sr=kin
git-svn-id: svn://10.0.0.236/trunk@133288 18797224-902f-48f8-a5cc-f745e15eee43
2002-11-07 11:26:26 +00:00
jfrancis%netscape.com
9197e52f81 fix for 171243: redo broken
r=brade, sr=kin


git-svn-id: svn://10.0.0.236/trunk@131486 18797224-902f-48f8-a5cc-f745e15eee43
2002-10-08 23:06:38 +00:00
jfrancis%netscape.com
1d6ddcff82 fix for 169033: deletion should delete nested empty blocks all in one action
r=fm; sr=kin


git-svn-id: svn://10.0.0.236/trunk@131483 18797224-902f-48f8-a5cc-f745e15eee43
2002-10-08 22:59:09 +00:00
jfrancis%netscape.com
fd9e439291 fix for 167585: the case of the disappearing cursor.
r=cmanske; sr=kin


git-svn-id: svn://10.0.0.236/trunk@130997 18797224-902f-48f8-a5cc-f745e15eee43
2002-10-02 13:52:14 +00:00
jfrancis%netscape.com
e09ae3ace1 fix for 170344: block operations failing at certain selection points. r=akkana, sr=kin
git-svn-id: svn://10.0.0.236/trunk@130446 18797224-902f-48f8-a5cc-f745e15eee43
2002-09-25 21:56:23 +00:00
jfrancis%netscape.com
71c1bfb9a7 fix for 168336: block operations crossing breaks incorrectly
r=fm
sr=kin


git-svn-id: svn://10.0.0.236/trunk@130103 18797224-902f-48f8-a5cc-f745e15eee43
2002-09-20 02:28:55 +00:00
glazman%netscape.com
2f30b4784e fixes several bugs at once:
could not revert to HTML attributes default value,
VALIGN attribute on table elements was not CSSized,
page colors of new documents were not CSSized,
bad design in |nsEditor::CloneAttributes()|,
new image width/height/border attributes were not CSSized,
error in EdTableProps.js

b=167712, b=167716, r=brade, r=jfrancis, sr=kin


git-svn-id: svn://10.0.0.236/trunk@129785 18797224-902f-48f8-a5cc-f745e15eee43
2002-09-17 12:04:59 +00:00
jfrancis%netscape.com
4ea028e64a fix for 95654: inserting an <hr> creates a blank line after it
r=glazman
sr=kin


git-svn-id: svn://10.0.0.236/trunk@129522 18797224-902f-48f8-a5cc-f745e15eee43
2002-09-13 13:31:11 +00:00
cmanske%netscape.com
29a9d1c6be Part of fix for table editor interface changes. (fixed build bustage!) b=166922, r=akkana, sr=hewitt
git-svn-id: svn://10.0.0.236/trunk@129502 18797224-902f-48f8-a5cc-f745e15eee43
2002-09-13 05:31:50 +00:00
jfrancis%netscape.com
dfe90b74d6 fix for 166524: forward delete key changes line order.
r=brade
sr=kin
a=asa


git-svn-id: svn://10.0.0.236/trunk@128943 18797224-902f-48f8-a5cc-f745e15eee43
2002-09-06 04:27:06 +00:00
jfrancis%netscape.com
7c2c2a1ee3 fix for 129763: edit this page and delete Personals section causes stray bullet r=glazman; sr=kin
git-svn-id: svn://10.0.0.236/trunk@128696 18797224-902f-48f8-a5cc-f745e15eee43
2002-09-03 07:36:44 +00:00
jfrancis%netscape.com
09d3e8e707 fix for 161106: rewrite of deletion in editor. fixes various deletion probs. r=glazman; sr=kin
git-svn-id: svn://10.0.0.236/trunk@128444 18797224-902f-48f8-a5cc-f745e15eee43
2002-08-29 07:49:31 +00:00
jfrancis%netscape.com
62d2e71794 fix for 129763: edit this page and delete Personals section causes stray bullet
r=glazman; sr=kin


git-svn-id: svn://10.0.0.236/trunk@127966 18797224-902f-48f8-a5cc-f745e15eee43
2002-08-23 18:14:30 +00:00
jfrancis%netscape.com
531d4ce862 fixes for:
159924:  table split up when applying paragraph style to select all
161723: backspace through list item when at beginning of document
r=glazman; sr=kin


git-svn-id: svn://10.0.0.236/trunk@127964 18797224-902f-48f8-a5cc-f745e15eee43
2002-08-23 18:11:25 +00:00
jfrancis%netscape.com
86a10335a7 fix for 155629: deletion horked: cant delete br nodes. r=fm; sr=kin
git-svn-id: svn://10.0.0.236/trunk@124659 18797224-902f-48f8-a5cc-f745e15eee43
2002-07-04 01:12:49 +00:00
jfrancis%netscape.com
c54d33f095 updating 83378 work with the correct patch this time
git-svn-id: svn://10.0.0.236/trunk@124363 18797224-902f-48f8-a5cc-f745e15eee43
2002-06-30 02:52:56 +00:00
akkana%netscape.com
8c220f972c 145727: use nsString.FindChar, clean up conflicting string usages. Patch from skamio@netscape.net (Shotaro Kamio), r=akkana, sr=alecf
git-svn-id: svn://10.0.0.236/trunk@123355 18797224-902f-48f8-a5cc-f745e15eee43
2002-06-14 22:10:56 +00:00
jfrancis%netscape.com
97060bb3df bug 83378: plaintext mail reply editong problem in quotes
git-svn-id: svn://10.0.0.236/trunk@123153 18797224-902f-48f8-a5cc-f745e15eee43
2002-06-12 14:12:32 +00:00
jfrancis%netscape.com
7051a47928 fix for 108035: making a list out of several divs gave bad results sr=kin r=brade
git-svn-id: svn://10.0.0.236/trunk@121425 18797224-902f-48f8-a5cc-f745e15eee43
2002-05-14 00:35:57 +00:00
jfrancis%netscape.com
64b7f510fc fix for 112167: pasting list items cal leave selection between items. Also allows you to type after pasted link without being in link. sr=kin r=fm
git-svn-id: svn://10.0.0.236/trunk@121418 18797224-902f-48f8-a5cc-f745e15eee43
2002-05-14 00:05:37 +00:00
jfrancis%netscape.com
353f2a4e3c fix for bug 100855: paragraph fromat feedback from editor inaccurate. r=brade; sr=kin
git-svn-id: svn://10.0.0.236/trunk@118951 18797224-902f-48f8-a5cc-f745e15eee43
2002-04-14 05:57:14 +00:00
dbaron%fas.harvard.edu
359ad57ca1 Convert users of nsAReadable[C]String and nsAWritable[C]String typedefs to [const] nsA[C]String. b=131899 r=scc sr=jag a=asa
git-svn-id: svn://10.0.0.236/trunk@117343 18797224-902f-48f8-a5cc-f745e15eee43
2002-03-23 22:08:20 +00:00
jfrancis%netscape.com
71aa660d6a fix for Bug 131757: deleting styled content in block can cause blank line insertion
r=glazman; sr=kin; a=asa


git-svn-id: svn://10.0.0.236/trunk@117123 18797224-902f-48f8-a5cc-f745e15eee43
2002-03-22 00:03:10 +00:00
jfrancis%netscape.com
ee2e7588a7 fix for Bug 113320: outdenting inside tables hosed.
r=glazman; sr=kin; a=asa


git-svn-id: svn://10.0.0.236/trunk@117115 18797224-902f-48f8-a5cc-f745e15eee43
2002-03-21 23:44:23 +00:00
jfrancis%netscape.com
f8cdff6d98 fix for Bug 114112: indenting across separate table cells hosed.
r=glazman; sr=kin; a=asa


git-svn-id: svn://10.0.0.236/trunk@117110 18797224-902f-48f8-a5cc-f745e15eee43
2002-03-21 23:40:50 +00:00
jfrancis%netscape.com
574f9e89c1 fix for 102612: making new blocks (lists, etc) in editor can get confused if nested inline styles are present.
r=glazman; sr=kin; a=asa


git-svn-id: svn://10.0.0.236/trunk@117101 18797224-902f-48f8-a5cc-f745e15eee43
2002-03-21 23:24:21 +00:00
kin%netscape.com
6013bc741c Fix for bug 131820: Hitting return in an inline style doesn't advance
caret to next line

Prevent AdjustSelection() from adding a MozBR when
the root node is empty so that EditAfterInner()
can add the BogusBR node.

r=jfrancis@netscape.com  sr=sfraser@netscape.com  a=scc@mozilla.org


git-svn-id: svn://10.0.0.236/trunk@116938 18797224-902f-48f8-a5cc-f745e15eee43
2002-03-20 01:45:55 +00:00
glazman%netscape.com
b231f8945d It was impossible to set the background color of a table thru TableOrCell Background Color menu item.
b=127723, r=jfrancis, r=cmanske, sr=kin, a=asa


git-svn-id: svn://10.0.0.236/trunk@116645 18797224-902f-48f8-a5cc-f745e15eee43
2002-03-15 15:33:29 +00:00
akkana%netscape.com
1f0b47ba2b 128903: Clean up the editor IDL, and anyone who uses them. r=brade,cmanske,ducarroz (for mail); sr=sfraser; a=dbaron
git-svn-id: svn://10.0.0.236/trunk@116581 18797224-902f-48f8-a5cc-f745e15eee43
2002-03-14 22:11:14 +00:00
glazman%netscape.com
0f31219295 Styles were not preserved in Composer when creating a new list item, hitting twice the Return Key
The inline styles (B I U ..) hierarchy of elements had to be recreated in the new list item.

b=46474; r=jfrancis; sr=kin; a=asa


git-svn-id: svn://10.0.0.236/trunk@116322 18797224-902f-48f8-a5cc-f745e15eee43
2002-03-11 13:11:48 +00:00
jfrancis%netscape.com
26e0990680 fixes bugs 127869, 127939, and 128793: various bug with list pasting; sr=kin; r=glazman; a=asa [trunk]
git-svn-id: svn://10.0.0.236/trunk@116321 18797224-902f-48f8-a5cc-f745e15eee43
2002-03-11 09:30:51 +00:00
jfrancis%netscape.com
4206e67ceb fixes blocker 126558; r=brade,jrancis, sr=alecf, a=rods;
thanks to kin for cleaning up my "replace all" accident


git-svn-id: svn://10.0.0.236/trunk@115166 18797224-902f-48f8-a5cc-f745e15eee43
2002-02-21 20:50:35 +00:00
jfrancis%netscape.com
b38a95dde6 fixes:
117418: warnings in nsWSRunObject.cpp
98286: splitting paragraphs broken
101041: block transformations could grab too much beyon selection
82813: whitespace handling code needs to do right thing with preformatted text
99545 &
103677: new blocks not always pre-populated with br
41336: better handling of mailcites when splitting or deleting them or portions of them

partial fix for:
46474: creating new blocks kills style settings

r=fm, sr=kin


git-svn-id: svn://10.0.0.236/trunk@114926 18797224-902f-48f8-a5cc-f745e15eee43
2002-02-19 12:02:09 +00:00
glazman%netscape.com
bf33b04993 alignment problems + removal of useless DIVs when realigning the selection; b=102547, r=jfrancis,sr=kin
git-svn-id: svn://10.0.0.236/trunk@114790 18797224-902f-48f8-a5cc-f745e15eee43
2002-02-18 10:49:15 +00:00
bzbarsky%mit.edu
f68919f405 Relanding the Compare --> Equals conversion. a=mcafee
git-svn-id: svn://10.0.0.236/trunk@114163 18797224-902f-48f8-a5cc-f745e15eee43
2002-02-10 15:49:46 +00:00
bzbarsky%mit.edu
ffecf7f104 Testing performance impact of backout of what's left of the patch from
bug 115289.  See bug 123947 for details. a=mcafee


git-svn-id: svn://10.0.0.236/trunk@114152 18797224-902f-48f8-a5cc-f745e15eee43
2002-02-09 20:46:05 +00:00
jfrancis%netscape.com
15acb56766 duh
git-svn-id: svn://10.0.0.236/trunk@113880 18797224-902f-48f8-a5cc-f745e15eee43
2002-02-07 04:44:21 +00:00
jfrancis%netscape.com
d69842f478 fixes:
* 113691 : Composer freezes when removing multiple ol or ul tags.
    * 113290 : Freezes when deleting some formatted text.
    * 112144 : Attempt to reply to mail freezes entire Mozilla.
    * 103685 : Caret disappears after deleting a blockquote w/ paragraph style.
    * 121282 : Pressing enter causes caret to jump from end of <p> to the<h1>.
    * 117418 : rewrote some code in nsWSRunObject.cpp: fixed warnings in GetWSNodes().
    * 114911 : can't join two lists using delete key.
    * 120000 : Indent list inside table causes table to split.
r=fm;sr=kin


git-svn-id: svn://10.0.0.236/trunk@113873 18797224-902f-48f8-a5cc-f745e15eee43
2002-02-07 03:56:20 +00:00
bzbarsky%mit.edu
2fd80b82c9 Convert Compare() to Equals() where possible now that we can do
case-insensitive Equals().  Bug 115289, r=alecf, sr=jag


git-svn-id: svn://10.0.0.236/trunk@113665 18797224-902f-48f8-a5cc-f745e15eee43
2002-02-05 02:03:07 +00:00
alecf%netscape.com
4331ed65d3 First part of fix for bug 107575 - remove nsString::FindChar because there is already an nsAString::FindChar, and remove the "ignore case" option in RFindChar
r=dougt, sr=jag


git-svn-id: svn://10.0.0.236/trunk@113200 18797224-902f-48f8-a5cc-f745e15eee43
2002-01-30 06:04:29 +00:00
glazman%netscape.com
2a28453859 remove CSSisms from nsEditor; b=121092, r=brade, sr=kin
git-svn-id: svn://10.0.0.236/trunk@112852 18797224-902f-48f8-a5cc-f745e15eee43
2002-01-25 10:16:52 +00:00