Fix regression of auto-Indent

The regression is introduced by 073f0bc8c6

Fix #9113, close #9114
pull/9133/head
Vince 4 years ago committed by Don HO
parent 776fa414ba
commit f91246e312

@ -3054,7 +3054,7 @@ void Notepad_plus::maintainIndentation(TCHAR ch)
_pEditView->setLineIndent(curLine, indentAmountPrevLine);
}
// These languages do no support single line control structures without braces.
else if (type == L_PERL || type == L_RUST || L_POWERSHELL)
else if (type == L_PERL || type == L_RUST || type == L_POWERSHELL)
{
_pEditView->setLineIndent(curLine, indentAmountPrevLine);
}

Loading…
Cancel
Save