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
remove cursor when clicking on nothing
[peach-html5-editor.git]
/
editor.coffee
diff --git
a/editor.coffee
b/editor.coffee
index
92fc1e0
..
7ef8e37
100644
(file)
--- a/
editor.coffee
+++ b/
editor.coffee
@@
-665,6
+665,8
@@
class PeachHTML5Editor
new_cursor = find_loc_cursor_position @tree, xy
if new_cursor?
@move_cursor new_cursor
+ else
+ @kill_cursor()
return false
ondoubleclick: (e) ->
return false