rjkroege / edwood

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

Better tag typing fix #375

Closed rjkroege closed 3 years ago

rjkroege commented 3 years ago

Previous fix b859964fa27ed22a5c9fc81b5c46e467ed611a8c for bug that I introduced in #371 failed to correctly handle text insertion in all parts of the tag. Fix it more comprehensively. Also improve fidelity of some tests by building a better model for tab insertion tests.

codecov[bot] commented 3 years ago

Codecov Report

Merging #375 (3b6d659) into master (b859964) will increase coverage by 0.01%. The diff coverage is 100.00%.

Impacted file tree graph

@@            Coverage Diff             @@
##           master     #375      +/-   ##
==========================================
+ Coverage   53.09%   53.10%   +0.01%     
==========================================
  Files          55       55              
  Lines       10710    10709       -1     
==========================================
+ Hits         5686     5687       +1     
+ Misses       4580     4579       -1     
+ Partials      444      443       -1     
Impacted Files Coverage Δ
wind.go 76.50% <ø> (-0.06%) :arrow_down:
text.go 45.67% <100.00%> (+0.19%) :arrow_up:

Continue to review full report at Codecov.

Legend - Click here to learn more Δ = absolute <relative> (impact), ø = not affected, ? = missing data Powered by Codecov. Last update b859964...3b6d659. Read the comment docs.