Discussion:
blinking caret / flashing cursor - how to stop
buenohombre
2009-03-09 18:52:57 UTC
Permalink
I've searched through the forums and have found several old threads relating
to this but they appear to be out of date.

All of the them refer to the solution to do with...
I figured out an answer to my own question. I just have to add the
<property class="java.lang.Integer" name="caret-blink-rate"
value="0"/>
However I dont have this file, probably because I'm using netbeans just for
ruby, however when I look at x-ruby there doesn't appear to be a comparable
file.

I'm new to netbeans so if there is something obvious I'm missing here I'd
mch appreciate it if you could take a minute to spell it out.

Also I read a thread that said the functionality to switch off the blinking
cursor used to be in the UI but was removed, whats all that about? Netbeans
looks to be an excellent piece of software but that flashing cursor makes it
unusable for me - I find it very irritating. Why remove the functionality
to disable it?

thanks
lloyd
--
View this message in context: http://www.nabble.com/blinking-caret---flashing-cursor---how-to-stop-tp22415655p22415655.html
Sent from the Netbeans IDE Users mailing list archive at Nabble.com.
a7ndrew
2009-03-11 02:52:36 UTC
Permalink
I'm trying to turn off the blinking cursor as well. I'm using Netbeans under Vista and unfortunately it is not inheriting the cursor blink rate from the OS.



I have a file called


Code:
org-netbeans-modules-editor-settings-CustomPreferences.xml





in my
Code:
~/.netbeans/6.0beta2/config/Editors/text/x-java

directory that looks like as follows:




Code:
<?xml version="1.0" encoding="UTF-8"?>

<!DOCTYPE editor-preferences PUBLIC "-//NetBeans//DTD Editor Preferences 1.0//EN" "http://www.netbeans.org/dtds/EditorPreferences-1_0.dtd">

<editor-preferences>

<entry javaType="java.lang.String" name="indentEngine" xml:space="preserve">

<value><![CDATA[SL[/IndentEngine/org-netbeans-modules-editor-java-JavaIndentEngine]]></value>

</entry>

</editor-preferences>





I am unfamiliar with XML. Where in the file should the line


Code:
<property class="java.lang.Integer" name="caret-blink-rate" value="0"/>

be added? Can it just be added anywhere between the 'editor-preferences' tags?



Can't there be an easier way?!
nathan.neff
2009-04-03 19:08:52 UTC
Permalink
I was also annoyed by the rate/size of the cursor in Netbeans, especially when viewing multiple windows simultaneously.



This fix is for Netbeans 6.7 M3



Basically you need to put

<entry javaType="java.lang.Integer" name="caret-blink-rate" xml:space="preserve">

<value><![CDATA[0]]></value>

</entry>



In the org-netbeans-modules-editor-settings-CustomPreferences.xml that's located in your ~/.netbeans directory.



I have detailed instructions here:

http://notesmine.com/netbeans_cursor

Continue reading on narkive:
Search results for 'blinking caret / flashing cursor - how to stop' (Questions and Answers)
10
replies
wha is the difference between a mouse pointer and cursor?
started 2006-10-03 00:54:37 UTC
software
Loading...