X-Git-Url: https://jasonwoof.com/gitweb/?p=peach-html5-editor.git;a=blobdiff_plain;f=editor.coffee;h=7ef8e37cc3ba42548625da61ec02ccdafcb3747b;hp=92fc1e03e0fbd11aa17c1105265a4af5496b7a87;hb=060c37f53ad12694bd1d37f405aba965b8af9966;hpb=d415d52813ae2ee5c19bb2fd183de1f6158f6d13 diff --git a/editor.coffee b/editor.coffee index 92fc1e0..7ef8e37 100644 --- 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