@@ -452,9 +452,6 @@ module CM6 = {
452452 external syntaxHighlighting : (HighlightStyle .t , syntaxConfig ) => extension =
453453 "syntaxHighlighting"
454454
455- @module ("@codemirror/language" ) @val
456- external defaultHighlightStyle : HighlightStyle .t = "defaultHighlightStyle"
457-
458455 module LanguageSupport = {
459456 @new @module ("@codemirror/language" )
460457 external make : (t , ~support : array <extension >= ?) => extension = "LanguageSupport"
@@ -468,7 +465,7 @@ module CM6 = {
468465 }
469466
470467 @send
471- external configure : (t , Config .t ) => t = "configure"
468+ external _configure : (t , Config .t ) => t = "configure"
472469 }
473470
474471 module LRLanguage = {
@@ -752,16 +749,10 @@ let make = (
752749 ~className : option <string >= ?,
753750 ~style : option <ReactDOM .Style .t >= ?,
754751 ~onChange : option <string => unit >= ?,
755- // Note: onMarkerFocus/onMarkerFocusLeave are kept for backward compatibility but not yet implemented in v6
756- // These callbacks were used in v5 for hovering over error markers
757- ~onMarkerFocus as _ : option <((int , int )) => unit >= ?,
758- ~onMarkerFocusLeave as _ : option <((int , int )) => unit >= ?,
759752 ~value : string ,
760753 ~mode : string ,
761754 ~readOnly = false ,
762755 ~lineNumbers = true ,
763- // Note: scrollbarStyle is deprecated in CodeMirror 6 but kept for backward compatibility (ignored)
764- ~scrollbarStyle as _ = ?,
765756 ~keyMap = KeyMap .Default ,
766757 ~lineWrapping = false ,
767758): React .element => {
0 commit comments