| 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 75 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 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 = | 93 const BooleanUserOption incrementalCompilation = |
| 94 const BooleanUserOption('incrementalCompilation'); | 94 const BooleanUserOption('incrementalCompilation'); |
| 95 | 95 |
| 96 const BooleanUserOption live = const BooleanUserOption('live', isHidden: true); |
| 97 |
| 96 const List<UserOption> options = const <UserOption>[ | 98 const List<UserOption> options = const <UserOption>[ |
| 97 _alwaysRunInWorker, | 99 _alwaysRunInWorker, |
| 98 _verboseCompiler, | 100 _verboseCompiler, |
| 99 _minified, | 101 _minified, |
| 100 _onlyAnalyze, | 102 _onlyAnalyze, |
| 101 _enableDartMind, | 103 _enableDartMind, |
| 102 _compilationPaused, | 104 _compilationPaused, |
| 103 incrementalCompilation, | 105 incrementalCompilation, |
| 106 live, |
| 107 enableCodeCompletion, |
| 104 _codeFont, | 108 _codeFont, |
| 105 _theme, | 109 _theme, |
| 106 _currentSample, | 110 _currentSample, |
| 107 enableCodeCompletion, | |
| 108 ]; | 111 ]; |
| OLD | NEW |