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

Home » Public Forums » archive » Re: IDL workbench, inheritance, content assist/autocomplete
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
Re: IDL workbench, inheritance, content assist/autocomplete [message #67233] Mon, 20 July 2009 14:16
Michael Galloy is currently offline  Michael Galloy
Messages: 1114
Registered: April 2006
Senior Member
Justin wrote:
> I am using the IDL editor supplied with IDL 7.0 on windows. One issue
> I have encountered is that the content assist/autocomplete provides an
> incomplete list of methods available to an object.
>
> For example..
>> .RESET_SESSION
>> iimage, VIEW_GRID[2,1]
>> idTool = ITGETCURRENT(TOOL=oTool)
>> idView = oTool->FindIdentifiers('*VIEW_2')
>> oView = oTool->GetByIdentifier(idView)
> 'oView->' will at this point list 33 methods (no select method)
>> oView->Select
>
> It could be possible that I dont fully understand IDL inheritance and
> that autocomplete/content assist is performing this way for a reason.
> However, I've never had a problem with autocomplete listings when
> inheriting from my own user created classes.
>
> I would like to get a full autocomplete feature or have the option of
> listing methods I want listed. Does anyone know of a solution to the
> issue I'm having?

The oview object is of class IDLitgrView and the select method is
defined in that class i.e. not inherited. The content assist doesn't
seem to find any methods that are defined in IDLitgrView, but only picks
up the inherited ones. There are some odd (but legal) formatting for the
comments at the beginning of the file. I fixed a couple lines and it
works -- it must cache it because it still works for me even after I put
the original file back.

Mike
--
www.michaelgalloy.com
Associate Research Scientist
Tech-X Corporation
  Switch to threaded view of this topic Create a new topic Submit Reply
Previous Topic: IDL workbench, inheritance, content assist/autocomplete
Next Topic: IDLgrROI bug

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

Current Time: Fri Oct 10 11:37:36 PDT 2025

Total time taken to generate the page: 0.31010 seconds