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




Unfortunately, I can't remember what the default action is for the enter key - I think it is newline. In my userProfile I have set the enter key to do the openLine action (lpexView.doDefaultCommand("set keyAction.enter openLine");) It is working for me even though several other posters have mentioned that they can't reassign the enter key. Maybe I am setting it to the default anyway?

I think there was also some discussion a while back about the settings of the "Enter behaviour" on the ILERPG parser section of "Remote Systems|...Lpex Editor" in windows|preferences. In my case I have "Automatic uppercasing", "Repeat previous operation code", both "set x-spec cursor position" and "user defined tabs" all deselected, with everything else selected. Maybe you could get results by playing with those settings?


-Paul.


-----Original Message-----
From: wdsci-l-bounces@xxxxxxxxxxxx [mailto:wdsci-l-bounces@xxxxxxxxxxxx] On Behalf Of Hammack, Ted
Sent: 27 August 2013 21:27
To: wdsci-l@xxxxxxxxxxxx
Subject: [WDSCI-L] Lpex Editor - Custom Profile Plugins

Works like a charm!, I'll keep this in my notes (still new to this, but getting plug-ins to work so early-on is a plus).

To your knowledge, is there any way to assign a custom key function to the Enter key? Seems that this key is reserved for system use, but I'm trying to find a way around it (in SEU I was able to assign any function to any key). Just seems like if you go though all the effort to set up a plug-in, that you should be able to customize any key that you want.



Subject: Re: Lpex Editor - Custom Profile Plugins
From: Paul Bailey <PaulBailey@xxxxxxxxxx>
Date: Tue, 27 Aug 2013 09:20:06 +0100
List-archive: <http://archive.midrange.com/wdsci-l>
List-help: <mailto:wdsci-l-request@xxxxxxxxxxxx?subject=help>
List-id: Rational Developer for IBM i / Websphere Development Studio Client for System i & iSeries <wdsci-l.midrange.com>
List-post: <mailto:wdsci-l@xxxxxxxxxxxx>
List-subscribe: <http://lists.midrange.com/mailman/listinfo/wdsci-l>,
<mailto:wdsci-l-request@xxxxxxxxxxxx?subject=subscribe>
List-unsubscribe: <http://lists.midrange.com/mailman/listinfo/wdsci-l>,
<mailto:wdsci-l-request@xxxxxxxxxxxx?subject=unsubscribe>


------------------------------------------------------------------------
--------

Sorry, I just had another thought on this.

Type "query keyAction.c-delete" into the LPEX command line and it will tell you what action is being executed by the ctrl-delete keypress. Then all you really need to do is assign a new keypress to the same action.

You are defining a new action to do another action (EraseEOF to do exactly the same as truncate), so really you should not be defining a new action and should change:
lpexView.doCommand("set keyAction.backQuote.secondary EraseEOF"); to lpexView.doCommand("set keyAction.backQuote.secondary truncate");


-----Original Message-----
From: Paul Bailey
Sent: 27 August 2013 09:02
To: wdsci-l@xxxxxxxxxxxx
Subject: RE: Lpex Editor - Custom Profile Plugins


I think your line that reads "view.doAction(view.actionId("c-delete"));"
should read "view.doAction(view.actionId("truncate"));". The c-delete isn't an action, it is a keyAction (i.e. the key that causes the action to be executed).


-Paul.




+++ This email and related attachments may contain confidential information intended exclusively for the addressee. Unauthorized use, disclosure or distribution of this material is prohibited. If you received this message in error, please advise the sender and delete all copies of it. Content is provided by the individual sender and does not necessarily reflect the views of the Company. Though sender believes this transmission to be virus-free, it is the recipient's responsibility to ensure that it is.


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

Scanned by MailDefender - managed email security from intY - www.maildefender.net

Important, this email transmission and any files with it are strictly confidential to the intended recipient and may be legally privileged. Any views or opinions presented are solely those of the author and do not necessarily represent those of BHSF. If you are not the intended recipient, you must not copy, disclose or distribute its contents in any way. If you have received this e-mail in error, please notify the sender and delete the e-mail from your system.

We have taken steps to ensure this email and attachments are free from any virus but do not accept any responsibility once this e-mail has been transmitted. You should scan any attachments for viruses. No contract may be concluded on behalf of BHSF Limited by e-mail.

Registered Office: BHSF Limited, Gamgee House, 2 Darnley Road, Birmingham, B16 8TE. www.bhsf.co.uk Registered in England number 35500. BHSF is authorised and regulated by the Financial Services Authority.

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.