|
No Mike, that option only limits the scope of the text searched not what text is being searched for. At least, that's the way it is working for me on V5R1 SP3. If the action that I've described in my prior posts is not available natively, then I can write a macro to achieve the desired action if only I knew the name for the macro/command that is executed by the "Find selection" item on the pop-up menu. Any idea as to the name of this macro/command? Thank you for your continued assistance. Regards, Brian -----Original Message----- From: code400-l-admin@midrange.com [mailto:code400-l-admin@midrange.com]On Behalf Of hockings@ca.ibm.com Sent: Wednesday, November 21, 2001 8:50 AM To: code400-l@midrange.com Subject: RE: Pop-up Menu - Find Selection When I do Ctrl-F (or LP_FINDCHANGE) I get a dialogue that has 5 buttons along the bottom. The middle button is "options..." pressing this takes me to an options panel for find-replace. The top option is "Restrict search to" with the radio buttons being "All Documents", "Current document" and "Selection, if exists". I have it set to the last one. I think that Ctrl-N looks for the next instancethe found text. Kind regards, Mike Mike Hockings, P.Eng. WebSphere Development Tools for AS/400 - CODE/Designer & WebFacing ! IBM Canada Ltd. Laboratory hockings@ca.ibm.com Please respond to code400-l@midrange.com Sent by: code400-l-admin@midrange.com To: <code400-l@midrange.com> cc: Subject: RE: Pop-up Menu - Find Selection Hi Mike, Thanks for the reply. Yes this is in the editor and uh, I dunno, what options are you referring to? What I want to do is to be able to press <Ctrl+F> and if I have text selected, I want the editor to find the next occurance of the selected text (i.e., do the same thing as the "Find selection" function does). If I don't have any text selected I want it to display the Find/Change dialog box to allow me to enter the text string to find (i.e., the same thing the LP_FINDCHANGE command does). Thanks again, Brian
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.