Skip to content

Tabstop - No unique delta format #4

@voodoohoo

Description

@voodoohoo

Typing a single Tab without defining Tabstops leads to the delta format

[{"insert":"\t\n"}]

Typing a single Tab with a defined e.g. Left Tabstop leads to

[{"attributes":{"tab":"1"},"insert":""},{"attributes":{"line-part":true},"insert":""},{"attributes":{"tabs-cont":"TABS-CONT"},"insert":"\n"}]

This is a really odd behaviour and should be harmonised.
I think Tabstops should always be attributed like {"attributes":{"tab":"_count_"},"insert":""}

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