Skip to content

Commit

Permalink
Fix typo in TextFormatter.java
Browse files Browse the repository at this point in the history
  • Loading branch information
nlisker authored Sep 4, 2024
1 parent 5504e9d commit 362d935
Showing 1 changed file with 1 addition and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -231,7 +231,7 @@ void updateValue(String text) {
* an empty {@code text}. Similarly, if you want to delete some different or additional text, just set the {@code range}.
* If you want to remove first word instead of the second, just call {@code setRange(0,5)}</li>
* <li><b>Some text was added:</b> Now the {@code range} is empty (means nothing was deleted), but it's value is still important.
* Both the start and end of the {@code range} point to the index wheret the new text was added. E.g. adding "ipsum " to "Lorem dolor sit amet"
* Both the start and end of the {@code range} point to the index where the new text was added. E.g. adding "ipsum " to "Lorem dolor sit amet"
* would result in a change with {@code range} of (6,6) and {@code text} containing the String "ipsum ".</li>
* <li><b>Some text was replaced:</b> The combination of the 2 cases above. Both {@code text} and {@code range} are not empty. The text in {@code range} is deleted
* and replaced by {@code text} in the Change. The new text is added instead of the old text, which is at the beginning of the {@code range}.
Expand Down

0 comments on commit 362d935

Please sign in to comment.