Skip to content

Commenting the last line of a file fails + empty lines #558

Description

@plutonium-239

The comment command fails when on the last line of a file. (video)

flow_comment_bug.mov

Also, you can't toggle comment on an empty line (which is a feature I like in sublime). Does that warrant its own issue? I figured to mention it here since these are closely related.

Version Info

Flow Control: a programmer's text editor

version: v0.7.2-55-gcf283e98
committed: 2026-03-02 17:48:16 +0100
target: aarch64-macos.13.0...15.6-none
branch: master tracking flow-control.dev/master at ssh://git@git.flow-control.dev/neurocyte/flow.git
built-with: zig 0.15.2 (stage2_x86_64)
build-mode: ReleaseFast

Metadata

Metadata

Assignees

No one assigned

    Labels

    bugSomething isn't working

    Projects

    No projects

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions