uriber%gmail.com
60d1fa7f53
In nsTextEditRules::CheckBidiLevelForDeletion(), use nsSelection::GetPrevNextBidiLevels to determine bidi levels. bug=330460 r=smontagu sr=roc
...
git-svn-id: svn://10.0.0.236/trunk@192841 18797224-902f-48f8-a5cc-f745e15eee43
2006-03-23 08:20:29 +00:00
smontagu%smontagu.org
829a7d8bd4
Add a user option to allow delete and backspace to delete immediately even if the character to be deleted is visually distant from the caret location. Bug 328834, r=uriber@gmail.com, sr=roc
...
git-svn-id: svn://10.0.0.236/trunk@191881 18797224-902f-48f8-a5cc-f745e15eee43
2006-03-07 06:03:37 +00:00
timeless%mozdev.org
3381bf1e44
Bug 253481 xul:textbox attribute to specify what happens to pasted line breaks
...
patch by ted.mielczarek@gmail.com r=brade/neil sr=jag
git-svn-id: svn://10.0.0.236/trunk@186330 18797224-902f-48f8-a5cc-f745e15eee43
2005-12-20 20:12:54 +00:00
timeless%mozdev.org
f9bdb44b34
Bug 106386 Correct misspellings in source code
...
patch by unknown@simplemachines.org r=timeless rs=brendan
git-svn-id: svn://10.0.0.236/trunk@185269 18797224-902f-48f8-a5cc-f745e15eee43
2005-11-25 08:16:51 +00:00
mats.palmgren%bredband.net
8827f1128a
Make the plaintext editor count the length of the selected text correctly, so it doesn't violate MAXLENGTH. b=299417 r+sr=roc
...
git-svn-id: svn://10.0.0.236/trunk@182353 18797224-902f-48f8-a5cc-f745e15eee43
2005-10-17 00:54:02 +00:00
smontagu%smontagu.org
5ee547497a
Bug 118629: Set the caret hint when inserting text so that the caret appears on the same line as inserted text not ending with a newline, and on the line following text ending with a newline. Patch by Uri Bernstein <uriber@gmail.com>, r+sr=roc
...
git-svn-id: svn://10.0.0.236/trunk@181706 18797224-902f-48f8-a5cc-f745e15eee43
2005-10-06 08:19:51 +00:00
smontagu%smontagu.org
513984de68
Bug 308023: Bidi: Caret positioned incorrectly after deleting last character of reverse-direction text and then typing. Patch by Uri Bernstein <uriber@gmail.com>, r+sr=roc
...
git-svn-id: svn://10.0.0.236/trunk@181030 18797224-902f-48f8-a5cc-f745e15eee43
2005-09-27 08:35:05 +00:00
roc+%cs.cmu.edu
d225763725
Bug 300313. DeCOMtaminate linebreaker/wordbreaker, and access them directly as services rather than through a factory. r+sr=roc, patch by Joshua Welderson (thanks Joshua\!)
...
git-svn-id: svn://10.0.0.236/trunk@178583 18797224-902f-48f8-a5cc-f745e15eee43
2005-08-22 03:00:06 +00:00
peterv%propagandism.org
aac2b47f2a
Fix for bug 286300 (Clean up HTML tags enum and related code). r=mrbkap, sr=bz, a=asa.
...
git-svn-id: svn://10.0.0.236/trunk@174703 18797224-902f-48f8-a5cc-f745e15eee43
2005-06-16 13:10:58 +00:00
timeless%mozdev.org
464be8ac2e
Bug 106386 Correct misspellings in source code
...
patch by ajvincent@gmail.com r=timeless rs=brendan a=chofmann
git-svn-id: svn://10.0.0.236/trunk@174115 18797224-902f-48f8-a5cc-f745e15eee43
2005-06-03 10:26:28 +00:00
masayuki%d-toybox.com
d959b44165
Bug 286804 Newline improperly getting into single-line edit field. r=timeless, sr=neil.parkwaycc.co.uk
...
git-svn-id: svn://10.0.0.236/trunk@171209 18797224-902f-48f8-a5cc-f745e15eee43
2005-03-25 16:37:14 +00:00
jst%mozilla.jstenback.com
eaa2cccb13
Cleanup in preparation for the actual fix for bug 283897. r=brade@comcast.net, sr=bzbarsky@mit.edu
...
git-svn-id: svn://10.0.0.236/trunk@171162 18797224-902f-48f8-a5cc-f745e15eee43
2005-03-24 19:00:01 +00:00
scott%scott-macgregor.org
9880b9b613
Bug #278312 --> editor changes to support inline spell checking. Includes the interface for the inline spell checker
...
and editor hooks to call out to an inline spell checker component.
moa/r=glazman
sr=bienvenu
git-svn-id: svn://10.0.0.236/trunk@168662 18797224-902f-48f8-a5cc-f745e15eee43
2005-02-01 21:12:53 +00:00
smontagu%smontagu.org
5bfc1c11d8
Test for kOpInsertIMEText as well as kOpInsertText for platforms where right-to-left text is inserted by IME. Bug 243931, patch by Lina Kemmel lkemmel@il.ibm.com, r=smontagu, sr=roc.
...
git-svn-id: svn://10.0.0.236/trunk@157163 18797224-902f-48f8-a5cc-f745e15eee43
2004-05-31 12:15:21 +00:00
roc+%cs.cmu.edu
bdc7e5f59b
Bug 226439. Convert Seamonkey to EqualsLiteral. rs=darin
...
git-svn-id: svn://10.0.0.236/trunk@156785 18797224-902f-48f8-a5cc-f745e15eee43
2004-05-22 22:15:22 +00:00
gerv%gerv.net
210853d71e
Bug 236613: change to MPL/LGPL/GPL tri-license.
...
git-svn-id: svn://10.0.0.236/trunk@155067 18797224-902f-48f8-a5cc-f745e15eee43
2004-04-18 14:21:17 +00:00
scott%scott-macgregor.org
0d92e4b579
Bug #229203 --> thunderbird needs new liness converted to commas when pasting into single cell text boxes.
...
This comes up when pasting address data from spreadsheet programs into the addressing widget. This pref cannot be turned on for seamonkey because it effects all single line text boxes.
r=glazman, moa=glazman
sr=bienvenu
git-svn-id: svn://10.0.0.236/trunk@152018 18797224-902f-48f8-a5cc-f745e15eee43
2004-01-29 16:55:01 +00:00
jst%mozilla.jstenback.com
12ed685455
Fixing bug 230840. DeCOMtaminating nsIDocumentObserver, nsIAttribute, nsIContentList, and nsIContentIterator, and doing some other cleanup. r=jonas@sicking.cc, sr=bryner@brianryner.com
...
git-svn-id: svn://10.0.0.236/trunk@151784 18797224-902f-48f8-a5cc-f745e15eee43
2004-01-24 00:46:17 +00:00
jst%mozilla.jstenback.com
ef67a47aab
Fixing bug 215981. DeCOMtaminating nsIContent and nsIDocument some, and also some minor changes to other related interfaces. r=caillon@aillon.org, sr=peterv@propagandism.org.
...
git-svn-id: svn://10.0.0.236/trunk@147354 18797224-902f-48f8-a5cc-f745e15eee43
2003-09-27 04:18:26 +00:00
brade%netscape.com
68dc8312d3
editor cleanup; r=jfrancis, sr=blizzard, bug=209548
...
git-svn-id: svn://10.0.0.236/trunk@144951 18797224-902f-48f8-a5cc-f745e15eee43
2003-07-18 14:12:51 +00:00
brade%netscape.com
7a5e630789
use Truncate instead of SetLength(0); r=cmanske, sr=bz, bug=209548
...
git-svn-id: svn://10.0.0.236/trunk@144941 18797224-902f-48f8-a5cc-f745e15eee43
2003-07-18 02:27:19 +00:00
brade%netscape.com
af9a354fea
editor code cleanup (use contract IDs); r=timeless; sr=kin; bug=209548
...
git-svn-id: svn://10.0.0.236/trunk@144581 18797224-902f-48f8-a5cc-f745e15eee43
2003-07-08 20:35:09 +00:00
brade%netscape.com
3c2fed7e4a
NS_IMPL macro cleanup; r=timeless; sr=kin; bug=209548
...
git-svn-id: svn://10.0.0.236/trunk@144215 18797224-902f-48f8-a5cc-f745e15eee43
2003-06-27 14:19:40 +00:00
caillon%returnzero.com
0a6d1ae509
Bug 209087
...
Content interface out-parameters should use ptr-to-ptrs instead of ref-to-ptrs and some small deCOMtamination.
r+sr=jst@netscape.com
git-svn-id: svn://10.0.0.236/trunk@143683 18797224-902f-48f8-a5cc-f745e15eee43
2003-06-13 20:10:01 +00:00
kaie%netscape.com
6ac32319ca
b=169213 hitting backspace deletes HR above, fix confusing caret placement around <hr> lines
...
r=jfrancis sr=sfraser a=sspitzer
git-svn-id: svn://10.0.0.236/trunk@142433 18797224-902f-48f8-a5cc-f745e15eee43
2003-05-14 13:20:09 +00:00
kin%netscape.com
d43528516f
Fixes for bug 192569 (allow foreign transactions to be added to the queue)
...
mozilla/editor/idl/nsIEditor.idl
mozilla/editor/libeditor/base/nsEditor.cpp
mozilla/editor/libeditor/base/PlaceholderTxn.cpp
mozilla/editor/libeditor/html/nsHTMLCSSUtils.cpp
mozilla/editor/libeditor/html/nsHTMLEditor.cpp
mozilla/editor/libeditor/text/nsTextEditRules.cpp
- Renamed nsIEditor::Do() to nsIEditor::DoTransaction() so that it
can be called from JavaScript.
- Cleaned up nsEditor::Begin/EndUpdateViewBatch() so that
nothing happens outside the check of mUpdateCount.
- Modified PlaceholderTxn.cpp so that it checks to see
if a merged transaction implements nsPIEditorTransaction
before attempting to cast it to (EditorTxn*).
mozilla/editor/ui/composer/content/EditorCommandsDebug.js
mozilla/editor/ui/composer/content/editorOverlay.xul
mozilla/editor/ui/composer/locale/en-US/editorOverlay.dtd
- Added debug menu items to test execution of foreign transactions
via the txnmgr and editor.
r=jfrancis@netscape.com sr=sfraser@netscape.com
git-svn-id: svn://10.0.0.236/trunk@140707 18797224-902f-48f8-a5cc-f745e15eee43
2003-04-04 20:50:25 +00:00
timeless%mozdev.org
0e5f07166f
Bug 106386 rid source of misspellings
...
patch by nb@ipnode.info r=biesi sr=dmose
git-svn-id: svn://10.0.0.236/trunk@140130 18797224-902f-48f8-a5cc-f745e15eee43
2003-03-24 04:15:34 +00:00
timeless%mozdev.org
ce888ded2b
Bug 186643 del key at the end of the urlbar asserts
...
r=jfrancis sr=bz
git-svn-id: svn://10.0.0.236/trunk@136612 18797224-902f-48f8-a5cc-f745e15eee43
2003-01-19 00:46:56 +00:00
cbiesinger%web.de
ab918f2bcc
remove ifdefs for IBMBIDI from editor, bug 89203 r+sr=roc
...
git-svn-id: svn://10.0.0.236/trunk@136503 18797224-902f-48f8-a5cc-f745e15eee43
2003-01-17 11:11:10 +00:00
dbaron%dbaron.org
daa2fa4b45
Bug 178643: Remove uses of NS_INIT_ISUPPORTS, since it is no longer needed. r=timeless sr=jag
...
git-svn-id: svn://10.0.0.236/trunk@135995 18797224-902f-48f8-a5cc-f745e15eee43
2003-01-08 19:51:43 +00:00
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
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
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
8510bd9c34
fix for 125161: forward delete in text widget should not delete trailing blank line
...
r=glazman
sr=kin
git-svn-id: svn://10.0.0.236/trunk@129521 18797224-902f-48f8-a5cc-f745e15eee43
2002-09-13 13:26:14 +00:00
dougt%netscape.com
e289284076
166917. Clean up xpcom SDK includes. r=rpotts@netscape.com, sr=alecf@netscape.com, a=rjesup@wgate.com
...
git-svn-id: svn://10.0.0.236/trunk@129050 18797224-902f-48f8-a5cc-f745e15eee43
2002-09-07 17:13:19 +00:00
jfrancis%netscape.com
c5067db88b
fix for 159392: Composer add <br> to end everytime it opens a file.
...
r=brade; sr=kin
git-svn-id: svn://10.0.0.236/trunk@127961 18797224-902f-48f8-a5cc-f745e15eee43
2002-08-23 17:57:51 +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
dougt%netscape.com
d6cc711878
Fixes mozilla/strings requiring unfrozen nsCRT class. patch by scc, r=dougt, sr=jag, b=136756
...
git-svn-id: svn://10.0.0.236/trunk@121534 18797224-902f-48f8-a5cc-f745e15eee43
2002-05-15 18:55:21 +00:00
jfrancis%netscape.com
f81c6987d5
fixes for bugs:
...
90759: spaces not working in IME editting
132133: deleting last char on line can place caret incorrectly
132837: inline style and making new list items dont play nice
103867: nsSelectionState logic error
r=glazman; sr=kin; a=asa; adt=jamie; i'd also like to thank my mom, and my producer, who was there for me during detox, and of course everyone inthe academy, you are all so beautiful
git-svn-id: svn://10.0.0.236/trunk@118389 18797224-902f-48f8-a5cc-f745e15eee43
2002-04-06 19:07:47 +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
a06d58321d
fixes 92124: RightArrow then Backspace causes Caret to go to previous line. r=jfrancis; sr=kin; a=roc+moz; submitted by Shotaro Kamio, skamio@netscape.net
...
git-svn-id: svn://10.0.0.236/trunk@116324 18797224-902f-48f8-a5cc-f745e15eee43
2002-03-11 14:28:37 +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
brade%netscape.com
3d5f73b579
remove DEAD_CODE (bug 115115); remove unused static (bug 117927)
...
git-svn-id: svn://10.0.0.236/trunk@112093 18797224-902f-48f8-a5cc-f745e15eee43
2002-01-14 20:34:15 +00:00
jaggernaut%netscape.com
576ec93128
Bug 113228: Replace ns{C}String::To{Upper,Lower}Case with global versions. r=bzbarsky, sr=jst
...
git-svn-id: svn://10.0.0.236/trunk@110611 18797224-902f-48f8-a5cc-f745e15eee43
2001-12-17 07:14:49 +00:00
kin%netscape.com
f0f1496951
Fix for bug 114339: Mozilla fails to paste correctly into password fields
...
Modified WillInsertText() to call EchoInsertionToPWBuff() after
the code that filters newlines based on the editor.singleLine.pasteNewlines
pref.
r=brade@netscape.com sr=sfraser@netscape.com
git-svn-id: svn://10.0.0.236/trunk@110243 18797224-902f-48f8-a5cc-f745e15eee43
2001-12-11 07:21:10 +00:00
brade%netscape.com
4d6d20f598
NS_LITERAL_STRING cleanup (bug 26384; r=akk, sr=kin)
...
git-svn-id: svn://10.0.0.236/trunk@110009 18797224-902f-48f8-a5cc-f745e15eee43
2001-12-07 15:28:47 +00:00
brade%netscape.com
76d1ce8a02
#include cleanup (bug #112008 , r=akkana, sr=sfraser)
...
git-svn-id: svn://10.0.0.236/trunk@109202 18797224-902f-48f8-a5cc-f745e15eee43
2001-11-29 10:06:21 +00:00
bzbarsky%mit.edu
068756d821
Use NS_LITERAL_STRING instead of NS_ConvertASCIItoUCS2 where possible
...
(i.e. where the string is a literal). Bug 104159, r=jag, sr=alecf
git-svn-id: svn://10.0.0.236/trunk@107987 18797224-902f-48f8-a5cc-f745e15eee43
2001-11-14 01:33:42 +00:00
brade%netscape.com
18ad0f0e55
nsIFile->nsIURI in nsIDiskDocument shows missing #include; now added (bug #104883 )
...
git-svn-id: svn://10.0.0.236/trunk@106957 18797224-902f-48f8-a5cc-f745e15eee43
2001-11-01 15:22:10 +00:00
kin%netscape.com
6fcaeaf88c
Fix for bug #104692 : Edit field line break didn't updated
...
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.com sr=sfraser@netscape.com
git-svn-id: svn://10.0.0.236/trunk@106363 18797224-902f-48f8-a5cc-f745e15eee43
2001-10-26 14:22:31 +00:00