Developer forums (C::B DEVELOPMENT STRICTLY!) > Plugins development
SpellChecker plugin
danselmi:
--- Quote from: MortenMacFly on September 09, 2010, 12:39:43 pm ---
--- Quote from: mariocup on September 09, 2010, 12:30:58 pm ---Therefore we should think about what could be easier or reasonable if the status bar offers such a functionality.
--- End quote ---
True. I would (however) wait for danselmi's answer on that topic concerning the readiness:
--- Quote from: MortenMacFly on September 09, 2010, 10:12:44 am ---Also I remember that danselmi ones said it's only a feasibility study.
--- End quote ---
--- End quote ---
It was a feasibility study, but I completely reworked it since then.
killerbot:
maybe the time has come to make a contrib plug-in out of this.
What things might be blocking at this moment ?
- windows build ok ?
- linux build ?
- everything portable ?
- dependencies to things outside CB ?
- ...
MortenMacFly:
--- Quote from: killerbot on September 09, 2010, 02:33:18 pm ---- windows build ok ?
--- End quote ---
Yes.
--- Quote from: killerbot on September 09, 2010, 02:33:18 pm ---- everything portable ?
--- End quote ---
Looks like that, yes.
--- Quote from: killerbot on September 09, 2010, 02:33:18 pm ---What things might be blocking at this moment ?
[...]
- dependencies to things outside CB ?
--- End quote ---
Not really stopping, but something to think about: You'll need a dictionary for your target language which I don't want to put into SVN (it makes no sense). Without that SpellChecker will not work, so we need some clarification (e.g. on first start) what to do and where to get them. That's a "feature" which is missing.
laube:
wow great news!
while i was using the online-spellchecker I have done some more changes to it.
The patch "online-spellchecker-style-fix.patch" implements the following:
- spellchecking in xml files (OnlineSpellChecking.xml)
- fixes the problem with style change in the middle of a word
- personal dictionary file load/save.
some notes about the dictionary file load/save: currently it locates the dictionary in the following Paths: sdConfig | sdBase. Maybe this needs some change.
The patch "online-spellchecker-efficiency.patch"
this path improves the personal dictionary efficiency by using a wxSortedArrayString and the style lookup by using a set. This patch is for efficiency only. (especially the style lookup should be efficient because it is done for every character.)
I hope these patches further improve the plugin!
Both patches are for revision 34 of the plugin.
laube
killerbot:
It is up to danselmi to "prepare" the plug-in, and tackle the concerns about the dictionary, have a look at the above mentioned patches. Once that is done, we can add it to contrib.
Sounds some exciting functionality is coming ...
Navigation
[0] Message Index
[#] Next page
[*] Previous page
Go to full version