rjkroege / edwood

Go version of Plan9 Acme Editor
Other
380 stars 34 forks source link

Fix expandfile windows #492

Closed paul-lalonde closed 1 year ago

paul-lalonde commented 1 year ago

Was broken in the Tag where the various trailing words would confuse it into expanding too long a filename. Fixed by peeling off trailing words and testing for being a valid file. Also correct a bug where some filename substrings did not include the clicked position.

codecov[bot] commented 1 year ago

Codecov Report

Merging #492 (5c2e001) into master (b54e04d) will not change coverage. The diff coverage is n/a.

:exclamation: Current head 5c2e001 differs from pull request most recent head 1b314ec. Consider uploading reports for the commit 1b314ec to get more accurate results

@@           Coverage Diff           @@
##           master     #492   +/-   ##
=======================================
  Coverage   58.48%   58.48%           
=======================================
  Files          54       54           
  Lines       10761    10761           
=======================================
  Hits         6294     6294           
  Misses       4032     4032           
  Partials      435      435