(text, start, end = start)
| 232 | |
| 233 | // Write `text` and place the caret at [start, end]; clear auto-pair marker. |
| 234 | const writeAndRestore = (text, start, end = start) => { |
| 235 | jar.updateCode(text); |
| 236 | jar.restore({ start, end }); |
| 237 | autoPairCaret = -1; |
| 238 | }; |
| 239 | |
| 240 | const apply = (result) => { |
| 241 | if (!result) return false; |
no outgoing calls
no test coverage detected