Jiri Pavlovsky wrote:
Mattia Barbon napsal(a):
jira wrote:
Hi,
how can I get a atyle at caret position.
None of the GetStyle* methods seem to work under wxperl.
I get an error that the method doesn't exist.
The methods have been renamed for wxPerl, but I forgot to document
it; you can use
my $style = $rtc->GetTextAttrStyle( $pos );
Hmm, at least for TextCtrl it doesn't work:
Can't locate object method "GetTextAttrStyle" via package "Wx::TextCtrl"
Oops. I forgot to wrap it for wxTextCtrl; it is there in
wxRichTextCtrl, though.
Regards,
Mattia