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

Unified Diff: sky/framework/editing/editable_text.dart

Issue 1006053002: Allow Effen Styles to be extendable (Closed) Base URL: https://github.com/domokit/mojo.git@master
Patch Set: sdfsd Created 5 years, 9 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 side-by-side diff with in-line comments
Download patch
« no previous file with comments | « sky/framework/components/toolbar.dart ('k') | sky/framework/fn.dart » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: sky/framework/editing/editable_text.dart
diff --git a/sky/framework/editing/editable_text.dart b/sky/framework/editing/editable_text.dart
index df73e46262334c72669827fe82d9bf4fdf3b6904..5a0b0810d10c24e941dbb125997529d067995d87 100644
--- a/sky/framework/editing/editable_text.dart
+++ b/sky/framework/editing/editable_text.dart
@@ -75,8 +75,8 @@ class EditableText extends Component {
String composing = value.textInside(value.composing);
if (!composing.isEmpty) {
children.add(new Container(
- key: 'composing',
- styles: [_composingStyle],
+ key: 'composing',
+ style: _composingStyle,
children: [new Text(composing)]
));
}
@@ -87,10 +87,10 @@ class EditableText extends Component {
}
if (_showCursor)
- children.add(new Container(key: 'cursor', styles: [_cusorStyle]));
+ children.add(new Container(key: 'cursor', style: _cusorStyle));
return new Container(
- styles: [_style],
+ style: _style,
children: children
);
}
« no previous file with comments | « sky/framework/components/toolbar.dart ('k') | sky/framework/fn.dart » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698