Closed comintern closed 7 years ago
Not sure how this one slipped by all the indenter tests, but this...
Sub MySub() Dim x1 As Integer Dim x2 As _ Integer Dim x3 As Integer: _ Dim x4 As _ Integer Dim x5 As Integer _ 'Comment _ as _ integer End Sub
...indents to this if align Dims is enabled:
Sub MySub() Dim x1 As Integer Dim x2 As _ Integer As Dim x3 As Integer: _ Dim x4 As _ Integer As Dim x5 As Integer _ 'Comment _ as _ integer End Sub
Note the extra As tokens after the lines with a bare Integer on them. This one's on me apparently, because while the VB6 Smart Indenter does this...
As
Integer
...at least it compiles afterwards.
This was actually a regression caused by 941196d it's now covered in tests.
Not sure how this one slipped by all the indenter tests, but this...
...indents to this if align Dims is enabled:
Note the extra
As
tokens after the lines with a bareInteger
on them. This one's on me apparently, because while the VB6 Smart Indenter does this......at least it compiles afterwards.