1
0
Martin Aeschlimann 9 жил өмнө
parent
commit
36f649087d

+ 4 - 0
CHANGELOG.md

@@ -1,5 +1,9 @@
 # Monaco Editor Change log
 # Monaco Editor Change log
 
 
+## [0.5.1]
+
+- Fixed mouse handling in IE
+
 ## [0.5.0]
 ## [0.5.0]
 
 
 ### Breaking changes
 ### Breaking changes

+ 1 - 1
package.json

@@ -1,7 +1,7 @@
 {
 {
   "name": "monaco-editor",
   "name": "monaco-editor",
   "private": true,
   "private": true,
-  "version": "0.5.1",
+  "version": "0.5.3",
   "description": "A browser based code editor",
   "description": "A browser based code editor",
   "author": "Microsoft Corporation",
   "author": "Microsoft Corporation",
   "license": "MIT",
   "license": "MIT",

+ 42 - 0
website/playground/monaco.d.ts.txt

@@ -4775,4 +4775,46 @@ declare module monaco.languages.css {
     export var cssDefaults: LanguageServiceDefaults;
     export var cssDefaults: LanguageServiceDefaults;
     export var lessDefaults: LanguageServiceDefaults;
     export var lessDefaults: LanguageServiceDefaults;
 	export var scssDefaults: LanguageServiceDefaults;
 	export var scssDefaults: LanguageServiceDefaults;
+}
+/*---------------------------------------------------------------------------------------------
+ *  Copyright (c) Microsoft Corporation. All rights reserved.
+ *  Licensed under the MIT License. See License.txt in the project root for license information.
+ *--------------------------------------------------------------------------------------------*/
+
+declare module monaco.languages.json {
+    export interface DiagnosticsOptions {
+        /**
+         * If set, the validator will be enabled and perform syntax validation as well as schema based validation.
+         */
+        validate?: boolean;
+        /**
+         * If set, comments are tolerated. If set to false, syntax errors will be emmited for comments.
+         */
+        allowComments?: boolean;
+        /**
+         * A list of known schemas and/or associations of schemas to file names.
+         */
+        schemas?: {
+            /**
+             * The URI of the schema, which is also the identifier of the schema.
+             */
+            uri: string;
+            /**
+             * A list of file names that are associated to the schema. The '*' wildcard can be used. For example '*.schema.json', 'package.json'
+             */
+            fileMatch?: string[];
+            /**
+             * The schema for the given URI.
+             */
+            schema?: any;
+        }[];
+    }
+
+    export interface LanguageServiceDefaults {
+        onDidChange: IEvent<LanguageServiceDefaults>;
+        diagnosticsOptions: DiagnosticsOptions;
+        setDiagnosticsOptions(options: DiagnosticsOptions): void;
+    }
+
+    export var jsonDefaults: LanguageServiceDefaults;
 }
 }