× 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.



John

Thanks for looking at this. I used the split/join combination - it's too tedious fro me.

It works well for me to copy the text into TextPad, do the reformat, then paste back into CODE. In TextPad, it's select the lines and a Ctrl-Shift-J. If there's a blank line both before and after, it's just Shift-Ctrl-J. In fact, it advances to the blank line following, then to the next paragraph it I repeat the keyboard shortcut. Very fast, very neat.

I regret my feeling that CODE and probably the RSE LPEX editor will continue to show their early roots and not have some of these very nice features that more recent things have.

Cheers

Vern

At 02:03 PM 6/20/2003 -0700, you wrote:
Vern:

Thanks for the clarification.

I think I would still do it with recorded macros to be quick. Something like - start on the last line home position, cursor up, end, Alt-J, home (repeat).....

To split the lines, cursorpos 80, ctrl-left, Alt-S, down, home (repeat).

I don't have a macro that does exactly what you want but Vincent Greene wrote a comments macro a while back that has a function for formatting a long string of text into comments. Maybe you could modify it for your purpose. Let me know if you want a copy.

I think the tricky bit will be selecting the text you want to process. I never figured out how to just process text that is highlighted. Most of my macros process the entire file from the starting location or a single line at a time.

John



As an Amazon Associate we earn from qualifying purchases.

This thread ...

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.