At 12:13 PM 8/27/00 EDT, Daniel Hegyi wrote:
>Hi,
>
>Is there a way of having the speedbar display the current position of the
>cursor, that is, expand the class and highlight the method or variable on
>which the cursor is currently on? I think that this would be a very useful
>functionality. The speedbar would need not do this constantly, but it would
>be nice if a certain keystroke would cause it to locate the cursor in its
>tree structure.
>
In Emacs, you can do anything if you are willing to write some lisp. Short
of that, the answer is no.
>
>Thanks,
>Daniel
>
>P.S. Does anybody know how to get which-func-mode running in jde?
>
No. which-func-mode relies relies on imenu and assumes that the imenu is a
simple linear list of functions. The JDE version of imenu is much more
elaborate to accommodate Java's association of methods with classes.
Therefore, which-func-mode does not work in a JDE buffer.
The next release of the JDE will include a which-method mode that displays
the class and method in which the cursor is currently located in the
mode-line of a JDE buffer.
- Paul