On 08/01/2019, at 07:00, Nestor Aguilera <[email protected] 
<mailto:[email protected]>> wrote:
> … after applying the filter you sent me it seems that (a) the file is not 
> saved, and (b) the trailing spaces **are** trimmed, which is exactly the 
> opposite of what I want (save the file with whatever white trailing space it 
> has).
> 
> What am I doing wrong?


Hey Nestor,

Whups.  That's my fault.

Drat.

This setting is not available to AppleScript, so the only way I can think of to 
accomplish the task is as follows.

Set up a “dummy” language setting that has trim trailing spaces turned OFF.

Then use AppleScript to:

- Switch from your given source language setting to the dummy setting.
- Save the file.
- Switch back to the original source language setting.
- Maybe necessary to do a second save to keep the source language setting.
    - Not sure without testing.

I think this is doable if a bit convoluted.

--
Best Regards,
Chris

-- 
This is the BBEdit Talk public discussion group. If you have a 
feature request or need technical support, please email
"[email protected]" rather than posting to the group.
Follow @bbedit on Twitter: <https://www.twitter.com/bbedit>
--- 
You received this message because you are subscribed to the Google Groups 
"BBEdit Talk" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to [email protected].
To view this discussion on the web visit 
https://groups.google.com/d/msgid/bbedit/FED26650-1D45-4A9B-8E86-2DECF7DBA6A0%40suddenlink.net.

Reply via email to