Skip to content
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

Replacing the last characters of a line works incorrectly. #1083

Open
yixiang opened this issue Aug 1, 2017 · 3 comments
Open

Replacing the last characters of a line works incorrectly. #1083

yixiang opened this issue Aug 1, 2017 · 3 comments

Comments

@yixiang
Copy link
Contributor

yixiang commented Aug 1, 2017

Description

Select and replace last characters of a line works incorrectly. Instead of appending the register content after the last character, it inserts the characters before the last character.

Operation

Say we have a line of code like this:
int var;

  1. Copy `int' so we have something in the register
  2. Select ar;
  3. Hit key 'p'.
  4. The result becomes int intv.

Expected behaviour

The replacement result should be int vint.

@mossheim
Copy link

mossheim commented Aug 1, 2017

I believe this is a duplicate of #1047 (but better title)

@tnadmin
Copy link

tnadmin commented Aug 2, 2017

Thanks for pointing out #1047. The nature of the problem is with the location of the selection in the line, not the content of the selection.

@mossheim
Copy link

mossheim commented Aug 2, 2017

@lyxera yes that is true (see my comment on that issue). one of them should be closed.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

3 participants