aboutsummaryrefslogtreecommitdiff
path: root/js/code-editor/ui
diff options
context:
space:
mode:
authorAnanya Sen2012-06-27 10:29:35 -0700
committerAnanya Sen2012-06-27 10:29:35 -0700
commitdd9c91e14708635dfaba2b31fd7f39938f719ab3 (patch)
treedffaa0bc34c7f8e5ab66d942734b7ee997950dc4 /js/code-editor/ui
parent4544c22b70dd84a88b98e837746a355e85eabec3 (diff)
downloadninja-dd9c91e14708635dfaba2b31fd7f39938f719ab3.tar.gz
initialize auto code hinting flag with checkbox value, on switching between documents
Signed-off-by: Ananya Sen <Ananya.Sen@motorola.com>
Diffstat (limited to 'js/code-editor/ui')
-rw-r--r--js/code-editor/ui/code-editor-view-options.reel/code-editor-view-options.js1
1 files changed, 1 insertions, 0 deletions
diff --git a/js/code-editor/ui/code-editor-view-options.reel/code-editor-view-options.js b/js/code-editor/ui/code-editor-view-options.reel/code-editor-view-options.js
index 6c983867..5a33909c 100644
--- a/js/code-editor/ui/code-editor-view-options.reel/code-editor-view-options.js
+++ b/js/code-editor/ui/code-editor-view-options.reel/code-editor-view-options.js
@@ -31,6 +31,7 @@ exports.CodeEditorViewOptions = Montage.create(Component, {
31 } else { 31 } else {
32 this.visible = true; 32 this.visible = true;
33 this.autocomplete = !this.codeCompletionSupport[this._currentDocument.model.file.extension]; 33 this.autocomplete = !this.codeCompletionSupport[this._currentDocument.model.file.extension];
34 this._currentDocument.model.views.code.editor.automaticCodeHint = this.codeCompleteCheck.checked;
34 } 35 }
35 36
36 } 37 }