And when the indent should be decreased, it was working right when the current indent is greater than or equal to the previous line indent, but when it is less did not change the indent.
This error does not appear when typing text, only when you put lines already indented in a location with another indentation level and selects the region to indent all at once is that the error appears.
Example, if you have this code.:
@unless (Auth::check())
You are not signed in.
@endunless
And put in a tag:
<div>
@unless (Auth::check())
You are not signed in.
@endunless
</div>
When you indent of all tags at once, look like this:
<div>
@unless (Auth::check())
You are not signed in.
@endunless
</div>
I found a few things to fix.
I had forgotten to add indent to
@can
.And when the indent should be decreased, it was working right when the current indent is greater than or equal to the previous line indent, but when it is less did not change the indent.
This error does not appear when typing text, only when you put lines already indented in a location with another indentation level and selects the region to indent all at once is that the error appears.
Example, if you have this code.:
And put in a tag:
When you indent of all tags at once, look like this: