Formspec: textarea with scrollbar improvements
[oweals/minetest.git] / doc / lua_api.txt
index 9890486c5ba2bd9484ccc233262c17944ed692d9..703e81436a3ba98fe5a978b35a57232e96decb71 100644 (file)
@@ -1920,6 +1920,8 @@ examples.
 
 #### `textarea[<X>,<Y>;<W>,<H>;<name>;<label>;<default>]`
 * Same as fields above, but with multi-line input
+* if the text overflows a vertical scrollbar is added
+* if the name is empty the textarea is readonly. The label is not displayed then
 
 #### `label[<X>,<Y>;<label>]`
 * `x` and `y` work as per field
@@ -2529,16 +2531,6 @@ Call these functions only at load time!
     * Called when an incoming mod channel message is received
     * You should have joined  some channels to receive events.
     * If message comes from a server mod, `sender` field is an empty string.
-* `minetest.register_on_modchannel_signal(func(channel_name, signal))`
-    * Called when a valid incoming mod channel signal is received
-    * Signal id permit to react to server mod channel events
-    * Possible values are:
-      0: join_ok
-      1: join_failed
-      2: leave_ok
-      3: leave_failed
-      4: event_on_not_joined_channel
-      5: state_changed
 
 ### Other registration functions
 * `minetest.register_chatcommand(cmd, chatcommand definition)`