Fixes #45920: Highlight enclosing brackets

上级 91c01a61
......@@ -319,6 +319,9 @@ export class BracketMatchingController extends Disposable implements editorCommo
newData[newDataLen++] = previousData[previousIndex];
} else {
let brackets = model.matchBracket(position);
if (!brackets) {
brackets = model.findEnclosingBrackets(position);
}
newData[newDataLen++] = new BracketsData(position, brackets);
}
}
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册