|
Here is a tip, The most productive way to use the editor is to use line-based selection (most frequent in languages such as RPG and DDS) Alt-U unselect everything Alt-L - First time selects a single line and makes it the anchor if you want to select a range of lines - Second time selects the range of lines from the line that you set as anchor with the first Alt-L Alt-C - copy the selected lines to after the cursor Alt-M - move the lines to after the cursor These commands will work across documents as well. --------------------------------------------------------------------------------------------- Edmund Reinhardt, AS/400 AD Tools, reinhard@xxxxxxxxxx Dept 607, IBM Canada Lab TL 969-4392 Phone 905-413-4392 "John Larimer" <jklarimer@hotmai l.com> To Sent by: "'CODE/400 Discussion & code400-l-bounces Support'" <code400-l@xxxxxxxxxxxx> +edmund.reinhardt cc =ca.ibm.com@midra nge.com Subject RE: Unwanted sticky selections 10/03/2006 03:09 PM Please respond to "CODE/400 Discussion & Support" <code400-l@midran ge.com> Dave: Vern's reply jogged my memory for how I set up my environment. I have the following code in my PROFSYS.LXU file which sets the right click mouse menu and also sets the select mode to 'element'. 'set popupmenu.Mouse_Button1_Function.Whole_Element_Select_(ELEM) macro elem' 'set popupmenu.Mouse_Button1_Function.Rectangle_Block_Select_(RECT) macro rect' 'set popupmenu.Mouse_Button1_Function.Stream_Select_(STREAM) macro stream' 'set blockdefaulttype element' The options for blockdefaulttype are: [stream|character|element|rectangle] For the mouse pop-ups to work with the macros, I think you have to issue the command EXTRAS ON. This works great for me, maybe it will help you. John -----Original Message----- From: code400-l-bounces@xxxxxxxxxxxx [mailto:code400-l-bounces@xxxxxxxxxxxx] On Behalf Of vhamberg@xxxxxxxxxxx Sent: Friday, March 10, 2006 11:46 AM To: CODE/400 Discussion & Support Subject: Re: Unwanted sticky selections This has been this way forever - there's some reason for this, lost in recent antiquity. ;-) There are a couple copy modes that have an affect - rectangle, character, and line. And various special key sequences that move, copy, delete, etc., the selection. This goes back to other editors, I believe. When I run into the thing you describe, I just use Alt-U, which unselects. It's probably related to how I cannot click on the position right after a selection to unselect, as I can in almost every other editor I know of. Someone at IBM kind of explained this, but it is frustrating. I mean, I have just selected the thing, I don't really want the selection, I should be able to clear the selection by clicking where I am, without having to move the mouse. But not with RSE LPEX. Learn to love Alt-U - it is your friend! Oy! -------------- Original message -------------- From: Dave Murvin <davem@xxxxxxxx> > I have been having problem with "sticky" selections. If I double > click on some code, the code segment is selected. Then if I single > click on some other line of code, the code previously selected is not > unselected, or the selection is moved to the line I single clicked > on. Sometimes the selection grows to select multiple lines. This is > making my use of cut and paste very hard to use. Its almost like the > selection logic has a mind of it's own. The menu selection > Edit/Deselect all will clear the selections. > > Is there some setting or fix for this? I am on Version 6.0 > > Thanks. > > Dave Murvin > DRM Enterprises, Inc. > > > _______________________________________________ > This is the CODE/400 Discussion & Support (CODE400-L) mailing list > To post a message email: CODE400-L@xxxxxxxxxxxx > To subscribe, unsubscribe, or change list options, > visit: http://lists.midrange.com/mailman/listinfo/code400-l > or email: CODE400-L-request@xxxxxxxxxxxx > Before posting, please take a moment to review the archives > at http://archive.midrange.com/code400-l. > > NOTE: WDSc for iSeries discussion has it's own mailing list. > Information can be found at http://lists.midrange.com/cgi-bin/listinfo/wdsci-l > _______________________________________________ This is the CODE/400 Discussion & Support (CODE400-L) mailing list To post a message email: CODE400-L@xxxxxxxxxxxx To subscribe, unsubscribe, or change list options, visit: http://lists.midrange.com/mailman/listinfo/code400-l or email: CODE400-L-request@xxxxxxxxxxxx Before posting, please take a moment to review the archives at http://archive.midrange.com/code400-l. NOTE: WDSc for iSeries discussion has it's own mailing list. Information can be found at http://lists.midrange.com/cgi-bin/listinfo/wdsci-l _______________________________________________ This is the CODE/400 Discussion & Support (CODE400-L) mailing list To post a message email: CODE400-L@xxxxxxxxxxxx To subscribe, unsubscribe, or change list options, visit: http://lists.midrange.com/mailman/listinfo/code400-l or email: CODE400-L-request@xxxxxxxxxxxx Before posting, please take a moment to review the archives at http://archive.midrange.com/code400-l. NOTE: WDSc for iSeries discussion has it's own mailing list. Information can be found at http://lists.midrange.com/cgi-bin/listinfo/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.