Skip to content

Removing of trailing whitespace happens for selected lines, not all lines #57

Open
@alankilborn

Description

@alankilborn

A change was introduced, I believe it was in Notepad++ 8.4.9, that causes its command for "Trim Trailing Space" to only do that operation on selected text lines (if some selection is active at the time the command is executed), not on the entire file (as was behavior before 8.4.9).

This will cause editorconfig, which I believe invokes that command, to not do the editorconfig "spec" thing when some text is selected at the time of file save. Thus, one could have editorconfig configuration set to remove trailing space, have a selection active, save, and see lines that are not in the selected text region NOT have their trailing whitespace removed.

Using editorconfig for Notepad++ ver 0.4.0.0.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions