简体   繁体   中英

Getting null when using match brackets in monaco editor

Hope you are going well.

I have used editor.getmodel().matchBrackets(5); then I getting null .

What I am trying for is, I want to get the range from 5th line of opening bracket to closing bracket.

Is the above is correct for, what I am trying.

是的,我也需要相同的答案,但我在 1 周前收到警告说不清楚

The technical post webpages of this site follow the CC BY-SA 4.0 protocol. If you need to reprint, please indicate the site URL or the original address.Any question please contact:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM