CoffeeChaton / vscode-autohotkey-NekoHelp-Old

my style
Other
9 stars 0 forks source link

bug-fix: format #22

Closed CoffeeChaton closed 1 year ago

CoffeeChaton commented 1 year ago

Error

error format

New

new format

Search0(i, return := "") {
    while, (ff := foo())
        if (ff.text=find) 
        {
            if return
                while, (i := foo2(i))
                    if (ff.text=find)
                    {
                        if return
                            MsgBox, % "text" ff.SelectSingleNode("../" return)
                        MsgBox, % "A"
                        MsgBox, % "B"
                        MsgBox, % "C"
                        MsgBox, % "D"
                    }
            MsgBox, % "A"
            MsgBox, % "B"
            MsgBox, % "C"
            MsgBox, % "D"
        }

    MsgBox, % "c"

}