mirror of
https://github.com/weechat/weechat.git
synced 2026-07-04 08:43:13 +02:00
core: add reverse of string in evaluation of expressions with "rev:" (closes #1200)
This commit is contained in:
@@ -7392,17 +7392,18 @@ command_init ()
|
||||
" or max chars displayed on screen "
|
||||
"(format: \"cutscr:max,suffix,string\" or "
|
||||
"\"cutscr:+max,suffix,string\")\n"
|
||||
" 5. a color (format: \"color:xxx\", see \"Plugin API "
|
||||
" 5. a reversed string (format: \"rev:xxx\")\n"
|
||||
" 6. a color (format: \"color:xxx\", see \"Plugin API "
|
||||
"reference\", function \"color\")\n"
|
||||
" 6. an info (format: \"info:name,arguments\", arguments are "
|
||||
" 7. an info (format: \"info:name,arguments\", arguments are "
|
||||
"optional)\n"
|
||||
" 7. current date/time (format: \"date\" or \"date:format\")\n"
|
||||
" 8. an environment variable (format: \"env:XXX\")\n"
|
||||
" 9. a ternary operator (format: "
|
||||
" 8. current date/time (format: \"date\" or \"date:format\")\n"
|
||||
" 9. an environment variable (format: \"env:XXX\")\n"
|
||||
" 10. a ternary operator (format: "
|
||||
"\"if:condition?value_if_true:value_if_false\")\n"
|
||||
" 10. an option (format: \"file.section.option\")\n"
|
||||
" 11. a local variable in buffer\n"
|
||||
" 12. a hdata name/variable (the value is automatically converted "
|
||||
" 11. an option (format: \"file.section.option\")\n"
|
||||
" 12. a local variable in buffer\n"
|
||||
" 13. a hdata name/variable (the value is automatically converted "
|
||||
"to string), by default \"window\" and \"buffer\" point to current "
|
||||
"window/buffer.\n"
|
||||
"Format for hdata can be one of following:\n"
|
||||
|
||||
Reference in New Issue
Block a user