Open thewatts opened 10 years ago
Give me some more information. You mean that it works with Xcode5 ? Are you using the latest 'master' branch?
I'm seeing the same issue, but only in Playgrounds, not in actual project files.
I'm using d75c111e. I saw it in XCode 6-beta5, and still see it in XCode 6 GM (ver 6A313)
I got the same problem in Xcode 6 GM playgrounds, but it disappeared in Xcode 6.1-beta (6A1027).
I have the same problem. However, by including set blinkcursor
in my .xvimrc
, I actually get a non blinking cursor back.
@mikijov thanks for that .xvimrc tip, it works for me now in playgrounds in Xcode 6 GM.
I haven't solved the problem yet but I found the root cause. The view used in Playground is called 'IDEPlaygroundTextView' that is dervied from DVTSourceTextView which is used when coding in ObjC, C++, etc. I do not know the reason but IDEPlaygroundTextView does not use intrinsic cursor drawing operation (which is inherited from NSTextView), which makes it unable to draw the cursor as we expect.
I'll fix it but please use the set blinkcursor
workaround at the moment.
(You may feel that it is strange that the cursor does not blink even it says blinkcursor
but it is right behaviour because of the IDEPlaygroundTextView's behaviour described above.)
I confirmed the bug disappear to revert the commit 223007359adf5cbbba30747f1086fede8b6f064e (Add blink cursor option. For #594). The blink cursor option feature disappear together, of course.
Hi, I have just committed the fix for this issue. Its in develop branch. Can you try that?
Hello, thanks for the patch. It's working for me in playgrounds (xcode 6.0.1)
The patch helped me too (6.0.1 6A317).
I was also having this issue and the commit does seem to have fixed it.
I'm still seeing this issue in the release version of Xcode 7
Use set blinkcursor
option for now. I'm investigating the problem.
has this issue been fixed?
I think this issue is fixed in XCode 7.2
I'm on Xcode 7.3.1 and issue is still present in Playground and the .xvimrc work around is not working form me.
Hello! Thanks so much for this plugin!
I am also seeing this issue in Xcode 8 beta and the work around is not working for me either
@dkinzer I'm on Xcode 7.3.1 and ran into this issue. I cloned the repo and checked out the master branch at d0ee97d2a136d723d4a7ce4f9b515a8515db1d9f and the bug appears to have disappeared (meaning the cursor reappeared)
@danzimm cursor still disappear at d0ee97d
on my Xcode (7.3.1)
+1 on my Xcode (7.3.1) I can't see the cursor in my playground
No way to fix it ?
I fixed it in dev7
branch for Xcode7.3.1.
When you find a problem, plz report it.
I can confirm that @pebble8888's fix works.
Hi, I am sorry for the beginner questions, but is this change already part of the master? Cause it is still not working for me. I'm new to git and just wondering how I can get the change.
what i tried was ---> git checkout -b dev 7 --->make but to no avail I'm just guessing here have no idea if thats how you do it.
This happens for me in XCode 8
This issue is still there for XCode Version 8.0 (8A218a).
I've tried adding set blinkcursor
to .xvimrc, but it is not helping.
XVim revision :
OS Version : Version 10.11.5 (Build 15F34)
Xcode Version : 8.0
--- .xvmrc ---
set blinkcursor
--------------
has the issue
@JugglerShu Does not seem that the fixes for XCode 7.x fixes the problem that has reappeared for XCode 8.
I confirmed dev7
branch doesn't fix the problem in Xcode8.
Please try pebble8888/develop
branch.
I just cherry-picked @JessThrysoee's work.
I'm seeing this too with Xcode 8 (8A218a). @pebble8888 installing your branch worked for me 👍
Thanks @pebble8888 your develop branch is showing the cursor.
@pebble8888 I pulled your branch. The cursor now appears for me in normal mode but all the text on the current line disappears. When I move the cursor to a different line, the text reappears.
@pebble8888 Thanks so much. It works my cursor is back :)
@pebble8888 Thanks man, it's working like a charm.
@pebble8888 This is working for me now. @JugglerShu Any chance we can get this merged into master?
@Tylerc230 Yes. I'll merge it as soon as possible.
@amandogra It works for me. Thanks so much!
@pebble8888 it works for me xcode 8.1. thanks~
PR https://github.com/XVimProject/XVim/pull/1016, trying to reference the PR in issues to make it easier for @JugglerShu to close them once it's merged.
I still experience this problem even with the patch from pebble8888/XVimProject on xcode 8.2.1, alas.
I uninstalled the previous version, rebuilt and installed, and I do get a cursor. But as soon as I view the timeline of a MetalKit view the cursor disappears in all of my editors and doesn't return.
I'm still seeing the issue (Xcode 8.2.1)
I'm new to XCode, as well as XVim, but I noticed that there isn't a cursor in Normal mode (at least, when I'm using this with XCode 6GM).
As a side note - thanks for a killer plugin!