|
I've seen the issue in the past with spaces out to column 80, and I think it worked out that the source control software I was using at the time was transferring the source member onto the iSeries at checkout with FTP or something like that. It insisted on filling the whole field with spaces. I've also seen it if you use the block-selection options (e.g. ALT-R) to select a large amount of code from one member and paste it into another.
If you want a quick way to clean your whole source member of additional spaces and you are using WDSC/RDi/RDP (i.e. an LPEX editor), press ESC and enter the following:
findText replace all regularExpression replaceWith "" \s+$
That will remove all spaces and tabs at the end of all lines in the current source member.
-Paul
-----Original Message-----
From: wdsci-l-bounces@xxxxxxxxxxxx [mailto:wdsci-l-bounces@xxxxxxxxxxxx] On Behalf Of Kurt Anderson
Sent: 20 October 2011 14:41
To: Rational Developer for IBM i / Websphere Development Studio Client for System i & iSeries
Subject: Re: [WDSCI-L] RDP 8.0.3 (Block comment)
Jeff, I've experienced this as well (spaces out to position 80). You can get rid of them by making a change and saving. Presumably if you're commenting out code, you're modifying the source, so making a simple change (like pressing the spacebar while on an empty line) would be ok.
-Kurt
-----Original Message-----
From: wdsci-l-bounces@xxxxxxxxxxxx [mailto:wdsci-l-bounces@xxxxxxxxxxxx] On Behalf Of Jeff Crosby
Sent: Thursday, October 20, 2011 8:02 AM
To: Rational Developer for IBM i / Websphere Development Studio Client for System i & iSeries
Subject: Re: [WDSCI-L] RDP 8.0.3 (Block comment)
It also does this (the error) on blank lines. If there are blanks out to column 80, it fails.
When I open a member, every line is always filled with blanks to column 80, meaning the block comment will never work.
???
On Wed, Oct 19, 2011 at 6:14 PM, Eric Chan <emchan@xxxxxxxxxx> wrote:
The error message comes up if one of the selected lines would exceed
the record length after commenting. The block commenting shifts your
line over to the right by one character (two in free), so the idea of
the error is to preemptively prevent truncation.
Eric Chan
Rational Developer for Power
IBM Toronto Software Lab
From:
"Robert J. Mullis" <robertmullis99@xxxxxxxxxxx>
To:
"Rational Developer for IBM i / Websphere Development Studio Client
forSystem i & iSeries" <wdsci-l@xxxxxxxxxxxx>
Date:
10/19/2011 05:56 PM
Subject:
Re: [WDSCI-L] RDP 8.0.3 (Block comment) Sent by:
wdsci-l-bounces@xxxxxxxxxxxx
I tried the block commenting, but keep getting the following error:
Text limit would have been exceeded. The operation has been canceled.
-----Original Message-----
From: Schutte, Michael D
Sent: Wednesday, October 19, 2011 5:00 PM
To: Rational Developer for IBM i / Websphere Development Studio Client
forSystem i & iSeries
Subject: Re: [WDSCI-L] RDP 8.0.3 (Block comment)
I've mapped my keys.
Alt+R to start the rectangle selection.
Hilight selection
Ctrl+B to fill Selection box.
Type in // for comment.
-----Original Message-----
From: wdsci-l-bounces@xxxxxxxxxxxx
[mailto:wdsci-l-bounces@xxxxxxxxxxxx]
On
Behalf Of Kurt Anderson
Sent: Wednesday, October 19, 2011 4:41 PM
To: Rational Developer for IBM i / Websphere Development Studio Client
for
System i & iSeries
Subject: Re: [WDSCI-L] RDP 8.0.3 (Block comment)
I'm already using the block commenting. It's so quick and easy to use.
Highlight, source > comment. Boom, done. Guess that'd be 3 steps vs 7?
-Kurt
-----Original Message-----
From: wdsci-l-bounces@xxxxxxxxxxxx
[mailto:wdsci-l-bounces@xxxxxxxxxxxx]
On
Behalf Of Vern Hamberg
Sent: Wednesday, October 19, 2011 3:20 PM
To: Rational Developer for IBM i / Websphere Development Studio Client
for
System i & iSeries
Subject: Re: [WDSCI-L] RDP 8.0.3 (Block comment)
I've long had a way to comment a block - use the block selection features.
1. Put cursor in comment position of first line 2. Press Alt-R 3.
Cursor down to end of block 4. Press Alt-R again 5. Right-click 6. Type L-E-* 7.
Press Enter
Ba-da-bing!
Alt-R is for selecting a Rectangle. Steps 5-7 are for putting a fill
string into whatever the selected bit is.
For free-form, insert a cursor-right after step 3 and use // instead
of the asterisk in step 6
I use this all the time to put version markers in columns 1-5 of RPG,
also.
I do like the idea of some auto-comment as has been described. I just
probably will keep using this method, but who knows?
HTH
Vern
On 10/19/2011 4:43 AM, Paul Bailey wrote:
Just a minor whinge, but the block commenting doesn't work how I want
it
to.Ctrl+/,
To comment three lines I press Home, Shift+Down (x3), Shift+Left,
where I would expect to press Home, Shift+Down (x3), Ctrl+/ based on
the
other "selected" functions available.column
Another minor issue is that it *inserts* an asterisk at column 7 on
all selected lines (in non-FREE RPG) but I would prefer it to
overwrite
7 with an asterisk instead of moving all op-codes one character to
the right which makes things look untidy in column-specific RPG code.
Has anyone seen a preferences page somewhere for it? I can't find one.
With FREE code, it inserts // at column 8 which is fair enough, but
it still comments all the selected lines *and* the line that the
cursor is on.
-Paul
-----Original Message-----
From: wdsci-l-bounces@xxxxxxxxxxxx
[mailto:wdsci-l-bounces@xxxxxxxxxxxx] On Behalf Of Kurt Anderson
Sent: 17 October 2011 15:02
To: Rational Developer for IBM i / Websphere Development Studio
Client for System i& iSeries
Subject: Re: [WDSCI-L] RDP 8.0.3
This is by far my favorite refresh/fix-pack.
A couple content-assist issues have been fixed that I reported
(SE47725 and SE47784), as well as seeing an RFE I entered come to
life (seeing decimal positions on numeric fields in content-assist).
Very cool. And
also - block commenting! That is so sweet.--
-Kurt
-----Original Message-----
From: wdsci-l-bounces@xxxxxxxxxxxx
[mailto:wdsci-l-bounces@xxxxxxxxxxxx] On Behalf Of Richard Schoen
Sent: Saturday, October 15, 2011 12:23 PM
To: wdsci-l@xxxxxxxxxxxx
Subject: Re: [WDSCI-L] RDP 8.0.3
Any major improvements between 8.0 and 8.0.3.
Looks like a lot of bug fixes, most of which I've never run into :-)
Regards,
Richard Schoen
RJS Software Systems Inc.
Where Information Meets Innovation
Document Management, Workflow, Report Delivery, Forms and Business
Intelligence
Email: richard@xxxxxxxxxxxxxxx
Web Site: http://www.rjssoftware.com
Tel: (952) 736-5800
Fax: (952) 736-5801
Toll Free: (888) RJSSOFT
---------------------------------------------------------------------
-
message: 1
date: Fri, 14 Oct 2011 14:53:24 -0500
from: Kurt Anderson<kurt.anderson@xxxxxxxxxxxxxx>
subject: Re: [WDSCI-L] RDP 8.0.3
Thanks for the response, Eric. I look forward to the notice that
it's available.
Thanks,
Kurt
--
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.
--
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 e-mail 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.
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.
--
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.
________________________________
Notice from Bob Evans Farms, Inc: This e-mail message, including any
attachments, may contain confidential information that is intended
only for the person or entity to which it is addressed. Any
unauthorized review, use, disclosure or distribution is strictly
prohibited. If you are not the intended recipient, please contact the
sender by reply e-mail and destroy all copies of the original message
and any attachments.
--
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.
--
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.
--
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.
--
Jeff Crosby
VP Information Systems
UniPro FoodService/Dilgard
P.O. Box 13369
Ft. Wayne, IN 46868-3369
260-422-7531
www.dilgardfoods.com
The opinions expressed are my own and not necessarily the opinion of my company. Unless I say so.
--
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.
--
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 e-mail 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.
--
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 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.