Goal: Only auto-indent when line above contains at least one non-whitespace character.
Fresh install of 11.0.5
Copy ‘Pascal’ configuration (makes ‘Pascal2’)
Select new ‘Pascal2’ configuration
Go to Tools->Properties for Current Configuration->General tab, click Tab/Indent button
Use following settings:
* Enable Auto Indent
* Use Regular Expressions
* Tab columns: 4
* Indent columns: 4
Begin Indent: (empty field)
End Indent: (empty field)
End of Statement: (empty field)
Ignore After (Regular Expression): ^s*$
This does not work as I expected: If I press Enter and line above is empty or has only whitespace, I get an indent.
If I uncheck the “Use Regular Expressions” option, it then works as I expected: Indent is only inserted if previous line contains at least one non-whitespace character.
Question: Is this the expected behavior, or am I not understanding these options correctly?
Thanks
Bill