Commit Graph
47 Commits
Author SHA1 Message Date
Ehsan Akhgari 8b70165244 Bug 1100966 - Remember all ranges for all selections when joining nodes in the editor transactions; r=roc
This patch fixes some symptoms, the most common of which misspelling
ranges disappearing when performing some editor operations.
2015-03-12 19:42:26 -04:00
Andrea Marchesini 5ef204a98a Bug 1134280 - Get rid of Tag() - patch 2.2 - /editor - Fix all the occurrences, m=smaug, r=surkov 2015-03-03 11:08:59 +00:00
Ting-Yu Lin 0150330dad Bug 1136065 - Remove GetRangeCount() in Selection.h. r=ehsan
We replace GetRangeCount() with the identical function RangeCount() to
avoid any confusion.
2015-02-25 17:08:00 +01:00
Ehsan Akhgari d323799fa2 Bug 1120233 - Ensure that the delete command will stay enabled for password fields; r=roc 2015-01-22 23:26:59 -05:00
Daniel Holbert d259380330 Bug 1093191 part 3: Make .cpp files in libeditor #include their own .h file first. r=ehsan 2014-12-01 21:07:42 -08:00
Masayuki Nakano 3d40a3e9b9 Bug 1077345 part.4 Add NS_COMPOSITION_COMMIT_AS_IS event which automatically commits composition with the last data r=smaug 2014-11-25 14:02:31 +09:00
Olli Pettay d2bcc72157 Bug 1101595 - [shadow-dom] <input> doesn't emit 'input' event when inside shadow-root, r=wchen 2014-11-20 02:23:50 +02:00
Masayuki Nakano 54efaad58f Bug 1047588 - IMEContentObserver::Init() should take nsIEditor because nsDocShell sometimes hasn't been initialized and nsContentEditor::GetHTMLEditor() fails. r=smaug 2014-11-05 08:12:44 -05:00
Wes Kocher 38b26ff1fc Backed out changeset f86dbba73d43 (bug 1047588) under suspicion of adding a hazard on a CLOSED TREE 2014-11-04 20:25:47 -08:00
Masayuki Nakano e3ea81b300 Bug 1047588 IMEContentObserver::Init() should take nsIEditor because nsDocShell sometimes hasn't been initialized and nsContentEditor::GetHTMLEditor() fails r=smaug 2014-11-05 10:36:37 +09:00
Aryeh Gregor 7ed6dbfa07 Bug 1088054 part 9 - Clean up nsEditor::JoinNodeDeep; r=ehsan 2014-11-02 14:04:13 +02:00
Aryeh Gregor 0d5e152ea9 Bug 1088054 part 2 - Reduce nsIDOMRange use in editor/; r=ehsan 2014-11-02 14:04:13 +02:00
Aryeh Gregor a10afa7f44 Bug 1088054 part 1 - Reduce nsISelection use in editor/; r=ehsan 2014-11-02 14:04:13 +02:00
Aryeh Gregor 132477ba5e Bug 1086349 part 8 - Clean up nsEditor::(Tag)CanContain(Tag); r=ehsan 2014-11-02 14:04:13 +02:00
Aryeh Gregor 7e308258fb Bug 1086349 part 7 - Remove old nsEditor::GetRight/LeftmostChild overloads; r=ehsan 2014-11-02 14:04:13 +02:00
Aryeh Gregor ea63ad63dc Bug 1086349 part 6 - Remove old nsEditor::GetNextNode/GetPriorNode overloads; r=ehsan 2014-11-02 14:04:13 +02:00
Aryeh Gregor e2c3916cf9 Bug 1086349 part 5 - Clean up nsEditor::SplitNodeImpl; r=ehsan 2014-11-02 14:04:13 +02:00
Aryeh Gregor afaec6e89e Bug 1086349 part 4 - Clean up nsEditor::DeleteSelectionAndCreateElement; r=ehsan 2014-11-02 14:04:13 +02:00
Aryeh Gregor fbc8e2ad43 Bug 1086349 part 3 - Clean up nsEditor::InsertTextImpl; r=ehsan 2014-11-02 14:04:13 +02:00
Aryeh Gregor 6f959f8320 Bug 1086349 part 2 - Clean up SplitNodeTxn; r=ehsan 2014-11-02 14:04:13 +02:00
Aryeh Gregor d4c76b930e Bug 1086349 part 1 - Clean up JoinNodeTxn; r=ehsan 2014-11-02 14:04:12 +02:00
Masayuki Nakano a0e7e21fc0 Bug 960871 part.6 Use WidgetCompositionEvent for NS_COMPOSITION_CHANGE instead of WidgetTextEvent r=smaug 2014-10-07 19:01:48 +09:00
Masayuki Nakano 2512321856 Bug 960871 part.4 Rename NS_TEXT_TEXT to NS_COMPOSITION_CHANGE and fix comments which mention text events r=smaug 2014-10-07 19:01:47 +09:00
Masayuki Nakano 2c90eaca25 Bug 1065835 part.6 Remove NOTIFY_IME_OF_CURSOR_POS_CHANGED and nsGtkIMModule should handle NOTIFY_IME_OF_SELECTION_CHANGE instead r=smaug+ehsan+karlt 2014-09-26 09:05:13 +09:00
Mats Palmgren aebe70b495 Bug 1061468 - Notify the editor when removing the focused element is its ancestor limiter. r=ehsan 2014-09-09 23:27:56 +00:00
Aryeh Gregor 66dd7779de Bug 1056166 part 6 - Clean up IMETextTxn; r=ehsan 2014-08-29 14:43:24 +03:00
Aryeh Gregor 53a3a5fd34 Bug 1056166 part 4 - Remove nsEditProperty; r=ehsan 2014-08-29 14:43:24 +03:00
Aryeh Gregor deb89f2d51 Bug 1056166 part 3 - Clean up ChangeAttributeTxn; r=ehsan 2014-08-29 14:43:23 +03:00
Aryeh Gregor cd5f3083f4 Bug 1056166 part 2 - Clean up InsertTextTxn; r=ehsan 2014-08-29 14:43:23 +03:00
Birunthan Mohanathas b89e87846b Bug 1045801 - Rename SafeCast to AssertedCast. r=Waldo 2014-08-25 12:17:32 -07:00
Aryeh Gregor b1a177e613 Bug 1055032 part 5 - Rename InsertElementTxn to InsertNodeTxn and clean up; r=ehsan 2014-08-20 15:25:17 +03:00
Aryeh Gregor e9a368a046 Bug 1055032 part 4 - Clean up DeleteTextTxn and friends; r=ehsan 2014-08-20 15:25:16 +03:00
Aryeh Gregor 08164cc843 Bug 1055032 part 3 - Use cleaned-up nsEditor::CreateNode; r=ehsan 2014-08-20 15:25:16 +03:00
Aryeh Gregor 6c5c49a916 Bug 1055032 part 2 - Clean up nsEditor::CreateNode; r=ehsan 2014-08-20 15:25:16 +03:00
Aryeh Gregor 4b98b65f8a Bug 1055032 part 1 - Clean up nsEditor::MoveNode; r=ehsan 2014-08-20 15:25:16 +03:00
Aryeh Gregor f0444158d4 Bug 1054735 part 3 - Clean up nsEditor::InsertContainerAbove; r=ehsan 2014-08-20 15:25:16 +03:00
Aryeh Gregor e4f2dc2154 Bug 1054735 part 2 - Clean up nsEditor::RemoveContainer; r=ehsan 2014-08-20 15:25:16 +03:00
Aryeh Gregor 0b96dc2548 Bug 1054735 part 1 - Clean up nsAutoReplaceContainerSelNotify; r=ehsan 2014-08-20 15:25:16 +03:00
Masayuki Nakano 9b245850f7 Bug 1053048 Implement nsIEditor.isInEditAction readonly attribute r=ehsan, sr=smaug 2014-08-19 20:54:08 +09:00
Ehsan Akhgari 6211d6c2f3 Bug 1055286 - Flatten editor/libeditor/text to editor/libeditor; r=poiru 2014-08-18 20:59:37 -04:00
Ehsan Akhgari 9ce06c8ac5 Bug 1055105 - Flatten editor/libeditor/html to editor/libeditor; r=poiru 2014-08-18 17:28:17 -04:00
Aryeh Gregor e02581e96b Bug 1053779 part 3 - Clean up nsEditor::CloneAttributes; r=ehsan 2014-08-18 17:44:50 +03:00
Aryeh Gregor a8aa67cc3f Bug 1053779 part 2 - Clean up nsEditor::ReplaceContainer; r=ehsan 2014-08-13 14:53:33 +03:00
Aryeh Gregor c59f1830b9 Bug 1053779 part 1 - Clean up nsEditor::CreateHTMLContent; r=ehsan 2014-08-13 14:53:33 +03:00
Aryeh Gregor 109ee89eaf Bug 1010761 - Use Text in nsWSRunObject; r=ehsan 2014-08-13 14:53:32 +03:00
Robert O'Callahan bed9de9439 Bug 1048752. Part 17: Rename Get/SetCaretDOMSelection to Get/SetSelection. r=tn
The forward declaration of Selection in nsCaret.h will be used in later patches.
2014-08-06 17:19:27 +12:00
Ehsan Akhgari 83f6134893 Bug 1042469 - Flatten editor/libeditor/base to editor/libeditor; r=poiru 2014-08-15 10:03:48 -04:00