Notepad++ seems to be a powerful and nice editor, but I encounter a problem.
The closing brace is not aligned automatically when printing. I.e. I get
if ( a )
{
...
}
instead of
if ( a )
{
...
}
At the same time, if TextFX.Autoclose brace is on, it the automatically added closing brace is aligned properly. Scintilla can do it also. Is it possible to set this auto-aligning somehow?
TIA.
If you would like to refer to this comment somewhere else in this project, copy and paste the following link:
You are right, I can reproduce this behavior - generally. But if you use the "TextFX Settings" "Autoclose {([Brace" you'll get the closing brace immediately after you open one, and it will be aligned correct.
If you would like to refer to this comment somewhere else in this project, copy and paste the following link:
Hi,
Notepad++ seems to be a powerful and nice editor, but I encounter a problem.
The closing brace is not aligned automatically when printing. I.e. I get
if ( a )
{
...
}
instead of
if ( a )
{
...
}
At the same time, if TextFX.Autoclose brace is on, it the automatically added closing brace is aligned properly. Scintilla can do it also. Is it possible to set this auto-aligning somehow?
TIA.
Oops, the code formatting is wrong. I meant:
if ( a )
{
....some_expressions_go_here();
....}
and it should look like that
if ( a )
{
....some_expressions_go_here();
}
You are right, I can reproduce this behavior - generally. But if you use the "TextFX Settings" "Autoclose {([Brace" you'll get the closing brace immediately after you open one, and it will be aligned correct.