gui: include _ in isfilec for B3 path expansion
Paths like /path/to/snake_case_file.php:82 now expand fully on B3.
This commit is contained in:
parent
445a5232c2
commit
e669be7b81
|
|
@ -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
|
||||
|
|
|
|||
Loading…
Reference in New Issue