GSE: Sequences, Variables, Macros

GSE: Sequences, Variables, Macros

7M Downloads

Keypress edit window removes line breaks

GaryREM opened this issue · 6 comments

commented

Open GSE 2.0.14.
Click Edit button for Macro.
Select version.
Keypress text initially displayed correctly with line breaks and color code; but then line breaks disappear and text turns white. Incredibly difficult to edit.
If you save, it looks like Keypress turns into single line in GSE.lua

Note also that button alignment is incorrect.

2017-01-28_18-06-42_gse_keypress

commented

Button Alignment will be fixes as part of #212

Can you give me a copy of the macro you are using?

commented

This happens on any macro with several lines of KeyPress

Sequences['BMhunter'] = {
-- This Sequence was exported from GSE 2.0.14.
  Author="Gìmlì@Kel'Thuzad",
  SpecID=253,
  Talents = "3,2,3,2,3,1,3",
  Helplink = "https://wowlazymacros.com/forums/topic/legion7-1-5-gse2-0-bmhunter/",
  Help = "For Soloing or Raids. Talents 3232313",
  Default=1,
  Icon='ability_hunter_bestialdiscipline',
  MacroVersions = {
    [1] = {
      StepFunction = [[Sequential]],
      KeyPress={
        "/targetenemy [noharm][dead]",
        "/cast [nopet,nodead] Call Pet 1; [@pet,dead] Heart of the Phoenix",
        "/cast [target=focus, exists, nodead],[target=pet, exists, nodead] Misdirection",
        "/cast [combat] Bestial Wrath",
      },
      PreMacro={
      },
        "/cast Dire Frenzy",
        "/castsequence [combat] Kill Command, Cobra Shot, Cobra Shot",
        "/cast A Murder of Crows",
        "/cast Titan's Thunder",
      PostMacro={
      },
      KeyRelease={
        "/cast [combat,nomod:alt] Aspect of the Wild",
      },
    },
  },
}

and the one in the capture.


Sequences['GweenBeast'] = {
-- This Sequence was exported from GSE 2.0.14.
  Author="Gweenn@Bleeding Hollow",
  SpecID=253,
  Talents = "3113112",
  Default=3,
  Raid=3,
  PVP=2,
  Mythic=3,
  Icon='ability_hunter_bestialdiscipline',
  MacroVersions = {
    [1] = {
      StepFunction = "Priority",
      KeyPress={
        "/targetenemy [noharm][dead]",
        "/cast [combat] Bestial Wrath",
        "/cast [combat, nomod:shift] Blood Fury",
        "/cast [combat, nomod:shift] Titan's Thunder",
        "/cast [combat, nomod:shift] Aspect of the Wild",
        "/cast [mod:shift] Counter Shot",
        "/cast [target=focus, exists, nodead],[target=pet, exists, nodead] Misdirection",
        "/cast [mod:alt] Multi-Shot",
        "/cast [nopet,nodead] Call Pet 1; [@pet,dead] Heart of the Phoenix",
        "/cast [combat,pet:Spirit Beast,@player] Spirit Mend",
        "/cast [combat,pet,@player] Roar of Sacrifice",
      },
      PreMacro={
      },
        "/cast Dire Beast",
        "/castsequence Kill Command, Cobra Shot",
        "/cast A Murder of Crows",
        "/cast [nogroup] Mend Pet",
      PostMacro={
      },
      KeyRelease={
      },
    },
    [2] = {
      StepFunction = "Priority",
      KeyPress={
        "/targetenemy [noharm][dead]",
        "/cast [combat] Bestial Wrath",
        "/cast [combat, nomod:shift] Blood Fury",
        "/cast [combat, nomod:shift] Titan's Thunder",
        "/cast [combat, nomod:shift] Aspect of the Wild",
        "/cast [mod:shift] Counter Shot",
        "/cast [target=focus, exists, nodead],[target=pet, exists, nodead] Misdirection",
        "/cast [mod:alt] Multi-Shot",
        "/cast [nopet,nodead] Call Pet 1; [@pet,dead] Heart of the Phoenix",
        "/cast [combat,pet:Spirit Beast,@player] Spirit Mend",
        "/cast [combat,pet,@player] Roar of Sacrifice",
      },
      PreMacro={
      },
        "/cast Dire Beast",
        "/castsequence Kill Command, Cobra Shot",
        "/cast A Murder of Crows",
        "/cast Mend Pet",
      PostMacro={
      },
      KeyRelease={
      },
    },
    [3] = {
      StepFunction = "Priority",
      KeyPress={
        "/targetenemy [noharm][dead]",
        "/cast [combat] Bestial Wrath",
        "/cast [combat, nomod:shift] Blood Fury",
        "/cast [combat, nomod:shift] Titan's Thunder",
        "/cast [combat, nomod:shift] Aspect of the Wild",
        "/cast [mod:shift] Counter Shot",
        "/cast [target=focus, exists, nodead],[target=pet, exists, nodead] Misdirection",
        "/cast [mod:alt] Multi-Shot",
        "/cast [nopet,nodead] Call Pet 1; [@pet,dead] Heart of the Phoenix",
        "/cast [combat,pet:Spirit Beast,@player] Spirit Mend",
        "/cast [combat,pet,@player] Roar of Sacrifice",
      },
      PreMacro={
      },
        "/cast Dire Beast",
        "/cast Kill Command",
        "/cast A Murder of Crows",
      PostMacro={
      },
      KeyRelease={
      },
    },
    [4] = {
      StepFunction = "Priority",
      KeyPress={
        "/targetenemy [noharm][dead]",
        "/cast Exhilaration",
        "/cast [combat] Bestial Wrath",
        "/cast [combat] Blood Fury",
        "/cast [combat] Titan's Thunder",
        "/cast [combat] Aspect of the Wild",
        "/cast [target=focus, exists, nodead],[target=pet, exists, nodead] Misdirection",
        "/cast [mod] Multi-Shot",
        "/cast [nopet,nodead] Call Pet 1; [@pet,dead] Heart of the Phoenix",
        "/cast [combat,pet:Spirit Beast,@player] Spirit Mend",
        "/cast [combat,pet,@player] Roar of Sacrifice",
      },
      PreMacro={
      },
        "/cast Dire Beast",
        "/cast Kill Command",
        "/cast A Murder of Crows",
      PostMacro={
      },
      KeyRelease={
      },
    },
  },
}

commented

Whoops. Mistakenly closed.

commented

Hi Gary - In your Options do you have "Use Realtime Parsing" on?

commented

The option is turned on.

commented