mirror of
https://github.com/vector-im/element-web.git
synced 2026-05-05 12:16:53 +02:00
Gah, onjects
This commit is contained in:
parent
fe4778b28b
commit
77efa0881e
@ -44,7 +44,7 @@ export default class AutocompleteProvider {
|
||||
* @param {string} query The query string
|
||||
* @param {SelectionRange} selection Selection to search
|
||||
* @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) {
|
||||
let commandRegex = this.commandRegex;
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user