News:

When registered with our forums, feel free to send a "here I am" post here to differ human beings from SPAM bots.

Main Menu

SpellChecker plugin

Started by danselmi, October 09, 2009, 04:37:24 PM

Previous topic - Next topic

neo1691

I am on windows 7 and i dont use mozilla products nor openoffice.

Can anyone share their dictionary or tell me how to use this plugin?

Using latest nightly!

LETARTARE

CB-13834, plugins-sdk-2.25.0 : Collector-2.6.5, AddOnForQt-5.1.2
1- Win7 Business Pack1 64bits : wx-3.2.8, gcc-15.2.0,
2- OpenSuse::Leap-15.6-64bits : wx-3.2.8;gtk3-u, gcc-15.2.0,
=> !! The messages are translated by 'Deepl'

neo1691


neo1691

Quote from: neo1691 on January 14, 2012, 03:39:13 PM
Quote from: LETARTARE on January 14, 2012, 03:12:45 PM
Try :
http://wiki.codeblocks.org/index.php?title=SpellChecker
QuoteDictionaries->download

Thanks!! :D
Working flawlessly now!

BTW does it just highlights the spell errors or corrects them too?? Cos i am not able to find how to correct my spell errors in strings and comments

danselmi

Have you tried to right click a marked word and checked "Spelling Suggestions for 'wrongword'"?
I will adjust the wiki...
spell checker plugin: [url="http://developer.berlios.de/projects/spellchecker/"]http://developer.berlios.de/projects/spellchecker/[/url]
nassi shneiderman plugin: [url="http://developer.berlios.de/projects/nassiplugin"]http://developer.berlios.de/projects/nassiplugin[/url]

neo1691

Quote from: danselmi on January 16, 2012, 02:39:28 PM
Have you tried to right click a marked word and checked "Spelling Suggestions for 'wrongword'"?
I will adjust the wiki...

Sorry my bad!  :P
Found it!!!

Thanks

ptDev

#126
I found a minor cosmetic issue with the SpellChecker plugin that bugged me somewhat, so I made the status bar menu and settings combo box use human-readable language names (i.e., "English (United States)") rather than the abbreviation which is not always clear to the user (i.e., "en_US").

The changes are in the attached patch. You'll notice a very primitive implementation of GetLanguageName(), but I ended up doing it this way, because I couldn't get it to work with neither wxHashMap nor std::map<> for some reason. I did lose patience, but still hope someone else takes the patch and refactors it to a more efficient alternative. For now, you can already get proper language names listed in the user interface using this patch.

EDIT: Fixed a bug in the previously uploaded patch.

xunxun

Can you make the plugin support Language Tool :
http://languagetool.org/
http://languagetool.org/languages/

because only languagetool.org has Chinese spell checking.

And it also has Firefox/OpenOffice Add-on.
Regards,
xunxun

chameleon

Mr Anselmi
Can you please make the SpellChecker support multiple languages?

My point is:
I use my native language for code comments, but comments have a big amount of english keywords.

Thanks for awesome plugin.

scarphin

Is it just me or does it NOT compile anymore with:
||=== Build: hunspell in SpellChecker (compiler: GNU GCC Compiler x32) ===|
D:\coding\projects\sw\codeblocks\trunk\src\plugins\contrib\SpellChecker\hunspell\src\hunspell\baseaffix.hxx|28|error: 'MAXCONDLEN' was not declared in this scope|
D:\coding\projects\sw\codeblocks\trunk\src\plugins\contrib\SpellChecker\hunspell\src\hunspell\baseaffix.hxx|30|error: 'MAXCONDLEN_1' was not declared in this scope|
||=== Build failed: 2 error(s), 0 warning(s) (0 minute(s), 3 second(s)) ===|

Win7 x64

LETARTARE

svn 10127 : compiles correctly
'MAXCONDLEN' is defined in 'atypes.hxx'
CB-13834, plugins-sdk-2.25.0 : Collector-2.6.5, AddOnForQt-5.1.2
1- Win7 Business Pack1 64bits : wx-3.2.8, gcc-15.2.0,
2- OpenSuse::Leap-15.6-64bits : wx-3.2.8;gtk3-u, gcc-15.2.0,
=> !! The messages are translated by 'Deepl'

scarphin

My bad, I messed up the project file. Sorry for the trouble.