From 992aec0bc99a3a07a97f58ecdcd056baa11baee5 Mon Sep 17 00:00:00 2001 From: "bzbarsky%mit.edu" Date: Thu, 9 Feb 2006 03:50:53 +0000 Subject: [PATCH] Make it possible to enable spell-check for text inputs too (not just textareas). Make the pref controlling the whole thing live. Bug 151040, patch by Julian Pellico , r=bzbarsky, sr=bryner git-svn-id: svn://10.0.0.236/trunk@189459 18797224-902f-48f8-a5cc-f745e15eee43 --- mozilla/browser/app/profile/firefox.js | 3 +- .../spellcheck/src/mozEnglishWordUtils.cpp | 5 +++ .../spellcheck/src/mozInlineSpellChecker.h | 1 + mozilla/layout/forms/nsTextControlFrame.cpp | 32 ++++++++++++++++--- mozilla/layout/forms/nsTextControlFrame.h | 8 +++++ 5 files changed, 43 insertions(+), 6 deletions(-) diff --git a/mozilla/browser/app/profile/firefox.js b/mozilla/browser/app/profile/firefox.js index a9ddc9055e6..fafed587125 100644 --- a/mozilla/browser/app/profile/firefox.js +++ b/mozilla/browser/app/profile/firefox.js @@ -434,7 +434,8 @@ pref("browser.backspace_action", 0); // this will automatically enable inline spellchecking (if it is available) for // multi-line text entry controls