[markdown] Add key shortcuts for shifting left or right a line or selected text
What does this MR do and why?
Add support for shifting text lines left and right by two spaces. Use cmd-] for shifting right, and cmd-[ for shifting left.
Lines which are part of the text selection (or the line the cursor sits in if there is no selection) are shifted. The selection is preserved.
Toolbar buttons have not been added as currently they cause overrun in the toolbar.
Screenshots or screen recordings
How to set up and validate locally
Go to any markdown edit field, select text and/or line and use cmd-] and cmd-[ to shift the lines left and write.
MR acceptance checklist
This checklist encourages us to confirm any changes have been analyzed to reduce risks in quality, performance, reliability, security, and maintainability.
-
I have evaluated the MR acceptance checklist for this MR.
related to #351924 (closed)
Edited by Brett Walker