From aa8425677461befa8afef0f9ef627171eeb1afa5 Mon Sep 17 00:00:00 2001 From: Corey Johnson Date: Thu, 21 Feb 2013 13:41:05 -0800 Subject: [PATCH] `-` and `_` are not considered word characters by default. Fixes #297 --- 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 5f6772537..c4fcf1bdb 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: "./\\()\"':,.;<>~!@#$%^&*|+=[]{}`~?" @nextEditorId: 1