Experiments in porting Code Mirror to Dart