From e669be7b81583dd6c24af3e95aea640b46d11b54 Mon Sep 17 00:00:00 2001 From: Levi Neely Date: Thu, 8 Oct 2026 18:06:17 +0200 Subject: [PATCH] gui: include _ in isfilec for B3 path expansion Paths like /path/to/snake_case_file.php:82 now expand fully on B3. --- kde/gui/ChatBlockDelegate.qml | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) 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