Describe the bug
When rendering text with a combining diacritic mark, nvim-gtk does not display the mark or any text after it, and crashes in certain instances with either an unwrap() on a None value or an integer overflow. I am assuming these issues are related.
To reproduce:
$ echo "123 aB\u20E3c" > test.txt
Rendering issues
Opening in NeoVim
Opening NeoVim-gtk
Crashes
The below were run using the debug build of master with this command:
Describe the bug When rendering text with a combining diacritic mark,
nvim-gtk
does not display the mark or any text after it, and crashes in certain instances with either anunwrap()
on aNone
value or an integer overflow. I am assuming these issues are related.To reproduce:
Rendering issues
Opening in NeoVim
Opening NeoVim-gtk
Crashes
The below were run using the debug build of
master
with this command:unwrap()
After entering insert mode after the number
2
and pressing backspace twice,nvim-gtk
crashes with this backtrace:Integer overflow
After entering insert mode after the letter
a
and pressing backspace,nvim-gtk
crashes with this backtrace:Technical information (please complete the following information):