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



I just tried this in RDi 9.1.1, and it worked for me.

First I went to Window -> preferences, and expanded LPEX Editor and
selected User Commands.
Then in the 'Name' field i entered 'sync', and the class name I gave is
com.ibm.lpex.samples.SyncCommand.
I pressed the Set button.

Then I opened two source members, and dragged one next to the other.
In the command area I keyed 'sync on', and now when I scroll that member,
the other scrolls with it.
I can re position the other member and the first (where I entered the
command) does not scroll (expected behavior)
Now I can scroll the first member again and the second scrolls with it.

On Wed, Jan 21, 2015 at 9:28 AM, <MichaelQuigley@xxxxxxxxxx> wrote:

Wow! That looks like a cool plug-in. The documentation still shows it
available. But the documentation also is for LPEX 4.2.3 and I believer
we're now at 4.2.5. It looks like IBM dropped it from their samples.
Anyway, there's good news and bad news.

The good news?
The documentation includes a link to the source code for the sync command.

The bad news?
You would essentially have to set it up as a plug in. That's only bad if
your Java skills are at or less than mine. I can read the source code and
tell what it's doing, but I don't know that I could do everything required
to make it work as a plug-in.

More bad news?
They may have dropped it for a reason--e.g., some feature of LPEX is no
longer compatible. This I don't know.

"WDSCI-L" <wdsci-l-bounces@xxxxxxxxxxxx> wrote on 01/21/2015 07:50:21 AM:
----- Message from "Austin, Mark" <Mark.Austin@xxxxxxxxxx> on Wed,
21 Jan 2015 11:13:12 +0000 -----

To:

"Rational Developer for IBM i / Websphere Development Studio Client
for System i & iSeries (wdsci-l@xxxxxxxxxxxx)" <wdsci-l@xxxxxxxxxxxx>

Subject:

[WDSCI-L] Sync command

Hi, a few releases of RDi ago I used a sync command in the LPEX
editor that allowed me to hold two sources at their current position
relative to each other. I tried using it today in RDi 9.1.1 and it
doesn’t seem to be working. I used the following commands before;

set commandClass.sync com.ibm.lpex.samples.SyncCommand
sync on

Anyone have any idea why it isn’t working now?


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

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.