|
I forget to also mention that if you want to shift a single line it would be Rx or Lx. Omitting the x shifts one column. Glad to help. Rick -----Original Message----- From: wdsci-l-bounces@xxxxxxxxxxxx [mailto:wdsci-l-bounces@xxxxxxxxxxxx]On Behalf Of Vern Hamberg Sent: Thursday, September 02, 2004 10:56 AM To: Websphere Development Studio Client for iSeries Subject: RE: [WDSCI-L] Reformat entire CL in RSE? Oh, that's even better. Autoformat has to be on to do this. And, since autoformat does not handle comments, filtering the view to code only is pretty cool for this. Thanks much Vern At 10:24 AM 9/2/2004, you wrote: >Vern, > >If I understand correctly what you are accomplishing with this example you >can also use the old fashioned PDM commands. Type RRxx (xx being the >number of columns to shift right) on the first and last lines of the code >you want to shift. Press ENTER and they will shift xx number of >columns. You can shift left using LL. > >HTH, > >Rick > >-----Original Message----- >From: wdsci-l-bounces@xxxxxxxxxxxx >[mailto:wdsci-l-bounces@xxxxxxxxxxxx]On Behalf Of Vern Hamberg >Sent: Thursday, September 02, 2004 9:40 AM >To: Websphere Development Studio Client for iSeries >Subject: [WDSCI-L] Reformat entire CL in RSE? > > >I like a lot about the CL formatting in 5.1.2. I was looking for a way to >reformat an entire source or selection according to the autoformat >settings. Did not see any but found a way - sort of: > >- Position the cursor in column 1 of the first row you want to reformat > >- Press Alt-R to start a rectangle selection > >- Position the cursor in any column of the last row you want to reformat > >- Press Alt-R again to finish the rectangel selection > >- Right click in the selection > >- Under Selected-> click the option to move selection to the right > >Voila! > >How about a better way, however? > >Thanks >Vern > > >_______________________________________________ >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. > >_______________________________________________ >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. _______________________________________________ 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.
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.