Silver Black 23 Posted February 26, 2019 How to replace all occourrences of a given text in ALL units of the projects? I mean: units, forms, etc., any file? I wouldn't want to do an edit/replace… for every file in my project! It's time consuming and, more important, I could forget some file. Share this post Link to post
Ian Branch 127 Posted February 26, 2019 I use a tool call FAR, short for Find and Replace. http://findandreplace.sourceforge.net Its a free app and as long as your .dfm files are in text rather than binary, works a treat. HTH. Ian 1 Share this post Link to post
Silver Black 23 Posted February 26, 2019 11 minutes ago, Ian Branch said: I use a tool call FAR, short for Find and Replace. http://findandreplace.sourceforge.net Its a free app and as long as your .dfm files are in text rather than binary, works a treat. HTH. Ian Thank you! I solved with GExperts grep tool. Your help is very appreciated too! Share this post Link to post
dummzeuch 1505 Posted February 26, 2019 (edited) Please note that there are known limitations with GExperts Grep Search on form files. A string will not be found if one of the following conditions is met: A string is split into several lines (in the form file) and the search string spans a line break (Bug #49). A string with special characters (e.g. Umlauts) is stored as 'bla'#nnn'blub' in the form file and the search string spans this special character (Bug #112). Edited February 26, 2019 by dummzeuch 1 Share this post Link to post
Silver Black 23 Posted February 26, 2019 2 hours ago, dummzeuch said: Please note that there are known limitation with GExperts Grep Search on form files. A string will not be found if one of the following conditions is met: A string is split into several lines (in the form file) and the search string spans a line break (Bug #49). A string with special characters (e.g. Umlauts) is stored as 'bla'#nnn'blub' in the form file and the search string spans this special character (Bug #112). Thank you for these important notes, I will remind of them. Share this post Link to post