Skip to main content

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index] [List Home]
AW: [cdt-dev] BestMatchHover gets called regardless of preferencesettings

some things I figured out by myself so far:
- The code which evaluates the "enabled" property from the preferences is in org.eclipse.cdt.internal.ui.text.CSourceViewerConfiguration.getTextHover(ISourceViewer, String, int)
- Preference changes take effect when the editor is closed and reopened.
Still looks like preference changes are not applied immediately i.e. to already open editors. This is still not nice, but it is a minor problem from my perspective.

Von: cdt-dev-bounces@xxxxxxxxxxx [mailto:cdt-dev-bounces@xxxxxxxxxxx] Im Auftrag von Ploett, Norbert
Gesendet: Montag, 11. September 2006 09:56
An: CDT General developers list.
Betreff: [cdt-dev] BestMatchHover gets called regardless of preferencesettings

Hi folks,
we are currently trying to figure out how the diverse text hovers (extension point org.eclipse.cdt.ui.textHovers) can be controlled from the preference settings (C/C++ -> Editor -> Tab Hovers)
The thing is that even if I disable all hovers in the preferences then still the BestMatchHover gets called. The BestMatchHover seems to go through a list of hovers in a predefined order and just return the first string that a hover returns. Neither in the BestMatchHover nor in the other implementations of the called hovers (CSourceHover, CDocHover, DebuggerTextHover, AnnotationHover) have I found any code that seems to be evaluating the preferences so all in all they seem to be without effect.
This is a bug. Is this a bug?
Thanks for more information,
Norbert Ploett

Back to the top