1 --- spell_checker/pspell_comp.php.oryg 2007-04-19 14:37:05.000000000 +0200
2 +++ spell_checker/pspell_comp.php 2007-04-19 14:38:49.000000000 +0200
5 if(!defined('ASPELL_BIN')) define('ASPELL_BIN','aspell');
7 -define(PSPELL_FAST,1); # Fast mode (least number of suggestions)
8 -define(PSPELL_NORMAL,2); # Normal mode (more suggestions)
9 -define(PSPELL_BAD_SPELLERS,3); # Slow mode (a lot of suggestions) )
10 +define('PSPELL_FAST',1); # Fast mode (least number of suggestions)
11 +define('PSPELL_NORMAL',2); # Normal mode (more suggestions)
12 +define('PSPELL_BAD_SPELLERS',3); # Slow mode (a lot of suggestions) )
14 function pspell_config_create($language, $spelling=null, $jargon=null, $encoding='iso8859-1'){
15 return new Pspell($language, $spelling, $jargon, $encoding);
17 #FIXME how to support spelling?
20 - $this->args .= ' --jargon='.escapeshellarg($jargon);
21 + $this->args .= ' --jargon='.escapeshellarg($this->jargon);
25 - $this->args .= ' --encoding='.escapeshellarg($encoding);
26 + $this->args .= ' --encoding='.escapeshellarg($this->encoding);
35 \ Brak znaku nowej linii na koƱcu pliku