Page 7 of 38

Posted: Sun Jun 06, 2010 1:44 pm
by se7h
FeyFre wrote:Обновление к 1.0.0.17а1

Updated to 1.0.0.17a1


Предыдущий механизм белого списка не прожил и трех суток :)
вот это уже другой разговор 8)

Posted: Sun Jun 06, 2010 7:11 pm
by KDJ
Help me. It does not work.
The message is this: "ASpell core not found".
I installed Aspell-0-50-3-3-Setup.exe and Polish dictionary Aspell-pl-0.50-2-3.exe.
I have these files:
d:\Aspell\bin\aspell.exe
d:\Aspell\bin\aspell-15.dll
d:\Aspell\bin\pspell-15.dll
d:\Aspell\bin\word-list-compress.exe
-
d:\Aspell\data\ASCII.dat
d:\Aspell\data\dvorak.kbd
d:\Aspell\data\iso8859-1.dat
...
d:\Aspell\data\koi8-r.dat
d:\Aspell\data\koi8-u.dat
d:\Aspell\data\pl.dat
d:\Aspell\data\standard.kbd
d:\Aspell\data\viscii.dat
-
d:\Aspell\dict\pl.multi
d:\Aspell\dict\pl.rws
d:\Aspell\dict\polish.alias

SpellCheck.ini file contents:
[Options]
Lang=
Jargon=
Encoding=28592
Notice=01000000
Highlight=01000000
WhiteList=01000000
UColor=FF000000
UStyle=00000000
CorePath=D:\Aspell\bin\aspell-15.dll

In the NP++ everything works properly, even as I move ASpell directory to another location.
I use WinXP Pro SP3, AkelPad 4.4.3 portable, plugin SpellCheck-1.0.0.17a1.

Posted: Sun Jun 06, 2010 7:51 pm
by FeyFre
KDJ
Hm.. Try to move files

Code: Select all

d:\Aspell\bin\aspell.exe 
d:\Aspell\bin\aspell-15.dll 
d:\Aspell\bin\pspell-15.dll 
d:\Aspell\bin\word-list-compress.exe 
- 
d:\Aspell\data\ASCII.dat 
d:\Aspell\data\dvorak.kbd 
d:\Aspell\data\iso8859-1.dat 
... 
d:\Aspell\data\koi8-r.dat 
d:\Aspell\data\koi8-u.dat 
d:\Aspell\data\pl.dat 
d:\Aspell\data\standard.kbd 
d:\Aspell\data\viscii.dat 
- 
d:\Aspell\dict\pl.multi 
d:\Aspell\dict\pl.rws 
d:\Aspell\dict\polish.alias
into
<akelpaddir>\AkelFiles\plugs\SpellCheck folder(it is default aspell core location)
(i.e d:\Aspell\bin\aspell-15.dll becomes <akelpaddir>\AkelFiles\plugs\SpellCheck\bin\aspell-15.dll)
Then empty option "CorePath", so plugin will search core in default location, even if whole akelpad folder will be moved to other place. Tell me if it works for you.

PS: You should have file d:\Aspell\data\iso8859-2.dat to use Polish dictionary(Acording to Aspell encoding faq.)
PPS:
What is "AkelPad 4.4.3 portable"? AkelPad itself portable if settings stored in INI file. If "AkelPad 4.4.3 portable" is AkelPad converted with tools like VMware ThinApp I shall not guarantee any stable running

Posted: Mon Jun 07, 2010 7:44 pm
by KDJ
FeyFre
I moved three folders BIN, DATA, DICT (and contents) to .\AKELPAD\AKELFILES\PLUGS\SPELLCHECK\
Now the plugin works. Promises to be very good.
Thank you for your help.
The plugin contains probably a bug. Ignore the setting path to ASpell core.

And why are you doing it in ASpell?
In the new programs - Opera, Firefox, Thunderbird, OpenOffice - is used HunSpell.
Dictionaries HunSpell are probably better than ASpell.

PS: Dziękuję za plugin i pomoc, pozdrawiam.

Posted: Tue Jun 08, 2010 11:07 am
by FeyFre
The plugin contains probably a bug. Ignore the setting path to ASpell core.
Works on developer machine and on other machines accessible for me. Are you sure permissions to aspell core files are granted.
And why are you doing it in ASpell?
In the new programs - Opera
Because of Opera. Originally Opera had Spell checking facility using ASpell, and it was long before any Mozilla projects provided such feature. And development of this plugin started long time ago, so Hunspell wasn't in my viewport yet.

Posted: Tue Jun 08, 2010 7:08 pm
by KDJ
FeyFre
I work on the account with administrator privileges.
This plugin works only, if ASpell is in the directory ".\AKELPAD\AKELFILES\PLUGS\SPELLCHECK\."
In another place is not working. Although, I gave the right path: "CorePath=D:\Aspell\bin\aspell-15.dll".
I use AkelPad portable and ASpell portable. I can move them anywhere.
You try to do it with ASpell portable.
In NP++ is working, in AkelPad does not work.
Show me the contents of your file SpellCheck.ini.

Posted: Tue Jun 08, 2010 7:50 pm
by FeyFre
Обновление к 1.0.0.18а1

Updated to 1.0.0.18a1


Thanks to KDJ

Posted: Tue Jun 08, 2010 8:23 pm
by KDJ
Thanks FeyFre for the update.
Well, now it works.

Posted: Sat Jun 12, 2010 9:59 pm
by KDJ
I think, that when checking spelling, the characters "_" and numbers and figures should be treated as spaces.
They should be ignored.
Please see examples: "APSTUDIO_READONLY_SYMBOLS", "___", "123789", "F4", "15-06-2010".

Posted: Sun Jun 13, 2010 2:36 pm
by FeyFre
Обновление к 1.0.0.19а1

Updated to 1.0.0.19a1

Posted: Sun Jun 13, 2010 2:38 pm
by FeyFre
KDJ
Plugin does not decides what is words, what is spaces, what is punctuation signs. RichEdit decides it. So you should address this issue to MS itself,

Posted: Sun Jun 13, 2010 6:14 pm
by KDJ
FeyFre
I do not think Microsoft has resolved the issue.
Plugin for NP++ is working correctly, the text "APSTUDIO_READONLY_SYMBOLS" is treated as three separate words.
Plugin for AkelPad shows how a single word.
Unless NP++ also uses RichEdit.
Maybe you think, how to do it.

Posted: Sun Jun 13, 2010 8:13 pm
by FeyFre
Обновление к 1.0.0.20а1

Updated to 1.0.0.20a1

Stupid bug in 1.0.0.19 :(

Posted: Sun Jun 13, 2010 8:16 pm
by FeyFre
I think, that when checking spelling, the characters "_" and numbers and figures should be treated as spaces.
They never will be treated as spaces.
They should be ignored.
Say it to blind users(yes, some of them using AP).

Posted: Sun Jun 13, 2010 8:55 pm
by KDJ
FeyFre
Maybe, these characters are not treated as spaces. I do not know how it is done.
Compare check spelling in NP++ and AkelPad on examples: "APSTUDIO_READONLY_SYMBOLS" "___", "123789", "F4", "15-06-2010".