Gah, onjects
This commit is contained in:
parent
fe4778b28b
commit
77efa0881e
1 changed files with 1 additions and 1 deletions
|
@ -44,7 +44,7 @@ export default class AutocompleteProvider {
|
||||||
* @param {string} query The query string
|
* @param {string} query The query string
|
||||||
* @param {SelectionRange} selection Selection to search
|
* @param {SelectionRange} selection Selection to search
|
||||||
* @param {boolean} force True if the user is forcing completion
|
* @param {boolean} force True if the user is forcing completion
|
||||||
* @return {object} { command, range } where both onjects fields are null if no match
|
* @return {object} { command, range } where both objects fields are null if no match
|
||||||
*/
|
*/
|
||||||
getCurrentCommand(query: string, selection: SelectionRange, force: boolean = false) {
|
getCurrentCommand(query: string, selection: SelectionRange, force: boolean = false) {
|
||||||
let commandRegex = this.commandRegex;
|
let commandRegex = this.commandRegex;
|
||||||
|
|
Loading…
Reference in a new issue