× The internal search function is temporarily non-functional. The current search engine is no longer viable and we are researching alternatives.
As a stop gap measure, we are using Google's custom search engine service.
If you know of an easy to use, open source, search engine ... please contact support@midrange.com.



You're right - the 'match' action currently enforces a character selection rather than using the block.defaultType (what one would indeed expect). This was done because a rectangle selection will look weird in most cases, while a stream selection is a bit 'dangerous' (pressing a key will delete its text)...

On the same subject - note that there is a Ctrl+Shift+M key as well, which merely jumps to the matching bracket (key c-s-m, action findMatch).

AGlauser@xxxxxxxxxxxx wrote:
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?


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.