mirror of
https://github.com/openRuyi-Project/gcc.git
synced 2026-06-21 02:45:51 +00:00
2003-12-01 Olga Rodimina <rodimina@redhat.com>
* java/awt/TextComponent.java: (getSelectionStart): Updated javadocs. (getSelectionEnd): Ditto. * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkTextComponentPeer: (getSelectionStart): Changed to return caret position if no text is selected (getSelectionEnd): Ditto. From-SVN: r74124
This commit is contained in:
committed by
Tom Tromey
parent
bde5dd2520
commit
ea91ed0989
@@ -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.
|
||||
*/
|
||||
|
||||
Reference in New Issue
Block a user