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



I have several snippets that I use for nearly every program that I write and have just learned to live with the alignment issues in P and D specs in subprocedures that arise when using variables and placeholders. However, I just created a snippet that is completely free-form calc specs (by pasting in code from an existing program), created two variables, and inserted the placeholders into the code. When I insert the snippet into my program, the first line is positioned at the cursor and all of the following lines are adjusted all the way to the left, which of course generates a bunch of pink error messages and forces me to block that section of the code and adjust it to the proper position. I tried to paste the block of code into the snippet using ALT/R to mark the block and ALT/Z to paste it into the snippet, but ALT/Z is not recognized there. The only way I have found so far to remedy this is to add a bunch of spaces to the front of lines 2-5 in the snippet (so the if/endif statements don't line up in the snippet). Does anyone else have a better solution? There has been a lot of discussion about pasting into the editor but shouldn't snippet insert with correct alignment?

As an Amazon Associate we earn from qualifying purchases.

This thread ...

Follow-Ups:

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.