restore handleWideResults property

This commit is contained in:
Randy Edmunds committed 2013-09-27 17:50:11 -07:00
1 parent 6850ed73e3
commit 90a2b3f8a7
6 files changed
+47 -16

No files matched your search

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