Skip to content
New issue

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

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

Already on GitHub? Sign in to your account

Pressing a format shortcut on an empty line should still add the format #1178

Closed
vkbo opened this issue Oct 16, 2022 · 0 comments · Fixed by #1214
Closed

Pressing a format shortcut on an empty line should still add the format #1178

vkbo opened this issue Oct 16, 2022 · 0 comments · Fixed by #1214
Assignees
Labels
editor Component: Editor enhancement Request: New feature or improvement

Comments

@vkbo
Copy link
Owner

vkbo commented Oct 16, 2022

Currently, if you press the shortcut key to format a line, but the line is blank, nothing happens. Perhaps blank lines should be treated as a line containing a single space. In that way, pressing for instance Ctrl+1 on a new line would produce:

# |

Where | is the cursor.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
editor Component: Editor enhancement Request: New feature or improvement
Projects
None yet
Development

Successfully merging a pull request may close this issue.

1 participant