@codingame/monaco-editor-wrapper 1.1.5 → 1.2.0

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
@@ -1806,18 +1806,6 @@ declare const _default: {
1806
1806
  description: string;
1807
1807
  };
1808
1808
  }>;
1809
- sql: () => Promise<{
1810
- "Create a new Database": {
1811
- prefix: string;
1812
- body: string[];
1813
- description: string;
1814
- };
1815
- "List databases": {
1816
- prefix: string;
1817
- body: string[];
1818
- description: string;
1819
- };
1820
- }>;
1821
1809
  COBOL: () => Promise<{
1822
1810
  add: {
1823
1811
  prefix: string;
@@ -363,19 +363,29 @@ var repository = {
363
363
  name: "comment.line.double-dash.lua"
364
364
  },
365
365
  {
366
- begin: "---?",
366
+ begin: "---",
367
367
  beginCaptures: {
368
368
  "0": {
369
369
  name: "punctuation.definition.comment.lua"
370
370
  }
371
371
  },
372
372
  end: "\\n",
373
- name: "comment.line.double-dash.lua",
373
+ name: "comment.line.double-dash.doc.lua",
374
374
  patterns: [
375
375
  {
376
376
  include: "#luadoc"
377
377
  }
378
378
  ]
379
+ },
380
+ {
381
+ begin: "--",
382
+ beginCaptures: {
383
+ "0": {
384
+ name: "punctuation.definition.comment.lua"
385
+ }
386
+ },
387
+ end: "\\n",
388
+ name: "comment.line.double-dash.lua"
379
389
  }
380
390
  ]
381
391
  },
package/dist/main.js CHANGED
@@ -388,6 +388,25 @@ var rawGrammars = [
388
388
  "language": "java",
389
389
  "scopeName": "source.java"
390
390
  },
391
+ {
392
+ "language": "javascriptreact",
393
+ "scopeName": "source.js.jsx",
394
+ "embeddedLanguages": {
395
+ "meta.tag.js": "jsx-tags",
396
+ "meta.tag.without-attributes.js": "jsx-tags",
397
+ "meta.tag.attributes.js.jsx": "javascriptreact",
398
+ "meta.embedded.expression.js": "javascriptreact"
399
+ },
400
+ "tokenTypes": {
401
+ "meta.template.expression": "other",
402
+ "meta.template.expression string": "string",
403
+ "meta.template.expression comment": "comment",
404
+ "entity.name.type.instance.jsdoc": "other",
405
+ "entity.name.function.tagged-template": "other",
406
+ "meta.import string.quoted": "other",
407
+ "variable.other.jsdoc": "other"
408
+ }
409
+ },
391
410
  {
392
411
  "language": "javascript",
393
412
  "scopeName": "source.js",
@@ -534,6 +553,10 @@ var rawGrammars = [
534
553
  "language": "shellscript",
535
554
  "scopeName": "source.shell"
536
555
  },
556
+ {
557
+ "language": "sql",
558
+ "scopeName": "source.sql"
559
+ },
537
560
  {
538
561
  "language": "swift",
539
562
  "scopeName": "source.swift"
@@ -551,6 +574,25 @@ var rawGrammars = [
551
574
  "variable.other.jsdoc": "other"
552
575
  }
553
576
  },
577
+ {
578
+ "language": "typescriptreact",
579
+ "scopeName": "source.tsx",
580
+ "embeddedLanguages": {
581
+ "meta.tag.tsx": "jsx-tags",
582
+ "meta.tag.without-attributes.tsx": "jsx-tags",
583
+ "meta.tag.attributes.tsx": "typescriptreact",
584
+ "meta.embedded.expression.tsx": "typescriptreact"
585
+ },
586
+ "tokenTypes": {
587
+ "meta.template.expression": "other",
588
+ "meta.template.expression string": "string",
589
+ "meta.template.expression comment": "comment",
590
+ "entity.name.type.instance.jsdoc": "other",
591
+ "entity.name.function.tagged-template": "other",
592
+ "meta.import string.quoted": "other",
593
+ "variable.other.jsdoc": "other"
594
+ }
595
+ },
554
596
  {
555
597
  "scopeName": "documentation.injection.ts",
556
598
  "injectTo": [
@@ -767,10 +809,6 @@ var rawGrammars = [
767
809
  "language": "pascal",
768
810
  "scopeName": "source.pascal"
769
811
  },
770
- {
771
- "language": "sql",
772
- "scopeName": "source.sql"
773
- },
774
812
  {
775
813
  "language": "scala",
776
814
  "scopeName": "source.scala"
@@ -851,7 +889,12 @@ var rawGrammars = [
851
889
  },
852
890
  {
853
891
  "language": "lua",
854
- "scopeName": "source.lua"
892
+ "scopeName": "source.lua",
893
+ "tokenTypes": {
894
+ "comment.line.double-dash.doc.lua": "other",
895
+ "string.quoted.double.lua": "other",
896
+ "string.quoted.single.lua": "other"
897
+ }
855
898
  },
856
899
  {
857
900
  "language": "aspnetcorerazor",
@@ -991,6 +1034,9 @@ var grammarLoader = {
991
1034
  'source.java': async () => (await import(
992
1035
  /* webpackChunkName: "grammar-source-java" */
993
1036
  './java.tmLanguage.js').then(module => module)).default,
1037
+ 'source.js.jsx': async () => (await import(
1038
+ /* webpackChunkName: "grammar-source-js-jsx" */
1039
+ './JavaScriptReact.tmLanguage.js').then(module => module)).default,
994
1040
  'source.js': async () => (await import(
995
1041
  /* webpackChunkName: "grammar-source-js" */
996
1042
  './JavaScript.tmLanguage.js').then(module => module)).default,
@@ -1051,12 +1097,18 @@ var grammarLoader = {
1051
1097
  'source.shell': async () => (await import(
1052
1098
  /* webpackChunkName: "grammar-source-shell" */
1053
1099
  './shell-unix-bash.tmLanguage.js').then(module => module)).default,
1100
+ 'source.sql': async () => (await import(
1101
+ /* webpackChunkName: "grammar-source-sql" */
1102
+ './sql.tmLanguage.js').then(module => module)).default,
1054
1103
  'source.swift': async () => (await import(
1055
1104
  /* webpackChunkName: "grammar-source-swift" */
1056
1105
  './swift.tmLanguage.js').then(module => module)).default,
1057
1106
  'source.ts': async () => (await import(
1058
1107
  /* webpackChunkName: "grammar-source-ts" */
1059
1108
  './TypeScript.tmLanguage.js').then(module => module)).default,
1109
+ 'source.tsx': async () => (await import(
1110
+ /* webpackChunkName: "grammar-source-tsx" */
1111
+ './TypeScriptReact.tmLanguage.js').then(module => module)).default,
1060
1112
  'documentation.injection.ts': async () => (await import(
1061
1113
  /* webpackChunkName: "grammar-documentation-injection-ts" */
1062
1114
  './jsdoc.ts.injection.tmLanguage.js').then(module => module)).default,
@@ -1168,9 +1220,6 @@ var grammarLoader = {
1168
1220
  'source.pascal': async () => (await import(
1169
1221
  /* webpackChunkName: "grammar-source-pascal" */
1170
1222
  './pascal.tmLanguage.js').then(module => module)).default,
1171
- 'source.sql': async () => (await import(
1172
- /* webpackChunkName: "grammar-source-sql" */
1173
- './SQL.plist.js').then(module => module)).default,
1174
1223
  'source.scala': async () => (await import(
1175
1224
  /* webpackChunkName: "grammar-source-scala" */
1176
1225
  './Scala.tmLanguage.js').then(module => module)).default,
@@ -1244,7 +1293,8 @@ var configurationDefaults = {
1244
1293
  "editor.maxTokenizationLineLength": 2500
1245
1294
  },
1246
1295
  "[markdown]": {
1247
- "editor.unicodeHighlight.ambiguousCharacters": false
1296
+ "editor.unicodeHighlight.ambiguousCharacters": false,
1297
+ "editor.unicodeHighlight.invisibleCharacters": false
1248
1298
  },
1249
1299
  "[shellscript]": {
1250
1300
  "files.eol": "\n"
@@ -1734,6 +1784,18 @@ var semanticTokenScopes = [
1734
1784
  {
1735
1785
  language: "lua",
1736
1786
  scopes: {
1787
+ "class": [
1788
+ "support.class.lua"
1789
+ ],
1790
+ "class.declaration": [
1791
+ "support.class.lua"
1792
+ ],
1793
+ "comment.documentation": [
1794
+ "storage.type.annotation.lua"
1795
+ ],
1796
+ "event.static": [
1797
+ "support.class.lua"
1798
+ ],
1737
1799
  "function": [
1738
1800
  "variable.function.lua"
1739
1801
  ],
@@ -1746,12 +1808,36 @@ var semanticTokenScopes = [
1746
1808
  "function.static": [
1747
1809
  "entity.name.function.lua"
1748
1810
  ],
1811
+ keyword: [
1812
+ "keyword.control.lua"
1813
+ ],
1814
+ "keyword.async": [
1815
+ "entity.name.tag.lua"
1816
+ ],
1817
+ "keyword.declaration": [
1818
+ "keyword.local.lua"
1819
+ ],
1820
+ "keyword.readonly": [
1821
+ "constant.language.lua"
1822
+ ],
1823
+ macro: [
1824
+ "variable.lua"
1825
+ ],
1749
1826
  method: [
1750
1827
  "entity.name.function.lua"
1751
1828
  ],
1752
1829
  "method.declaration": [
1753
1830
  "entity.name.function.lua"
1754
1831
  ],
1832
+ number: [
1833
+ "constant.numeric.float.lua"
1834
+ ],
1835
+ "number.static": [
1836
+ "constant.numeric.integer.lua"
1837
+ ],
1838
+ operator: [
1839
+ "keyword.operator.lua"
1840
+ ],
1755
1841
  "parameter.declaration": [
1756
1842
  "variable.parameter.lua"
1757
1843
  ],
@@ -1761,6 +1847,30 @@ var semanticTokenScopes = [
1761
1847
  "property.declaration": [
1762
1848
  "entity.other.property.lua"
1763
1849
  ],
1850
+ string: [
1851
+ "string.lua"
1852
+ ],
1853
+ "string.deprecated": [
1854
+ "invalid.illegal.character.escape.lua"
1855
+ ],
1856
+ "string.modification": [
1857
+ "constant.character.escape.lua"
1858
+ ],
1859
+ struct: [
1860
+ "string.tag.lua"
1861
+ ],
1862
+ "struct.declaration": [
1863
+ "string.tag.lua"
1864
+ ],
1865
+ type: [
1866
+ "support.type.lua"
1867
+ ],
1868
+ "type.modification": [
1869
+ "storage.type.generic.lua"
1870
+ ],
1871
+ typeParameter: [
1872
+ "string.tag.lua"
1873
+ ],
1764
1874
  variable: [
1765
1875
  "variable.other.lua"
1766
1876
  ],
@@ -1773,8 +1883,8 @@ var semanticTokenScopes = [
1773
1883
  "variable.defaultLibrary": [
1774
1884
  "support.constant.lua"
1775
1885
  ],
1776
- "variable.local": [
1777
- "variable.other.lua"
1886
+ "variable.definition": [
1887
+ "variable.language.self.lua"
1778
1888
  ],
1779
1889
  "variable.readonly": [
1780
1890
  "variable.other.constant.lua"
@@ -2955,6 +3065,16 @@ var textMateLanguages = [
2955
3065
  "text/x-shellscript"
2956
3066
  ]
2957
3067
  },
3068
+ {
3069
+ "id": "sql",
3070
+ "extensions": [
3071
+ ".sql",
3072
+ ".dsql"
3073
+ ],
3074
+ "aliases": [
3075
+ "SQL"
3076
+ ]
3077
+ },
2958
3078
  {
2959
3079
  "id": "swift",
2960
3080
  "aliases": [
@@ -3340,15 +3460,6 @@ var textMateLanguages = [
3340
3460
  ".lpr"
3341
3461
  ]
3342
3462
  },
3343
- {
3344
- "id": "sql",
3345
- "extensions": [
3346
- ".sql"
3347
- ],
3348
- "aliases": [
3349
- "SQL"
3350
- ]
3351
- },
3352
3463
  {
3353
3464
  "id": "scala",
3354
3465
  "aliases": [
@@ -3844,6 +3955,9 @@ var configurationLoader = {
3844
3955
  'shellscript': async () => (await import(
3845
3956
  /* webpackChunkName: "configuration-shellscript" */
3846
3957
  './shellscript.js').then(module => module)).default,
3958
+ 'sql': async () => (await import(
3959
+ /* webpackChunkName: "configuration-sql" */
3960
+ './sql.js').then(module => module)).default,
3847
3961
  'swift': async () => (await import(
3848
3962
  /* webpackChunkName: "configuration-swift" */
3849
3963
  './swift.js').then(module => module)).default,
@@ -3913,9 +4027,6 @@ var configurationLoader = {
3913
4027
  'pascal': async () => (await import(
3914
4028
  /* webpackChunkName: "configuration-pascal" */
3915
4029
  './pascal.js').then(module => module)).default,
3916
- 'sql': async () => (await import(
3917
- /* webpackChunkName: "configuration-sql" */
3918
- './sql.js').then(module => module)).default,
3919
4030
  'scala': async () => (await import(
3920
4031
  /* webpackChunkName: "configuration-scala" */
3921
4032
  './scala.js').then(module => module)).default,
@@ -4042,9 +4153,6 @@ var snippetLoader = {
4042
4153
  'pascal': async () => (await import(
4043
4154
  /* webpackChunkName: "snippet-pascal" */
4044
4155
  './pascal-pascal.js').then(module => module)).default,
4045
- 'sql': async () => (await import(
4046
- /* webpackChunkName: "snippet-sql" */
4047
- './pgsql-sql.js').then(module => module)).default,
4048
4156
  'COBOL': async () => (await import(
4049
4157
  /* webpackChunkName: "snippet-COBOL" */
4050
4158
  './cobol-COBOL.js').then(module => module)).default,
@@ -3,7 +3,7 @@ var information_for_contributors = [
3
3
  "If you want to provide a fix or improvement, please create a pull request against the original repository.",
4
4
  "Once accepted there, we are happy to receive an update request."
5
5
  ];
6
- var version = "https://github.com/microsoft/vscode-markdown-tm-grammar/commit/402cd37bf494f7e04e2df15423ba91ce8a9b1301";
6
+ var version = "https://github.com/microsoft/vscode-markdown-tm-grammar/commit/a8545b220dc2cb109835571ba3458ff138e97361";
7
7
  var name = "Markdown";
8
8
  var scopeName = "text.html.markdown";
9
9
  var patterns = [
@@ -2435,6 +2435,9 @@ var repository = {
2435
2435
  {
2436
2436
  include: "#raw"
2437
2437
  },
2438
+ {
2439
+ include: "#strikethrough"
2440
+ },
2438
2441
  {
2439
2442
  include: "#escape"
2440
2443
  },
@@ -2530,6 +2533,9 @@ var repository = {
2530
2533
  },
2531
2534
  {
2532
2535
  include: "#link-ref-shortcut"
2536
+ },
2537
+ {
2538
+ include: "#strikethrough"
2533
2539
  }
2534
2540
  ]
2535
2541
  },
@@ -2545,13 +2551,13 @@ var repository = {
2545
2551
  "image-inline": {
2546
2552
  captures: {
2547
2553
  "1": {
2548
- name: "punctuation.definition.string.begin.markdown"
2554
+ name: "punctuation.definition.link.description.begin.markdown"
2549
2555
  },
2550
2556
  "2": {
2551
2557
  name: "string.other.link.description.markdown"
2552
2558
  },
2553
2559
  "4": {
2554
- name: "punctuation.definition.string.end.markdown"
2560
+ name: "punctuation.definition.link.description.end.markdown"
2555
2561
  },
2556
2562
  "5": {
2557
2563
  name: "punctuation.definition.metadata.markdown"
@@ -2602,13 +2608,13 @@ var repository = {
2602
2608
  "image-ref": {
2603
2609
  captures: {
2604
2610
  "1": {
2605
- name: "punctuation.definition.string.begin.markdown"
2611
+ name: "punctuation.definition.link.description.begin.markdown"
2606
2612
  },
2607
2613
  "2": {
2608
2614
  name: "string.other.link.description.markdown"
2609
2615
  },
2610
2616
  "4": {
2611
- name: "punctuation.definition.string.begin.markdown"
2617
+ name: "punctuation.definition.link.description.end.markdown"
2612
2618
  },
2613
2619
  "5": {
2614
2620
  name: "punctuation.definition.constant.markdown"
@@ -2681,6 +2687,9 @@ var repository = {
2681
2687
  },
2682
2688
  {
2683
2689
  include: "#link-ref-shortcut"
2690
+ },
2691
+ {
2692
+ include: "#strikethrough"
2684
2693
  }
2685
2694
  ]
2686
2695
  },
@@ -2717,13 +2726,13 @@ var repository = {
2717
2726
  "link-inline": {
2718
2727
  captures: {
2719
2728
  "1": {
2720
- name: "punctuation.definition.string.begin.markdown"
2729
+ name: "punctuation.definition.link.title.begin.markdown"
2721
2730
  },
2722
2731
  "2": {
2723
2732
  name: "string.other.link.title.markdown"
2724
2733
  },
2725
2734
  "4": {
2726
- name: "punctuation.definition.string.end.markdown"
2735
+ name: "punctuation.definition.link.title.end.markdown"
2727
2736
  },
2728
2737
  "5": {
2729
2738
  name: "punctuation.definition.metadata.markdown"
@@ -2774,13 +2783,13 @@ var repository = {
2774
2783
  "link-ref": {
2775
2784
  captures: {
2776
2785
  "1": {
2777
- name: "punctuation.definition.string.begin.markdown"
2786
+ name: "punctuation.definition.link.title.begin.markdown"
2778
2787
  },
2779
2788
  "2": {
2780
2789
  name: "string.other.link.title.markdown"
2781
2790
  },
2782
2791
  "4": {
2783
- name: "punctuation.definition.string.end.markdown"
2792
+ name: "punctuation.definition.link.title.end.markdown"
2784
2793
  },
2785
2794
  "5": {
2786
2795
  name: "punctuation.definition.constant.begin.markdown"
@@ -2798,13 +2807,13 @@ var repository = {
2798
2807
  "link-ref-literal": {
2799
2808
  captures: {
2800
2809
  "1": {
2801
- name: "punctuation.definition.string.begin.markdown"
2810
+ name: "punctuation.definition.link.title.begin.markdown"
2802
2811
  },
2803
2812
  "2": {
2804
2813
  name: "string.other.link.title.markdown"
2805
2814
  },
2806
2815
  "4": {
2807
- name: "punctuation.definition.string.end.markdown"
2816
+ name: "punctuation.definition.link.title.end.markdown"
2808
2817
  },
2809
2818
  "5": {
2810
2819
  name: "punctuation.definition.constant.begin.markdown"
@@ -2819,13 +2828,13 @@ var repository = {
2819
2828
  "link-ref-shortcut": {
2820
2829
  captures: {
2821
2830
  "1": {
2822
- name: "punctuation.definition.string.begin.markdown"
2831
+ name: "punctuation.definition.link.title.begin.markdown"
2823
2832
  },
2824
2833
  "2": {
2825
2834
  name: "string.other.link.title.markdown"
2826
2835
  },
2827
2836
  "3": {
2828
- name: "punctuation.definition.string.end.markdown"
2837
+ name: "punctuation.definition.link.title.end.markdown"
2829
2838
  }
2830
2839
  },
2831
2840
  match: "(\\[)(\\S+?)(\\])",
@@ -2840,8 +2849,76 @@ var repository = {
2840
2849
  name: "punctuation.definition.raw.markdown"
2841
2850
  }
2842
2851
  },
2843
- match: "(`+)([^`]|(?!(?<!`)\\1(?!`))`)*+(\\1)",
2852
+ match: "(`+)((?:[^`]|(?!(?<!`)\\1(?!`))`)*+)(\\1)",
2844
2853
  name: "markup.inline.raw.string.markdown"
2854
+ },
2855
+ strikethrough: {
2856
+ captures: {
2857
+ "1": {
2858
+ name: "punctuation.definition.strikethrough.markdown"
2859
+ },
2860
+ "2": {
2861
+ patterns: [
2862
+ {
2863
+ applyEndPatternLast: 1,
2864
+ begin: "(?=<[^>]*?>)",
2865
+ end: "(?<=>)",
2866
+ patterns: [
2867
+ {
2868
+ include: "text.html.derivative"
2869
+ }
2870
+ ]
2871
+ },
2872
+ {
2873
+ include: "#escape"
2874
+ },
2875
+ {
2876
+ include: "#ampersand"
2877
+ },
2878
+ {
2879
+ include: "#bracket"
2880
+ },
2881
+ {
2882
+ include: "#raw"
2883
+ },
2884
+ {
2885
+ include: "#bold"
2886
+ },
2887
+ {
2888
+ include: "#italic"
2889
+ },
2890
+ {
2891
+ include: "#image-inline"
2892
+ },
2893
+ {
2894
+ include: "#link-inline"
2895
+ },
2896
+ {
2897
+ include: "#link-inet"
2898
+ },
2899
+ {
2900
+ include: "#link-email"
2901
+ },
2902
+ {
2903
+ include: "#image-ref"
2904
+ },
2905
+ {
2906
+ include: "#link-ref-literal"
2907
+ },
2908
+ {
2909
+ include: "#link-ref"
2910
+ },
2911
+ {
2912
+ include: "#link-ref-shortcut"
2913
+ }
2914
+ ]
2915
+ },
2916
+ "3": {
2917
+ name: "punctuation.definition.strikethrough.markdown"
2918
+ }
2919
+ },
2920
+ match: "(~+)((?:[^~]|(?!(?<!~)\\1(?!~))~)*+)(\\1)",
2921
+ name: "markup.strikethrough.markdown"
2845
2922
  }
2846
2923
  };
2847
2924
  var markdown_tmLanguage = {
@@ -13,7 +13,7 @@ var keyEquivalent = "^~P";
13
13
  var name = "Pascal";
14
14
  var patterns = [
15
15
  {
16
- match: "\\b(?i:(absolute|abstract|all|and_then|array|as|asm|attribute|begin|bindable|case|class|const|contains|default|div|else|end|except|export|exports|external|far|file|finalization|finally|forward|generic|goto|if|implements|import|in|index|inherited|initialization|interrupt|is|label|library|mod|module|name|near|not|object|of|on|only|operator|or_else|otherwise|override|package|packed|pow|private|program|protected|public|published|interface|implementation|qualified|read|record|resident|requires|resourcestring|restricted|segment|set|shl|shr|specialize|stored|strict|then|threadvar|to|try|type|unit|uses|var|view|virtual|dynamic|overload|reintroduce|with|write|xor))\\b",
16
+ match: "\\b(?i:(absolute|abstract|all|and_then|array|as|asm|attribute|begin|bindable|case|class|const|contains|default|div|else|end|except|export|exports|external|far|file|finalization|finally|forward|generic|goto|if|implements|import|in|index|inherited|initialization|interrupt|is|label|library|mod|module|name|near|not|object|of|on|only|operator|or_else|otherwise|out|override|package|packed|pow|private|program|protected|public|published|interface|implementation|qualified|read|record|resident|requires|resourcestring|restricted|segment|set|shl|shr|specialize|stored|strict|then|threadvar|to|try|type|unit|uses|var|view|virtual|dynamic|overload|reintroduce|with|write|xor))\\b",
17
17
  name: "keyword.pascal"
18
18
  },
19
19
  {
@@ -49,7 +49,7 @@ var patterns = [
49
49
  name: "keyword.operator.pascal"
50
50
  },
51
51
  {
52
- match: "\\b(?i:(break|continue|exit|abort|while|do|for|raise|repeat|until))\\b",
52
+ match: "\\b(?i:(break|continue|exit|abort|while|do|downto|for|raise|repeat|until))\\b",
53
53
  name: "keyword.control.pascal"
54
54
  },
55
55
  {