× 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 am afraid that it is not enough to write a specialized Find/Replace dialog, but change (maybe subclass) the Lpex editor because it actually:

a) had to implement the IFindReplaceTarget interface
b) register an action handler for the Eclipse FindReplaceAction

At least that is what I do in the new "Data Area Editor" that comes with the next iSphere version.

Last but not least the Find/Replace thing is just one tiny piece of all differences between the Lpex editor and other editors. I absolutely understand the history of the Lpex editor and why it is the way it is. But with the modern /free RPG the Lpex editor should be modernized, too.

For example I do not remember when I used the column-restricted search. It is pretty useless for /free and actually the new outline view is a good replacement for the column-restricted search. I prefer to use the outline view rather than searching for a field at position 50 to see where it gets changed.

Just my two cents.

Thomas.

-----Ursprüngliche Nachricht-----
Von: WDSCI-L [mailto:wdsci-l-bounces@xxxxxxxxxxxx] Im Auftrag von Buck Calabro
Gesendet: Dienstag, 23. Dezember 2014 17:43
An: wdsci-l@xxxxxxxxxxxx
Betreff: Re: [WDSCI-L] Find text in RDi 9.1.1

On 12/23/2014 2:04 AM, Thomas Raddatz wrote:

I assume the heart of the problem is that the guys who develop RDi do not develop RPG applications with RDi.

It was some time ago that I worked with Eclipse RCP so my memory is faded. I remember looking to extend the standard find/replace dialogue and being unable to find a way to do it. It seemed to me that I had to write a whole new one from scratch. Well, I could copy the Eclipse source and work from that, but I seem unable to do 'a little' Eclipse development - it takes me a very long time to put all the concepts together in my head.

If they really had to write their own find/replace, that explains why it behaves differently. And it is different to the Eclipse find/replace because of the column-restricted search.

So here is a funny question. Is the column selection in the RDi find dialogue necessary for you (and by 'you' I mean the list)? I haven't got the time to research it this instant, but I think it is possible to create a user action that invokes the default. In Eclipse 4, it is part of \eclipse422\plugins\org.eclipse.ui.workbench.texteditor_3.8.0.v20120523-1310.jar
- org.eclipse.ui.texteditor.FindReplaceDialog

I think that to incorporate this as a user action I need to tinker the CLASSPATH or copy the jar file to the place my RDi CLASSPATH can find it. Once it's a user action, it can be assigned to a key sequence.

Another thought - very ephemeral - is that I might be able to override Ctrl-F in my RDi / Eclipse profile.

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

--
IMPORTANT NOTICE:
This email is confidential, may be legally privileged, and is for the
intended recipient only. Access, disclosure, copying, distribution, or
reliance on any of it by anyone else is prohibited and may be a criminal
offence. Please delete if obtained in error and email confirmation to the sender.

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.