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



Yes, and no. LPEX is obviously a different editor, so things will be different, but I find few differences that are more than cosmetic. The main differences are language specific, so I don't expect those things to be the same since I use LPEX for RPG and CL, but the eclipse editor for PHP and Java. There are also feature differences. The Eclipse editor has a nice refactoring feature that is missing from LPEX, and LPEX does block operations and line operations that the eclipse editor does not. But Find/Replace is a universal feature, and should work reasonably similarly. The dialog does not need to be the same (it isn't), but the behaviors should not be surprisingly different. The part that gives me most problems is the way selections are handled when entering the find dialog:


Entire selection fits on a single line - Press Ctrl-f (single line)
Eclipse Editor
-find box is set to selected text
-search scope is set to entire document
LPEX
-find box is set to selected text
-search scope is set to entire document (Restrict search to selection is unchecked)

Selection spans at least one new line character - Press Ctrl-f (multi-line)
Eclipse Editor
-find box is set to previous search
-search scope is set to selection
LPEX
-find box is set to selected text
-search scope is set to entire document (Restrict search to selection is unchecked)


Note the subtle difference. The eclipse editor differentiates between selecting a single line and searching vs. selecting multiple lines and searching. LPEX does not. This difference is unexpected, and causes extra work, and sometimes (when replacing text) incorrect replacements. 77455 is there to deal with this difference, not cosmetic differences.

Mark Murphy
STAR BASE Consulting, Inc.
mmurphy@xxxxxxxxxxxxxxx


-----Stuart Rowe <rowestu@xxxxxxxxx> wrote: -----
To: "Rational Developer for IBM i / Websphere Development Studio Client for System i & iSeries" <wdsci-l@xxxxxxxxxxxx>
From: Stuart Rowe <rowestu@xxxxxxxxx>
Date: 05/03/2016 07:22PM
Subject: Re: [WDSCI-L] Find dialog


I have found that almost everything in LPEX works differently.


On Tue, May 3, 2016 at 7:25 AM, Mark Murphy/STAR BASE Consulting Inc. <
mmurphy@xxxxxxxxxxxxxxx> wrote:

Vote for both, if you are using RDi, you are using eclipse. If you were to
start developing Java or PHP within RDi (eclipse), you would find that the
search dialog operates differently between LPEX and the eclipse editor.

Mark Murphy
STAR BASE Consulting, Inc.
mmurphy@xxxxxxxxxxxxxxx


-----"Maha Masri" <masri@xxxxxxxxxx> wrote: -----
To: Rational Developer for IBM i / Websphere Development Studio Client for
System i & iSeries <wdsci-l@xxxxxxxxxxxx>
From: "Maha Masri" <masri@xxxxxxxxxx>
Date: 04/26/2016 05:58PM
Subject: Re: [WDSCI-L] Find dialog


Hello,
There were two RFEs open for enhancing the Find dialog:
RFE77455: Make ctrl-f function the same way in both block and stream
modes

http://www.ibm.com/developerworks/rfe/execute?use_case=viewRfe&CR_ID=77455
RFE77454: Change ctrl-f to function like eclipse find

http://www.ibm.com/developerworks/rfe/execute?use_case=viewRfe&CR_ID=77454

The implementation in RDi 9.5.0.3 only supports "Restrict search to
selection" with Block selection mode (Alt+R, Alt+L).
We have disabled the "Restrict search to selection" in stream selection
mode, because it is not yet supported and it was not supported in the
previous version either.

We understand that Stream mode is the more common and preferred way to
select text as you do not have to remember to press Alt+U.
If you would like to have the full support please vote for the "RFE77455:
Make ctrl-f function the same way in both block and stream modes".

Thanks,

____________________________________________________________________________
Maha Masri
Rational Developer for i - Rational Developer for AIX and Linux - Rational
Developer for Power




From: Stuart Rowe <rowestu@xxxxxxxxx>
To: "Rational Developer for IBM i / Websphere Development Studio
Client for System i & iSeries" <wdsci-l@xxxxxxxxxxxx>
Date: 04/25/2016 08:57 AM
Subject: [WDSCI-L] Find dialog
Sent by: "WDSCI-L" <wdsci-l-bounces@xxxxxxxxxxxx>



Applied the latest update.

I see RFE77454 but I do not know what "like eclipse" means since I do not
use eclipse.

Used to be when I selected some text and pressed ctrl-f, I could check the
"restrict search to selection" box to limit the subsequent "replace all" to
that area. Now, the box is greyed out.

The find dialog seems to change with every update. Can someone explain
what "selection" means now and how I can effectively select text so that I
can use that checkbox? I can find no description of the settings for
selecting text like "block" "stream" etc in the help, only that I should
select one or the other.

I did some more experimenting and found that if I select some text ON ONE
LINE only and not including the EOL, the checkbox is available (but really
less than useful in that context). Selecting more than one line of text
makes the checkbox unavailable.

Using ALT-R to select a rectangle of text (of any size) enables the
checkbox and forces the checkbox to be checked. It is uncheckable. The
selected rectangle is persistent in this case.

I spose I could do all my selections with ALT-R but it's a pain to remember
to ALT-U every time.

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



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