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



Ahhh. I figured something like that and had previously tried help. Found that topic but, for some reason, my help gives me a "Topic not found" when I click on the link. I have local help enabled. Maybe I need to enable the IBM help as a secondary.

Roger Harman
COMMON Certified Application Developer - ILE RPG on IBM i on Power




________________________________________
From: WDSCI-L <wdsci-l-bounces@xxxxxxxxxxxx> on behalf of Buck Calabro <kc2hiz@xxxxxxxxx>
Sent: Friday, April 15, 2016 10:26 AM
To: wdsci-l@xxxxxxxxxxxx
Subject: Re: [WDSCI-L] Alt-j (join lines)

On 4/15/2016 11:52 AM, Roger Harman wrote:
I also voted for that one when I first saw it.

But, the "oneSpace" is a great workaround.

Where do you find these things?

I have an unhealthy tendency to use the command line instead of a mouse
or a dialogue box. After embarrassing myself with regex, I went back
into the documentation to see what else I was getting wrong.

Escape to get to the command line.
F1 to summon the help / references.
Click on 'Issuing editor commands'.

There are 3 separate concepts which are related to each other but are
different enough to warrant separate references:
Editor commands
Editor actions
Editor parameters

The distinction between commands and actions is that a command accepts
parameters; actions don't. Which makes an action quite suitable to
attach to a keyboard shortcut or mouse click :-) So 'findText', having
parameters, is a command but 'join' is an action suitable to assign to
say, Alt-j.

Editor Parameters are sort of like environment variables for the editor.
Many editor parameters set global behaviour, but others are more
transient, and act in concert with Editor Actions. Editor parameters
are retrieved with the 'query' command: 'query lines' retrieves the
number of lines in the source. Setting the parameters is done with the
'set' command. Here's an interesting thing to experiment with:

Open a source member.
Position to line 1, column 1.
Escape to go to the command line.
action right
Escape to go to the editor.

The cursor should be on line 1, column 2.

Escape to go to the command line
set actionArgument 25
action right
Escape to go back to the editor.

The cursor moved right 25 times.

All of this stuff is in there to help developers write plug-ins. But
they can all be used from the command line too, which weirdly enough, is
one way to prototype a script I want to run.

--
--buck

Visit wiki.midrange.com and register for an account. Edit a page that
helps you, and because it's public, you'll help someone else, too!

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

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.