Shavok
it does not work with the Auto Indentation activated
WHAT? do not work? I don’t see what you want to tell.
The v0.02 just deletes auto-indented-whitespace from last line and use that last line as trailing empty line.
V0.01 adds an additionally blank last line first and deletes the auto-indented-whitespace from that new last line, ending up in two empty last lines.
Test with v0.02
Code:
der Test
der Test
der Test
A blank line is added.
Code:
der Test
der Test
der Test
No line is added.
Code:
der Test
der Test
der Test
~~~
Trailing blanks are removed, left a blank line.
Code:
der Test
der Test
der Test
~~~der Test
~~~der Test
~~~
Trailing blanks are removed, left a blank line.
“~~~” indicates whitespace here.
“”does not work”” helps nobody. Tell what you get and what you had expect instead. That could led to improvement.