wrapping text #1102


  • New
  • Defect
Open
Assigned to ckknight
  • _ForgeUser16667387 created this issue Mar 3, 2015

    make wrapping text an option for people who liked it

  • _ForgeUser16667387 added the tags New Defect Mar 3, 2015
  • nebula169 posted a comment Mar 4, 2015

    Added "WordWrap()" for use in LuaText functions to enable the old wrapping behavior.

    WordWrap()
    local cur, max = HP(unit), MaxHP(unit)
    return "%s/%s\n%s%%",cur,max,Percent(cur,max)
    

    Edited May 6, 2015
  • _ForgeUser778445 posted a comment Mar 24, 2015

    it used to work with either "\n" or "|n".

    I made a post at the lua text thread. http://forums.wowace.com/showpost.php?p=334052&postcount=702

    It was working in "v4.0.0-beta54-17-gf55620a"

  • _ForgeUser778445 posted a comment May 6, 2015

    So I have to call "WordWrap()" if I want to return a linebreak?


    Edited May 6, 2015

To post a comment, please login or register a new account.