Community
Participate
Working Groups
When I uncheck the "Link With Editor" Action in the outline, Editor and outline is still linked. I test it with ruby editor and tcl editor with eclipse indigo. I have a look to the code and I see that the "ToggleLinkingAction" modifies the PreferenceConstants.EDITOR_SYNC_OUTLINE_ON_CURSOR_MOVE in the DLTKUI preference store. see : org.eclipse.dltk.internal.ui.editor.ScriptOutlinePage.ToggleLinkingAction.run() Editor checks the same preference but not in the same preference store. it checks in its composite store which does not contain the DLTKUI preference store. see : org.eclipse.dltk.internal.ui.editor.ScriptEditor.createCombinedPreferenceStore(IEditorInput) I suppose DLTKUI preference store should be add to the editor composite store or the ToggleLinkingAction should use the outline preference which is the same that the ScriptEditor. Futhermore, I thought the EDITOR_SYNC_OUTLINE_ON_CURSOR_MOVE default value should be true.
This bug is still present in Eclipse 4.2.0. Use case is rare, but a few moments ago I was very happy to discover the "Link with Editor" menu item in the Outline view - and then got disappointed that it does not work.
Fixed
Great, thank you! Whats the expected Eclipse release that corresponds to DLTK 5.0 (target milestone)?
DLTK 5.0 is going to be part of simultaneous Kepler release in June 2013. The fix will be in the nearest milestone builds - not sure if it's enough time for M2, but M3 for sure.