I use a similar method for commenting blocks.  If I need to comment a 
large number of lines, but some skip some, I use the block select as 
detailed by Adrian, and then the Selected > Overlay with Selection option 
(shortcut Alt+Z).

Start by commenting out a few lines manually.  Then rectangle select >1 
lines of *****.  I usually try to guess the smallest block I'll be 
commenting at a time - usually two or three lines.  Then, you can cursor 
down to the next block you need to comment, and hit Alt+Z, repeating as 
necessary.

HTH,
Adam

wdsci-l-bounces@xxxxxxxxxxxx wrote on 20/09/2006 11:44:04 AM:

1.- The OO command should work in LPEX as well.

2.- Paste should also work.  Ensure you set "Column sensitive editing", 
so the original lines are not shifted right.

2.- In LPEX you can select a rectangle block (Alt+R at each of its two 
diagonally-opposite corners), then Esc to go to the LPEX command line 
and enter:

   block fill *

or alternatively, after the rectangle selection was done, right-mouse 
click to bring up the pop-up menu, Selected > Fill selection > *.

David Foxwell wrote:
When we comment out blocks of code, we use "*****"  in column 7.
I can't do this efficiently in LPEX. Instead, I have to leave 
LPEX, open the member in SEU, create a line with **** and copy this 
line over the lines of code with "OO".
This is totally ridiculous. There must be another way. 

-- 
This is the Websphere Development Studio Client for 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.


#####################################################################################
Attention:
The above message and/or attachment(s) is private and confidential and is 
intended 
only for the people for which it is addressed. If you are not named in the 
address 
fields, ignore the contents and delete all the material. Thank you. Have a nice 
day.

For more information on email virus scanning, security and content
management, please contact administrator@xxxxxxxxxxxx
#####################################################################################

As an Amazon Associate we earn from qualifying purchases.

This thread ...

Follow-Ups:
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.