aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorJacek Pospychala2012-10-25 12:11:59 (EDT)
committerJacek Pospychala2012-10-25 12:11:59 (EDT)
commitc4dce4d56eb6c927779d7b8a77828b3b1852c488 (patch)
tree71d8ab58f9fc117c910c48bcd2ee35fd16792c80
parent1e952b363394006ce460262d4a112604487868b9 (diff)
downloadorg.eclipse.pdt-c4dce4d56eb6c927779d7b8a77828b3b1852c488.zip
org.eclipse.pdt-c4dce4d56eb6c927779d7b8a77828b3b1852c488.tar.gz
org.eclipse.pdt-c4dce4d56eb6c927779d7b8a77828b3b1852c488.tar.bz2
Bug 322808 - Spell checking doesn't work anymore
-rw-r--r--plugins/org.eclipse.php.ui/src/org/eclipse/php/internal/ui/spelling/SpellcheckDelegateAdapterFactory.java4
1 files changed, 4 insertions, 0 deletions
diff --git a/plugins/org.eclipse.php.ui/src/org/eclipse/php/internal/ui/spelling/SpellcheckDelegateAdapterFactory.java b/plugins/org.eclipse.php.ui/src/org/eclipse/php/internal/ui/spelling/SpellcheckDelegateAdapterFactory.java
index adf4b14..e0de8d3 100644
--- a/plugins/org.eclipse.php.ui/src/org/eclipse/php/internal/ui/spelling/SpellcheckDelegateAdapterFactory.java
+++ b/plugins/org.eclipse.php.ui/src/org/eclipse/php/internal/ui/spelling/SpellcheckDelegateAdapterFactory.java
@@ -73,6 +73,10 @@ public class SpellcheckDelegateAdapterFactory implements IAdapterFactory {
.equals(PHPPartitionTypes.PHP_DOC)) {
shouldSpellcheck = true;
}
+ } else {
+ // not a PHP script region, then it must be HTML ->
+ // enable spellcheck
+ shouldSpellcheck = true;
}
} catch (BadLocationException e) {