Find/Replace problem when set to 'Everything'

The Find/Replace dialog in the method editor has a handy “everything” option which allows a find across global/form methods.

However, there’s a bug in the replace function.

I wanted to change most of the controller.newRecord() commands to controller.newRecord(false) - the default behaviour seems to have changed from V2.2 to V3.

I notice that when clicking replace/find, the editor will replace the string, then sometimes also insert it at the top of the next method that is opened for editing.

eg this is the first thing I see when the Replace/Find opens a new method for editing. The method title already has a ‘*’ indicating the edit, as soon as it opens.

controller.newRecord(false)controller.newRecord()
controller.saveData()
//etc

I’ve seen this with a few different Replace/Finds
Clicking the Find, then the Replace, and so on, works fine.

Servoy Developer
Version 3.0.1-build 372
Java version 1.5.0_06-b05 (Windows XP)

Hi Antonio,

I can confirm this.
We’ve put it on the buglist.

Thanks for reporting.

And thanks for the quick response, in true Servoyan fashion!

Will be fixed in Servoy 3.1 rc1