Indie game storeFree gamesFun gamesHorror games
Game developmentAssetsComics
SalesBundles
Jobs
Tags

GMEdit

A high-end code editor for all things GameMaker · By YellowAfterlife

[Solved] 'Replace All' button in global search broken

A topic by tobias van elk created Aug 26, 2020 Views: 244 Replies: 2
Viewing posts 1 to 3

​The ‘Replace All’ button in the global search dialog is broken. It produces an error in the dev console and doesn’t replace anything:

Uncaught TypeError: Electron_Dialog.showMessageBoxSync is not a function
    at Function.electron_DialogFallback.showConfirmWarnProxy (app.js:4138)
    at HTMLInputElement.ui_GlobalSearch.btReplace.onclick (app.js:26344)
electron_DialogFallback.showConfirmWarnProxy @ app.js:4138
ui_GlobalSearch.btReplace.onclick            @ app.js:26344

All other buttons, including the ‘Preview Replace All’, work as expected. This occurs for me when working on 1.x projects, I have not tested it on a 2.x project.

Developer (1 edit)

This error would arise if Electron version is mismatched - such as using 4.x instead of 7.x (which have incompatible APIs). Seeing that the README still mentions 4.x, I have updated that.

If you were using an AppOnly build, you'll need to download a "regular" build for newer Electron binaries.

If you just downloaded a regular build and this happened, let me know what platform this was on - perhaps I forgot to update the Electron binaries for one of them.

I did update using the AppOnly build. I just re-downloaded the (non-beta,) regular build and now it works correctly!

Thanks for your quick response!