Remove Space Before Line Break
Posted: Wed Jul 25, 2012 3:14 am
Problem: There seems to be no way to automatically replace spaces before a line break (aka paragraph break, enter, carriage return).
So to clean up lines like:
This is a test.<space><line break>
I have to manually go to the end of every paragraph. In every text file. This situation can happen due to a slip of the keyboard or a decision to break a paragraph into two. When the characters are talking and the words are flowing, this kind of thing isn't something you think about (or want to think about).
I've tried pasting the space + line break into find/replace. That doesn't work. There doesn't seem to be a way to find non-printing characters. (I searched the manual and the forums. Saw something elsewhere on the forums that seemed to be a way to enter non-printing characters in Find/Replace, but couldn't get it to work in Scriv Win 1.2.3.)
Why this is a problem: Extra spaces artificially inflate character count, which is a critical statistic for me (more reliable than word count for estimating how much I've actually written).
Am I missing a feature somewhere?
(Maybe "space before" is called something else in British English.
)
There is a menu item Format | Convert | Multiple Spaces to Space (Ctrl + Space). I suggest there should be either a similar menu item for Space + LineBreak OR (more generic solution) the menu item should remove all extra spaces (any space before whitespace) and be appropriately retitled.
Alternatively, a way to enter whitespace and other non-printing characters in the Find/Replace function would let me do this too (though I'd miss my old word processor macro that did everything at once). Find/Replace regular expressions or macro capabilities if you really want to thrill us techies.
Thanks.
So to clean up lines like:
This is a test.<space><line break>
I have to manually go to the end of every paragraph. In every text file. This situation can happen due to a slip of the keyboard or a decision to break a paragraph into two. When the characters are talking and the words are flowing, this kind of thing isn't something you think about (or want to think about).
I've tried pasting the space + line break into find/replace. That doesn't work. There doesn't seem to be a way to find non-printing characters. (I searched the manual and the forums. Saw something elsewhere on the forums that seemed to be a way to enter non-printing characters in Find/Replace, but couldn't get it to work in Scriv Win 1.2.3.)
Why this is a problem: Extra spaces artificially inflate character count, which is a critical statistic for me (more reliable than word count for estimating how much I've actually written).
Am I missing a feature somewhere?
(Maybe "space before" is called something else in British English.

There is a menu item Format | Convert | Multiple Spaces to Space (Ctrl + Space). I suggest there should be either a similar menu item for Space + LineBreak OR (more generic solution) the menu item should remove all extra spaces (any space before whitespace) and be appropriately retitled.
Alternatively, a way to enter whitespace and other non-printing characters in the Find/Replace function would let me do this too (though I'd miss my old word processor macro that did everything at once). Find/Replace regular expressions or macro capabilities if you really want to thrill us techies.

Thanks.