summaryrefslogtreecommitdiff
path: root/doc/en/weechat_plugin_api.en.adoc
diff options
context:
space:
mode:
Diffstat (limited to 'doc/en/weechat_plugin_api.en.adoc')
-rw-r--r--doc/en/weechat_plugin_api.en.adoc17
1 files changed, 14 insertions, 3 deletions
diff --git a/doc/en/weechat_plugin_api.en.adoc b/doc/en/weechat_plugin_api.en.adoc
index 0c418a58f..e6379b358 100644
--- a/doc/en/weechat_plugin_api.en.adoc
+++ b/doc/en/weechat_plugin_api.en.adoc
@@ -2464,9 +2464,20 @@ expanded to last):
| `+${rev:xxx}+` +
_(WeeChat ≥ 2.2)_ |
- Reversed string. |
- `+${rev:Hello, world!}+` |
- `+!dlrow ,olleH+`
+ Reversed string (color codes are reversed, so the string should not contain
+ color codes). |
+ `+${rev:Hello, world!}+` +
+ `+${rev:Hello, ${color:red}world!}+` |
+ `+!dlrow ,olleH+` +
+ `+!dlrow30F ,olleH+` (no color, the color code is reversed)
+
+| `+${revscr:xxx}+` +
+ _(WeeChat ≥ 2.7)_ |
+ Reversed string for screen, color codes are not reversed. |
+ `+${revscr:Hello, world!}+` +
+ `+${revscr:Hello, ${color:red}world!}+` |
+ `+!dlrow ,olleH+` +
+ `+!dlrow ,olleH+` (`pass:[ ,olleH]` in red)
| `+${repeat:count,string}+` +
_(WeeChat ≥ 2.3)_ |