Re: IDLWAVE routine info problem [message #47469] |
Fri, 10 February 2006 09:30  |
JD Smith
Messages: 850 Registered: December 1999
|
Senior Member |
|
|
On Fri, 10 Feb 2006 03:43:08 -0800, lbusett@yahoo.it wrote:
> Hi all,
>
> I'm trying to install IDLWAVE on my windows XP PC, but I'm having
> some problems. I installed Xemacs (last version) and i also updated the
> IDLWAVE package to version 5.6, and all seems to work correctly until i
> try to use the help or the auto-completion function: the problem is that
> only some of the IDL procedures are "available".
>
> For example, if i write "d" and then "ESC + TAB" for autocompletion, i
> can't find the "DIALOG_PICKFILE" procedure(see below):
>
>> Possible completions are:
>> define_key dendro_plot dlm_load define_msgblk dendrogram
>> dlm_register define_msgblk_from_file device doc_library defsysv
>> dfpmin draw_roi
>> delvar dissolve
>
> The results are strange: for example, I can get "WIDGET_CONTROL", but not
> "WIDGET_BASE".
>
> What am I doing wrong ? Do i need to update in some way the routine-info
> files ? If so , how can I do it (I'm completely new with emacs/xemacs) ?
IDLWAVE understands the difference between procedures and functions.
You are trying to complete a procedure, whereas DIALOG_PICKFILE is a
function, so it doesn't show up in the list. Try:
f=dia[M-Tab]
and DIALOG_PICKFILE should show up. IDLWAVE actually understands the
completion context of many different things. The current list is (for
point at the `_'):
plo_ Procedure
x = a_ Function
plot,xra_ Keyword of plot procedure
plot,x,y,/x_ Keyword of plot procedure
plot,min(_ Keyword of min function
obj -> a_ Object method (procedure)
a[2,3] = obj -> a_ Object method (function)
x = obj_new('IDL_ Class name
x = obj_new('MyCl',a_ Keyword to Init method in class MyCl
pro A_ Class name
pro _ Fill in Class:: of first method in this file
!v_ System variable
!version.t_ Structure tag of system variable
self.g_ Class structure tag in methods
state.w_ Structure tag, if tag completion enabled
name = 'a_ File name (default inside quotes)
You can also force the IDLWAVE completion context, e.g. using the menu
IDLWAVE->Complete->Complete Specific. Of course, if you complete
DIALOG_PICKFILE as a function but call it as a procedure, IDL will
complain and it won't work. Usually IDLWAVE knows best.
JD
|
|
|
|
|
Re: IDLWAVE routine info problem [message #47742 is a reply to message #47603] |
Wed, 22 February 2006 01:39  |
lbusett@yahoo.it
Messages: 30 Registered: February 2006
|
Member |
|
|
Hi JD,
I'm sorry that my question wasn't clear: What I'd like to know is if
in IDLWAVE it is possible to highlight the calls to built-in functions
or procedures like it happens in the IDLDE environment (e.g. when i
write "plot, X,Y", the word "plot" is highlighted in blue).
Thanks for the help,
Lorenzo
|
|
|