|
Glad the tip helped. As for Ctrl+M - thanks for pointing that one out to me. I didn't know about it. In terms of changing behaviour, you can specify a user action for this combo (c-m). If you type "query keyAction.c-m" in the LPEX editor command line, you will see that the action set for that key combination is 'match'. The documentation for this action does not specify how it determines what type of selection to use - there is a property (current.block.defaultType) which can be used to change the default selection type (stream, character, element or rectangle). From my testing it seems that the match default editor action does not reference this property. My guess is that the only way to do this would be to create a custom editor action. Can anyone confirm this? Adam Chris wrote on 27/03/2006 09:15:01 AM: > Cool tip. ?, is there a way to change CTL-M (if IF/DO/FOR etc) to use block > select insted of the default select it uses? > > Mike - For block indentation, you can create a 'User Key Action': > > Window->Preferences->LPEX Editor->User Key Actions. Then type 'c-tab' (no > > quotes) into the 'Key' field and 'blockShiftRight' (again, no quotes) into > > the 'Action' field. The once you have selected a block of text (you > > *must* to use block select) you can now hit 'Ctrl+Tab' to indent your > > code. I'm not familiar with the SEU option but this works well for me. > > > > You can similarly define 'blockShiftLeft' to unindent. I use > > Ctrl+Shift+Tab (c-s-tab in LPEXese) for this. > > > > > > > > > > > > > > > > > > > -- > 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. 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 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.