Added soft wrap option to editor
What does this MR do?
Adds a Soft wrap
button to the editor, when clicked, it wraps the text in the editor and changes to No wrap
, then when clicked, it unwraps the text in the editor.
This will also detect files with no extension, .txt
or .md
and proactively set the soft wrap. Unless, you explicitly toggle the soft wrap, then it will stop checking the file path and will stay with the users explicit preference.
Are there points in the code the reviewer needs to double check?
We should talk about the .txt
and .md
thing, I'm not sure if its a good approach.
Why was this MR needed?
Screenshots (if relevant)
No wrap
Soft wrap
Does this MR meet the acceptance criteria?
-
CHANGELOG entry added -
Documentation created/updated -
API support added - Tests
-
Added for this feature/bug -
All builds are passing
-
-
Conform by the merge request performance guides -
Conform by the style guides -
Branch has no merge conflicts with master
(if you do - rebase it please) -
Squashed related commits together
What are the relevant issue numbers?
Closes #18297 (closed)