Scrolls the preview editor - typically in response to editor scroll or click operations based on the PreviewSyncMode setting
public Task ScrollPreviewToEditorLineCallback(int editorLineNumber, bool updateCodeBlocks, bool noScrollTimeout, bool noScrollTopAdjustment)
Line number or -1 to use current editor line
if true reformats code blocks
if true does not adjust the editor scroll timeout so that a preview scroll will not scroll the editor. In effect if true the preview is scrolled and the editor adjusted which results in a 'double' scroll which generally is not desired, but used internally in some situations for explict preview scrolling.
if true the preview scroll position is not updated at all
See also:Class EditorWebViewDotnetInterop
Comment or report problem with topic