Modified WillInsertText() so that it adds a mozbr if
the last char in the plaintext string is a newline,
and we are inserting at the end of the doc. This gives
the blank line people expect to see.
r=jfrancis@netscape.comsr=sfraser@netscape.com
git-svn-id: svn://10.0.0.236/trunk@106363 18797224-902f-48f8-a5cc-f745e15eee43
Remove unused directories which should not have been created.
r=cmanske,jfrancis,brade sr=sfraser,kin a=dbaron
git-svn-id: svn://10.0.0.236/trunk@104623 18797224-902f-48f8-a5cc-f745e15eee43
Not yet part of the build (until the switch is flipped).
r=cmanske, sr=sfraser,kin, a=dbaron + leaf,loan.
git-svn-id: svn://10.0.0.236/trunk@104600 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
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
for bug #86450: pasting plaintext into text area loses significant whitespace
content/base/src/nsDocumentEncoder.cpp
- Look for -moz-pre-wrap in the correct attribute ("style").
editor/base/nsHTMLDataTransfer.cpp
editor/base/nsPlaintextDataTransfer.cpp
- Set the correct mime-type on the encoder and transfer data.
- Pass correct init flags to encoder.
layout/base/src/nsCopySupport.cpp
layout/base/src/nsCopySupport.h:
- Added IsPlainTextContext() method.
- Modified HTMLCopy() to pass correct init flags and
mime-type to the encoder during plaintext copy.
r=kin@netscape.com,brade@netscape.com sr=sfraser@netscape.com
git-svn-id: svn://10.0.0.236/trunk@99185 18797224-902f-48f8-a5cc-f745e15eee43
This removes all call-sites I can currently fix. Tomorrow I'll try to get someone to checkin my changes to security/ and I'll get some help with the Netscape side of things.
nsString::GetUnicode()'s final death-blow will be dealt soon. Please keep this in mind as you add new code :-)
git-svn-id: svn://10.0.0.236/trunk@98363 18797224-902f-48f8-a5cc-f745e15eee43
Changes allow us to have a finer control over which parts of the tree are built with PIC. Part of the static build branch landing.
Bug #46775 r=mcafee a=leaf
git-svn-id: svn://10.0.0.236/trunk@97363 18797224-902f-48f8-a5cc-f745e15eee43
The fix is to
- maintain the index of PasswordBuf at the start of IME
- maintain the old IME text
- remove the old IME text from PasswordBuf
/r=jfrancis, /sr=kin, /a=blizzard
git-svn-id: svn://10.0.0.236/trunk@96481 18797224-902f-48f8-a5cc-f745e15eee43
r=anthonyd, sr=sfraser
Enable middle button paste on OS/2 by using kGlobalClipboard
git-svn-id: svn://10.0.0.236/trunk@95677 18797224-902f-48f8-a5cc-f745e15eee43
r=jfrancis, sr=sfraser, r=leaf for build changes
Putting back Bidi selection code that was removed by 65557
git-svn-id: svn://10.0.0.236/trunk@95640 18797224-902f-48f8-a5cc-f745e15eee43
Added nsAutoUpdateViewBatch class, and use it in
nsPlaintexteditor::Undo()/Redo().
editor/base/nsEditorUtils.h
editor/base/nsPlaintextEditor.cpp
r=jfrancis@netscape.comsr=sfraser@netscape.com
git-svn-id: svn://10.0.0.236/trunk@94654 18797224-902f-48f8-a5cc-f745e15eee43
r = sfraser sr=kin a=blizzard
Handle the difference of cursor coordinate required by different platform.
nsICaret.h
nsCaret.cpp
nsEditor.cpp
nsPlaintextEditor.cpp
nsHTMLEditor.cpp
git-svn-id: svn://10.0.0.236/trunk@92763 18797224-902f-48f8-a5cc-f745e15eee43