You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
so this table here, I don't quite understand the coloring here. sort is probably just different because it's a keyword but the different string colors? Please enlighten me :)
The text was updated successfully, but these errors were encountered:
Some strings have a special meaning in Lua and in the WoW API and are colorized accordingly. For instance, the string "CENTER" may be used as a parameter to the SetPoint() function.
Currently, WoW Bundle recognizes and colorizes the following strings:
Global event names like "PLAYER_ENTERING_WORD", "VARIABLES_LOADED", etc.
Widgets script handlers like "OnLoad", "OnEnter", etc.
A bunch of special parameters to most API functions like SetPoint() (e.g. "CENTER", "ANCHOR_LEFT", etc.), SetFrameStrata() (e.g. "BACKGROUND", "HIGH", etc.)
A bunch of special parameters to some Lua functions like type() (e.g. "number", "nil", etc.), __mode (e.g. "kv", etc.)
Also, please note that WoW Bundle features 3 special themes that help with colorizing anything WoW-related. For instance, your code would look like this with the theme named Dark+ (WoW):
so this table here, I don't quite understand the coloring here.
sort
is probably just different because it's a keyword but the different string colors? Please enlighten me :)The text was updated successfully, but these errors were encountered: