Viewing 5 posts - 1 through 5 (of 5 total)
- AuthorPosts
- July 18, 2013 at 3:10 pm #11222
ldm
ParticipantHi All,
What setting should I do in order to remove white spaces from end of the line each time I press on ‘Save’ button?
Thank you!
July 18, 2013 at 4:07 pm #11225JohnQSmith
ParticipantVBScript macro
replaced = document.selection.Replace( "s+?$", "", eeFindReplaceRegExp Or eeReplaceAll )
Macros > Customize macros > Run at Events
Then select the Before Saving eventJuly 18, 2013 at 5:11 pm #11226Yutaka Emura
KeymasterHello,
Alternatively, you can go to configuration properties, the File tab, the Saving button, and check the “Delete Spaces at End of Lines” check box.
July 18, 2013 at 6:14 pm #11228JohnQSmith
ParticipantI like that better, but while figuring out the way I did it, I discovered how amazingly EmEditor can be modified using scripting.
July 19, 2013 at 10:20 am #11229CaptainFlint
ParticipantAnd not to forget about the built-in command Delete Spaces at End of Lines. :-)
- AuthorPosts
Viewing 5 posts - 1 through 5 (of 5 total)
- You must be logged in to reply to this topic.