| OLD | NEW |
| 1 // Copyright 2015 The Chromium Authors. All rights reserved. | 1 // Copyright 2015 The Chromium Authors. All rights reserved. |
| 2 // Use of this source code is governed by a BSD-style license that can be | 2 // Use of this source code is governed by a BSD-style license that can be |
| 3 // found in the LICENSE file. | 3 // found in the LICENSE file. |
| 4 | 4 |
| 5 import '../fn.dart'; | 5 import '../fn.dart'; |
| 6 import '../theme/colors.dart'; | 6 import '../theme/colors.dart'; |
| 7 import 'dart:async'; | 7 import 'dart:async'; |
| 8 import 'editable_string.dart'; | 8 import 'editable_string.dart'; |
| 9 | 9 |
| 10 class EditableText extends Component { | 10 class EditableText extends Component { |
| (...skipping 70 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 81 } | 81 } |
| 82 | 82 |
| 83 if (_showCursor) | 83 if (_showCursor) |
| 84 children.add(new Container(key: 'cursor', style: _cursorStyle)); | 84 children.add(new Container(key: 'cursor', style: _cursorStyle)); |
| 85 | 85 |
| 86 return new Paragraph( | 86 return new Paragraph( |
| 87 children: children | 87 children: children |
| 88 ); | 88 ); |
| 89 } | 89 } |
| 90 } | 90 } |
| OLD | NEW |