[Lazarus] Triming spaces in IDE

Martin Frb lazarus at mfriebe.de
Sun May 3 21:58:42 CEST 2015


On 03/05/2015 19:57, Valdas Jankūnas wrote:
> Hello,
>
> I know that Lazarus editor has option to trim trailing spaces while 
> editing.
>  Has editor any option to trim trailing spaces before saving in to 
> file (like a Kate the text editor from KDE)?
>
No it has not.

Also trimming spaces, only trims those spaces that are entered during 
the session (or more detailed that are on a line edited during the session)
Spaces that are loaded into the editor are not trimmed, if the line on 
which they are is not edited.  This is by design.

So there is room for features such as:
- trim on load
- trim on save

You can add a feature request, but there is a long list at current...




More information about the Lazarus mailing list