You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
* Allow the user to resize the diff editor split view. This property only works if `mode` === `"diff-editor"`.
490
-
*/
491
-
"enableSplitViewResizing": boolean;
491
+
interfaceChCodeDiffEditor{
492
492
/**
493
493
* Specifies the language of the auto created model in the editor.
494
494
*/
495
495
"language": string;
496
496
/**
497
-
* Specifies the rendered mode of the editor, allowing to set a normal editor or a diff editor.
497
+
* Specifies the modified value of the diff editor.
498
498
*/
499
-
"mode": "editor"|"diff-editor";
499
+
"modifiedValue": string;
500
500
/**
501
-
* Specifies the modified value of the diff editor. This property only works if `mode` === `"diff-editor"`.
501
+
* Specifies the editor options.
502
502
*/
503
-
"modifiedValue": string;
503
+
"options": CodeDiffEditorOptions;
504
+
/**
505
+
* Specifies if the editor should be readonly. If the ´readOnly´ or ´originalEditable´ property is specified in the ´options´ property, this property has no effect.
506
+
*/
507
+
"readonly": boolean;
504
508
/**
505
-
* Specifies if the modified value of the diff editor should be readonly. This property only works if `mode` === `"diff-editor"`.
509
+
* Specifies the theme to be used for rendering.
506
510
*/
507
-
"modifiedValueReadonly": boolean;
511
+
"theme": string;
508
512
/**
509
-
* Specifies if the editor should be readonly. When `mode` === `"diff-editor"` this property will apply to the left pane. - If `mode` === `"editor"` defaults to `false`. - If `mode` === `"diff-editor"` defaults to `true`.
513
+
* Update the editor's options after the editor has been created.
* Allow the user to resize the diff editor split view. This property only works if `mode` === `"diff-editor"`.
5619
-
*/
5620
-
"enableSplitViewResizing"?: boolean;
5651
+
interfaceChCodeDiffEditor{
5621
5652
/**
5622
5653
* Specifies the language of the auto created model in the editor.
5623
5654
*/
5624
5655
"language": string;
5625
5656
/**
5626
-
* Specifies the rendered mode of the editor, allowing to set a normal editor or a diff editor.
5627
-
*/
5628
-
"mode"?: "editor"|"diff-editor";
5629
-
/**
5630
-
* Specifies the modified value of the diff editor. This property only works if `mode` === `"diff-editor"`.
5657
+
* Specifies the modified value of the diff editor.
5631
5658
*/
5632
5659
"modifiedValue"?: string;
5633
5660
/**
5634
-
* Specifies if the modified value of the diff editor should be readonly. This property only works if `mode` === `"diff-editor"`.
5661
+
* Specifies the editor options.
5635
5662
*/
5636
-
"modifiedValueReadonly"?: boolean;
5663
+
"options"?: CodeDiffEditorOptions;
5637
5664
/**
5638
-
* Specifies if the editor should be readonly. When `mode` === `"diff-editor"` this property will apply to the left pane. - If `mode` === `"editor"` defaults to `false`. - If `mode` === `"diff-editor"` defaults to `true`.
5665
+
* Specifies if the editor should be readonly. If the ´readOnly´ or ´originalEditable´ property is specified in the ´options´ property, this property has no effect.
5639
5666
*/
5640
5667
"readonly"?: boolean;
5641
5668
/**
5642
-
* Render the differences in two side-by-side editors. Only works if `mode` === `"diff-editor"`.
5669
+
* Specifies the theme to be used for rendering.
5670
+
*/
5671
+
"theme"?: string;
5672
+
/**
5673
+
* Specifies the original value of the diff editor.
5674
+
*/
5675
+
"value"?: string;
5676
+
/**
5677
+
* Specifies the schema URI for the YAML language.
5678
+
*/
5679
+
"yamlSchemaUri"?: string;
5680
+
}
5681
+
interfaceChCodeEditor{
5682
+
/**
5683
+
* Specifies the language of the auto created model in the editor.
5684
+
*/
5685
+
"language": string;
5686
+
/**
5687
+
* Specifies the editor options.
5643
5688
*/
5644
-
"renderSideBySide"?: boolean;
5689
+
"options"?: CodeEditorOptions;
5690
+
/**
5691
+
* Specifies if the editor should be readonly. If the ´readOnly´ property is specified in the ´options´ property, this property has no effect.
5692
+
*/
5693
+
"readonly"?: boolean;
5645
5694
/**
5646
5695
* Specifies the theme to be used for rendering.
5647
5696
*/
5648
5697
"theme"?: string;
5649
5698
/**
5650
-
* Specifies the value of the editor. If `mode` === `"diff-editor"`, this property will be used as the original model.
* - When the code highlighting is needed at runtime, the control will load on demand the code parser and the programming language needed to parse the code.
0 commit comments