Fix typos/mistakes in the documentation for colour related functions. (#5936)
This commit is contained in:
parent
cba783f7fa
commit
e665e75e77
|
@ -1117,15 +1117,15 @@ The following functions provide escape sequences:
|
||||||
`minetest.get_color_escape_sequence(color) ..
|
`minetest.get_color_escape_sequence(color) ..
|
||||||
message ..
|
message ..
|
||||||
minetest.get_color_escape_sequence("#ffffff")`
|
minetest.get_color_escape_sequence("#ffffff")`
|
||||||
* `color.get_background_escape_sequence(color)`
|
* `minetest.get_background_escape_sequence(color)`
|
||||||
* `color` is a [ColorString](#colorstring)
|
* `color` is a [ColorString](#colorstring)
|
||||||
* The escape sequence sets the background of the whole text element to
|
* The escape sequence sets the background of the whole text element to
|
||||||
`color`. Only defined for item descriptions and tooltips.
|
`color`. Only defined for item descriptions and tooltips.
|
||||||
* `color.strip_foreground_colors(str)`
|
* `minetest.strip_foreground_colors(str)`
|
||||||
* Removes foreground colors added by `get_color_escape_sequence`.
|
* Removes foreground colors added by `get_color_escape_sequence`.
|
||||||
* `color.strip_background_colors(str)`
|
* `minetest.strip_background_colors(str)`
|
||||||
* Removes background colors added by `get_background_escape_sequence`.
|
* Removes background colors added by `get_background_escape_sequence`.
|
||||||
* `color.strip_colors(str)`
|
* `minetest.strip_colors(str)`
|
||||||
* Removes all color escape sequences.
|
* Removes all color escape sequences.
|
||||||
|
|
||||||
`ColorString`
|
`ColorString`
|
||||||
|
|
|
@ -2060,15 +2060,15 @@ The following functions provide escape sequences:
|
||||||
`minetest.get_color_escape_sequence(color) ..
|
`minetest.get_color_escape_sequence(color) ..
|
||||||
message ..
|
message ..
|
||||||
minetest.get_color_escape_sequence("#ffffff")`
|
minetest.get_color_escape_sequence("#ffffff")`
|
||||||
* `color.get_background_escape_sequence(color)`
|
* `minetest.get_background_escape_sequence(color)`
|
||||||
* `color` is a ColorString
|
* `color` is a ColorString
|
||||||
* The escape sequence sets the background of the whole text element to
|
* The escape sequence sets the background of the whole text element to
|
||||||
`color`. Only defined for item descriptions and tooltips.
|
`color`. Only defined for item descriptions and tooltips.
|
||||||
* `color.strip_foreground_colors(str)`
|
* `minetest.strip_foreground_colors(str)`
|
||||||
* Removes foreground colors added by `get_color_escape_sequence`.
|
* Removes foreground colors added by `get_color_escape_sequence`.
|
||||||
* `color.strip_background_colors(str)`
|
* `minetest.strip_background_colors(str)`
|
||||||
* Removes background colors added by `get_background_escape_sequence`.
|
* Removes background colors added by `get_background_escape_sequence`.
|
||||||
* `color.strip_colors(str)`
|
* `minetest.strip_colors(str)`
|
||||||
* Removes all color escape sequences.
|
* Removes all color escape sequences.
|
||||||
|
|
||||||
Spatial Vectors
|
Spatial Vectors
|
||||||
|
|
Loading…
Reference in New Issue