Skip to content

0.17.5

Compare
Choose a tag to compare
@icewolfz icewolfz released this 11 Jan 02:33
· 1566 commits to master since this release
  • New:
    • Add %escape(string) escape all characters in string if escaping is allowed and if those characters need escaping
    • Add %unescape(string) strip escape characters from string if escaping is allowed and those characters are enabled
    • Add $selectedword, $selword, $selectedurl, $selurl, $selectedline, $selline, $selected, $character, $copied for direct access in expressions
    • Add versions of most predefined functions to the expression system to allow for inline usage using %eval or in math, note this is not always the same as full expanded form of ${function(args)} as that will process in the command parsing system while when used with eval or math expressions it will be parsed with the expression engine instead
    • Preferences:
  • Fixed:
    • Input parser:
      • Correctly escape function arguments when quoting arguments with respect to scripting quote settings
      • Use custom escape character when splitting function arguments with quotes
      • Fix escaping of command stack when used in a path, after a function, or alias
      • Fix issue when parsing command arguments ending with a newline
    • Fix dice when using fudge dice
    • Fix dice when using #d% returning 1d100 instead of a % of 0 to 1
    • Fix parsing of sub context menus
    • Fix $selectedword, $selword, $selectedurl, $selurl, $selectedline, $selline, when used from command line to use mouse position to correctly get the selected word,line, or url
    • Fix #CW, #COLOR, #HIGHLIGHT trigger creation syntax to use set command character instead of hard coded #
    • All #command error messages now correctly use the set command character when displaying syntax
    • Make #VARIABLE respect strip quote settings when storing value
    • Display: issues with overlays and Unicode background selection sizes
    • Fixed code editor not being correctly restored if already open
    • Help: Fixed command page links
  • Changed:
    • Error messages for commands and functions will add name to better understand where the error is
    • Update markdown-it 12.3.1 to 12.3.2