Deleting spaces
Moderators: AmigoJack, bbadmin, helios, Bob Hansen, MudGuard
Deleting spaces
How can I remove all spaces between the last character and the end of the line?
-
ben_josephs
- Posts: 2464
- Joined: Sun Mar 02, 2003 9:22 pm
Try closing the file, then opening it again, or try
View | Document Properties | Preferences | Strip trailing spaces from lines when saving.
A good general rule is never to use * when + will do. Using + avoids matching nothing, and in a case like this avoids repeatedly replacing nothing with nothing. It can make a huge difference to the speed of the operation.
View | Document Properties | Preferences | Strip trailing spaces from lines when saving.
A good general rule is never to use * when + will do. Using + avoids matching nothing, and in a case like this avoids repeatedly replacing nothing with nothing. It can make a huge difference to the speed of the operation.