Open danishwebindia opened 7 years ago
For editor have to set Options like below ` options:any = {maxLines: 1000, printMargin: false, selectionStyle: 'line', behavioursEnabled: true, wrapBehavioursEnabled: true, autoScrollEditorIntoView: true, wrap: true };
<div ace-editor [(text)]="generateQuery" [mode]="'sqlserver'" [theme]="'sqlserver'" [options]="options"
For more configure options refer below https://github.com/ajaxorg/ace/wiki/Configuring-Ace `
my code is:
<ace-editor [(text)]="endpoint.Request" [theme]="'eclipse'" [readOnly]="true" #editor style="min-height:300px;">