Im using uiw-react codemirror. I'm adding a classname to a specific line in the codemirror using classnameExt function provided by uiw codemirror. I have access to the classname and the line number of the specific line. I want to scroll to that specific line on a button click.
`<CodeMirror
id="codemirrorId"
value={value}
height={height}
theme={darkMode ? aura : xcodeLight}
extensions={extensions}
onChange={onChange}
readOnly={readOnly}
color="text.primary"
/>`
This is my codemirror component, how can i scroll to the specific line which has my classname?
Thanks in advance:)