mirror of
https://github.com/overleaf/overleaf.git
synced 2024-11-21 20:47:08 -05:00
Exclude CtrlSym commands from completion (#12905)
GitOrigin-RevId: f6d1813eba6c17444d2371b024f538137c244963
This commit is contained in:
parent
b010d6a5d3
commit
2093d85a5f
1 changed files with 4 additions and 0 deletions
|
@ -102,6 +102,10 @@ export const enterNode = (
|
||||||
return
|
return
|
||||||
}
|
}
|
||||||
|
|
||||||
|
if (ctrlSeq.type.is('$CtrlSym')) {
|
||||||
|
return
|
||||||
|
}
|
||||||
|
|
||||||
const optionalArguments = commandNode.getChildren('OptionalArgument')
|
const optionalArguments = commandNode.getChildren('OptionalArgument')
|
||||||
const commandArguments = commandNode.getChildren('$Argument')
|
const commandArguments = commandNode.getChildren('$Argument')
|
||||||
const text = state.doc.sliceString(ctrlSeq.from, ctrlSeq.to)
|
const text = state.doc.sliceString(ctrlSeq.from, ctrlSeq.to)
|
||||||
|
|
Loading…
Reference in a new issue