diff options
author | AhmedEldeeb50 <ahmed.eldeeb.ext@orange.com> | 2020-06-21 15:55:36 +0200 |
---|---|---|
committer | Ahmed Eldeeb <ahmed.eldeeb.ext@orange.com> | 2020-06-22 08:43:12 +0000 |
commit | 08084ee48ad5e97677b60860ada060e2dbdc81ad (patch) | |
tree | bdb91810ea711e5b0c3813cd0c7f3405e4d3fbd4 /cds-ui/designer-client/src/app/modules/feature-modules/packages/source-editor/source-editor.component.ts | |
parent | 3579d15b41d9f786650f76c3b6a98d28f0052f1a (diff) |
Fix editor highlight.
Issue-ID: CCSDK-2471
Signed-off-by: AhmedEldeeb50 <ahmed.eldeeb.ext@orange.com>
Change-Id: I8a78dc9c8989a933d8812c2ded7a03899800612d
Diffstat (limited to 'cds-ui/designer-client/src/app/modules/feature-modules/packages/source-editor/source-editor.component.ts')
-rw-r--r-- | cds-ui/designer-client/src/app/modules/feature-modules/packages/source-editor/source-editor.component.ts | 12 |
1 files changed, 5 insertions, 7 deletions
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({ |