|
Hello Jim, In most cases like this instead of the FINDNEXT macro I use the ZOOM macro so that only the lines with the selected text string are displayed. From there, you can paste over the string. I have modified my profile.lx to have the ZOOM macro bound to the <Ctrl+K> key but you can press <Shift+F12> to see which key you have it bound to. For me, the ZOOM macro is a huge productivity booster and one macro I would not want to do without. What type of text string are you changing? Is it an RPG field or format name or just some text string in the comments? Regards, Brian -----Original Message----- From: code400-l-admin@midrange.com [mailto:code400-l-admin@midrange.com]On Behalf Of Jim Essinger Sent: Thursday, January 17, 2002 6:17 PM To: code400-l@midrange.com Subject: Find and Replace dialog question Greetings! Using the find and replace dialog is cumbersome. I want to replace multiple occurrences of the same find string, but to view them before they are replaced. Not all need to be replaced. I need to do this over multiple files I have loaded into Code editor. I can/have set up a key (alt 'N' with find next macro) set that will let me find the next occurrence of the string in the find prompt, but have no way to do a replace without bringing up the dialog box, and clicking on the replace button. Is there a way (command to put in a macro - or some other way to assign to a key) to tell find and replace to replace this occurrence and find the next occurrence?
As an Amazon Associate we earn from qualifying purchases.
This mailing list archive is Copyright 1997-2024 by midrange.com and David Gibbs as a compilation work. Use of the archive is restricted to research of a business or technical nature. Any other uses are prohibited. Full details are available on our policy page. If you have questions about this, please contact [javascript protected email address].
Operating expenses for this site are earned using the Amazon Associate program and Google Adsense.