comp.lang.idl-pvwave archive
Messages from Usenet group comp.lang.idl-pvwave, compiled by Paulo Penteado

Home » Public Forums » archive » How to Auto Insert IDL 7 Template
Show: Today's Messages :: Show Polls :: Message Navigator
E-mail to friend 
Switch to threaded view of this topic Create a new topic Submit Reply
How to Auto Insert IDL 7 Template [message #58019] Wed, 09 January 2008 09:02 Go to next message
Ryan. is currently offline  Ryan.
Messages: 77
Registered: March 2006
Member
Hi All,

Does anyone know how to get the 'Auto Insert' Feature to work in IDL
7? I've set them in Window->Preferences->IDL->Templates to "ON" but
can't figure out how it works. Is there some special keystroke I
need?

Thanks,
Ryan.
Re: How to Auto Insert IDL 7 Template [message #58056 is a reply to message #58019] Fri, 11 January 2008 09:55 Go to previous messageGo to next message
David Fanning is currently offline  David Fanning
Messages: 11724
Registered: August 2001
Senior Member
David Fanning writes:

> David Fanning writes:
>
>> I presume this is part of the Auto Insert business that has
>> to be turned on for the Templates. Do I have that right?
>>
>> If so, how do I get that to work? Do I type the name of the
>> template? The first characters of the line of the template?
>> I've tried everything I can think of to do, all without
>> success.
>
> Ah, never mind. I misunderstood how this was suppose
> to happen. (Assumptions were blinding me to your
> limpid prose. :-)
>
> All is good now. Thanks.

Well, maybe not. Can someone explain to me how the
Auto Insert functionality changes anything? I find
the same behavior with all of the templates, and even
those I make myself, whether or not this attribute
is turned on or off.

Thanks,

David
--
David Fanning, Ph.D.
Fanning Software Consulting, Inc.
Coyote's Guide to IDL Programming: http://www.dfanning.com/
Sepore ma de ni thui. ("Perhaps thou speakest truth.")
Re: How to Auto Insert IDL 7 Template [message #58058 is a reply to message #58019] Fri, 11 January 2008 09:25 Go to previous messageGo to next message
David Fanning is currently offline  David Fanning
Messages: 11724
Registered: August 2001
Senior Member
David Fanning writes:

> I presume this is part of the Auto Insert business that has
> to be turned on for the Templates. Do I have that right?
>
> If so, how do I get that to work? Do I type the name of the
> template? The first characters of the line of the template?
> I've tried everything I can think of to do, all without
> success.

Ah, never mind. I misunderstood how this was suppose
to happen. (Assumptions were blinding me to your
limpid prose. :-)

All is good now. Thanks.

David
--
David Fanning, Ph.D.
Fanning Software Consulting, Inc.
Coyote's Guide to IDL Programming: http://www.dfanning.com/
Sepore ma de ni thui. ("Perhaps thou speakest truth.")
Re: How to Auto Insert IDL 7 Template [message #58220 is a reply to message #58056] Wed, 16 January 2008 09:30 Go to previous message
Douglas G. Dirks is currently offline  Douglas G. Dirks
Messages: 10
Registered: October 2006
Junior Member
David Fanning wrote:
> David Fanning writes:
>
>> David Fanning writes:
>>
>>> I presume this is part of the Auto Insert business that has
>>> to be turned on for the Templates. Do I have that right?
>>>
>>> If so, how do I get that to work? Do I type the name of the
>>> template? The first characters of the line of the template?
>>> I've tried everything I can think of to do, all without
>>> success.
>> Ah, never mind. I misunderstood how this was suppose
>> to happen. (Assumptions were blinding me to your
>> limpid prose. :-)
>>
>> All is good now. Thanks.
>
> Well, maybe not. Can someone explain to me how the
> Auto Insert functionality changes anything? I find
> the same behavior with all of the templates, and even
> those I make myself, whether or not this attribute
> is turned on or off.
>
> Thanks,
>
> David

It turns out that the IDL Workbench is not honoring the "Automatically
Insert" checkbox on the Template editor dialog. Instead, it *always*
inserts the template if the subset of the name typed is unambiguous.

This is logged as a problem to be fixed in an upcoming release.

In the meantime, if you want the template to *not* be inserted
automatically, you'll have to stop typing before you've typed enough
of the name for it to be unambiguous.

Sorry for the confusion,
Doug

----------------
Douglas G. Dirks
IDL Documentation Group * ITT Visual Information Solutions
4990 Pearl East Circle * Boulder, CO 80301
ddirks@ittvis.com
  Switch to threaded view of this topic Create a new topic Submit Reply
Previous Topic: Why cannot IDL7.0 create widget with chinese characters?
Next Topic: Format of contour labels?

-=] Back to Top [=-
[ Syndicate this forum (XML) ] [ RSS ] [ PDF ]

Current Time: Wed Oct 08 19:24:51 PDT 2025

Total time taken to generate the page: 0.00718 seconds