Commit 7ef55516 authored by missionfloyd's avatar missionfloyd

Update delimiters

parent ee172c0f
......@@ -46,7 +46,7 @@ function keyupEditAttention(event){
function selectCurrentWord(){
if (selectionStart !== selectionEnd) return false;
const delimiters = ".,\/#!$%\^&\*;:{}=\-_`~() ";
const delimiters = " .,\\/!?%^*;:{}=-_`~()\r\n\t";
// seek backward until to find beggining
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