I am looking for a text widget can support configuarable line spacing
with huge text(>5MByte), I tried RichTextCtrl, but the load-in speed
is very slow, it take more than 10 secs to load-in a 5MB text file on
a 1.8G core 2 duo PC.
I also tried TextCtrl, which only take 1 sec to load-in same 5MB file.
but TextCtrl dosn't support line spacing.
So, is there any other text widget support configuarable line spacing
or how can I reduce the load-in time with RichTextCtrl?
On Jun 20, 12:04 am, Hu Jun <hujun.w...@gmail.com> wrote:
Hi,
I am looking for a text widget can support configuarable line spacing
with huge text(>5MByte), I tried RichTextCtrl, but the load-in speed
is very slow, it take more than 10 secs to load-in a 5MB text file on
a 1.8G core 2 duo PC.
I also tried TextCtrl, which only take 1 sec to load-in same 5MB file.
but TextCtrl dosn't support line spacing.
So, is there any other text widget support configuarable line spacing
or how can I reduce the load-in time with RichTextCtrl?
Did you try one of the StyledTextCtrl widgets or FancyText? I don't
know if they'll work for you or not, but you should give them a go.
There are examples in the demo.
Did you try one of the StyledTextCtrl widgets or FancyText?
Yes, I looked into docs of these two widgets.but it seems
StyledTextCtrl doesn't support line spacing and FancyText is a
StaticText like widget.
both of them doesn't work...
Thanks anyway.
···
On Jun 22, 8:32 am, Mike Driscoll <kyoso...@gmail.com> wrote:
Hi,
On Jun 20, 12:04 am, Hu Jun <hujun.w...@gmail.com> wrote:
> Hi,
> I am looking for a text widget can support configuarable line spacing
> with huge text(>5MByte), I tried RichTextCtrl, but the load-in speed
> is very slow, it take more than 10 secs to load-in a 5MB text file on
> a 1.8G core 2 duo PC.
> I also tried TextCtrl, which only take 1 sec to load-in same 5MB file.
> but TextCtrl dosn't support line spacing.
> So, is there any other text widget support configuarable line spacing
> or how can I reduce the load-in time with RichTextCtrl?
Did you try one of the StyledTextCtrl widgets or FancyText? I don't
know if they'll work for you or not, but you should give them a go.
There are examples in the demo.
> Did you try one of the StyledTextCtrl widgets or FancyText?
Yes, I looked into docs of these two widgets.but it seems
StyledTextCtrl doesn't support line spacing and FancyText is a
StaticText like widget.
both of them doesn't work...
Thanks anyway.
Well, hopefully one of the other guys will know then. It may be that
you end up just drawing everything... or rolling your own widget.
- Mike
···
On Jun 23, 4:22 pm, Hu Jun <hujun.w...@gmail.com> wrote:
On Jun 22, 8:32 am, Mike Driscoll <kyoso...@gmail.com> wrote:
> Hi,
> On Jun 20, 12:04 am, Hu Jun <hujun.w...@gmail.com> wrote:
> > Hi,
> > I am looking for a text widget can support configuarable line spacing
> > with huge text(>5MByte), I tried RichTextCtrl, but the load-in speed
> > is very slow, it take more than 10 secs to load-in a 5MB text file on
> > a 1.8G core 2 duo PC.
> > I also tried TextCtrl, which only take 1 sec to load-in same 5MB file.
> > but TextCtrl dosn't support line spacing.
> > So, is there any other text widget support configuarable line spacing
> > or how can I reduce the load-in time with RichTextCtrl?
> Did you try one of the StyledTextCtrl widgets or FancyText? I don't
> know if they'll work for you or not, but you should give them a go.
> There are examples in the demo.