TimothyLuke / GSE-Advanced-Macro-Compiler

GSE is an alternative advanced macro editor and engine for World of Warcraft.
https://discord.gg/gseunited
MIT License
216 stars 73 forks source link

[ENH] Make Raw Edit work with Multi-Line Macrotext #1495

Closed Smokenoaken closed 4 months ago

Smokenoaken commented 4 months ago

🟢 How does GSE currently work When you click "Raw Edit" the base sequence code exports to a window, but multi-line macrotext doesnt compile correctly as it would need double brackets instead of quotes.

🟢 Describe the solution you'd like Make Raw Edit export code using double brackets as opposed to quotes.

🟢 Describe alternatives you've considered Unsure of other workarounds

🟢 Additional context This wont compile as is. image

TimothyLuke commented 4 months ago

For multi line you need to replace the “ “ with [[ ]] for all multiline strings before you hit compile and save.

[“macro”] =“line 1 Line2”

With

[“macro”] = [[line 1 Line2]]

The formatter is an external library that I don’t have control over.

TimothyLuke commented 4 months ago

Duplicate of #1462