Skip to content
This repository has been archived by the owner on Jul 4, 2022. It is now read-only.

InteroType strips away last char #2

Open
DavsX opened this issue Jun 5, 2016 · 2 comments
Open

InteroType strips away last char #2

DavsX opened this issue Jun 5, 2016 · 2 comments

Comments

@DavsX
Copy link

DavsX commented Jun 5, 2016

When I select a function/code manually and call InteroType, the last letter of the selection is removed. The issue is in here with the '- 2' at the end. There is an updated version of this code snippet here: http://stackoverflow.com/a/6271254

In the current version to make it behave correctly I need to select the function and the next char.

@valpackett
Copy link
Owner

Yeah, that was intended, but probably wrong... I'll fix this soon

@Xandaros
Copy link

Xandaros commented Jun 8, 2016

Ohhh, so that's why goto und uses weren't working.
I do wonder, though - what made you decide to do it like this? :D

If you can, it would be great if goto and uses worked even if you just hover over the word, but I suppose I can just make my binding viw:InteroGoto<CR> or something.
For the time being, I guess I'll just add an l in there.

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

No branches or pull requests

3 participants