
Preserving formatting in find and replace
This month we are looking to fund preserving or changing formatting of found strings. This feature will optimize the coding process of find and replace in LiveCode saving you time and effort. Presently when trying to replace a string in a field all formatting would be lost without implementing a more time consuming workaround.
7 comments
Join the conversationDevin - November 19, 2015
May I suggest an option to preserve the current behavior? You could just add a ‘with formatting’ clause:
replace “foo” with “bar” in fld 1 with formatting
This nicely parallels things like:
import snapshot from [object] with effects
Massimiliano - November 20, 2015
I would change this project title to “a new replace command”.
If you don’t read all page project, you think that it’s related to the code editor.
Massimiliano - November 26, 2015
Hello,
is there any web widget to embed in other website to promote this campaign?
Malte - December 10, 2015
Done. 🙂
Steve - January 3, 2021
Was this ever implemented?
Heather Laine - January 5, 2021
Yes, it was. Check the dictionary for details, under the “replace” command.
Ifediogor Jefferey - December 28, 2021
preserving current behavior? I could just add a ‘with formatting’
clause:
replace “Alpha ” with “bar” in fld 1 with formatting
This nicely parallels things like:
import snapshot from [object] with effects