How to highlight entire full line in code mirror

后端 未结 0 496
再見小時候
再見小時候 2020-12-01 15:38

I am able to change the background of a range of lines in code mirror with the below code:

javaEditor.markText(
    { line: 0, ch: 0 },
    { line: 2, ch: 0 }         


        
相关标签:
回答
  • 消灭零回复
提交回复
热议问题