simplify fix by assuming intent is to type (not insert hint)

This commit is contained in:
Randy Edmunds committed 2013-09-26 16:44:58 -07:00
1 parent 3230fd4fa7
commit 11d73cef17
7 files changed
+36 -112

No files matched your search

@@ -88,9 +88,7 @@ define(function (require, exports, module) {
* @return {jQuery.Deferred|{
* hints: Array.<string|jQueryObject>,
* match: string,
* selectInitial: boolean,
* handleWideResults: boolean,
* query: string}}
* selectInitial: boolean}}
*/
function formatHints(hints, query) {
return hints.map(function (token) {
@@ -169,9 +167,7 @@ define(function (require, exports, module) {
return {
hints: formattedHints,
match: null, // the CodeHintManager should not format the results
selectInitial: true,
handleWideResults: hints.handleWideResults,
query: query
selectInitial: true
};
}