diff --git a/mozilla/dom/macbuild/dom.mcp b/mozilla/dom/macbuild/dom.mcp index 08e08c3b7c1..f3dc49b9049 100644 Binary files a/mozilla/dom/macbuild/dom.mcp and b/mozilla/dom/macbuild/dom.mcp differ diff --git a/mozilla/dom/public/coreEvents/MANIFEST b/mozilla/dom/public/coreEvents/MANIFEST index 484ff8ef21c..bb73e320f3b 100644 --- a/mozilla/dom/public/coreEvents/MANIFEST +++ b/mozilla/dom/public/coreEvents/MANIFEST @@ -19,3 +19,6 @@ nsIDOMPaintListener.h nsIDOMEventTarget.h nsIDOMTextListener.h nsIDOMCompositionListener.h +nsIDOMTextRange.h +nsIDOMTextRangeList.h + diff --git a/mozilla/editor/macbuild/editor.mcp b/mozilla/editor/macbuild/editor.mcp index fbb09efaca4..f77999a0593 100644 Binary files a/mozilla/editor/macbuild/editor.mcp and b/mozilla/editor/macbuild/editor.mcp differ diff --git a/mozilla/layout/macbuild/layout.mcp b/mozilla/layout/macbuild/layout.mcp index 414cec5b989..d539475c2ce 100644 Binary files a/mozilla/layout/macbuild/layout.mcp and b/mozilla/layout/macbuild/layout.mcp differ diff --git a/mozilla/widget/src/mac/nsMacEventHandler.cpp b/mozilla/widget/src/mac/nsMacEventHandler.cpp index 6bc1cd297c2..d642b37253a 100644 --- a/mozilla/widget/src/mac/nsMacEventHandler.cpp +++ b/mozilla/widget/src/mac/nsMacEventHandler.cpp @@ -1275,7 +1275,12 @@ PRBool nsMacEventHandler::HandleTextEvent(void) textEvent.point.y = 0; textEvent.time = PR_IntervalNow(); textEvent.theText = mIMECompositionString; - + textEvent.rangeCount = 1; + textEvent.rangeArray = new nsTextRange[1]; + textEvent.rangeArray[0].mStartOffset = 0; + textEvent.rangeArray[0].mEndOffset = 1; + textEvent.rangeArray[0].mRangeType = 0x01; + // // nsGUIEvent parts //