More tweaks for optimal colorization

This commit is contained in:
Alex Dima 2017-01-02 01:42:29 +02:00
parent da418eb8d9
commit 6882a78485
13 changed files with 176 additions and 188 deletions

View file

@ -1707,7 +1707,7 @@ testTokenization(['php', 'css'], [
{ startIndex:0, type: htmlTokenTypes.DELIM_START },
{ startIndex:1, type: htmlTokenTypes.getTag('abc') },
{ startIndex:4, type: htmlTokenTypes.DELIM_END },
{ startIndex:5, type: htmlTokenTypes.DELIM_START },
// { startIndex:5, type: htmlTokenTypes.DELIM_START },
{ startIndex:6, type: htmlTokenTypes.getTag('script') },
{ startIndex:12, type: htmlTokenTypes.DELIM_END },
{ startIndex:13, type: '' },
@ -1731,7 +1731,7 @@ testTokenization(['php', 'css'], [
{ startIndex:0, type: htmlTokenTypes.DELIM_START },
{ startIndex:1, type: htmlTokenTypes.getTag('abc') },
{ startIndex:4, type: htmlTokenTypes.DELIM_END },
{ startIndex:5, type: htmlTokenTypes.DELIM_START },
// { startIndex:5, type: htmlTokenTypes.DELIM_START },
{ startIndex:6, type: htmlTokenTypes.getTag('script') },
{ startIndex:12, type: htmlTokenTypes.DELIM_END },
{ startIndex:13, type: '' },
@ -1787,7 +1787,7 @@ testTokenization(['php', 'css'], [
{ startIndex:0, type: htmlTokenTypes.DELIM_START },
{ startIndex:1, type: htmlTokenTypes.getTag('html') },
{ startIndex:5, type: htmlTokenTypes.DELIM_END },
{ startIndex:6, type: htmlTokenTypes.DELIM_START },
// { startIndex:6, type: htmlTokenTypes.DELIM_START },
{ startIndex:7, type: htmlTokenTypes.getTag('style') },
{ startIndex:12, type: htmlTokenTypes.DELIM_END },
{ startIndex:13, type: 'metatag.php' },
@ -1821,7 +1821,7 @@ testTokenization(['php', 'css'], [
{ startIndex:137, type: htmlTokenTypes.DELIM_START },
{ startIndex:139, type: htmlTokenTypes.getTag('script') },
{ startIndex:145, type: htmlTokenTypes.DELIM_END },
{ startIndex:146, type: htmlTokenTypes.DELIM_START },
// { startIndex:146, type: htmlTokenTypes.DELIM_START },
{ startIndex:148, type: htmlTokenTypes.getTag('html') },
{ startIndex:152, type: htmlTokenTypes.DELIM_END },
{ startIndex:153, type: 'metatag.php' },