Sign in Join

Live chat for Free Pascal, Lazarus, Delphi and every Pascal programmer.

Mailing lists / lazarus / 2015-05

Triming spaces in IDE

3 messages · 2 people · –

Reply by email Subscribe to this list Your subscription

Read-only archive. Use j and k to move between messages.

Valdas Jankūnas

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)?

Valdas Jank?nas

Reply by email

Martin Frb
to Valdas Jankūnas
Valdas Jank?nas wrote 7 lines
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...

Reply by email

Valdas Jankūnas
to Martin Frb

2015.05.03 22:58, Martin Frb ra??:

Show quoted text 20 lines
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...

Thanks. Reported #0028023

Valdas Jank?nas

Reply by email