On 3.1.2010 22:57, Steve Cookson wrote:
I don't know about th XML format, but here is how I get HTML from the
widget:
my $buffer = $richtext->GetBuffer;
open(my $fh, '>', \my $html) || die 'cannot open';
my $html_handler = Wx::RichTextHTMLHandler->new;
$html_handler->SaveFile($buffer
>I don't know about th XML format, but here is how I get HTML from the
>widget:
> my $buffer = $richtext->GetBuffer;
> open(my $fh, '>', \my $html) || die 'cannot open';
> my $html_handler = Wx::RichTextHTMLHandler->new;
> $html_handler->SaveFile($buffer, $fh);
Hi Jiri
That looks great.
On 3.1.2010 21:03, Mattia Barbon wrote:
I can't see SetStyleRange documented anywhere. Is this a wxperl wrapper?
It is used internally. In theory you should be able to call ->SetStyle
with the same parameters and it should work.
...and theory will match practice in the next release.
:)
On 3.1.2010 20:32, Steve Cookson wrote:
Hi Guys,
Wow, it's already 2010 (for those of you who use the Gregorian
calendar). I hope you all had a great Christmas break and that this year
turns out well for you.
I'm trying to implement some WP functionality in wx. Really all I need
to do is to edi
Mattia Barbon wrote:
Jiri Pavlovsky wrote:
Hello,
I needed to set style for a selection.
After trying to call SetStyle with various combination of parameters
I succeeded with $w->SetStyleRange($range, $attr) (to which I
was led by an error message).
I can't see SetStyleRange documented any
Hi Guys,
Wow, it's already 2010 (for those of you who use the Gregorian calendar). I
hope you all had a great Christmas break and that this year turns out well
for you.
I'm trying to implement some WP functionality in wx. Really all I need to
do is to edit a letter. I've looked at the wxPerl d
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