From c32836ad2c1b9e4e3e7b8f318aaa15d535de28e4 Mon Sep 17 00:00:00 2001 From: Corey Johnson Date: Tue, 29 Jan 2013 17:10:27 -0800 Subject: [PATCH] _ 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. --- src/app/editor.coffee | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/app/editor.coffee b/src/app/editor.coffee index bdd25ba67..9a6710d8e 100644 --- a/src/app/editor.coffee +++ b/src/app/editor.coffee @@ -19,7 +19,7 @@ class Editor extends View autosave: false autoIndent: true autoIndentOnPaste: false - nonWordCharacters: "./\()\"’-:,.;<>~!@#$%^&*|+=[]{}`~?" + nonWordCharacters: "./\()\"’-_:,.;<>~!@#$%^&*|+=[]{}`~?" @content: (params) -> @div class: @classes(params), tabindex: -1, =>