Also consider ' and " word separators

For example URIs in json
This commit is contained in:
Daniel Imms
2017-06-18 11:51:00 -07:00
parent a59b2f8433
commit 07882c42dc
2 changed files with 10 additions and 2 deletions
+1 -1
View File
@@ -41,7 +41,7 @@ const CLEAR_MOUSE_DISTANCE = 10;
* A string containing all characters that are considered word separated by the
* double click to select work logic.
*/
const WORD_SEPARATORS = ' ()[]{}:';
const WORD_SEPARATORS = ' ()[]{}:\'"';
// TODO: Move these constants elsewhere, they belong in a buffer or buffer
// data/line class.