blob: ed37c9c662f8989c10af67ffec32f90ec07665d0 [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;
>>> Inside block.
{
first();
second();
third();
fourth();
fifth();
}
<<<
{
first();
second();
third();
fourth();
fifth();
}