Skip to content
New issue

Have a question about this project? # for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “#”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? # to your account

Tabstop - No unique delta format #4

Open
voodoohoo opened this issue Aug 7, 2020 · 0 comments
Open

Tabstop - No unique delta format #4

voodoohoo opened this issue Aug 7, 2020 · 0 comments

Comments

@voodoohoo
Copy link

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":""}

# for free to join this conversation on GitHub. Already have an account? # to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant