daa84 / neovim-gtk

gtk ui for neovim
GNU General Public License v3.0
718 stars 56 forks source link

Crash in ui_model/line.rs #72

Closed christopher-l closed 6 years ago

christopher-l commented 6 years ago

https://github.com/daa84/neovim-gtk/blob/fdaff9748aa9e81db53a705c8aec2277e75143d9/src/ui_model/line.rs#L190

I encountered a crash here:

thread 'main' panicked at 'attempt to subtract with overflow', src/ui_model/line.rs:190:13

I think I was just scrolling down, but I can't reproduce the crash. The debug_assert! above was enabled and did not trigger.

daa84 commented 6 years ago

same as #122