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

Commit

Permalink
Merge pull request #10524 from MarcelGerber/css-hints-after-value
Browse files Browse the repository at this point in the history
Close CSS Code Hints after inputting property value
  • Loading branch information
Marcel Gerber authored Jul 23, 2016
2 parents 361e81d + 7f740f6 commit 5145e53
Showing 1 changed file with 6 additions and 0 deletions.
6 changes: 6 additions & 0 deletions src/extensions/default/CSSCodeHints/main.js
Original file line number Diff line number Diff line change
Expand Up @@ -334,6 +334,12 @@ define(function (require, exports, module) {
selectInitial = true;
}

if (lastContext === CSSUtils.PROP_VALUE) {
// close the session if we're coming from a property value
// see https://github.com/adobe/brackets/issues/9496
return null;
}

lastContext = CSSUtils.PROP_NAME;
needle = needle.substr(0, this.info.offset);

Expand Down

0 comments on commit 5145e53

Please sign in to comment.