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.comsr=sfraser@netscape.coma=scc@mozilla.org
git-svn-id: svn://10.0.0.236/trunk@116938 18797224-902f-48f8-a5cc-f745e15eee43
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
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
* 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
also fixes for:
101342 : Extraneous <br> when <td> content is <textarea>
104499 : when using the decrease indent, caret hops to the end of the previous line
r=fm; sr=kin
git-svn-id: svn://10.0.0.236/trunk@110371 18797224-902f-48f8-a5cc-f745e15eee43
45888: center followed by heading 2: text doesn't take on heading 2
102754: Lists with Headings applied do not create new list items when return entered
9835: Indent button behaves differently if <li> contains two <br>
r=fm; sr=kin
git-svn-id: svn://10.0.0.236/trunk@108818 18797224-902f-48f8-a5cc-f745e15eee43
mozilla/editor/libeditor/html/nsHTMLDataTransfer.cpp
mozilla/editor/libeditor/html/nsHTMLEditRules.cpp
mozilla/editor/libeditor/html/nsHTMLEditRules.h
mozilla/editor/libeditor/html/nsHTMLEditor.h
mozilla/editor/libeditor/text/nsTextEditRules.h
- Added nsHTMLEditRules::WillLoadHTML() which removes any mBogusNode.
- Modified nsHTMLEditor::LoadHTML() to call Will/DidDoAction().
- Changed all references of kOpHTMLLoad to kOpLoadHTML to match
function name, and added kLoadHTML.
r=jfrancis.netscape.com sr=sfraser.netscape.com a=asa@mozilla.org
git-svn-id: svn://10.0.0.236/trunk@107735 18797224-902f-48f8-a5cc-f745e15eee43
Modified WillMakeList() to clear prevListItem after adding a block
to a list item so that any inline nodes after the block are put
in a new list item.
r=jfrancis@netscape.comsr=sfraser@netscape.com
git-svn-id: svn://10.0.0.236/trunk@107105 18797224-902f-48f8-a5cc-f745e15eee43
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
Modified WillDeleteSelection() to make sure that
sibling is a TextNode before trying to join it
with startNode (which is guaranteed to be a text node).
r=jfrancis@netscape.comsr=sfraser@netscape.com
git-svn-id: svn://10.0.0.236/trunk@105768 18797224-902f-48f8-a5cc-f745e15eee43
r=ftang, sr=kin@netscape.com
Cursor is an ambigous term - use caret to refer to the text caret in Bidi functions
git-svn-id: svn://10.0.0.236/trunk@104268 18797224-902f-48f8-a5cc-f745e15eee43