summaryrefslogtreecommitdiff
path: root/javax/swing/text/StringContent.java
diff options
context:
space:
mode:
Diffstat (limited to 'javax/swing/text/StringContent.java')
-rw-r--r--javax/swing/text/StringContent.java12
1 files changed, 12 insertions, 0 deletions
diff --git a/javax/swing/text/StringContent.java b/javax/swing/text/StringContent.java
index 8487742b2..0a31505f3 100644
--- a/javax/swing/text/StringContent.java
+++ b/javax/swing/text/StringContent.java
@@ -372,6 +372,18 @@ public final class StringContent
txt.count = len;
}
+
+ /**
+ * @specnote This method is not very well specified and the positions vector
+ * is implementation specific. The undo positions are managed
+ * differently in this implementation, this method is only here
+ * for binary compatibility.
+ */
+ protected void updateUndoPositions(Vector positions)
+ {
+ // We do nothing here.
+ }
+
/**
* A utility method that checks the validity of the specified character
* range.