[Padre-dev] call to translators: please translate spellcheck plugin

Cezary Morga cm at therek.net
Wed Apr 29 15:24:49 PDT 2009


Jerome Quelin wrote:
> but it seems to be wx stc related - check attached script: stc should
> select the first 3 chars, but when there's some utf8 it only selects the
> first 2 of them...

The problem here is that STC treats Unicode characters as two separate 
characters when it comes to selecting, while Perl himself have no such 
problem. So I commited in r4239 and r4240 a dirty hack to work around it, that 
is to extend the selection range by one point for each UTF-8 character 
(assumming all characters for which ord returns a value bigger than 127 are 
UTF characters).

As far as I could tell with Polish spelling it seems to work properly. Could 
you please see if it works for you too?
-- 
Cezary Morga
"Would those of you in the cheaper seats clap your hands? And the rest of you, 
if you'll just rattle your jewelry." (John Lennon)



More information about the Padre-dev mailing list