aboutsummaryrefslogtreecommitdiff
path: root/man/man3/tomo-Text.from.3
diff options
context:
space:
mode:
authorBruce Hill <bruce@bruce-hill.com>2025-04-19 14:48:17 -0400
committerBruce Hill <bruce@bruce-hill.com>2025-04-19 14:48:17 -0400
commit1663004ff08de9d90338cb3c04bbf45e61477d6b (patch)
tree36f8bdd60f976537c8582769881193169fca1827 /man/man3/tomo-Text.from.3
parent67fd3c725e6511adf70345f0733ec0b948477a11 (diff)
Minor formatting fixes
Diffstat (limited to 'man/man3/tomo-Text.from.3')
-rw-r--r--man/man3/tomo-Text.from.39
1 files changed, 6 insertions, 3 deletions
diff --git a/man/man3/tomo-Text.from.3 b/man/man3/tomo-Text.from.3
index caf232e5..7b9a83fe 100644
--- a/man/man3/tomo-Text.from.3
+++ b/man/man3/tomo-Text.from.3
@@ -2,7 +2,7 @@
.\" Copyright (c) 2025 Bruce Hill
.\" All rights reserved.
.\"
-.TH Text.from 3 2025-04-19T14:30:40.367391 "Tomo man-pages"
+.TH Text.from 3 2025-04-19T14:48:15.717080 "Tomo man-pages"
.SH NAME
Text.from \- Get a slice of the text, starting at the given position.
@@ -10,7 +10,7 @@ Text.from \- Get a slice of the text, starting at the given position.
Tomo Standard Library
.SH SYNOPSIS
.nf
-.BI "Text.from : func(text: Text, first: Int -> Text)"
+.BI Text.from\ :\ func(text:\ Text,\ first:\ Int\ ->\ Text)
.fi
.SH DESCRIPTION
@@ -26,7 +26,10 @@ text Text The text to be sliced. -
first Int The index to begin the slice. -
.TE
.SH RETURN
-The text from the given grapheme cluster to the end of the text. Note: a negative index counts backwards from the end of the text, so `-1` refers to the last cluster, `-2` the second-to-last, etc. Slice ranges will be truncated to the length of the text.
+The text from the given grapheme cluster to the end of the text.
+
+.SH NOTES
+A negative index counts backwards from the end of the text, so `-1` refers to the last cluster, `-2` the second-to-last, etc. Slice ranges will be truncated to the length of the text.
.SH EXAMPLES
.EX