handle double-click between number and %

This commit is contained in:
tophf 2017-12-23 09:51:28 +03:00
parent 9f00e5a2f7
commit 9279390e8c

View File

@ -186,7 +186,7 @@
const isNumber = type === 'number';
const isSpace = atSpace(ch);
let wordChars =
isNumber ? /[-+\w.]/uy :
isNumber ? /[-+\w.%]/uy :
isCss ? /[-\w@]/uy :
isSpace ? /\s/uy :
atWord(ch) ? /\w/uy : /[^\w\s]/uy;