Re: Macro & ViEMU don't get along..

Re: Macro & ViEMU don't get along..

I just tried creating a macro that does just "DTE.ActiveDocument.Selection.Delete()". This deletes the current selection if there is one, or just the current character if there is none. It works the same no matter whether ViEmu is enabled or disabled. Can you please explain the problem in more detail?

I'm not totally sure what JP's macro does, what it expects, so please let me know how I can reproduce the problem.

Re: Macro & ViEMU don't get along..

This is where things get a bit interesting. I talked to JP and he doesn't have the same problem I do. In fact I actually had the macro working fine. Then all of the sudden it stopped working properly. So I'm going to have to do some more digging.

I don't think the macro itself is that important. If I put a Return right after the selection.Delete(1) I'll see that a single space has been deleted instead of the line (which implies that the line was not selected and the default behavior fired instead -- Delete(1) will delete a single character)