rjkroege / edwood

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

Complete new style file.Buffer implementation #430

Closed rjkroege closed 2 years ago

rjkroege commented 2 years ago

This CL completes Edwood's ability to use the file.Buffer implementation and passes all tests with the new Buffer implementation. Helps with #97. Fixes some subtle bugs detected by unit tests.

codecov[bot] commented 2 years ago

Codecov Report

Merging #430 (b3eac31) into master (0452d3e) will increase coverage by 0.01%. The diff coverage is 100.00%.

Impacted file tree graph

@@            Coverage Diff             @@
##           master     #430      +/-   ##
==========================================
+ Coverage   57.19%   57.20%   +0.01%     
==========================================
  Files          56       56              
  Lines       10781    10791      +10     
==========================================
+ Hits         6166     6173       +7     
- Misses       4177     4181       +4     
+ Partials      438      437       -1     
Impacted Files Coverage Δ
file/buffer_adapter.go 92.18% <ø> (-0.24%) :arrow_down:
file/observable_editable_buffer.go 75.25% <100.00%> (ø)
file/undo.go 89.54% <100.00%> (+0.95%) :arrow_up:
text.go 48.64% <0.00%> (-0.49%) :arrow_down:

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 0452d3e...b3eac31. Read the comment docs.