-
Notifications
You must be signed in to change notification settings - Fork 0
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
[CLOSED] Only query hint providers that have offered to show hints #2171
Comments
Comment by RaymondLim
The real issue is the lacking of an api to provide the CSS context info and Joel has implemented his version as getFontTokenAtCursor in EWF/cssFontParser.js. I would say we need a general api in CSSUtils.js and once we have that, you need to switch to use the new api that provides better context info. |
Comment by joelrbrandt
|
Comment by RaymondLim
|
Comment by iwehrman
|
Comment by RaymondLim Thanks for making all these changes, but sorry to say that we're making another change in registerHintProvider api (pull request #2279) and we no longer need this pull request. |
Comment by joelrbrandt Closing this pull request as we're working on an alternate solution. |
Issue by iwehrman
Saturday Dec 01, 2012 at 01:50 GMT
Originally opened as adobe/brackets#2261
@
raymondlim@
gruehle@
joelrbrandtPartially addresses adobe/brackets#2258 by way of solution #2. The shouldShowHintsOnChange flag, which indicated that some provider was willing to provide hints, is removed in favor of a list, enabledHintProviders, that is populated with hint providers for which shouldShowHintsOnKey returns true. Consequently, only those providers that have offered to provide hints are queried. If the hint list is requested explicitly via Ctrl-Space, the individual providers are not initially queried with shouldShowHintsOnKey, and so an additional flag queryAllProviders indicates in this case that hints should be elicited from all providers instead of just those that are enabled.
iwehrman included the following code: https://github.com/adobe/brackets/pull/2261/commits
The text was updated successfully, but these errors were encountered: