Get Viewport Lines and Columns in CodeMirror

CodeMirror is an amazing utility for presenting code in a browser environment.  Syntax highlighting, widgets, and a number of advanced functions make it a unique, useful tool.  When using CodeMirror inside the Firefox DevTools debugger, I found that adding hundreds of column breakpoint widgets to very long lines of code really killed performance, and I […]
The post Get Viewport Lines and Columns in CodeMirror appeared first on David Walsh Blog.

Link: https://davidwalsh.name/viewport-lines-columns-codemirror