| OLD | NEW |
| (Empty) |
| 1 This test checks highlighting with specific highlightChunkLimit. | |
| 2 | |
| 3 Highlighter results | |
| 4 1 : this.field = this.field = "foo"; /* comment here */ this.otherField = 12; //
end of line : javascript-keyword[0-4] javascript-ident[5-10] whitespace[10-11]
whitespace[12-13] javascript-keyword[13-17] javascript-ident[18-23] whitespace[2
3-24] whitespace[25-26] javascript-string[26-31] whitespace[32-33] javascript-co
mment[33-51] whitespace[51-52] javascript-keyword[52-56] javascript-ident[57-67]
whitespace[67-68] whitespace[69-70] javascript-number[70-72] whitespace[73-74]
javascript-comment[74-88] | |
| 5 2 : this.field = this.field = "foo"; /* comment here */ this.otherField = 12; //
end of line : javascript-keyword[0-4] javascript-ident[5-10] whitespace[10-11]
whitespace[12-13] javascript-keyword[13-17] javascript-ident[18-23] whitespace[2
3-24] whitespace[25-26] javascript-string[26-31] whitespace[32-33] javascript-co
mment[33-51] whitespace[51-52] javascript-keyword[52-56] javascript-ident[57-67]
whitespace[67-68] whitespace[69-70] javascript-number[70-72] whitespace[73-74]
javascript-comment[74-88] | |
| 6 3 : this.field = this.field = "foo"; /* comment here */ this.otherField = 12; //
end of line : javascript-keyword[0-4] javascript-ident[5-10] whitespace[10-11]
whitespace[12-13] javascript-keyword[13-17] javascript-ident[18-23] whitespace[2
3-24] whitespace[25-26] javascript-string[26-31] whitespace[32-33] javascript-co
mment[33-51] whitespace[51-52] javascript-keyword[52-56] javascript-ident[57-67]
whitespace[67-68] whitespace[69-70] javascript-number[70-72] whitespace[73-74]
javascript-comment[74-88] | |
| 7 4 : this.field = this.field = "foo"; /* comment here */ this.otherField = 12; //
end of line : javascript-keyword[0-4] javascript-ident[5-10] whitespace[10-11]
whitespace[12-13] javascript-keyword[13-17] javascript-ident[18-23] whitespace[2
3-24] whitespace[25-26] javascript-string[26-31] whitespace[32-33] javascript-co
mment[33-51] whitespace[51-52] javascript-keyword[52-56] javascript-ident[57-67]
whitespace[67-68] whitespace[69-70] javascript-number[70-72] whitespace[73-74]
javascript-comment[74-88] | |
| 8 5 : this.field = this.field = "foo"; /* comment here */ this.otherField = 12; //
end of line : javascript-keyword[0-4] javascript-ident[5-10] whitespace[10-11]
whitespace[12-13] javascript-keyword[13-17] javascript-ident[18-23] whitespace[2
3-24] whitespace[25-26] javascript-string[26-31] whitespace[32-33] javascript-co
mment[33-51] whitespace[51-52] javascript-keyword[52-56] javascript-ident[57-67]
whitespace[67-68] whitespace[69-70] javascript-number[70-72] whitespace[73-74]
javascript-comment[74-88] | |
| 9 6 : this.field = this.field = "foo"; /* comment here */ this.otherField = 12; //
end of line : javascript-keyword[0-4] javascript-ident[5-10] whitespace[10-11]
whitespace[12-13] javascript-keyword[13-17] javascript-ident[18-23] whitespace[2
3-24] whitespace[25-26] javascript-string[26-31] whitespace[32-33] javascript-co
mment[33-51] whitespace[51-52] javascript-keyword[52-56] javascript-ident[57-67]
whitespace[67-68] whitespace[69-70] javascript-number[70-72] whitespace[73-74]
javascript-comment[74-88] | |
| 10 7 : this.field = this.field = "foo"; /* comment here */ this.otherField = 12; //
end of line : javascript-keyword[0-4] javascript-ident[5-10] whitespace[10-11]
whitespace[12-13] javascript-keyword[13-17] javascript-ident[18-23] whitespace[2
3-24] whitespace[25-26] javascript-string[26-31] whitespace[32-33] javascript-co
mment[33-51] whitespace[51-52] javascript-keyword[52-56] javascript-ident[57-67]
whitespace[67-68] whitespace[69-70] javascript-number[70-72] whitespace[73-74]
javascript-comment[74-88] | |
| 11 8 : this.field = this.field = "foo"; /* comment here */ this.otherField = 12; //
end of line : javascript-keyword[0-4] javascript-ident[5-10] whitespace[10-11]
whitespace[12-13] javascript-keyword[13-17] javascript-ident[18-23] whitespace[2
3-24] whitespace[25-26] javascript-string[26-31] whitespace[32-33] javascript-co
mment[33-51] whitespace[51-52] javascript-keyword[52-56] javascript-ident[57-67]
whitespace[67-68] whitespace[69-70] javascript-number[70-72] whitespace[73-74]
javascript-comment[74-88] | |
| 12 9 : this.field = this.field = "foo"; /* comment here */ this.otherField = 12; //
end of line : javascript-keyword[0-4] javascript-ident[5-10] whitespace[10-11]
whitespace[12-13] javascript-keyword[13-17] javascript-ident[18-23] whitespace[2
3-24] whitespace[25-26] javascript-string[26-31] whitespace[32-33] javascript-co
mment[33-51] whitespace[51-52] javascript-keyword[52-56] javascript-ident[57-67]
whitespace[67-68] whitespace[69-70] javascript-number[70-72] whitespace[73-74]
javascript-comment[74-88] | |
| 13 10 : this.field = this.field = "foo"; /* comment here */ this.otherField = 12; /
/ end of line : javascript-keyword[0-4] javascript-ident[5-10] whitespace[10-11]
whitespace[12-13] javascript-keyword[13-17] javascript-ident[18-23] whitespace[
23-24] whitespace[25-26] javascript-string[26-31] whitespace[32-33] javascript-c
omment[33-51] whitespace[51-52] javascript-keyword[52-56] javascript-ident[57-67
] whitespace[67-68] whitespace[69-70] javascript-number[70-72] whitespace[73-74]
javascript-comment[74-88] | |
| 14 11 : : | |
| 15 | |
| OLD | NEW |