Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(564)

Side by Side Diff: sky/sdk/lib/framework/editing/editable_text.dart

Issue 1150433002: Add library names to many sky libraries (Closed) Base URL: git@github.com:domokit/mojo.git@fix_shelldb
Patch Set: Created 5 years, 7 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View unified diff | Download patch
OLDNEW
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 library editing_editable_text;
6
5 import '../fn.dart'; 7 import '../fn.dart';
6 import '../theme/colors.dart'; 8 import '../theme/colors.dart';
7 import 'dart:async'; 9 import 'dart:async';
8 import 'editable_string.dart'; 10 import 'editable_string.dart';
9 11
10 class EditableText extends Component { 12 class EditableText extends Component {
11 13
12 static final Style _cursorStyle = new Style(''' 14 static final Style _cursorStyle = new Style('''
13 width: 2px; 15 width: 2px;
14 height: 1.2em; 16 height: 1.2em;
(...skipping 66 matching lines...) Expand 10 before | Expand all | Expand 10 after
81 } 83 }
82 84
83 if (_showCursor) 85 if (_showCursor)
84 children.add(new Container(key: 'cursor', style: _cursorStyle)); 86 children.add(new Container(key: 'cursor', style: _cursorStyle));
85 87
86 return new Paragraph( 88 return new Paragraph(
87 children: children 89 children: children
88 ); 90 );
89 } 91 }
90 } 92 }
OLDNEW
« no previous file with comments | « sky/sdk/lib/framework/editing/editable_string.dart ('k') | sky/sdk/lib/framework/editing/keyboard.dart » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698