You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
The Wrap Lines command, since 4061, wraps entire blocks or "paragraphs". Previously if text was selected the wrap lines command only wrap the selected text, otherwise it would wrap the paragraph.
The API command is wrap_lines.
In the UI it's Menu > Edit > Wrap > Wrap Paragraph at Ruler.
Steps to reproduce
Set a wrap small wrap width to make it easier to test:
The wrap_lines commands should only wrap the selected text, not the entire paragraph.
xx xx xx
a1
|a2
a3|
x1 x2 x3
b1 b2 b3
Actual behavior
The wrap_lines wraps the entire block, instead of just the selection.
xx
xx
xx
a1
|a2
a3|
x1
x2
x3
b1
b2
b3
Environment
Sublime Text Build: >=4061
Operating system and version: Ubuntu 18.04...20.04
The text was updated successfully, but these errors were encountered:
gerardroche
changed the title
wrap_lines command doesn't work for selections in 4061
Wrap Lines doesn't work for selections in 4061 (regression)
May 1, 2020
gerardroche
changed the title
Wrap Lines doesn't work for selections in 4061 (regression)
Wrap Lines regression >=4061
Aug 22, 2020
gerardroche
added a commit
to NeoVintageous/NeoVintageous
that referenced
this issue
Sep 23, 2020
The Wrap Lines command, since 4061, wraps entire blocks or "paragraphs". Previously if text was selected the wrap lines command only wrap the selected text, otherwise it would wrap the paragraph.
The API command is
wrap_lines
.In the UI it's
Menu > Edit > Wrap > Wrap Paragraph at Ruler
.Steps to reproduce
Set a wrap small wrap width to make it easier to test:
Make a selection (where
|...|
is the selection):Run the wrap lines command:
Expected behavior
The
wrap_lines
commands should only wrap the selected text, not the entire paragraph.Actual behavior
The
wrap_lines
wraps the entire block, instead of just the selection.Environment
The text was updated successfully, but these errors were encountered: