That works well! For those interested, registering an LPEX Editor / User Command of name = detab, class = was all that was required (along with entering the command detab at the LPEX command line).

Do you think that it would be fairly easy to extend LPEX further by making the detab command run automatically whenever a source member is saved?



-----Original Message-----
From: adrian [mailto:stori@xxxxxxxxxx]
Sent: Monday, December 15, 2008 2:07 PM
To: wdsci-l@xxxxxxxxxxxx
Subject: Re: [WDSCI-L] LPEX - converting tabs to spaces

You must register the sample "detab" command from Window > Preferences >
LPEX Editor > User Commands. By default, the command uses the current
tabs setting.

For more information on detab, enter this on any LPEX command line:


For help on the tabs parameter:


Michael Jones wrote:
In WDSC 7, is there an easy way in LPEX to convert tabs to spaces when editing or saving the source member?

I'd like the source to be indented properly if someone views the source with SEU or another editor with different tab settings.

The information contained in this email is intended only for the individual to whom it is addressed. It may contain privileged and/or confidential information.If you have received this message in error please notify the sender immediately and delete the message from your computer. The unauthorised use, disclosure, copying or alteration of this message is forbidden. The sender will not be liable for direct, special, indirect or consequential damage as a result of any virus being passed on, or arising from alteration of the contents of this message by a third party.

As an Amazon Associate we earn from qualifying purchases.

This thread ...


Follow On AppleNews
Return to Archive home page | Return to MIDRANGE.COM home page

This mailing list archive is Copyright 1997-2022 by 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.