16,874
个编辑
LLWiki正在建设中,欢迎加入我们!
小 (从oldid前往最新版本) |
小 |
||
const cursor = editor.getCursor();
editor.replaceRange(this.textContent + (ns > 0 ? '}}' : ']]'),
{line: cursor.line, ch: cursor.ch - prefix.length + 1}, cursor);
// 随后再次执行updateHints时会自行stop
editor.focus();
|