OLD | NEW |
1 // Copyright (c) 2014, the Dart project authors. Please see the AUTHORS file | 1 // Copyright (c) 2014, the Dart project authors. Please see the AUTHORS file |
2 // for details. All rights reserved. Use of this source code is governed by a | 2 // for details. All rights reserved. Use of this source code is governed by a |
3 // BSD-style license that can be found in the LICENSE file. | 3 // BSD-style license that can be found in the LICENSE file. |
4 | 4 |
5 library trydart.settings; | 5 library trydart.settings; |
6 | 6 |
7 import 'user_option.dart'; | 7 import 'user_option.dart'; |
8 | 8 |
9 const BooleanUserOption _alwaysRunInWorker = | 9 const BooleanUserOption _alwaysRunInWorker = |
10 const BooleanUserOption('alwaysRunInWorker'); | 10 const BooleanUserOption('alwaysRunInWorker'); |
(...skipping 72 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
83 | 83 |
84 String get theme => _theme.value; | 84 String get theme => _theme.value; |
85 | 85 |
86 void set theme(String b) { | 86 void set theme(String b) { |
87 _theme.value = b; | 87 _theme.value = b; |
88 } | 88 } |
89 | 89 |
90 const BooleanUserOption enableCodeCompletion = | 90 const BooleanUserOption enableCodeCompletion = |
91 const BooleanUserOption('enableCodeCompletion', isHidden: true); | 91 const BooleanUserOption('enableCodeCompletion', isHidden: true); |
92 | 92 |
| 93 const BooleanUserOption incrementalCompilation = |
| 94 const BooleanUserOption('incrementalCompilation'); |
| 95 |
93 const List<UserOption> options = const <UserOption>[ | 96 const List<UserOption> options = const <UserOption>[ |
94 _alwaysRunInWorker, | 97 _alwaysRunInWorker, |
95 _verboseCompiler, | 98 _verboseCompiler, |
96 _minified, | 99 _minified, |
97 _onlyAnalyze, | 100 _onlyAnalyze, |
98 _enableDartMind, | 101 _enableDartMind, |
99 _compilationPaused, | 102 _compilationPaused, |
| 103 incrementalCompilation, |
100 _codeFont, | 104 _codeFont, |
101 _theme, | 105 _theme, |
102 _currentSample, | 106 _currentSample, |
103 enableCodeCompletion, | 107 enableCodeCompletion, |
104 ]; | 108 ]; |
OLD | NEW |