× The internal search function is temporarily non-functional. The current search engine is no longer viable and we are researching alternatives.
As a stop gap measure, we are using Google's custom search engine service.
If you know of an easy to use, open source, search engine ... please contact support@midrange.com.



On 9/21/2015 10:19 AM, Edmund Reinhardt wrote:

But I wanted to tell you that there another way of accomplishing search for all occurrences of a variable. On the toolbox above the editors there is a highlighter looking button. The hover says "Toggles marking occurrences of the given entity". If you toggle this on, and then double click on the name of interest to select it, then all references and declarations will be highlighted throughout the source.

This is pretty cool but I haven't found it to be 100% reliable, in that
there are instances of a procedure which are not identified. One such
example is dcl-s detailProc_p pointer(*proc) inz(%paddr(detailproc));
This doesn't show up in the Outline View either, so I'm not surprised
that TMOOTGE doesn't identify it. [1]

The right hand side of the editor will have rectangles corresponding to each occurrence, allowing you to quickly navigate to the them. The advantage is that it understands RPG and will not be fooled by similar spelling. The color if the highlight can be customized under Preferences>General>Editors>Text Editor>Annotations Occurrences (org.eclipse.imp.occurrenceAnnotation)

Thanks for the colour tip - I found the default colour practically
invisible on the right side.


As an Amazon Associate we earn from qualifying purchases.

This thread ...

Follow-Ups:
Replies:

Follow On AppleNews
Return to Archive home page | Return to MIDRANGE.COM home page

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.