1

Topic: Undo Jump

Hi,

Whenever I undo using ViEmu, the cursor jumps to some previous line for some reason. Sometimes the jumps are huge. This makes it very hard to follow what is being 'undo'ed, so much so that I end up using Visual Studio's undo (which can sometimes require quite a few undos).

I am using Visual Studio 2008 and as far as I can tell this does not happen on Visual Studio 2010. Is this a known issue? Is there a workaround?

ViEmu version I am using: 3.0.6

Thanks

Last edited by samaursa (2012-11-11 04:02:33)

2

Re: Undo Jump

I've also experienced some weird issues with the built in undo

3

Re: Undo Jump

Hi, I'll have a look at it, although if any of you have some reproduction steps, it would be very helpful. Many things change between the VS2010 and the "Classic" version of ViEmu, since the integration is completely different (the text editor component was rewritten from scratch using .NET in VS2010, previously, it was COM-based C++ native code). Undo/redo is one of those areas where the extensibility VS provides is not great, and the vim model is so different from VS's default one that a lot of work has to be done. This involves using heuristics, etc... which can cause weird behavior in some cases.

Again, any more details would be really helpful.

Regards,

  -- Jon