Got questions, comments, patches, etc.?
Contact Jason Woofenden
gitweb
/
peach-html5-editor.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
| inline |
side by side
implement escape key (kill cursor)
[peach-html5-editor.git]
/
editor.coffee
diff --git
a/editor.coffee
b/editor.coffee
index
785615c
..
3ccd200
100644
(file)
--- a/
editor.coffee
+++ b/
editor.coffee
@@
-948,6
+948,7
@@
class PeachHTML5Editor
when KEY_ENTER
return false
when KEY_ESCAPE
+ @kill_cursor()
return false
when KEY_HOME
new_cursor = first_cursor_position @tree