Trailing space on empty lines
Posted: Tue Feb 03, 2015 3:31 am
In text mode (I haven't confirmed in Author mode), if I am indented and want to create a new blank line, the blank line has trailing spaces matching my indent level. I am able to turn this off by turning off Smart Indent, but then I have to manually indent after each carriage return. I have looked everywhere and can't seem to find a way (in Oxygen) to get rid of these trailing spaces. Format and Indent is not an option, because we are using Git, and need to avoid making unnecessary changes to the file. We can probably take care of this in a pre-commit hook, but I'm hoping there is some way to take care of it in Oxygen.
Let me include some code to demonstrate what I mean:
Desired Outcome:
Actual Outcome:
The difference won't be obvious unless you select each code block with your mouse, then you can see the extra spaces in the empty line. This is not a huge problem but it's bad form when using Git or SVN.
Let me include some code to demonstrate what I mean:
Desired Outcome:
Code: Select all
<p>Indented several tabstops.</p>
<p>And a new paragraph.</p>
Code: Select all
<p>Indented several tabstops.</p>
<p>And a new paragraph.</p>