Skip to content

Indented text block exceeds margin when wrapped in plaintext filetype #77

@Jan-Felix-Langenbach-casaGeo

Description

In a file that is configured as a "plaintext filetype", rewrapping a block of text that is indented N spaces doesn’t wrap the text to the configured margin, but to N columns past the margin. For example, if I have a block of text that is indented 4 spaces and configure the plugin to wrap at 80 columns, the text is wrapped at 84 columns instead. A block indented 8 spaces is wrapped at 88 columns, etc.

I have tested this with both Markdown and reStructuredText and both file types exhibit this behavior when the corresponding file extension is listed under "plaintext filetypes" in the plugin settings.

IDE: PyCharm 2026.1
Plugin: Wrap to Column 1.9.4

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions