Thank you Buck for enlightening me. Alt-F8 works for me, since it is bound to "a-f8" for "LPEX/eclipse" and "LPEX/lpex" editors. But Alt-F9 does not work, because there is only one key binding for "Print" in "LPEX/emacs" editors. I used RDi 9.5.1.1 for testing that.
Last but not least, even Alt+F8 does not work properly, because it shifts the selected lines 1 position to the right (indenting). From my point of view a proper indention function should shift the selected lines to the next multiply of spaces that have been configured on the "ILE RPG" preferences page of the "Remote Systems LPEX Editors / IBM I Parsers" preferences.
@John: Thank you for supporting me. I cannot understand, why the LPEX editor must be that far away from any other editor. Things could be so easy, if at least basic editor functions could be triggered the same way. For indenting/outdenting that should be Tab/Shift+Tab and stream selection. The Eclipse Java editor demonstrates how easy indenting/outdenting could be. Maybe, that for the Lpex editor the indenting/outdenting function had to be disabed for fix-format lines.
Thomas.
-----Ursprüngliche Nachricht-----
Von: WDSCI-L [mailto:wdsci-l-bounces@xxxxxxxxxxxx] Im Auftrag von Buck Calabro
Gesendet: Montag, 27. März 2017 23:19
An: wdsci-l@xxxxxxxxxxxx
Betreff: Re: [WDSCI-L] Shortcuts Indent/Unindent
On 3/27/2017 4:47 PM, Tools/400 wrote:
Does RDi (9.5.1) provide functions and shortcuts for
indenting/unindenting selected source lines?
Yes!
It may seem a bit clunky but I got used to it.
First, select the lines to indent/outdent with Ctrl-L, not with the normal Windows stream selection keys. I usually Ctrl-L the top line, then Shift-Cursor Down to inclusively select lines. Although Cursor Down to the bottom then Ctrl-L will also include all those lines too.
I'm just so used to Shift-Cursor to select that it's automatic.
Then:
To indent: Alt-F8
To outdent: Alt-F7
To remove the selection, Alt-U
--
--buck
Try wiki.midrange.com!
--
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.