Community
Participate
Working Groups
Build Identifier: 20110615-0604 As posted on the forums: http://www.eclipse.org/forums/index.php/t/218948/ I open FileA.txt, check "Link with Editor" in the outline. It's working. Then I open FileB.txt, "Link with Editor" is still checked, but nothing happens when I navigate through the lines in the editor. If I uncheck "Link with Editor", and check it again, it's working again. Reproducible: Always Steps to Reproduce: 1. Open a file, check "Link with Editor" 2. Open another file and do something in the editor which should trigger an outline change 3. uncheck and check "Link with editor" again, then again do something affecting the outline
I also experienced the same problem with our editor.
Looking at the code, looks like fLinkingEnabled has the wrong state. I wonder why we need to maintain a fLinkingEnabled state for each of the OutlineWithEditorLinker? Wouldn't it work if you just query the preference store for the latest preference setting before setting selection in the text/tree viewer?
Just to confirm. This is targeted for SR2, does that mean this is targeted to the next 2.0 service release in Sept? Thanks...
It will not be a service release but a full release (2.1) including new functionality and API. It is planned to be released in mid October.
(In reply to comment #2) > I wonder why we need to maintain a fLinkingEnabled state for each of the > OutlineWithEditorLinker? Wouldn't it work if you just query the preference > store for the latest preference setting before setting selection in the > text/tree viewer? Selection events are quite frequent and AFAIK the preference store is much more than just a map, so caching this state might make sense Fix pushed to MASTER.
Closing all bugs that were set to RESOLVED before Neon.0