0
Under review
Remove Extra Lines Added When Editing Wordpress
When I open Wordpress files in Textastic that have been edited in the native editor, Textastic is adding additional blank lines. While not hurting the code, it's a real eyesore. Is there a Find and Replace Way to eliminate the extra lines? Thanks in advance
Customer support service by UserEcho
Textastic does not add lines to an existing file when it is opened. I guess that the blank lines actually exist in the file.
What happens when you open the file in another editor (like Apple's TextEdit)?
If the lines really only show up in Textastic and not in another app, it would be great if you could send me such a file so that I can have a look at it.
You can bring up Find & Replace with Edit -> Find -> Find and Replace or the Cmd-Alt-F keyboard shortcut.
I think it's a problem with the WP editor, but it's an issue that occurs in most text editors (I'm even getting it with textedit). Let me know if you have a similar fix- thx!
Click on the loupe icon in the find field, choose "Insert Pattern" and "Line Break". Do the same again to add another line break to the find field.
Then click on the replace field and choose "Insert Pattern" and "Line Break" again from the find field menu to add a line break to the replace field.
It should then look like this:
When you press the "All" button it should replace all double line breaks with one line break.