How Do you delete a blank line
Moderators: AmigoJack, bbadmin, helios, Bob Hansen, MudGuard
How Do you delete a blank line
How Do you delete a blank line when editing with textpad?
- Bob Hansen
- Posts: 1516
- Joined: Sun Mar 02, 2003 8:15 pm
- Location: Salem, NH
- Contact:
you may want to turn on View/Visible spaces when using the Delete key.
What may "appear" to be a blank line may not actually be blank.
With Visible Spaces enabled, you should see the end of line symbol in the first character position. If not, pressing Delete key is just removing the spaces, not the entire line.
What may "appear" to be a blank line may not actually be blank.
With Visible Spaces enabled, you should see the end of line symbol in the first character position. If not, pressing Delete key is just removing the spaces, not the entire line.
Hope this was helpful.............good luck,
Bob
Bob
delete blank line
this works for me:
search for: ^\n
replace with: nothing (leave blank)
this assumes the line is empty, that is no spaces tabs etc.
search for: ^\n
replace with: nothing (leave blank)
this assumes the line is empty, that is no spaces tabs etc.
Thanks to Bob Hansen
Bob,
thanks very much for this post on using "view visible" to see if spaces are really spaces. It saved me a lot of time as I thought I was looking at a file with spaces and it turned out to be some other binary characters.
thanks very much for this post on using "view visible" to see if spaces are really spaces. It saved me a lot of time as I thought I was looking at a file with spaces and it turned out to be some other binary characters.