Yura, I suggest that Autoscroll from Source always select in the Structure view the tree node that corresponds to the cursor's position in the Source view.
The value of Autoscroll from Source is navigational. It tells me where I am. When I click in the class declaration but the Structure view continues to assert that I'm in a method, I know it's not true, so my faith in the program is shaken. /Jim -----Original Message----- From: Yura Cangea [mailto:[EMAIL PROTECTED]] Sent: Friday, March 01, 2002 7:48 AM To: Jim White Subject: Re: [Eap-list] Bugs in Autoscroll from Source Tool in Structure View Hello Jim, > 1. Selecting the class declaration in the Source view does not select the > class declaration in the Structure view. It's not a bug, do you think it would be useful to select the class when the caret is in its declaration ? > 2. Intuitively, one would think that the boundaries between methods, for > purposes of autoscrolling, would coincide with the method separators > (whether visually displayed or not). This is not the case. Placing the > cursor in the comment lines between members doesn't scroll the > Structure view as the method separators would predict. Autoscroll from source only works when the caret is inside a method or in a method/field's declaration. Best regards, Yura Cangea ---------------------------------- JetBrains, Inc / IntelliJ Software http://www.intellij.com "Develop with pleasure" ---------------------------------- ----- Original Message ----- From: Jim White [ mailto:[EMAIL PROTECTED] ] Sent: Thursday, February 28, 2002 7:22:44 PM Subject: [Eap-list] Bugs in Autoscroll from Source Tool in Structure View > The new Autoscroll from Source tool in the Structure view is a wonderful > addition. However, it has the following characteristics, which I'd describe > as bugs: > 1. Selecting the class declaration in the Source view does not select the > class declaration in the Structure view. > 2. Intuitively, one would think that the boundaries between methods, for > purposes of autoscrolling, would coincide with the method separators > (whether visually displayed or not). This is not the case. Placing the > cursor in the comment lines between members doesn't scroll the > Structure view as the method separators would predict. > /Jim > _______________________________________________ > Eap-list mailing list > [EMAIL PROTECTED] > http://www.intellij.com/mailman/listinfo/eap-list _______________________________________________ Eap-list mailing list [EMAIL PROTECTED] http://www.intellij.com/mailman/listinfo/eap-list _______________________________________________ Eap-list mailing list [EMAIL PROTECTED] http://www.intellij.com/mailman/listinfo/eap-list
