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

Handle Multi-line selections for Bold and Italicize keyboard shortcuts #5

Open
CFiggers opened this issue Nov 4, 2023 · 0 comments

Comments

@CFiggers
Copy link
Owner

CFiggers commented Nov 4, 2023

Currently, Ctrl+b and Ctrl+i simply surround the current selection with * and _, respectively. However, this does not work when multiple lines are selected. Instead, each line should independently have * or _ added to the beginning and end. E.g.:

// Before:

Multiple
Lines

// Current After Ctrl+B with both lines selected

*Multiple
Lines*

// Desired After Ctrl+B with both lines selected

*Multiple*
*Lines*
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant