blob: 51a9e629206303c89bfeb2483f395223dd5215e6 [file] [log] [blame]
40 columns |
>>> Start at beginning.
12345;
<<<
12345;
>>> Start at end.
12345;‹›
<<<
12345;‹›
>>> Length at beginning.
‹›12345;
<<<
‹›12345;
>>> Length at end.
12345;›
<<<
12345;›
>>> Zero length in middle.
123‹›45;
<<<
123‹›45;
>>> Unchanged.
foo(a, b›, c);
<<<
foo(a, b›, c);
>>> Include added whitespace.
a+first+second;
<<<
a + first + second;
>>> In beginning of multi-line string literal.
"""f‹irs›t
second""";
<<<
"""f‹irs›t
second""";
>>> In middle of multi-line string literal.
"""first
se‹cond
thi›rd
fourth""";
<<<
"""first
se‹cond
thi›rd
fourth""";
>>> In end of multi-line string literal.
"""first
sec‹ond""" ;›
<<<
"""first
sec‹ond""";›
>>> In string interpolation.
foo( "$fi‹rst", "${ sec›ond }" );
<<<
foo("$fi‹rst", "${sec›ond}");
>>> Only whitespace in zero space selected.
foo( argument);
<<<
foo(‹›argument);
>>> Only whitespace in space selected.
operand + another;
<<<
operand ‹›+ another;