_ and - both considered non word characters. Fixes #82

Maybe @defunkt wanted the reverse though (consider _ and - word characters)? Either way, it's a config option you can change now.
This commit is contained in:
Corey Johnson
2013-01-29 17:10:27 -08:00
parent c71f58a652
commit c32836ad2c

View File

@@ -19,7 +19,7 @@ class Editor extends View
autosave: false
autoIndent: true
autoIndentOnPaste: false
nonWordCharacters: "./\()\"-:,.;<>~!@#$%^&*|+=[]{}`~?"
nonWordCharacters: "./\()\"-_:,.;<>~!@#$%^&*|+=[]{}`~?"
@content: (params) ->
@div class: @classes(params), tabindex: -1, =>