src/Tools/jEdit/patches/jedit-4.5.1/caret
author wenzelm
Sun, 20 May 2012 11:34:33 +0200
changeset 47884 21c42b095c84
parent 47471 d6a1b5aeb4b1
permissions -rw-r--r--
try to avoid races again (cf. 8c37cb84065f and fd3a36e48b09);
Ignore whitespace changes - Everywhere: Within whitespace: At end of lines:
47471
d6a1b5aeb4b1 use official TextArea.isCaretVisible and thus follow the "blink" flag;
wenzelm
parents:
diff changeset
     1
diff -ru 4.5.1/jEdit/org/gjt/sp/jedit/textarea/TextArea.java 4.5.1/jEdit-patched/org/gjt/sp/jedit/textarea/TextArea.java
d6a1b5aeb4b1 use official TextArea.isCaretVisible and thus follow the "blink" flag;
wenzelm
parents:
diff changeset
     2
--- 4.5.1/jEdit/org/gjt/sp/jedit/textarea/TextArea.java	2012-03-25 18:51:47.000000000 +0200
d6a1b5aeb4b1 use official TextArea.isCaretVisible and thus follow the "blink" flag;
wenzelm
parents:
diff changeset
     3
+++ 4.5.1/jEdit-patched/org/gjt/sp/jedit/textarea/TextArea.java	2012-04-14 18:37:11.000000000 +0200
d6a1b5aeb4b1 use official TextArea.isCaretVisible and thus follow the "blink" flag;
wenzelm
parents:
diff changeset
     4
@@ -4907,7 +4907,7 @@
d6a1b5aeb4b1 use official TextArea.isCaretVisible and thus follow the "blink" flag;
wenzelm
parents:
diff changeset
     5
 	/**
d6a1b5aeb4b1 use official TextArea.isCaretVisible and thus follow the "blink" flag;
wenzelm
parents:
diff changeset
     6
 	 * Returns true if the caret is visible, false otherwise.
d6a1b5aeb4b1 use official TextArea.isCaretVisible and thus follow the "blink" flag;
wenzelm
parents:
diff changeset
     7
 	 */
d6a1b5aeb4b1 use official TextArea.isCaretVisible and thus follow the "blink" flag;
wenzelm
parents:
diff changeset
     8
-	final boolean isCaretVisible()
d6a1b5aeb4b1 use official TextArea.isCaretVisible and thus follow the "blink" flag;
wenzelm
parents:
diff changeset
     9
+	public final boolean isCaretVisible()
d6a1b5aeb4b1 use official TextArea.isCaretVisible and thus follow the "blink" flag;
wenzelm
parents:
diff changeset
    10
 	{
d6a1b5aeb4b1 use official TextArea.isCaretVisible and thus follow the "blink" flag;
wenzelm
parents:
diff changeset
    11
 		return blink && hasFocus();
d6a1b5aeb4b1 use official TextArea.isCaretVisible and thus follow the "blink" flag;
wenzelm
parents:
diff changeset
    12
 	} //}}}