Cursor color in Eclipse 3.5/Zend Studio 7 on Mac OS X

蓝咒 提交于 2019-12-11 06:25:26

问题


Does any of you have a clue on how to change the cursor color in Zend Studio 7.0 on Mac OS X?

I am asking because I really fancy dark colored themes. After a few hours I managed to port my favorite theme from TextMate.app. However my cursor is still black, which is somehow troublesome.

As you can see here - http://twitpic.com/f7ywc - the cursor becomes pretty invisible, right?

Please help me out here. Btw - anyone interested in the theme?

All the best


回答1:


I love TextMate and its twilight theme, so this issue is dear to me. I think Eclipse for Mac just can't set the caret color due to an SWT bug.

In the meantime, you can enable line highlighting to make just the current line have a slightly lighter background. This worked for me:

  1. Open Preferences and go to General -> Editors -> Text Editors
  2. Check "Highlight current line"
  3. In the scrolling list at the bottom, set "Current line highlight" to a medium-dark gray.



回答2:


Actually, a much better solution for Eclipse 3.5 is to use the Carbon build instead of Cocoa. Cocoa seems to force a black cursor but I didn't have this problem with Carbon. To my surprise it's also a lot faster to scroll through code in Carbon.



来源:https://stackoverflow.com/questions/1328795/cursor-color-in-eclipse-3-5-zend-studio-7-on-mac-os-x

易学教程内所有资源均来自网络或用户发布的内容,如有违反法律规定的内容欢迎反馈
该文章没有解决你所遇到的问题?点击提问,说说你的问题,让更多的人一起探讨吧!