Skip to content
This repository has been archived by the owner on Sep 2, 2021. It is now read-only.

No EWF hints provided after finishing font-family property in new session #145

Open
iwehrman opened this issue Jul 9, 2013 · 0 comments

Comments

@iwehrman
Copy link
Contributor

iwehrman commented Jul 9, 2013

@bchintx Found this one.

Place the cursor after the y in the following CSS snippet:

a {
    font-family
}

Make sure you aren't in a hinting session, and then type :. Ideally EWF would provide its font hints, but instead the CSS hinter provides its limited set of font hints. Note that if you are already in a hinting session when typing y: then the EWF hinter correctly provides the hints.

I've confirmed that this is indeed an EWF bug and not a problem with the CodeHintManager or the CSS hinter. The CHM is correctly calling the EWF hasHints method, which is returning false.

One possible fix is just to add : to the characters matched by the regular expression fontnameStartRegExp.

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Projects
None yet
Development

No branches or pull requests

1 participant