react-codemirror2 icon indicating copy to clipboard operation
react-codemirror2 copied to clipboard

Wrapper for scrollIntoView - enhancement

Open venkatgoud opened this issue 6 years ago • 2 comments

Currently CodeMirror provides a wrapper to scrollTo.

It would be helpful if it provides a similar wrapper for scrollIntoView.

If one wants to scroll the editor to a particular line from an event outside the editor - like clicking on a subview of the document like an outline -- , scrollTo is not much use for that case.

venkatgoud avatar May 09 '19 03:05 venkatgoud

This would be great! Or even some documentation on how to call unimplemented parts of the Code Mirror API.

Pet3ris avatar Aug 13 '19 13:08 Pet3ris

@Pet3ris @venkatgoud I am a lot shorter on time these days as when I started this project. Codemirror & React APIs are moving to quickly for me to keep atop of for the day-to-day. I am looking for a co-maintainer of this project. Please contact me directly if you are interested. Thank you for understanding.

scniro avatar Jan 19 '20 16:01 scniro