Skip to content

regression: SpawnMultiCursorUpN function #3499

@usfbih8u

Description

@usfbih8u

There has been a regression in the SpawnMultiCursorUpN function when softwrap: true. Previously (2.0.13) the multi-cursors were created in the next/previous line in LineArray, now (2.0.14) its created in the next/previous visual line. Can this previous behavior be recovered using a new option in settings.json (ignore-wrap-lines?) for ignoring the lines wrapped inside the logic of SpawnMultiCursorUpN so both behaviors can coexist.

Maybe the only change needed (not counting the new option addition) is to add and "or ignore-wrap-lines" in https://github.com/zyedidia/micro/blob/ac73f18191beff25dc3d96ff22d597dfdef2a27a/internal/action/actions.go#L2061.

Thanks!

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