Servoy Developer 3.1.3 crashing when search and replace

I’m trying to do a search and replace on a short script,

replacing

‘to_’

with

‘menus_to_’

with Case Sensitive and Wrap ticked.
and Developer freezes…

have anyone else come across this problem?

Mac OS X 10.4.9
Servoy Developer 3.1.3

‘rec.to’

replaced with

‘rec.menus_to’

works fine…

Never seen anything like that.
Does it happen with other search/replace stuff with the same script as well?
Can you share the script?

This is the Servoy script editor, not my scripts!

The same just happened to me when I tried to replace " by ". Servoy refused to react on anything. No errors thrown.

patrick: against what version do you test?

swingman: do you also see the freeze when you use the latest version (3.1.6) there are some fixes in the searching. Is the cpu usage also high?

If one of you could give me a stackdump at the moment in freezes that would be nice. (under windows start the developer with java.exe instead of javaw.exe in a console and press CTRL-BREAK)

Happened to me in 3.1.6

patrick can you reproduce and give me a stack dump?

Just create a method

var test = '"'
var moreTest = '""'

and then try to

find: "
replaceBy: "

mark: wrap search

then hit replace all and you are dead.

There are no errors written to the console and no deadlocks as far as I can see.

ahh the simple search/replace in file when wrap is selected is fixed for 3.5 i will also backport this to 3.1.x

Thanks Johan,

didn’t spot the developments on this thread earlier since the ‘new-post-icons’ don’t show when I log onto the forum… have to check the last post dates to work out what’s new :frowning:

Hi Christian,

Not sure why your icons are not working, however, I always tend to go to the ‘View posts since last visit’ option on top right of main index screen beneath the search box.

Gives you all those posts as a summary instead of having to trawl through each separate forum :)

Cheers
Harry

Hi Harry,

the problem is that clicking ‘View posts since last visit’ result in a ‘No topics or posts met your search criteria’ message…

Probably a bug in phpbb.

Hi Christian,

Like Harry I have no problems with the icons nor with the ‘View posts since last visit’ option.
Perhaps one of your cookies are currupt. Try clearing your cookies and relogin.

Hope this helps.