[TxMt] Re: Question about Trim Trailing Spaces
Jacob Carlborg
doob at me.com
Sat Jan 31 19:56:06 UTC 2015
On 2015-01-31 17:36, George Fields wrote:
> This works beautifully. The only issue I have is that no matter where
> I am in the document, after save my cursor (caret) is placed at the
> very end of the document, and the document is scrolled to that point.
> In a longer file, with frequent saves, I have to scroll back and find
> my place every time.
>
> I tried different options for Caret Placement and for Output (in the
> bundle), but the result remains the same.
>
> My question is twofold: is there something else I could be doing, and
> also I'm curious if there are any plans to change this behavior (or
> make trimming a built-in option, so to speak), to where the view
> doesn't scroll? Seems like this is a common option to want to have.
I'm using the "Avian Missing" bundle which has a "strip trailing
whitespace on save" command. It has "Caret Placement" set to "Line
Interpolation".
--
/Jacob Carlborg
More information about the textmate
mailing list