mkottman / luaspell

Lua binding for Hunspell
12 stars 2 forks source link

Possible to integrate in SciTE on Linux? #1

Closed ghost closed 12 years ago

ghost commented 12 years ago

Hi,

I don't know C nor Lua, and as SciTE can be extended with Lua scripts I wanted to ask if it's possible to use your wrapper in some simple way to provide check spelling capabilities on SciTE Linux version?

Like there is already hunspell extension for Windows version but not Linux

TIA

mkottman commented 12 years ago

Hi,

if you write a module that tokenizes the current text and uses luaspell to check each word and highlight it if it is wrong, then it is definitely possible to use. In fact, someone already did this for TextAdept, which is similar to SciTE, because it also uses Scintilla.

All you need is to have libhunspell-dev installed (this is the package name in Ubuntu), or compile it by hand and provide it to CMake.

I am not aware of a Windows SciTE spellchecking extension based on hunspell.

ghost commented 12 years ago

Thanks for the link. I'll try later to see if it's possible to use it in SciTE

Here is link for Windows version: http://code.google.com/p/luahunspell/

Cheers