gui: _ is word delimiter for double-click selection

Double-click on snake_case selects one segment. B3 path expansion still
includes _ (isfilec charset), so paths expand fully.
This commit is contained in:
Levi Neely 2026-10-08 18:07:05 +02:00
parent e669be7b81
commit cdadcd7543
1 changed files with 1 additions and 1 deletions

View File

@ -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