summaryrefslogtreecommitdiff
path: root/javax/swing/text/GapContent.java
diff options
context:
space:
mode:
Diffstat (limited to 'javax/swing/text/GapContent.java')
-rw-r--r--javax/swing/text/GapContent.java11
1 files changed, 11 insertions, 0 deletions
diff --git a/javax/swing/text/GapContent.java b/javax/swing/text/GapContent.java
index 80dcfa56e..5e4b77a21 100644
--- a/javax/swing/text/GapContent.java
+++ b/javax/swing/text/GapContent.java
@@ -747,6 +747,17 @@ public class GapContent
}
/**
+ * @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, int offset, int length)
+ {
+ // We do nothing here.
+ }
+
+ /**
* Outputs debugging info to System.err. It prints out the buffer array,
* the gapStart is marked by a < sign, the gapEnd is marked by a >
* sign and each position is marked by a # sign.