diff --git a/kde/gui/ChatBlockDelegate.qml b/kde/gui/ChatBlockDelegate.qml index 4c47796..5817c61 100644 --- a/kde/gui/ChatBlockDelegate.qml +++ b/kde/gui/ChatBlockDelegate.qml @@ -338,9 +338,9 @@ Column { var text = textEdit.getText(0, textEdit.length) if (cursorPos < 0 || cursorPos > text.length) return null - // isfilec from acme: alphanumeric + . - + / : @ + // isfilec from acme: alphanumeric + . - + / : @ _ function isfilec(ch) { - return /[a-zA-Z0-9.\-+\/:@]/.test(ch) + return /[a-zA-Z0-9.\-+\/:@_]/.test(ch) } // Find start of word