mirror of
https://github.com/microsoft/monaco-editor.git
synced 2025-12-23 00:22:56 +01:00
More tweaks for optimal colorization
This commit is contained in:
parent
da418eb8d9
commit
6882a78485
13 changed files with 176 additions and 188 deletions
|
|
@ -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' },
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue