× 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.




Buck,
As I mentioned earlier. The multiple occurrences highlighting is triggered
by the selection in the editor.
I don't know how you managed to duplicate the line without affecting the
selection, but if you select the variable again, you will get the updated
highlighting.



Regards,

Edmund (E.H.) Reinhardt
Technical Architect for Rational Developer for i



Phone: 1-905-413-3125 | Home: 1-905-854-6195
E-mail: edmund.reinhardt@xxxxxxxxxx
RDi YouTube: 8200 Warden Ave
www.youtube.com/user/IBMRational#g/c/62DF24D5BCD43501 Markham, ON L6G 1C7
Find me on: Canada






From: Buck Calabro <kc2hiz@xxxxxxxxx>
To: wdsci-l@xxxxxxxxxxxx
Date: 12/12/2014 10:48 AM
Subject: Re: [WDSCI-L] Mark Occurrences support
Sent by: "WDSCI-L" <wdsci-l-bounces@xxxxxxxxxxxx>



On 12/12/2014 10:30 AM, Tyler, Matt wrote:
It fails to work for me as well. To start using the highlighter you turn
on the highlighter on the tool bar (appears on the right side to the tool
bar next to the quick access search box, for me) and double click on a
defined item (anything that stars with a DCL-xxx). It attempts to
highlight the line which the field is found but it always highlights the
source line to the right by about 12 characters. It does not highlight
lines for fields used with the operators like +=, -=, /=, *=, fields used
in in-line conditions to set indicators, fields used in definition keywords
and when the field is not the first field token on the line (this includes
multiple uses on same line).

This works for me but I might have a different scenario to present.
Open an existing member with the following lines:

dcl-s myVar int(10);
myVar += 1;

Turn on the highlighter.
Double click myVar on the DCL-S line.
Both instances are highlighted and marked to the right.
Now duplicate the += line.
The new line is not marked, nor is the variable highlighted.
Ctrl-S to save. Still not highlighted or marked.
I have the Outline View set to auto-refresh. Clicking the refresh icon
does not mark or highlight the new lines. The only thing that seems to
work is to click a different variable and come back to myVar. That
works 100% of the time for me.

I updated to 9.1.1 via IM on top of my existing 9.1, not a new
installation.

Same here. One additional note: When I tried starting up, I got an
error in some log file I neglected to record (had a meeting and stupidly
smacked Enter). I started again with -clean and it came up fine.

I didn't think I'd take to this (I don't use it much in java) but I
think I like it for those older beasts where the same variable is
scattered across 2000 lines of code.

--
--buck

'I had nothing to offer anybody except my own confusion' - Jack Kerouac
--
This is the Rational Developer for IBM i / Websphere Development Studio
Client for System i & iSeries (WDSCI-L) mailing list
To post a message email: WDSCI-L@xxxxxxxxxxxx
To subscribe, unsubscribe, or change list options,
visit: http://lists.midrange.com/mailman/listinfo/wdsci-l
or email: WDSCI-L-request@xxxxxxxxxxxx
Before posting, please take a moment to review the archives
at http://archive.midrange.com/wdsci-l.


As an Amazon Associate we earn from qualifying purchases.

This thread ...

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.