User forums > Help
Problem with comments
Jenna:
--- Quote from: oBFusCATed on March 23, 2013, 04:36:13 am ---How can it find dictionaries on Windows without the help of the users? As most reports are from Windows users if I recall right.
--- End quote ---
People should learn to read !!
If you start C::B with an unconfigured spellchecker-plugin you get an annoying dialog telling you, that you need dictionaries, with a link to the appropriate wiki-site: http://wiki.codeblocks.org/index.php?title=SpellChecker_plugin .
Most people tend to close such dialogs immediately, because they are used to try to work without reading manuals (and similar) and bother others instead.
Alpha:
--- Quote from: oBFusCATed on March 23, 2013, 04:36:13 am ---I think we should remove this "first valid dictionary". Even using the system's local is dangerous. It should default to English most probably, because most code is written in English.
--- End quote ---
I will write up a patch, but which English:
--- Code: --- m_LanguageNamesMap[_T("en")] = _T("English");
m_LanguageNamesMap[_T("en_AU")] = _T("English (Australia)");
m_LanguageNamesMap[_T("en_CA")] = _T("English (Canada)");
m_LanguageNamesMap[_T("en_GB")] = _T("English (United Kingdom)");
m_LanguageNamesMap[_T("en_NZ")] = _T("English (New Zealand)");
m_LanguageNamesMap[_T("en_US")] = _T("English (United States)");
m_LanguageNamesMap[_T("en_ZA")] = _T("English (South Africa)");
--- End code ---
--- Quote from: jens on March 23, 2013, 04:21:20 pm ---If you start C::B with an unconfigured spellchecker-plugin you get an annoying dialog telling you, that you need dictionaries, with a link to the appropriate wiki-site: http://wiki.codeblocks.org/index.php?title=SpellChecker_plugin .
--- End quote ---
I am not certain, but I think this dialog might fail to show up if a dictionary location is correctly guessed; I will be switching this to always show up on first run.
Biplab:
--- Quote from: oBFusCATed on March 23, 2013, 03:46:51 am ---Yes, disable the spellcheck plugin or install some dictionaries.
http://wiki.codeblocks.org/index.php?title=SpellChecker_plugin
@dev:
1. Probably we should do something about this problem?
2. Disable spellcheck by default?
3. Provide dictionaries?
4. Don't highlight anything if there is no dictionary?
It seems that 4 is the best option...
--- End quote ---
Disable this plugin by default. Those who need it will enable it. It is unnecessary to force it to users.
Alpha:
Attached is my recommended solution.
ptDev:
In my installer, I modified SpellChecker so that US English is the default. I also make the installation of en-US compulsory if SpellChecker happens to be installed.
This avoids the aforementioned problems.
Navigation
[0] Message Index
[#] Next page
[*] Previous page
Go to full version