support auto complete for /commands
This commit is contained in:
parent
88cc1c428d
commit
c5cd8b943a
4 changed files with 41 additions and 9 deletions
|
@ -303,7 +303,7 @@ export default class EditorModel {
|
|||
index = 0;
|
||||
}
|
||||
while (str) {
|
||||
const newPart = this._partCreator.createPartForInput(str);
|
||||
const newPart = this._partCreator.createPartForInput(str, index);
|
||||
if (validate) {
|
||||
str = newPart.appendUntilRejected(str);
|
||||
} else {
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue