Coral 0.2.17 candidate API
    Preparing search index...

    Interface SplitEditorProps

    SplitEditor props

    interface SplitEditorProps {
        className?: string;
        debounceMs?: number;
        editorConfig?: EditorConfig;
        initialGraph?: GraphIR;
        initialText?: string;
        language?: SyntaxLanguage;
        layout?: SplitLayout;
        minPaneSize?: number;
        onErrorsChange?: (errors: SyncParseError[]) => void;
        onGraphChange?: (graph: GraphIR | null) => void;
        onPrintDiagnosticsChange?: (diagnostics: SyncPrintDiagnostic[]) => void;
        onTextChange?: (text: string) => void;
        parse: ParseFunction;
        primaryPane?: PrimaryPane;
        print: PrintFunction;
        printWithDiagnostics?: DiagnosticPrintFunction;
        resizable?: boolean;
        splitRatio?: number;
        style?: CSSProperties;
    }
    Index
    className?: string

    CSS class name

    debounceMs?: number

    Debounce delay for sync (ms)

    editorConfig?: EditorConfig

    Visual editor configuration

    initialGraph?: GraphIR

    Initial Graph-IR (if provided, takes precedence over text)

    initialText?: string

    Initial text content

    language?: SyntaxLanguage

    Syntax language for text editor

    layout?: SplitLayout

    Layout orientation

    minPaneSize?: number

    Minimum pane size (px)

    onErrorsChange?: (errors: SyncParseError[]) => void

    Callback when errors change

    onGraphChange?: (graph: GraphIR | null) => void

    Callback when graph changes

    onPrintDiagnosticsChange?: (diagnostics: SyncPrintDiagnostic[]) => void

    Callback when visual → text printing reports losses.

    onTextChange?: (text: string) => void

    Callback when text changes

    Parser function (text → Graph-IR)

    primaryPane?: PrimaryPane

    Which pane is primary (left/top)

    Printer function (Graph-IR → text)

    printWithDiagnostics?: DiagnosticPrintFunction

    Optional loss-reporting printer used for visual → text synchronization.

    resizable?: boolean

    Show resize handle between panes

    splitRatio?: number

    Split ratio (0-1, proportion of primary pane)

    style?: CSSProperties

    Inline styles