16 Commits

Author SHA1 Message Date
jfrancis%netscape.com
31165ba709 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@114924 18797224-902f-48f8-a5cc-f745e15eee43
2002-02-19 11:52:50 +00:00
kin%netscape.com
0dc3512422 Fix for bug 124209 (Deleting selection in plain text reply compose causes hang)
and bug 124375 (composer / editor hang when delete blank lines)

Allow start/end points to be set to empty text nodes to prevent
infinite loop.

r=glazman@netscape.com  sr=sfraser@netscape.com,shaver@mozilla.org


git-svn-id: svn://10.0.0.236/trunk@114029 18797224-902f-48f8-a5cc-f745e15eee43
2002-02-08 15:20:19 +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
timeless%mac.com
cea26a6b9c Bug 117418 nsWSRunObject.cpp:704: warning: `PRInt32 curStartOffset' might be used uninitialized in this function
r=akkana sr=brendan


git-svn-id: svn://10.0.0.236/trunk@112989 18797224-902f-48f8-a5cc-f745e15eee43
2002-01-27 07:07:10 +00:00
brade%netscape.com
da3fec2b4b remove DEAD_CODE (bug 115115)
git-svn-id: svn://10.0.0.236/trunk@112094 18797224-902f-48f8-a5cc-f745e15eee43
2002-01-14 20:35:08 +00:00
jfrancis%netscape.com
dfd10349d5 fixes bug 99523 and cast of hangers on: this patch allows the editor to backspace/forward-delete across block boundaries (other than table elements), rearranging the document content in some sensible way in response. r=fm;sr=kin
git-svn-id: svn://10.0.0.236/trunk@110125 18797224-902f-48f8-a5cc-f745e15eee43
2001-12-09 09:24:33 +00:00
jfrancis%netscape.com
c64143d012 fixes following bugs:
77902: toggling from normal to source view and back in composer can leave source in normal view.
101645: big/small tags get seperately wrapped around br nodes
81315: drag and drop doesn't behave same as copy paste
90759: ascii spaces don't behave in IME mode
96328: cant outdent certain indented text
58629: some mail messages cannot be accurately quoted on reply
93088/93477: forward deletion broken
46290: relative font size controls dont play nice with absolute font size
r=various; sr=kin


git-svn-id: svn://10.0.0.236/trunk@105922 18797224-902f-48f8-a5cc-f745e15eee43
2001-10-22 06:22:52 +00:00
gerv%gerv.net
3821428085 License changes, take 2. Bug 98089. mozilla/editor/.
git-svn-id: svn://10.0.0.236/trunk@103757 18797224-902f-48f8-a5cc-f745e15eee43
2001-09-25 22:53:13 +00:00
gerv%gerv.net
ae1d5501a1 Oops.
git-svn-id: svn://10.0.0.236/trunk@103236 18797224-902f-48f8-a5cc-f745e15eee43
2001-09-20 00:02:59 +00:00
scc%mozilla.org
52c8d09e03 bug #98089: ripped new license
git-svn-id: svn://10.0.0.236/trunk@103219 18797224-902f-48f8-a5cc-f745e15eee43
2001-09-19 20:09:47 +00:00
jfrancis%netscape.com
dc74067145 fixes:
bug 83918 - Not able to start a list (number or bullets) when using Bold style
bug 62347 - Selecting "Body Text" doesn't change style if in <pre> text that has <br>
bug 86476 - ubercaret appears on multi-line text block
bug 87882 - pasting text from one bullet to another yields extra bullet
---------------
r=sfraser; sr=kin


git-svn-id: svn://10.0.0.236/trunk@101631 18797224-902f-48f8-a5cc-f745e15eee43
2001-08-22 05:32:44 +00:00
kin%netscape.com
2ea1e201ca Fix for bug #83946 (Crash/freeze when backspacing over signature lines)
Fixed infinite loop in PriorVisibleNode() and NextVisibleNode() which would
happen when aNode was a node that could have children, but didn't have any,
and it's prior/next siblings weren't  eNormalWS.

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


git-svn-id: svn://10.0.0.236/trunk@96964 18797224-902f-48f8-a5cc-f745e15eee43
2001-06-12 20:46:57 +00:00
jfrancis%netscape.com
bf446e6246 fixing worms bustage
git-svn-id: svn://10.0.0.236/trunk@94641 18797224-902f-48f8-a5cc-f745e15eee43
2001-05-11 13:32:32 +00:00
jfrancis%netscape.com
73072cd5e7 bug 65557 and cast of thousands: making the editor behave more intelligently wrt html whitespace rules. Improved ws handling for:
insert text,
insert break,
join blocks,
split block,
delete
Yet to be tackled is html copy & paste.  r=fm; sr=kin


git-svn-id: svn://10.0.0.236/trunk@94635 18797224-902f-48f8-a5cc-f745e15eee43
2001-05-11 12:43:22 +00:00
jfrancis%netscape.com
0046ce8f92 more ws work - not yet part of build
git-svn-id: svn://10.0.0.236/trunk@94482 18797224-902f-48f8-a5cc-f745e15eee43
2001-05-10 11:55:49 +00:00
jfrancis%netscape.com
723ff44155 groundwork for 65557. not yet part of build.
git-svn-id: svn://10.0.0.236/trunk@93389 18797224-902f-48f8-a5cc-f745e15eee43
2001-04-28 12:04:45 +00:00