New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Index out of bounds error #101
Comments
I've tested it on the master branch and found that it's working fine, no index out of bounds found.
|
I installed the version from the AUR, and I see the issue about it being out of date, so maybe this has been fixed recently? |
There are several problems with this editor at the moment and I am starting to see a pattern
I'm currently thinking up solutions to each of these problems and I'm currently building a Version 0.3.0 of the editor that I'm building from the ground up. I have created this version with several improvements over the 0.2.* codebase:
I have no ETA but I'm making hasty progress with this version and I know that it will create a better experience. |
I will also update the AUR package to the latest version now. (forgive me) |
why not just use an existing programming language like lua? |
Describe the bug
ox crashes with an index out of bounds error, when pressing backspace in an empty file.
To Reproduce
Steps to reproduce the behavior:
ox
Expected behavior
Ox does not crash when pressing backspace in an empty file
Screenshots
thread 'main' panicked at 'index out of bounds: the len is 0 but the index is 0', src/document.rs:385:21
stack backtrace:
0: 0x55c15ffc3273 -
1: 0x55c15ff4611c -
2: 0x55c15ffc28d6 -
3: 0x55c15ffc22ca -
4: 0x55c15ffc1b97 -
5: 0x55c15ffc182a -
6: 0x55c15ffc17f4 -
7: 0x55c15ffc17ad -
8: 0x55c15ff438e0 -
9: 0x55c15ff43771 -
10: 0x55c15fed529c -
11: 0x55c15fee6784 -
12: 0x55c15fea7043 -
13: 0x55c15fef0d55 -
14: 0x7fb19de50152 - __libc_start_main
15: 0x55c15fea506e -
16: 0x0 -
Aborted (core dumped)
Desktop (please complete the following information):
The text was updated successfully, but these errors were encountered: