[英]Getting null when using match brackets in monaco editor
Hope you are going well.希望你一切顺利。
I have used editor.getmodel().matchBrackets(5);
我用过
editor.getmodel().matchBrackets(5);
then I getting null
.然后我得到
null
。
What I am trying for is, I want to get the range from 5th line of opening bracket to closing bracket.我想要的是,我想获得从左括号的第 5 行到右括号的范围。
Is the above is correct for, what I am trying.以上是否正确,我正在尝试什么。
是的,我也需要相同的答案,但我在 1 周前收到警告说不清楚
声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.