There's been a bug in Regex Hero (and in Silverlight) ever since it launched. It's something I've tried to fix on many occasions but was always left in tears. The problem lies with scrollable textboxes.
You see, Regex Hero doesn't word wrap. If it did, the instant highlighting would be much, much slower. So if you're pasting a huge block of text that is over 25,000 pixels wide into the textbox, of course you'll be doing a lot of scrolling. The bug was a strange one. After a certain limit the text would essentially go blank as you're scrolling. This was incredibly annoying.
Finally, Microsoft released the RichTextBox control in Silverlight 4. It's a much more powerful control, and best of all, it doesn't have this bug! I've spent the last 3 weeks implementing changes to make the RichTextBox work within Regex Hero...
In making this change I've also solved a problem with my multiple undo/redo system. That's simply because I scrapped it for the built-in undo support of the RichTextBox.
I don't know how many of you have been bitten by these bugs already. But it's such a relief to have these bugs squashed. Enough of the puns, enjoy!
You see, Regex Hero doesn't word wrap. If it did, the instant highlighting would be much, much slower. So if you're pasting a huge block of text that is over 25,000 pixels wide into the textbox, of course you'll be doing a lot of scrolling. The bug was a strange one. After a certain limit the text would essentially go blank as you're scrolling. This was incredibly annoying.
Finally, Microsoft released the RichTextBox control in Silverlight 4. It's a much more powerful control, and best of all, it doesn't have this bug! I've spent the last 3 weeks implementing changes to make the RichTextBox work within Regex Hero...
In making this change I've also solved a problem with my multiple undo/redo system. That's simply because I scrapped it for the built-in undo support of the RichTextBox.
I don't know how many of you have been bitten by these bugs already. But it's such a relief to have these bugs squashed. Enough of the puns, enjoy!
Comments
Post a Comment