Reputation: 161
I have created an Eclipse Editor (extends EditorPart) containing an TextViewer. I would like to disable the Caret blinking (I want an Caret allways visible)? How can i do?
Upvotes: 3
Views: 4262
Reputation: 881
If you're on a Unix-like operating system, you can try adding the line gtk-cursor-blink=0
to your $HOME/.gtkrc-2.0
file, followed by logging out and back in (to reload the GTK libraries). That should do the trick, in case you can't disable the blinking cursor in the Eclipse preferences.
If that doesn't work, and you're using Xfce, you may try executing the following line in a terminal:
xfconf-query -c xsettings -p /Net/CursorBlink -s false
Upvotes: 3
Reputation: 1327254
As mentioned in this thread:
Yes, if you OS supports it you can set it there (in the OS)
and the editor will honor it if you disable the custom caret on theGeneral > Editors > Text Editors > Accessibility
preference page.
Upvotes: 1
Reputation: 7405
Google showed me: http://www.gatorspit.com/tips/disable-blinking-cursor.html
However, it removes the blinking carets from ALL of your applications [which includes eclipse], so you probably won't want that ._. Unless.. you totally abhor blinking carets
Upvotes: 0