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 );
my $style_ex = $rtc->GetTextAttrExStyle( $pos );
my $style_rich = $rtc->GetRichTextAttrStyle( $pos );
all get methods for styles have been renamed this way, for example you
can use
my $style_rich = $rtc->GetRichTextAttrStyleForRange( $range );
and
my $style = $rtc->GetTextAttrUncombinedStyle( $pos );
Setter methods haven't been renamed and should work as documented.
HTH,
Mattia