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



Are you saying that you don't write your snippets for insertion at column 1? I've always treated them as full lines, and haven't had any alignment issues.

Dave Shaw
Sent from my Windows phone

-----Original Message-----
From: "Terry Hertel" <T.Hertel@xxxxxxxxxxxxxxxxx>
Sent: ‎6/‎26/‎2015 4:22 PM
To: "wdsci-l@xxxxxxxxxxxx" <wdsci-l@xxxxxxxxxxxx>
Subject: [WDSCI-L] Snippets

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