if/elseif formatting question (sublime 2 related?)

Hey guys, I’m not sure if this is an issue with sublime, or corona, but whenever I do a reindent, all of my elseif statements are 1 indent deeper than the last, for the same if statement, so it looks like this:

if(self.index ==1) then --doing nothing, trying to avoid the bug where clicking on the first map level breaks everything -- it works! self.circ:setFillColor(0,0,1,1) elseif(self.index \< currLoc) then self.circ:setFillColor(0,1,0,1) group.isVisible = true self.isTouchEnabled = true group.xScale = config.xScale or self.xScaleInit group.yScale = config.yScale or self.yScaleInit elseif(self.index == currLoc) then self.circ:setFillColor(0,0,.8,1) group.isVisible = true self.isTouchEnabled = true group.xScale = config.xScale or self.xScaleInit group.yScale = config.yScale or self.yScaleInit elseif(self.index\>currLoc)then self.circ:setFillColor(1,0,0,1) group.isVisible = true

I’m just wondering if I’m doing something wrong, or what? I doesn’t seem to negatively affect anything other than readability.

I’m pretty sure this is a Sublime issue.  Frustrates me.

Rob

ok, Thanks Rob. Seeing as how sublime is on version 3 now, I’m guessing I won’t see any changes to 2 any more… Wonder if I can dig through the options and find a way to change it

I’m pretty sure this is a Sublime issue.  Frustrates me.

Rob

ok, Thanks Rob. Seeing as how sublime is on version 3 now, I’m guessing I won’t see any changes to 2 any more… Wonder if I can dig through the options and find a way to change it