Pasting and warped line of text in FakeVim
- Dominant language
- C++
- Stars
- 12.3k
- Forks
- 593
- Avg merge
- 2d 8h
- Merged PRs (30d)
- 9
Description
**Describe the bug**
If you have a warped line of text and you want to paste (`p`) another one after it while your cursor is at the first visible part of the warped up line, *the line would be pasted at the warped up point of this long line*.
**To Reproduce**
1. FakeVim is enabled.
2. Have two lines of text of which one is warped...
3. Yank the one not warped (shorter one, for effect to be easily noticeable)
4. Paste the other line (with `p`) while your cursor is somewhere on the first part of the warped up line
**Expected behavior**
Line pasted should be after the whole line, be it warped or not.
**Version, OS and Environment**
Arch Linux
r6910.e354d3fc
Contributor guide
No contributing guide indexed for this repository
Research direction
Start by reproducing the behavior in FakeVim with a long warped line, a shorter yanked line, and the `p` command while the cursor is on the first visible segment. Trace the FakeVim paste entry point and compare the cursor's wrapped position with the full line position. Done means the pasted line appears after the entire warped line.
Written by the indexing model from the issue text.
Assessment
- Tech stack
- cpp
- Domain
- desktop
- Issue type
- Bug
- Difficulty
- 3/5
- Estimated time
- 1-2 days
- Activity status
- Active
- Clarity
- Mostly clear
- Newbie friendliness
- 65/100