mirror of
https://github.com/RustyRaptor/brackets.git
synced 2026-12-04 00:15:22 -07:00
Fix problem where hints are displayed before tern has finished computing the completions.
This means there is now a delay on the first request for hints.
This commit is contained in:
1 parent
9689288dec
commit
d648572395
3 files changed
+50
-11
No files matched your search
@@ -265,7 +265,7 @@ define(function (require, exports, module) {
|
||||
if (token) {
|
||||
if (!cachedScope) {
|
||||
var offset = session.getOffset(),
|
||||
scopeResponse = ScopeManager.getScopeInfo(session.editor.document, offset),
|
||||
scopeResponse = ScopeManager.getScopeInfo(session, session.editor.document, offset),
|
||||
self = this;
|
||||
|
||||
if (scopeResponse.hasOwnProperty("promise")) {
|
||||
|
||||
Reference in new issue
Block a user