Repository navigation
Commit e52fe95
committed
fix: allow spaces in file paths during @ tab-completion (anomalyco#19152)
When tab-completing through directories with spaces (e.g. 'Car Kit/'),
the autocomplete would close because the whitespace check treated spaces
as end-of-reference markers.
Added a 'browsing' flag that activates when expandDirectory() is called.
While browsing, only newlines/tabs close the autocomplete — spaces are
allowed. Normal typing behavior is unchanged.1 parent 652313e commit e52fe95
1 file changed
Lines changed: 5 additions & 1 deletion
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
87 | 87 | | |
88 | 88 | | |
89 | 89 | | |
| 90 | + | |
90 | 91 | | |
91 | 92 | | |
92 | 93 | | |
| |||
470 | 471 | | |
471 | 472 | | |
472 | 473 | | |
| 474 | + | |
473 | 475 | | |
474 | 476 | | |
475 | 477 | | |
| |||
495 | 497 | | |
496 | 498 | | |
497 | 499 | | |
| 500 | + | |
498 | 501 | | |
499 | 502 | | |
500 | 503 | | |
| |||
508 | 511 | | |
509 | 512 | | |
510 | 513 | | |
511 | | - | |
| 514 | + | |
| 515 | + | |
512 | 516 | | |
513 | 517 | | |
514 | 518 | | |
| |||
0 commit comments