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

Jerome Quelin jquelin at gmail.com
Wed Apr 29 01:47:25 PDT 2009


On 09/04/28 20:32 +0200, Cezary Morga wrote:
> Have you had any problems with spell-checking non-ASCII text? What I
> get is garbage instead of proper non-ASCII characters or successive
> words begin partially overwritten.

nope. i just tried, and omg it's not working... :-(

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...

what do you think is the best thing to do?

jérôme 
-- 
jquelin at gmail.com
-------------- next part --------------
#!/usr/bin/perl
use strict;
use warnings;
use Wx ':everything';
use Wx::STC;

my $f  = Wx::Frame->new(undef,-1,"test");
my $s  = Wx::BoxSizer->new(wxVERTICAL);
my $t1 = Wx::StyledTextCtrl->new($f);
my $t2 = Wx::StyledTextCtrl->new($f);
$s->Add($t1);
$s->Add($t2);
$f->SetSizer($s);

$t1->SetText("cote");
$t2->SetText("côte");
$t1->SetSelection(0,3);
$t2->SetSelection(0,3);

$f->Show;
sub Wx::App::OnInit {1}
Wx::App->new->MainLoop;



More information about the Padre-dev mailing list