Discussion:
[dart-misc] dartpad magical keys?
'Devon Carew' via Dart Misc
2015-07-10 17:12:19 UTC
Permalink
I assume you saw the key bindings dialog (available by clicking on the
keyboard icon):

​
Those are the key bindings we've explicitly added to dartpad. Anything else
we're getting from the codemirror defaults - the editor we're using in
dartpad. Here's the best list of key bindings I can find:

https://codemirror.net/doc/manual.html#commands


If you think some should be bumped up and added to the keyboard shortcuts
dialog, please open an issue! Thanks,

Devon
Yesterday as I was rehearsing for today's one-hour "Introduction to
Dart" talk at FISL, I was playing with dartpad and hit command-J, and it
commented the current line! There are hidden secrets!
I tried going through the source to figure out what the hidden commands
are, but had no luck.
Can someone either point me at the right part of the source to find
these magical key bindings, or to some documentation for them?
Thanks.
--
Randal L. Schwartz - Stonehenge Consulting Services, Inc. - +1 503 777
0095
Perl/Unix consulting, Technical writing, Comedy, etc. etc.
Still trying to think of something clever for the fourth line of this .sig
--
For other discussions, see https://groups.google.com/a/dartlang.org/
For HOWTO questions, visit http://stackoverflow.com/tags/dart
To file a bug report or feature request, go to http://www.dartbug.com/new
To unsubscribe from this group and stop receiving emails from it, send an
--
Devon Carew
Software Engineer
Google, Inc.
--
For other discussions, see https://groups.google.com/a/dartlang.org/

For HOWTO questions, visit http://stackoverflow.com/tags/dart

To file a bug report or feature request, go to http://www.dartbug.com/new

To unsubscribe from this group and stop receiving emails from it, send an email to misc+***@dartlang.org.
Weiping Chen
2015-07-10 18:45:22 UTC
Permalink
It would be nice the codemirror link is added to the dartpad's Keyboard
Shortcuts popup.

Weiping
Post by 'Devon Carew' via Dart Misc
I assume you saw the key bindings dialog (available by clicking on the
​
Those are the key bindings we've explicitly added to dartpad. Anything
else we're getting from the codemirror defaults - the editor we're using in
https://codemirror.net/doc/manual.html#commands
If you think some should be bumped up and added to the keyboard shortcuts
dialog, please open an issue! Thanks,
Devon
Yesterday as I was rehearsing for today's one-hour "Introduction to
Dart" talk at FISL, I was playing with dartpad and hit command-J, and it
commented the current line! There are hidden secrets!
I tried going through the source to figure out what the hidden commands
are, but had no luck.
Can someone either point me at the right part of the source to find
these magical key bindings, or to some documentation for them?
Thanks.
--
Randal L. Schwartz - Stonehenge Consulting Services, Inc. - +1 503 777
0095
http://www.stonehenge.com/merlyn/>
Perl/Unix consulting, Technical writing, Comedy, etc. etc.
Still trying to think of something clever for the fourth line of this .sig
--
For other discussions, see https://groups.google.com/a/dartlang.org/
For HOWTO questions, visit http://stackoverflow.com/tags/dart
To file a bug report or feature request, go to http://www.dartbug.com/new
To unsubscribe from this group and stop receiving emails from it, send an
--
Devon Carew
Software Engineer
Google, Inc.
--
For other discussions, see https://groups.google.com/a/dartlang.org/

For HOWTO questions, visit http://stackoverflow.com/tags/dart

To file a bug report or feature request, go to http://www.dartbug.com/new

To unsubscribe from this group and stop receiving emails from it, send an email to misc+***@dartlang.org.
Loading...