mirror of
https://github.com/RustyRaptor/brackets.git
synced 2026-12-04 00:15:22 -07:00
improve error handling
This commit is contained in:
1 parent
97527908ec
commit
eceea1035d
7 files changed
+46
-24
No files matched your search
@@ -277,9 +277,8 @@ define(function (require, exports, module) {
|
||||
}
|
||||
|
||||
request.done(function (fnType) {
|
||||
var cm = session.editor._codeMirror;
|
||||
|
||||
var pos = cm.charCoords(functionInfo.functionCallPos);
|
||||
var cm = session.editor._codeMirror,
|
||||
pos = cm.charCoords(functionInfo.functionCallPos);
|
||||
|
||||
formatHint(functionInfo);
|
||||
|
||||
@@ -290,6 +289,8 @@ define(function (require, exports, module) {
|
||||
|
||||
$(session.editor).on("cursorActivity", handleCursorActivity);
|
||||
$deferredPopUp.resolveWith(null);
|
||||
}).fail(function () {
|
||||
hintState.functionCallPos = null;
|
||||
});
|
||||
|
||||
return $deferredPopUp;
|
||||
|
||||
Reference in new issue
Block a user