mirror of
https://github.com/RustyRaptor/brackets.git
synced 2026-12-04 00:15:22 -07:00
simplify fix by assuming intent is to type (not insert hint)
This commit is contained in:
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
|
||||
};
|
||||
}
|
||||
|
||||
|
||||
Reference in new issue
Block a user