No indent after complex hotkey, hotstring
Closed this issue · 3 comments
kyklish commented
Expected formatted output snippet
F1 & F2 Up::
code
return
::btw::
code
return
Actual formatted output snippet
F1 & F2 Up::
code
return
::btw::
code
return
mark-wiemer commented
@kyklish are you sure the expectation is to indent after the hotstring?
::btw::by the way
code
return
PR #304 explicitly adds a test to keep the code not indented
CoffeeChaton commented
#Warn All
; no problem
::ahk::autohotkey
; also no problem
::text::
MsgBox, % "text"
return
; but...
::btw::by the way
MsgBox, % "text" ; open "#Warn, All" -> Warning: This line will never execute, due to Return preceding it.
return
; or can't run of this case
;
; ::btw2::by the way
; by the way2
; return
Did I miss something?
kyklish commented
@kyklish are you sure the expectation is to indent after the hotstring?
::btw::by the way code returnPR #304 explicitly adds a test to keep the code not indented
My typo in bug description. Got fix first message.
Did I miss something?
It's my mistake. Look at fixed first message.