提交 0977276c 编写于 作者: R Ramya Achutha Rao

Fixes #27623

上级 1d93668c
......@@ -29,7 +29,7 @@ export function matchTag() {
}
function getUpdatedSelections(editor: vscode.TextEditor, offset: number, rootNode: Node): vscode.Selection {
let currentNode = getNode(rootNode, offset);
let currentNode = getNode(rootNode, offset, true);
// If no closing tag or cursor is between open and close tag, then no-op
if (!currentNode.close || (currentNode.open.end < offset && currentNode.close.start > offset)) {
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册