Skip to content

Softwrap is inconsistent about indentation #13667

Open
@mi2ebi

Description

@mi2ebi

Summary

sometimes it preserves whitespace on wrapped lines, sometimes it doesn't

Reproduction Steps

I tried this:

  1. hx [project path]
  2. <space>fjvozba.rs<ret>
  3. scroll

I expected this to happen: softwrap consistently either preserves or ignores indentation

Instead, this happened: (compare lines 227 vs 244/257)

Image

Helix log

Nothing relevant

Platform

Fedora 42

Terminal Emulator

konsole

Installation Method

dnf

Helix Version

25.01.1 (e7ac2fc)

Metadata

Metadata

Assignees

No one assigned

    Labels

    C-bugCategory: This is a bug

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions