Home Download Buy Blog Forum Support

Bug report: Race condition in Find and Replace

Bug report: Race condition in Find and Replace

Postby Dan Phillips on Tue Apr 20, 2010 3:23 am

If you click the Replace button fast enough, it skips over text that it should be replaced. You don't have to click Replace very fast for this to happen. I find this behavior highly unexpected.

Steps to reproduce problem:

1. Start a new document of about 50 lines where each line consists of a single character, "a".
2. Set up a Find and Replace where "a" gets replaced with "bbbbbbbbbbb".
3. Turn of Wrap Search.
4. Click the Replace button rapidly.
5. Many of the a's will be skipped.

If you click Replace slowly, the problem doesn't occur.
Dan Phillips
 
Posts: 11
Joined: Wed Oct 21, 2009 2:37 am

Re: Bug report: Race condition in Find and Replace

Postby jps on Tue Apr 20, 2010 12:50 pm

Thanks for the report - this will be fixed in the next beta
jps
Site Admin
 
Posts: 3077
Joined: Wed Mar 19, 2008 12:33 pm


Return to Technical Support

Who is online

Users browsing this forum: Google [Bot] and 18 guests