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



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.



As an Amazon Associate we earn from qualifying purchases.

This thread ...

Follow-Ups:

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.