micro-editor / micro-editor/micro
runtime error: index out of range
Nobody has claimed this yet.
- Dominant language
- Go
- Stars
- 29.6k
- Forks
- 1.4k
- Avg merge
- 2d 18h
- Merged PRs (30d)
- 10
Description
Description of the problem or steps to reproduce
runtime error: index out of range
stack traceback:
[G]: in function 'sub'
:7: in function 'charAt'
:23: in main chunk
[G]: ?
Press enter to continue
Then I pressed ^C accidentally, because I was trying to copy the error, LOL. Luckily I only lost one sentence. No idea what happened.
Specifications
You can use micro -version to get the commit hash.
Version: 1.1.4-78
Commit hash: 5dc8fe4
Compiled on February 10, 2017
Commit hash:
OS: Manjaro
Terminal: Terminology
Contributor guide
No contributing guide indexed for this repository
First steps
- Read the whole issue, then the project's contributing guide.
- Comment on the issue to say you are picking it up — it saves two people doing the same work.
- Fork the repository and make your change on a branch.
- Open a pull request that references the issue number.
Research direction
Start by reproducing the error with micro version 1.1.4-78 at commit 5dc8fe4 on the reported Manjaro and Terminology setup. Trace the reported charAt and sub calls from the stack trace to determine what input causes the out-of-range access. Done means identifying a reliable reproduction and preventing the error without losing the user's text.
Written by the indexing model from the issue text.
Assessment
- Tech stack
- go
- Domain
- cli
- Issue type
- Bug
- Difficulty
- 4/5
- Estimated time
- 3-5 days
- Activity status
- Stale
- Clarity
- Needs clarification
- Newbie friendliness
- 20/100