summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
author Andrew Solovay <asolovay@google.com> 2024-08-06 18:36:29 +0000
committer Andrew Solovay <asolovay@google.com> 2024-08-15 17:45:56 +0000
commit62c8db5151c6f8177cb250410b16ac2072928ae9 (patch)
treed4811c8195226547918cbd24a2645cacf7f2a97d
parent6426381553f8e4e21e48ffefd531a5251f5806c1 (diff)
docs: Fix typo in method description ("cusrot" -> "cursor")
No change to source code, just a typo fix in the docs. Change-Id: I50410a0ea9d0e49201a6f371a1cf7baaebdb2600 Fixes: 356693490 Test: [ABTD docs build: go/abtd/run/L61500030005627537/ ] Flag: DOCS_ONLY
-rw-r--r--core/java/android/text/Selection.java2
1 files changed, 1 insertions, 1 deletions
diff --git a/core/java/android/text/Selection.java b/core/java/android/text/Selection.java
index 6a54d2378f6c..711578c1482f 100644
--- a/core/java/android/text/Selection.java
+++ b/core/java/android/text/Selection.java
@@ -350,7 +350,7 @@ public class Selection {
private static final char PARAGRAPH_SEPARATOR = '\n';
/**
- * Move the cusrot to the closest paragraph start offset.
+ * Move the cursor to the closest paragraph start offset.
*
* @param text the spannable text
* @param layout layout to be used for drawing.