aboutsummaryrefslogtreecommitdiffstats
path: root/cds-ui/designer-client/src/app/modules/feature-modules/packages/source-editor/source-editor.component.ts
diff options
context:
space:
mode:
authorAhmedeldeeb50 <ahmed.eldeeb.ext@orange.com>2020-10-27 18:16:58 +0200
committerAhmedeldeeb50 <ahmed.eldeeb.ext@orange.com>2020-10-27 18:16:58 +0200
commit1d9cc25a7c3634f787057c0b95b88b0016c862ec (patch)
tree5b7957eb1554d8363b5c28a3f80b0b0dfa05f330 /cds-ui/designer-client/src/app/modules/feature-modules/packages/source-editor/source-editor.component.ts
parent7004cffc6b82c448abe62b1642b91f2e45ec2e0b (diff)
enable editing in mapping table
Issue-ID: CCSDK-2795 Signed-off-by: Ahmedeldeeb50 <ahmed.eldeeb.ext@orange.com> Change-Id: I724dee3bd4a4778bf86619ff08091b31925c1830
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.ts5
1 files changed, 3 insertions, 2 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 977bf97e7..f0b99bff1 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
@@ -25,16 +25,17 @@ export class SourceEditorComponent implements OnInit, AfterViewInit {
ngAfterViewInit() {
-
console.log(this.lang);
this.editor.setTheme('eclipse');
this.editor.getEditor().setOptions({
enableBasicAutocompletion: true,
highlightSelectedWord: true,
- maxLines: Infinity,
enableSnippets: true,
enableLiveAutocompletion: true,
showFoldWidgets: true,
+ maxLines: 900000,
+ // autoScrollEditorIntoView: true,
+ // vScrollBarAlwaysVisible: true
});
this.editor.getEditor().commands.addCommand({