diff --git a/kde/gui/TextSelection.js b/kde/gui/TextSelection.js index 4e8ae64..a00af3d 100644 --- a/kde/gui/TextSelection.js +++ b/kde/gui/TextSelection.js @@ -154,7 +154,7 @@ function selectWordAt(textEdit, mouseX, mouseY) { if (cursorPos < 0 || cursorPos > text.length) return function isword(ch) { - return /[A-Za-z0-9_]/.test(ch) + return /[A-Za-z0-9]/.test(ch) } var start = cursorPos