Mercurial > emacs
comparison lisp/progmodes/idlwave.el @ 60925:a9c571ede913
* progmodes/cperl-mode.el, progmodes/idlw-shell.el,
progmodes/idlwave.el, progmodes/vhdl-mode.el: Replace `legal' with
`valid'.
author | Werner LEMBERG <wl@gnu.org> |
---|---|
date | Fri, 25 Mar 2005 10:06:23 +0000 |
parents | 87f9bb9d3718 |
children | 7f40f404ef37 2006100ee57e 4da4a09e8b1b |
comparison
equal
deleted
inserted
replaced
60924:fb2b49a3a4e0 | 60925:a9c571ede913 |
---|---|
583 | 583 |
584 | 584 |
585 (defcustom idlwave-completion-show-classes 1 | 585 (defcustom idlwave-completion-show-classes 1 |
586 "*Number of classes to show when completing object methods and keywords. | 586 "*Number of classes to show when completing object methods and keywords. |
587 When completing methods or keywords for an object with unknown class, | 587 When completing methods or keywords for an object with unknown class, |
588 the *Completions* buffer will show the legal classes for each completion | 588 the *Completions* buffer will show the valid classes for each completion |
589 like this: | 589 like this: |
590 | 590 |
591 MyMethod <Class1,Class2,Class3> | 591 MyMethod <Class1,Class2,Class3> |
592 | 592 |
593 The value of this variable may be nil to inhibit display, or an integer to | 593 The value of this variable may be nil to inhibit display, or an integer to |
5336 (defvar idlwave-current-obj_new-class nil) | 5336 (defvar idlwave-current-obj_new-class nil) |
5337 (defvar idlwave-complete-special nil) | 5337 (defvar idlwave-complete-special nil) |
5338 | 5338 |
5339 (defun idlwave-complete (&optional arg module class) | 5339 (defun idlwave-complete (&optional arg module class) |
5340 "Complete a function, procedure or keyword name at point. | 5340 "Complete a function, procedure or keyword name at point. |
5341 This function is smart and figures out what can be legally completed | 5341 This function is smart and figures out what can be completed |
5342 at this point. | 5342 at this point. |
5343 - At the beginning of a statement it completes procedure names. | 5343 - At the beginning of a statement it completes procedure names. |
5344 - In the middle of a statement it completes function names. | 5344 - In the middle of a statement it completes function names. |
5345 - after a `(' or `,' in the argument list of a function or procedure, | 5345 - after a `(' or `,' in the argument list of a function or procedure, |
5346 it completes a keyword of the relevant function or procedure. | 5346 it completes a keyword of the relevant function or procedure. |
7727 | 7727 |
7728 ;; Return the final list | 7728 ;; Return the final list |
7729 keywords)) | 7729 keywords)) |
7730 | 7730 |
7731 (defun idlwave-expand-keyword (keyword module) | 7731 (defun idlwave-expand-keyword (keyword module) |
7732 "Expand KEYWORD to one of the legal keyword parameters of MODULE. | 7732 "Expand KEYWORD to one of the valid keyword parameters of MODULE. |
7733 KEYWORD may be an exact match or an abbreviation of a keyword. | 7733 KEYWORD may be an exact match or an abbreviation of a keyword. |
7734 If the match is exact, KEYWORD itself is returned, even if there may be other | 7734 If the match is exact, KEYWORD itself is returned, even if there may be other |
7735 keywords of which KEYWORD is an abbreviation. This is necessary because some | 7735 keywords of which KEYWORD is an abbreviation. This is necessary because some |
7736 system routines have keywords which are prefixes of other keywords. | 7736 system routines have keywords which are prefixes of other keywords. |
7737 If KEYWORD is an abbreviation of several keywords, a list of all possible | 7737 If KEYWORD is an abbreviation of several keywords, a list of all possible |