diff options
author | Ananya Sen | 2012-06-27 10:29:35 -0700 |
---|---|---|
committer | Ananya Sen | 2012-06-27 10:29:35 -0700 |
commit | dd9c91e14708635dfaba2b31fd7f39938f719ab3 (patch) | |
tree | dffaa0bc34c7f8e5ab66d942734b7ee997950dc4 /js/code-editor/ui | |
parent | 4544c22b70dd84a88b98e837746a355e85eabec3 (diff) | |
download | ninja-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.js | 1 |
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 | } |