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



On 4/4/2017 3:55 PM, Edmund Reinhardt wrote:

I just wanted to mention that Thomas has opened an RFE to allow
Tab/Shift-Tab to indent stream selection
https://www.ibm.com/developerworks/rfe/execute?use_case=viewRfe&CR_ID=36974
For those who would like that alternative to Alt-F7 and Alt-F8 for line
selection, please go ahead and vote.

I strongly favour this!

The Alt-L etc line selection come from the Lpex heritage and are quite
useful for line oriented actions. This is certainly more prevalent with
fixed column code, but with fully free RPG source, we are moving more
towards a stream file world.

I love the ideas that surface on this list, and I puttered around with a
skeleton of a plug-in to do this myself. I sort of thought I'd
'convert' the stream selection to a line selection and work on the block
that way.

1) Define a stream selection
2) Assuming (ha!) the cursor is at the last line, find the extent of the
selection
a) last_line = query line;
b) block find;
c) first_line = query line;
3) Establish a new, line selection over the same lines
a) locate line first_line;
b) block set element;
c) locate line last_line;
c) block set element;
4) Shift the lines one 'indent' increment
a) block shift right 2;
5) De-select
a) block clear;

I'm having issues with RDi not resolving the org.osgi.framework, so I
must have busted something somewhere and I didn't get past this basic
outline.


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.