aboutsummaryrefslogtreecommitdiff
path: root/helix-view/src/view.rs
diff options
context:
space:
mode:
authorMathis Brossier2022-01-16 01:55:28 +0000
committerGitHub2022-01-16 01:55:28 +0000
commitf5b0821860940782567a0baa17280aef04f845e3 (patch)
tree40b72ef97945fb535fd7e3f29898c1b59a1e4a07 /helix-view/src/view.rs
parent9da0abaa5d0744d6480c6e6f23a3c5ddb5ae0bce (diff)
Fix panics when resizing (#1408)
* Change buffer.get & buffer.get_mut to return Option, Implement Trait Index & IndexMut to panic * Prevent FilePicker from drawing outside buffer (rust panics) * apply suggestion * add function in_bounds to avoid useless calculations Co-authored-by: mathis <mathis.brossier@universite-paris-saclay.fr>
Diffstat (limited to 'helix-view/src/view.rs')
0 files changed, 0 insertions, 0 deletions