[wx-dev] wxRichTextCtrl - another tab bug (sorry)

Julian Smart julian at anthemion.co.uk
Mon Mar 5 09:56:39 PST 2007


Hi Tom,

I've improved tab hit-testing - it didn't take into account the current 
position of
any given fragment, so it couldn't figure out tab positions properly. 
Hopefully
this will solve the problem. I did still notice occasional slight 
inaccuracies in
cursor positioning, within the width of one character, but it's better.

Best regards,

Julian

Tom Gersic wrote:
> Hi Julian,
>
> Here's another tab bug. Run the wxRichTextCtrl sample, and go to the 
> end of the text. Choose Insert->URL from the menu, and add a new link. 
> Now hit tab, and start typing. The result depends a bit on the length 
> of the link, but the text that is inserted is always at least a few 
> spaces behind the cursor. If you put "http://www.google.com/" as the 
> link (or some text of similar length), the text that you're typing 
> will be all the way back in front of the tab location, while your 
> cursor is at the end. This only seems to happen when links are involved.
>
> Thanks,
> Tom
>
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: wx-dev-unsubscribe at lists.wxwidgets.org
> For additional commands, e-mail: wx-dev-help at lists.wxwidgets.org
>
>
>


-- 
Julian Smart, Anthemion Software Ltd.
28/5 Gillespie Crescent, Edinburgh, Midlothian, EH10 4HU
www.anthemion.co.uk | +44 (0)131 229 5306
Tools for writers: www.writerscafe.co.uk
wxWidgets RAD:     www.anthemion.co.uk/dialogblocks





More information about the wx-dev mailing list