Skip to content

Pasting should strip leading whitespace before auto indenting #733

@X-Ryl669

Description

@X-Ryl669

Description of the problem or steps to reproduce

When copying text to the (internal) clipboard, and having autoindent switched on, pasting double the indentation (because it starts on the next indented position, but also paste the clipboard's lines indentation).
Worse, if you have multiple line, each line will have increasing indentation!
Thus, stripping indentation before pasting when autoindent is on is required IMHO.

Specifications

micro-1.2.1-dev.70-linux64
Terminal: terminology

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type
    No fields configured for issues without a type.

    Projects

    No projects

    Milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions