Vsvim: Caret is misplaced in lines that display codelens

Created on 12 Aug 2019  ·  4Comments  ·  Source: VsVim/VsVim

Describe the bug
When placing the caret on a line that displays codelens information above the caret is shown in the codelens line and not in the actual line of code.
grafik

To Reproduce
Steps to reproduce the behavior:

  1. Open a .cs file
  2. Move caret to a property definition or a method definition.
  3. Caret is now in the codelens line.

Expected behavior
The caret is placed on the code line.

Screenshots
If applicable, add screenshots to help explain your problem.

Environment (please complete the following information):

  • Visual Studio version: 2019
  • VsVim version: 2.8.307
  • Programming Language: C#
  • Check(Type 'x') any that are installed:

    • [ ] ReSharper

    • [ ] Visual Assist

bug

Most helpful comment

@LariscusObscurus Thanks, Leonard. I can reproduce this bug. I will try to get it fixed shortly.

All 4 comments

@LariscusObscurus Thanks, Leonard. I can reproduce this bug. I will try to get it fixed shortly.

How does one avoid this; will downgrading VsVim help?

@jonschoning Sorry, I unfortunately do no know which version this bug was introduced in. If you can wait a few days, I'm working right now on submitting a PR for a fix. Sorry for the delay!

Thx for fixing this =)

Was this page helpful?
0 / 5 - 0 ratings

Related issues

prat0088 picture prat0088  ·  4Comments

thelamb picture thelamb  ·  5Comments

academician picture academician  ·  3Comments

kkorus picture kkorus  ·  7Comments

keithn picture keithn  ·  3Comments