diff -r 000000000000 -r 6474c204b198 toolkit/content/widgets/textbox.xml --- /dev/null Thu Jan 01 00:00:00 1970 +0000 +++ b/toolkit/content/widgets/textbox.xml Wed Dec 31 06:09:35 2014 +0100 @@ -0,0 +1,636 @@ + + + + + + %textcontextDTD; +]> + + + + + + + + + + + + + + + + + + + "" + "" + "" + "" + + null + false + false + null + + + + + + + + + + + + + + + + + + + + + + + + + + + + + this.inputField.select(); + + + + + + + + + + + + + this.inputField.setSelectionRange( aSelectionStart, aSelectionEnd ); + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +#ifndef XP_WIN + + if (!event.button) // context menu opened via keyboard shortcut + return; + this._maybeSelectAll(); + // see bug 576135 comment 4 + let box = this.inputField.parentNode; + let menu = document.getAnonymousElementByAttribute(box, "anonid", "input-box-contextmenu"); + box._doPopupItemEnabling(menu); + +#endif + + + + + + + null + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + null + + document.getAnonymousElementByAttribute(this, "anonid", "search-icons"); + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + false + + document.getAnonymousElementByAttribute(this, "anonid", "spell-check-enabled"); + + + document.getAnonymousElementByAttribute(this, "anonid", "spell-no-suggestions"); + + + document.getAnonymousElementByAttribute(this, "anonid", "spell-dictionaries-menu"); + + + + + + + + + + 1); + + this._doPopupItemEnabling(popupNode); + ]]> + + + + + + + + +