codemirror-minimap icon indicating copy to clipboard operation
codemirror-minimap copied to clipboard

Bug: Support line wrapping

Open bradymadden97 opened this issue 1 year ago • 1 comments

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

bradymadden97 avatar Apr 23 '23 16:04 bradymadden97