From 08084ee48ad5e97677b60860ada060e2dbdc81ad Mon Sep 17 00:00:00 2001 From: AhmedEldeeb50 Date: Sun, 21 Jun 2020 15:55:36 +0200 Subject: Fix editor highlight. Issue-ID: CCSDK-2471 Signed-off-by: AhmedEldeeb50 Change-Id: I8a78dc9c8989a933d8812c2ded7a03899800612d --- .../packages/source-editor/source-editor.component.ts | 12 +++++------- 1 file changed, 5 insertions(+), 7 deletions(-) (limited to 'cds-ui/designer-client/src/app/modules/feature-modules/packages/source-editor/source-editor.component.ts') diff --git a/cds-ui/designer-client/src/app/modules/feature-modules/packages/source-editor/source-editor.component.ts b/cds-ui/designer-client/src/app/modules/feature-modules/packages/source-editor/source-editor.component.ts index 8f4c376a3..977bf97e7 100644 --- a/cds-ui/designer-client/src/app/modules/feature-modules/packages/source-editor/source-editor.component.ts +++ b/cds-ui/designer-client/src/app/modules/feature-modules/packages/source-editor/source-editor.component.ts @@ -30,13 +30,11 @@ export class SourceEditorComponent implements OnInit, AfterViewInit { this.editor.setTheme('eclipse'); this.editor.getEditor().setOptions({ enableBasicAutocompletion: true, - // fontSize: '14pt', - // maxLines: 4096, - // behavioursEnabled: true, - // wrapBehavioursEnabled: true, - // showPrintMargin: true, - // indentedSoftWrap: true, - // wrap: true, + highlightSelectedWord: true, + maxLines: Infinity, + enableSnippets: true, + enableLiveAutocompletion: true, + showFoldWidgets: true, }); this.editor.getEditor().commands.addCommand({ -- cgit 1.2.3-korg