aboutsummaryrefslogtreecommitdiff
path: root/libjava/java/awt/TextComponent.java
diff options
context:
space:
mode:
Diffstat (limited to 'libjava/java/awt/TextComponent.java')
-rw-r--r--libjava/java/awt/TextComponent.java4
1 files changed, 2 insertions, 2 deletions
diff --git a/libjava/java/awt/TextComponent.java b/libjava/java/awt/TextComponent.java
index cbe7dc9..c193b9e 100644
--- a/libjava/java/awt/TextComponent.java
+++ b/libjava/java/awt/TextComponent.java
@@ -163,7 +163,7 @@ getSelectedText()
/**
* Returns the starting position of the selected text region.
- * // FIXME: What is returned if there is no selected text?
+ * If the text is not selected then caret position is returned.
*
* @return The starting position of the selected text region.
*/
@@ -196,7 +196,7 @@ setSelectionStart(int selectionStart)
/**
* Returns the ending position of the selected text region.
- * // FIXME: What is returned if there is no selected text.
+ * If the text is not selected, then caret position is returned
*
* @return The ending position of the selected text region.
*/