Cool VL Viewer forum http://sldev.free.fr/forum/ |
|
Spell Check? http://sldev.free.fr/forum/viewtopic.php?f=9&t=795 |
Page 1 of 1 |
Author: | DBDigital Epsilon [ 2012-05-08 03:58:19 ] |
Post subject: | Spell Check? |
I have looked the viewer over and over. Searched the forums but I don't find anyone making the suggestion so please excuse me if I missed it some how. It would be nice to have a spelling check option where words where underlined in red that were possible misspellings and one could right click on a word to get a list of suggestions to pick from. |
Author: | Henri Beauchamp [ 2012-05-11 18:33:13 ] |
Post subject: | Re: Spell Check? |
So far, the only existing implementation of spell checking for viewers was very poorly coded (more a hack than anything else), so I didn't port it to the Cool VL Viewer. It looks like v3 is going to get a proper implementation soon. I might either rewrite the old implementation properly or wait for v3's and backport it... |
Author: | DBDigital Epsilon [ 2012-05-11 19:49:39 ] |
Post subject: | Re: Spell Check? |
Ahh ok, here is hoping you find it is worthy of coding. And really? LL might be doing something users actually WANT on the viewer? Is this the beginning of the end? Oh I know they have added some aspects but so many have been ignored for so long (like options for the busy mode even though they told me long ago 'oh great idea sure np we can do that' but then never did lol). |
Author: | Henri Beauchamp [ 2012-05-19 14:01:03 ] |
Post subject: | Re: Spell Check? |
I finally opted for rewriting LorgGregGreg's implementation in a clean, optimized and actually functional way (i.e. able to spell-check properly not only English but also other languages, independently of the locale setting of your system). I also had a quick look at one of the first versions of the proposed v3 viewers implementation but while better written than LorgGregGreg's it's no better regarding non-English languages spelling ability (i.e. it still fails to submit to the spell checker words with accented characters not pertaining to your system's locale), among other flaws (see below). The result is part of v1.26.4.13 (to be released today), with the following differences when compared to the original implementation:
Note that despite the significant optimizations and improvements I achieved, I'm still not fully satisfied with this implementation (it's still too slow for text editors with a large number of misspelled words, due to the pixel-precise word boundaries calculations needed to draw the zigzag lines below each misspelled word: the use of proportional fonts makes this calculation CPU intensive and it would perhaps be better to repaint such words with a different color instead...), so things may change in the next releases. The viewer is bundled with an en_US dictionary (American English) but I did put a few more dictionaries (British English, French, German, Italian, Portuguese (Brazil), Spanish) for download on the website: just use the viewer built-in download feature from the "Preferences" menu, "Cool features" tab, "IM, Chat & Text" sub-tab to add them. There is also a bundled SL glossary (with SL-specific words such as "rezzing" and other RP-specific terms) that gets automatically loaded along your custom dictionary (the latter being expanded each time you "Add Word" from the context menu). You may also add manually more *.dic files in your user_settings directory and they will be automatically recognized and loaded by the viewer. |
Author: | Lord [ 2012-05-19 17:20:30 ] |
Post subject: | Re: Spell Check? |
Woo Hoo Henri ! Also, I wouldn't mind the switch to different colored words instead of the squiggly. |
Author: | DBDigital Epsilon [ 2012-05-20 19:23:34 ] |
Post subject: | Re: Spell Check? |
Thank you very much Henri! I will download/install/try it out shortly. |
Author: | g0rd0ngrfr33mailgr [ 2012-05-20 20:24:51 ] |
Post subject: | Re: Spell Check? |
It does run very smoothly, indeed. Thank you Henri! |
Page 1 of 1 | All times are UTC |
Powered by phpBB® Forum Software © phpBB Group https://www.phpbb.com/ |