aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorHugues Ross <hugues.ross@gmail.com>2021-03-21 18:23:14 -0400
committerGitHub <noreply@github.com>2021-03-21 23:23:14 +0100
commitafe988d83d00462af70730237362f0d42eb7c638 (patch)
tree8f4b3bbdb9e686cbe24a77c272a444c17ee0c10c
parent44ed05ddf0c74f3ea26cfb4adbbaed4b6038361f (diff)
downloadminetest-afe988d83d00462af70730237362f0d42eb7c638.tar.gz
minetest-afe988d83d00462af70730237362f0d42eb7c638.tar.bz2
minetest-afe988d83d00462af70730237362f0d42eb7c638.zip
lua_api.txt: Fix style selector examples
-rw-r--r--doc/lua_api.txt12
1 files changed, 6 insertions, 6 deletions
diff --git a/doc/lua_api.txt b/doc/lua_api.txt
index abbe88f80..737a690f6 100644
--- a/doc/lua_api.txt
+++ b/doc/lua_api.txt
@@ -2679,7 +2679,7 @@ Elements
* `span=<value>`: number of following columns to affect
(default: infinite).
-### `style[<selector 1>,<selector 2>;<prop1>;<prop2>;...]`
+### `style[<selector 1>,<selector 2>,...;<prop1>;<prop2>;...]`
* Set the style for the element(s) matching `selector` by name.
* `selector` can be one of:
@@ -2692,7 +2692,7 @@ Elements
* See [Styling Formspecs].
-### `style_type[<selector 1>,<selector 2>;<prop1>;<prop2>;...]`
+### `style_type[<selector 1>,<selector 2>,...;<prop1>;<prop2>;...]`
* Set the style for the element(s) matching `selector` by type.
* `selector` can be one of:
@@ -2765,10 +2765,10 @@ Styling Formspecs
Formspec elements can be themed using the style elements:
- style[<name 1>,<name 2>;<prop1>;<prop2>;...]
- style[<name 1>:<state>,<name 2>:<state>;<prop1>;<prop2>;...]
- style_type[<type 1>,<type 2>;<prop1>;<prop2>;...]
- style_type[<type 1>:<state>,<type 2>:<state>;<prop1>;<prop2>;...]
+ style[<name 1>,<name 2>,...;<prop1>;<prop2>;...]
+ style[<name 1>:<state>,<name 2>:<state>,...;<prop1>;<prop2>;...]
+ style_type[<type 1>,<type 2>,...;<prop1>;<prop2>;...]
+ style_type[<type 1>:<state>,<type 2>:<state>,...;<prop1>;<prop2>;...]
Where a prop is: