Closed markovicdenis closed 7 years ago
I think this is due to "getEndOfCurrentWordBufferPosition" returnining an regular Object instead of an Point instance..
Anyways, heres how I fixed it on my local version #908 (its probably not the best way, but it works for now)
You use your own build of Atom for master branch? I wont try to fix the issue like this basically. I believe that issue is regression of atom-core, if you can see that function not return instance of Point constantly, open issue on Atom-core. They will definately fix it.
If this issue is left unfixed when 1.23 become new-beta, i will patch then. Unless that many packages breaks not only vmp.
@t9md yeah, its the latest build. I just made this to point out the error, and provide a fix for myself in the meantime..
Pls open the issue to atom-core. Unless you do that i have to open it, I think this proxying is NOT necessary.
@t9md no, haven't opened it yet. I'm not really proficient in opening issues (this is the 2nd issue I've opened on github, overall). Also, not very familiar with atom modules, atom-core...
Ok I will open, thanks for sharing issue.
[Enter steps to reproduce:]
Atom: 1.23.0-dev-26b784d3b x64 Electron: 1.6.14 OS: Mac OS X 10.13.1 Thrown From: vim-mode-plus package 1.9.0
Stack Trace
Uncaught TypeError: cursor.getEndOfCurrentWordBufferPosition(...).translate is not a function
Commands
Non-Core Packages