From 66ce99e5a91e637eafa7ac7f70d2a8b826e5e388 Mon Sep 17 00:00:00 2001 From: Sergey Prigogin Date: Sun, 16 Mar 2008 03:25:45 +0000 Subject: [PATCH] Flipped the default for spell checking of string literals. --- .../src/org/eclipse/cdt/ui/PreferenceConstants.java | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) diff --git a/core/org.eclipse.cdt.ui/src/org/eclipse/cdt/ui/PreferenceConstants.java b/core/org.eclipse.cdt.ui/src/org/eclipse/cdt/ui/PreferenceConstants.java index a70b63744f4..8f024ed6ef3 100644 --- a/core/org.eclipse.cdt.ui/src/org/eclipse/cdt/ui/PreferenceConstants.java +++ b/core/org.eclipse.cdt.ui/src/org/eclipse/cdt/ui/PreferenceConstants.java @@ -1450,12 +1450,13 @@ public class PreferenceConstants { store.setDefault(PreferenceConstants.SPELLING_IGNORE_UPPER, true); store.setDefault(PreferenceConstants.SPELLING_IGNORE_URLS, true); store.setDefault(PreferenceConstants.SPELLING_IGNORE_SINGLE_LETTERS, true); - store.setDefault(PreferenceConstants.SPELLING_IGNORE_STRING_LITERALS, true); + store.setDefault(PreferenceConstants.SPELLING_IGNORE_STRING_LITERALS, false); store.setDefault(PreferenceConstants.SPELLING_IGNORE_NON_LETTERS, true); store.setDefault(PreferenceConstants.SPELLING_USER_DICTIONARY, ""); //$NON-NLS-1$ // Note: For backwards compatibility we must use the property and not the workspace default - store.setDefault(PreferenceConstants.SPELLING_USER_DICTIONARY_ENCODING, System.getProperty("file.encoding")); //$NON-NLS-1$ + store.setDefault(PreferenceConstants.SPELLING_USER_DICTIONARY_ENCODING, + System.getProperty("file.encoding")); //$NON-NLS-1$ store.setDefault(PreferenceConstants.SPELLING_PROPOSAL_THRESHOLD, 20); store.setDefault(PreferenceConstants.SPELLING_PROBLEMS_THRESHOLD, 100);