Commit c1fdba59 authored by missionfloyd's avatar missionfloyd Committed by GitHub

Remove hyphen, underscore delimiters

parent 27d02597
...@@ -46,7 +46,7 @@ function keyupEditAttention(event){ ...@@ -46,7 +46,7 @@ function keyupEditAttention(event){
function selectCurrentWord(){ function selectCurrentWord(){
if (selectionStart !== selectionEnd) return false; if (selectionStart !== selectionEnd) return false;
const delimiters = " .,\\/!?%^*;:{}=-_`~()\r\n\t"; const delimiters = " .,\\/!?%^*;:{}=`~()\r\n\t";
// seek backward until to find beggining // seek backward until to find beggining
while (!delimiters.includes(text[selectionStart - 1]) && selectionStart > 0) { while (!delimiters.includes(text[selectionStart - 1]) && selectionStart > 0) {
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment