You can set the Enter key using "set keyAction.enter newLine" in the LPEX command line, to try out that method for the ENTER key (which I think is what you want.) Use "set keyAction.enter openLine" to go back to the default, or just close and re-open the RDP application. ("query keyAction.enter" will tell you what it is set to.)
If "newLine" is not to your taste, then perhaps just remap to "down" instead (as in the cursor down key).
If you type "?samples" (w/o quotes) in the command line of the LPEX editor (from a source member in RDP, press ESC to get to the LPEX command line) and the help screen will (eventually) show various sample classes that you can add to key actions, eclipse "user profiles", etc. Some of those samples work right off the bat, and others require a little work, but the source is there and will give you all sorts of clues for getting your environment just the way you like it.
Personally, I have the enter keys set as follows:
set keyAction.enter down
set keyAction.s-enter openLine
set keyAction.numpadEnter splitAndShift
set keyAction.s-numpadEnter splitLine
-Paul.
-----Original Message-----
From: wdsci-l-bounces@xxxxxxxxxxxx [mailto:wdsci-l-bounces@xxxxxxxxxxxx] On Behalf Of Buck Calabro
Sent: 22 July 2013 18:18
To: wdsci-l@xxxxxxxxxxxx
Subject: Re: [WDSCI-L] turn off automatic line insert when enter key pressed.
On 7/22/2013 11:46 AM, Jim Oberholtzer wrote:
RDP 8.0.3. ( to lazy to update at this point, I really should )
I am almost always editing existing source, rather than creating new.
I've tried to find the switch in the CL parsers to stop the enter key
from automatically inserting a new line. Instead I would prefer it
simply commits the change I just made and takes the cursor to the next
line.
My suggested behavior might drive someone creating new code nutty, but
it will save me time and aggravation since mostly I'm modifying code
I've copied into the member.
Is there a way to do it?
Try setting a User Key Action. Windows > Preferences > LPEX Editor > User Key Actions
for Key, specify enter
for Action, select newLine
Click Set on the right, then Apply.
--buck
--
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.