Additionally,

System.out....

Whenever I call the auto complete on that particular case, depending on where in the list I am in the completion value may be off between 2-5 methods. So it does seem that the extra fields that are in the list ( the greyed out sections) are altering the index somehow. Maybe I am wrong about this completely, but this does seem like a different behavior than on PC / UNIX widgets.


Regards, Dave

On Friday, March 14, 2003, at 10:23 PM, David Raphael wrote:

It fixed the problem partially. I am the kind of guy that would like to help myself ;) So if you could point me to a quick-and-dirty boot-camp for this Lisp syntax I would appreciate that.

It looks like the index of the selection is off by 2. When you select an item and press enter, it selects the item 2 rows above it.

Seems like a simple problem to fix. This looks like it is because OS X adds this extra grey title and a space underneath it. I dunno. Sounds good ;)

/D

On Friday, March 14, 2003, at 04:10 AM, David PONCE wrote:

Hi David,

[...]
Whenever I user C-c C-v C-. The drag down menu appears, but when I hit
Enter nothing happens and I recieve an imenu internal bug message.


Message:
Semantic Imenu override problem. (Internal bug) [2 times]
[...]

In Emacs 21.3.50, imenu implementation has changed.  As JDEE's menu
completion delegates the menu creation to imenu it is impacted.  I
did the following change to jde-complete.el to fix that:

*** jde-complete.el.ori Tue Feb 25 08:13:09 2003
--- jde-complete.el     Tue Feb 25 09:08:48 2003
***************
*** 809,819 ****
                (car index-alist)
              (if use-menu
                  ;; delegates menu handling to imenu :-)
!                 (imenu--mouse-menu
!                  index-alist
!                  ;; Popup window at text cursor
!                  (jde-cursor-posn-as-event)
!                  (or title "Completion"))
                (assoc (completing-read (or title "Completion: ")
                                        index-alist
                                        nil ;;predicate
--- 809,825 ----
                (car index-alist)
              (if use-menu
                  ;; delegates menu handling to imenu :-)
!                 (let* ((jde-complete-selected-item nil)
!                        (imenu-default-goto-function
!                         #'(lambda (name pos &rest rest)
!                             (setq jde-complete-selected-item
!                                   (cons name pos)))))
!                   (imenu--mouse-menu
!                    index-alist
!                    ;; Popup window at text cursor
!                    (jde-cursor-posn-as-event)
!                    (or title "Completion"))
!                   jde-complete-selected-item)
                (assoc (completing-read (or title "Completion: ")
                                        index-alist
                                        nil ;;predicate

Does it fix your problem?

David









Reply via email to