From f91246e312f5b3f69d1bf83e543d03c8f4e545db Mon Sep 17 00:00:00 2001 From: Vince Date: Fri, 6 Nov 2020 14:05:57 -0500 Subject: [PATCH] Fix regression of auto-Indent The regression is introduced by https://github.com/notepad-plus-plus/notepad-plus-plus/commit/073f0bc8c6333201f057a177606b1d4c90b5fe2f Fix #9113, close #9114 --- PowerEditor/src/Notepad_plus.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/PowerEditor/src/Notepad_plus.cpp b/PowerEditor/src/Notepad_plus.cpp index ea2db8b1..79674fcb 100644 --- a/PowerEditor/src/Notepad_plus.cpp +++ b/PowerEditor/src/Notepad_plus.cpp @@ -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); }