mirror of https://github.com/helix-editor/helix
Replace `in_bounds` with calculation of end_indent
Instead of repeatedly checking if it is in_bounds, calculate the max_indent beforehand and just loop. I added a debug_assert to "prove" that it never tries drawing out of bounds.pull/4334/head
parent
1de02a147c
commit
8bbddf90ff
Loading…
Reference in New Issue