codemirror-minimap
codemirror-minimap copied to clipboard
Bug: Support line wrapping
Currently we assume lines do not wrap. If an editor wraps has a fixed width and causes lines to wrap (ex. EditorView.lineWrapping
) it will throw off a number of assumptions we make
- We don't render the wrapped text/blocks on a new line
- ~We calculate the viewport overlay incorrectly~
- ~We scroll incorrectly~
Will likely require using the character width & the scrollDOM width