Commit Graph
19 Commits
Author SHA1 Message Date
Ehsan Akhgari 478ad1a412 Bug 690892 - Replace PR_TRUE/PR_FALSE with true/false on mozilla-central; rs=dbaron
Landing on a CLOSED TREE
2011-10-17 10:59:28 -04:00
Michael Wu 0fe7772ece Bug 675553 - Switch from PRBool to bool on a CLOSED TREE , r=bsmedberg,khuey,bz,cjones 2011-09-28 23:19:26 -07:00
Ehsan Akhgari 8f4111bd4a Bug 414526 - Backspace at the beginning of a contenteditable element or delete at the end of one should not affect the rest of the contenteditable elements on the page; r=roc
The main fix here involves the introduction of the nsHTMLEditor::IsNodeInActiveEditor
API.  This API returns true if the current selection in the document falls
inside the active editable section.  The patch adds a bunch of checks using
this API to various places in the code to make sure that editing operations do
not escape their editing host.

There are also some unrelated fixes to range promotion code which fix the
bugs that have existed in that code before, but because of the lack of this
check were not uncovered before.

This patch also removes the nsTextEditUtils::InBody API which only made sense
in designMode documents, and was insufficient for contenteditable elements.
2011-07-14 11:25:07 -04:00
Ehsan Akhgari ea32707944 Bug 572618 - Make debugging the editor easier - Part 3: multiline version of part 2; r=roc 2010-06-17 16:40:48 -04:00
[email protected] 7947f05c70 Bug 327623 - nsHTMLEditor::SelectElement crashes if passed null argument, patch by Tony Goold, r=timeless, sr=neil 2006-03-16 12:41:57 +00:00
[email protected] b01c84071a Fixing bug 283897. Make midas state survive document.open/write/close. Regression from bug 283897. [email protected], [email protected] 2005-04-06 02:22:45 +00:00
[email protected] e0f2b0fa7e Cleanup in preparation for the actual fix for bug 283897. [email protected], [email protected] 2005-03-24 19:00:01 +00:00
[email protected] d9edea9d71 Bug 226439. Convert codebase to use AppendLiteral/AssignLiteral/LowerCaseEqualsLiteral. r+sr=darin 2004-06-17 00:13:25 +00:00
[email protected] c0cd46fc51 Bug 236613: change to MPL/LGPL/GPL tri-license. 2004-04-18 14:21:17 +00:00
[email protected] 8b2fac2edd editor cleanup; r=jfrancis, sr=blizzard, bug=209548 2003-07-18 14:12:51 +00:00
[email protected] 97daf17ca2 Fixing --enable-plaintext-editor-only bustage (bug 209548). Patch by brade, r/sr=me. 2003-07-16 22:19:59 +00:00
[email protected] aea5df6796 editor cleanup of NodeIsType; r=kin, sr=darin, bug=209548 2003-07-15 13:47:15 +00:00
[email protected] 6ae2708a2b Convert users of nsAReadable[C]String and nsAWritable[C]String typedefs to [const] nsA[C]String. b=131899 r=scc sr=jag a=asa 2002-03-23 22:08:20 +00:00
[email protected] a1c9cb1d53 Bug 113228: Replace ns{C}String::To{Upper,Lower}Case with global versions. r=bzbarsky, sr=jst 2001-12-17 07:14:49 +00:00
[email protected] 79d2bbabec NS_LITERAL_STRING cleanup (bug 26384; r=akk, sr=kin) 2001-12-07 15:28:47 +00:00
[email protected] 598067cb73 License changes, take 2. Bug 98089. mozilla/editor/. 2001-09-25 22:53:13 +00:00
[email protected] 30a09f1d88 Oops. 2001-09-20 00:02:59 +00:00
[email protected] 3c364a083d bug #98089: ripped new license 2001-09-19 20:09:47 +00:00
[email protected] e46548a24d New files necessary for phase 1 of editor reorganization checkin.
r=jfrancis, sr=kin,sfraser
2001-04-05 23:34:08 +00:00