|
In Windows > Preferences > LPEX Editor > User Key Actions you can define
shortcut keys to filter a view by selected text and then show all again.
To filter view by selected define a user key action as follows:
Key: a-l
Action: filterSelected
Press the Set button. Now Alt+L will filter the view to all lines
containing selected text in a source member.
To show all lines again define a user key action as follows:
Key: a-a
Action: showAll
Press the Set button. Now Alt+A will show all source lines again. Use this
to see all source again after using the Alt+L keys defined above.
These are quite handy for moving through code based on a target string. Just
double-click or click-and-drag to highlight some text, then Alt+L to see
only the lines in the source containing the text. Position the cursor to
the line you want to be, then Alt+a to see all the source code again.
Avoid the beginner's error I made when first defining user key actions. I
defined an action as s-l (which is Shift + L). Thereafter I was unable to
enter a capital L into my source. Didn't really think that one through... :)
Thanks,
Kelly
As an Amazon Associate we earn from qualifying purchases.
This mailing list archive is Copyright 1997-2025 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.