OLD | NEW |
(Empty) | |
| 1 40 columns | |
| 2 >>> inside script tag |
| 3 #!scr‹ip›t |
| 4 <<< |
| 5 #!scr‹ip›t |
| 6 >>> select entire file |
| 7 ‹main( ) { |
| 8 body( ) ;}› |
| 9 <<< |
| 10 ‹main() { |
| 11 body(); |
| 12 }› |
| 13 >>> trailing comment |
| 14 ma‹in() {} |
| 15 // com›ment |
| 16 <<< |
| 17 ma‹in() {} |
| 18 // com›ment |
| 19 >>> in discarded whitespace |
| 20 foo( ‹ argument){ › } |
| 21 <<< |
| 22 foo(‹argument) {›} |
| 23 >>> in zero split whitespace |
| 24 main(){veryLongMethodCall(‹veryLongArgumentName); |
| 25 veryLongMethodCall(›veryLongArgumentName); |
| 26 } |
| 27 <<< |
| 28 main() { |
| 29 veryLongMethodCall( |
| 30 ‹veryLongArgumentName); |
| 31 veryLongMethodCall(› |
| 32 veryLongArgumentName); |
| 33 } |
| 34 >>> in soft space split whitespace |
| 35 main() {shortCall(argument, ‹ argument); |
| 36 shortCall(argument, › argument); |
| 37 } |
| 38 <<< |
| 39 main() { |
| 40 shortCall(argument, ‹argument); |
| 41 shortCall(argument,› argument); |
| 42 } |
| 43 >>> in hard split whitespace |
| 44 foo() {body; ‹ } |
| 45 bar() {body; › } |
| 46 <<< |
| 47 foo() { |
| 48 body; |
| 49 ‹} |
| 50 |
| 51 bar() { |
| 52 body;› |
| 53 } |
| 54 >>> across lines that get split separately |
| 55 foo() { |
| 56 |
| 57 |
| 58 fir‹st(); |
| 59 } |
| 60 |
| 61 bar() {sec›ond();} |
| 62 <<< |
| 63 foo() { |
| 64 fir‹st(); |
| 65 } |
| 66 |
| 67 bar() { |
| 68 sec›ond(); |
| 69 } |
| 70 >>> only whitespace in newline selected |
| 71 foo() {} ‹ › bar() {} |
| 72 <<< |
| 73 foo() {} |
| 74 ‹›bar() {} |
| 75 >>> only whitespace in double newline selected |
| 76 class Foo {} |
| 77 |
| 78 ‹ › |
| 79 |
| 80 class Bar {} |
| 81 <<< |
| 82 class Foo {} |
| 83 |
| 84 ‹›class Bar {} |
OLD | NEW |