")],-1),m=e("li",null,"args: any[]",-1),b=e("li",null,[o("返回值: "),e("code",null,"-")],-1),g=e("li",null,[o("描述: "),e("code",null,"action 的执行方法")],-1);function k(I,y){const c=i("ExternalLinkIcon"),n=i("RouterLink");return r(),l("div",null,[u,e("p",null,[_,o(),e("a",p,[o("官网地址"),d(c)])]),f,e("ul",null,[x,e("li",null,[o("参数: "),e("ul",null,[e("li",null,[o("ICodeEditor:"),d(n,{to:"/editor/interfaces/ICodeEditor.html"},{default:a(()=>[o("ICodeEditor")]),_:1})]),m])]),b,g])])}const v=t(h,[["render",k],["__file","IActionDescriptor.html.vue"]]);export{v as default};
diff --git a/assets/IAutoClosingPair.html-0ac7901c.js b/assets/IAutoClosingPair.html-0ac7901c.js
new file mode 100644
index 00000000..64d33574
--- /dev/null
+++ b/assets/IAutoClosingPair.html-0ac7901c.js
@@ -0,0 +1 @@
+const t=JSON.parse('{"key":"v-51eb81cb","path":"/language/interfaces/IAutoClosingPair.html","title":"IAutoClosingPair","lang":"zh-CN","frontmatter":{"description":"interface 官网地址 (https://microsoft.github.io/monaco-editor/docs.html#interfaces/languages.IAutoClosingPair.html) 属性 Properties 方法 Methods","head":[["meta",{"property":"og:url","content":"http://aydk.site/language/interfaces/IAutoClosingPair.html"}],["meta",{"property":"og:site_name","content":"Monaco-editor 学习文档"}],["meta",{"property":"og:title","content":"IAutoClosingPair"}],["meta",{"property":"og:description","content":"interface 官网地址 (https://microsoft.github.io/monaco-editor/docs.html#interfaces/languages.IAutoClosingPair.html) 属性 Properties 方法 Methods"}],["meta",{"property":"og:type","content":"article"}],["meta",{"property":"og:locale","content":"zh-CN"}],["meta",{"property":"og:updated_time","content":"2023-06-16T19:55:24.000Z"}],["meta",{"property":"article:author","content":"aydk"}],["meta",{"property":"article:modified_time","content":"2023-06-16T19:55:24.000Z"}],["script",{"type":"application/ld+json"},"{\\"@context\\":\\"https://schema.org\\",\\"@type\\":\\"Article\\",\\"headline\\":\\"IAutoClosingPair\\",\\"image\\":[\\"\\"],\\"dateModified\\":\\"2023-06-16T19:55:24.000Z\\",\\"author\\":[{\\"@type\\":\\"Person\\",\\"name\\":\\"aydk\\"}]}"]]},"headers":[{"level":2,"title":"属性 Properties","slug":"属性-properties","link":"#属性-properties","children":[]},{"level":2,"title":"方法 Methods","slug":"方法-methods","link":"#方法-methods","children":[]}],"git":{"createdTime":1686945324000,"updatedTime":1686945324000,"contributors":[{"name":"xiaochaochao","email":"xiaochaochao","commits":1}]},"readingTime":{"minutes":0.05,"words":16},"filePathRelative":"language/interfaces/IAutoClosingPair.md","localizedDate":"2023年6月16日","autoDesc":true}');export{t as data};
diff --git a/assets/IAutoClosingPair.html-2f11ce98.js b/assets/IAutoClosingPair.html-2f11ce98.js
new file mode 100644
index 00000000..84082d1d
--- /dev/null
+++ b/assets/IAutoClosingPair.html-2f11ce98.js
@@ -0,0 +1 @@
+import{_ as r}from"./plugin-vue_export-helper-c27b6911.js";import{r as a,o as n,c as s,a as e,b as o,d as i}from"./app-5f5ef0a9.js";const c={},d=e("h1",{id:"iautoclosingpair",tabindex:"-1"},[e("a",{class:"header-anchor",href:"#iautoclosingpair","aria-hidden":"true"},"#"),o(" IAutoClosingPair")],-1),h=e("code",null,"interface",-1),l={href:"https://microsoft.github.io/monaco-editor/docs.html#interfaces/languages.IAutoClosingPair.html",target:"_blank",rel:"noopener noreferrer"},_=e("h2",{id:"属性-properties",tabindex:"-1"},[e("a",{class:"header-anchor",href:"#属性-properties","aria-hidden":"true"},"#"),o(" 属性 Properties")],-1),u=e("h2",{id:"方法-methods",tabindex:"-1"},[e("a",{class:"header-anchor",href:"#方法-methods","aria-hidden":"true"},"#"),o(" 方法 Methods")],-1);function p(f,m){const t=a("ExternalLinkIcon");return n(),s("div",null,[d,e("p",null,[h,o(),e("a",l,[o("官网地址"),i(t)])]),_,u])}const b=r(c,[["render",p],["__file","IAutoClosingPair.html.vue"]]);export{b as default};
diff --git a/assets/IAutoClosingPairConditional.html-0262a868.js b/assets/IAutoClosingPairConditional.html-0262a868.js
new file mode 100644
index 00000000..5b9e9930
--- /dev/null
+++ b/assets/IAutoClosingPairConditional.html-0262a868.js
@@ -0,0 +1 @@
+const t=JSON.parse('{"key":"v-08eb1e01","path":"/language/interfaces/IAutoClosingPairConditional.html","title":"IAutoClosingPairConditional","lang":"zh-CN","frontmatter":{"description":"interface 官网地址 (https://microsoft.github.io/monaco-editor/docs.html#interfaces/languages.IAutoClosingPairConditional.html) 属性 Properties 方法 Methods","head":[["meta",{"property":"og:url","content":"http://aydk.site/language/interfaces/IAutoClosingPairConditional.html"}],["meta",{"property":"og:site_name","content":"Monaco-editor 学习文档"}],["meta",{"property":"og:title","content":"IAutoClosingPairConditional"}],["meta",{"property":"og:description","content":"interface 官网地址 (https://microsoft.github.io/monaco-editor/docs.html#interfaces/languages.IAutoClosingPairConditional.html) 属性 Properties 方法 Methods"}],["meta",{"property":"og:type","content":"article"}],["meta",{"property":"og:locale","content":"zh-CN"}],["meta",{"property":"og:updated_time","content":"2023-06-16T19:55:24.000Z"}],["meta",{"property":"article:author","content":"aydk"}],["meta",{"property":"article:modified_time","content":"2023-06-16T19:55:24.000Z"}],["script",{"type":"application/ld+json"},"{\\"@context\\":\\"https://schema.org\\",\\"@type\\":\\"Article\\",\\"headline\\":\\"IAutoClosingPairConditional\\",\\"image\\":[\\"\\"],\\"dateModified\\":\\"2023-06-16T19:55:24.000Z\\",\\"author\\":[{\\"@type\\":\\"Person\\",\\"name\\":\\"aydk\\"}]}"]]},"headers":[{"level":2,"title":"属性 Properties","slug":"属性-properties","link":"#属性-properties","children":[]},{"level":2,"title":"方法 Methods","slug":"方法-methods","link":"#方法-methods","children":[]}],"git":{"createdTime":1686945324000,"updatedTime":1686945324000,"contributors":[{"name":"xiaochaochao","email":"xiaochaochao","commits":1}]},"readingTime":{"minutes":0.05,"words":16},"filePathRelative":"language/interfaces/IAutoClosingPairConditional.md","localizedDate":"2023年6月16日","autoDesc":true}');export{t as data};
diff --git a/assets/IAutoClosingPairConditional.html-85218bc5.js b/assets/IAutoClosingPairConditional.html-85218bc5.js
new file mode 100644
index 00000000..7cfd3733
--- /dev/null
+++ b/assets/IAutoClosingPairConditional.html-85218bc5.js
@@ -0,0 +1 @@
+import{_ as n}from"./plugin-vue_export-helper-c27b6911.js";import{r as a,o as i,c as r,a as e,b as o,d as s}from"./app-5f5ef0a9.js";const c={},d=e("h1",{id:"iautoclosingpairconditional",tabindex:"-1"},[e("a",{class:"header-anchor",href:"#iautoclosingpairconditional","aria-hidden":"true"},"#"),o(" IAutoClosingPairConditional")],-1),l=e("code",null,"interface",-1),h={href:"https://microsoft.github.io/monaco-editor/docs.html#interfaces/languages.IAutoClosingPairConditional.html",target:"_blank",rel:"noopener noreferrer"},_=e("h2",{id:"属性-properties",tabindex:"-1"},[e("a",{class:"header-anchor",href:"#属性-properties","aria-hidden":"true"},"#"),o(" 属性 Properties")],-1),u=e("h2",{id:"方法-methods",tabindex:"-1"},[e("a",{class:"header-anchor",href:"#方法-methods","aria-hidden":"true"},"#"),o(" 方法 Methods")],-1);function p(f,m){const t=a("ExternalLinkIcon");return i(),r("div",null,[d,e("p",null,[l,o(),e("a",h,[o("官网地址"),s(t)])]),_,u])}const C=n(c,[["render",p],["__file","IAutoClosingPairConditional.html.vue"]]);export{C as default};
diff --git a/assets/IBaseMouseTarget.html-60d0235b.js b/assets/IBaseMouseTarget.html-60d0235b.js
new file mode 100644
index 00000000..951afed4
--- /dev/null
+++ b/assets/IBaseMouseTarget.html-60d0235b.js
@@ -0,0 +1 @@
+const e=JSON.parse('{"key":"v-1a29479e","path":"/editor/interfaces/IBaseMouseTarget.html","title":"IBaseMouseTarget","lang":"zh-CN","frontmatter":{"description":"interface 官网地址 (https://microsoft.github.io/monaco-editor/docs.html#interfaces/editor.IBaseMouseTarget.html) 鼠标的操作目标 属性 Properties element 类型: Element 可选; 默认值: -; 可选项: -; 描述: 目标...","head":[["meta",{"property":"og:url","content":"http://aydk.site/editor/interfaces/IBaseMouseTarget.html"}],["meta",{"property":"og:site_name","content":"Monaco-editor 学习文档"}],["meta",{"property":"og:title","content":"IBaseMouseTarget"}],["meta",{"property":"og:description","content":"interface 官网地址 (https://microsoft.github.io/monaco-editor/docs.html#interfaces/editor.IBaseMouseTarget.html) 鼠标的操作目标 属性 Properties element 类型: Element 可选; 默认值: -; 可选项: -; 描述: 目标..."}],["meta",{"property":"og:type","content":"article"}],["meta",{"property":"og:locale","content":"zh-CN"}],["meta",{"property":"og:updated_time","content":"2023-06-16T20:04:45.000Z"}],["meta",{"property":"article:author","content":"aydk"}],["meta",{"property":"article:modified_time","content":"2023-06-16T20:04:45.000Z"}],["script",{"type":"application/ld+json"},"{\\"@context\\":\\"https://schema.org\\",\\"@type\\":\\"Article\\",\\"headline\\":\\"IBaseMouseTarget\\",\\"image\\":[\\"\\"],\\"dateModified\\":\\"2023-06-16T20:04:45.000Z\\",\\"author\\":[{\\"@type\\":\\"Person\\",\\"name\\":\\"aydk\\"}]}"]]},"headers":[{"level":2,"title":"属性 Properties","slug":"属性-properties","link":"#属性-properties","children":[{"level":3,"title":"element","slug":"element","link":"#element","children":[]},{"level":3,"title":"mouseColumn","slug":"mousecolumn","link":"#mousecolumn","children":[]},{"level":3,"title":"position","slug":"position","link":"#position","children":[]},{"level":3,"title":"range","slug":"range","link":"#range","children":[]}]}],"git":{"createdTime":1686945885000,"updatedTime":1686945885000,"contributors":[{"name":"xiaochaochao","email":"xiaochaochao","commits":1}]},"readingTime":{"minutes":0.4,"words":119},"filePathRelative":"editor/interfaces/IBaseMouseTarget.md","localizedDate":"2023年6月16日","autoDesc":true}');export{e as data};
diff --git a/assets/IBaseMouseTarget.html-65eff695.js b/assets/IBaseMouseTarget.html-65eff695.js
new file mode 100644
index 00000000..24a5493d
--- /dev/null
+++ b/assets/IBaseMouseTarget.html-65eff695.js
@@ -0,0 +1 @@
+import{_ as s}from"./plugin-vue_export-helper-c27b6911.js";import{r as n,o as c,c as d,a as e,b as o,d as l,w as a,e as r}from"./app-5f5ef0a9.js";const h={},u=e("h1",{id:"ibasemousetarget",tabindex:"-1"},[e("a",{class:"header-anchor",href:"#ibasemousetarget","aria-hidden":"true"},"#"),o(" IBaseMouseTarget")],-1),_=e("code",null,"interface",-1),m={href:"https://microsoft.github.io/monaco-editor/docs.html#interfaces/editor.IBaseMouseTarget.html",target:"_blank",rel:"noopener noreferrer"},f=r(' 属性 Properties
element
- 类型:
Element
可选
- 默认值:
-
- 可选项:
-
- 描述:
目标节点
mouseColumn
- 类型:
number
可选
- 默认值:
-
- 可选项:
-
- 描述:
所需的鼠标列(例如,当 position.column 被限制为文本长度时——在一行文本后单击)。
position
',6),p=e("code",null,"可选",-1),g=e("li",null,[o("默认值: "),e("code",null,"-")],-1),b=e("li",null,[o("可选项: "),e("code",null,"-")],-1),x=e("li",null,[o("描述: "),e("code",null,"位置(行和列)")],-1),k=e("h3",{id:"range",tabindex:"-1"},[e("a",{class:"header-anchor",href:"#range","aria-hidden":"true"},"#"),o(" range")],-1),B=e("code",null,"可选",-1),I=e("li",null,[o("默认值: "),e("code",null,"-")],-1),T=e("li",null,[o("可选项: "),e("code",null,"-")],-1),E=e("li",null,[o("描述: "),e("code",null,"范围(行和列)")],-1);function L(M,N){const i=n("ExternalLinkIcon"),t=n("RouterLink");return c(),d("div",null,[u,e("p",null,[_,o(),e("a",m,[o("官网地址"),l(i)]),o(" 鼠标的操作目标")]),f,e("ul",null,[e("li",null,[o("类型: "),l(t,{to:"/global/classes/Position.html"},{default:a(()=>[o("Position")]),_:1}),o(),p]),g,b,x]),k,e("ul",null,[e("li",null,[o("类型: "),l(t,{to:"/global/classes/Range.html"},{default:a(()=>[o("Range")]),_:1}),o(),B]),I,T,E])])}const v=s(h,[["render",L],["__file","IBaseMouseTarget.html.vue"]]);export{v as default};
diff --git a/assets/IBracketPairColorizationOptions.html-0ec97ced.js b/assets/IBracketPairColorizationOptions.html-0ec97ced.js
new file mode 100644
index 00000000..3e5bbe48
--- /dev/null
+++ b/assets/IBracketPairColorizationOptions.html-0ec97ced.js
@@ -0,0 +1 @@
+import{_ as a}from"./plugin-vue_export-helper-c27b6911.js";import{r as i,o as t,c,a as e,b as o,d as n,e as d}from"./app-5f5ef0a9.js";const l={},s=e("h1",{id:"ibracketpaircolorizationoptions",tabindex:"-1"},[e("a",{class:"header-anchor",href:"#ibracketpaircolorizationoptions","aria-hidden":"true"},"#"),o(" IBracketPairColorizationOptions")],-1),h=e("code",null,"interface",-1),p={href:"https://microsoft.github.io/monaco-editor/docs.html#interfaces/editor.IBracketPairColorizationOptions.html",target:"_blank",rel:"noopener noreferrer"},_=d(' 属性 Properties
enabled
- 类型:
boolean
可选
- 默认值:
-
- 可选项:
-
- 描述:
启用或禁用括号对着色。
independentColorPoolPerBracketType?
- 类型:
boolean
可选
- 默认值:
-
- 可选项:
-
- 描述:
每个括号类型使用独立的颜色池。
',5);function f(b,u){const r=i("ExternalLinkIcon");return t(),c("div",null,[s,e("p",null,[h,o(),e("a",p,[o("官网地址"),n(r)])]),_])}const x=a(l,[["render",f],["__file","IBracketPairColorizationOptions.html.vue"]]);export{x as default};
diff --git a/assets/IBracketPairColorizationOptions.html-6416929a.js b/assets/IBracketPairColorizationOptions.html-6416929a.js
new file mode 100644
index 00000000..1b74551c
--- /dev/null
+++ b/assets/IBracketPairColorizationOptions.html-6416929a.js
@@ -0,0 +1 @@
+const e=JSON.parse('{"key":"v-2025c421","path":"/editor/interfaces/IBracketPairColorizationOptions.html","title":"IBracketPairColorizationOptions","lang":"zh-CN","frontmatter":{"description":"interface 官网地址 (https://microsoft.github.io/monaco-editor/docs.html#interfaces/editor.IBracketPairColorizationOptions.html) 属性 Properties enabled 类型: boolean 可选; 默认值: -; 可选项: -;...","head":[["meta",{"property":"og:url","content":"http://aydk.site/editor/interfaces/IBracketPairColorizationOptions.html"}],["meta",{"property":"og:site_name","content":"Monaco-editor 学习文档"}],["meta",{"property":"og:title","content":"IBracketPairColorizationOptions"}],["meta",{"property":"og:description","content":"interface 官网地址 (https://microsoft.github.io/monaco-editor/docs.html#interfaces/editor.IBracketPairColorizationOptions.html) 属性 Properties enabled 类型: boolean 可选; 默认值: -; 可选项: -;..."}],["meta",{"property":"og:type","content":"article"}],["meta",{"property":"og:locale","content":"zh-CN"}],["meta",{"property":"og:updated_time","content":"2023-06-16T20:04:45.000Z"}],["meta",{"property":"article:author","content":"aydk"}],["meta",{"property":"article:modified_time","content":"2023-06-16T20:04:45.000Z"}],["script",{"type":"application/ld+json"},"{\\"@context\\":\\"https://schema.org\\",\\"@type\\":\\"Article\\",\\"headline\\":\\"IBracketPairColorizationOptions\\",\\"image\\":[\\"\\"],\\"dateModified\\":\\"2023-06-16T20:04:45.000Z\\",\\"author\\":[{\\"@type\\":\\"Person\\",\\"name\\":\\"aydk\\"}]}"]]},"headers":[{"level":2,"title":"属性 Properties","slug":"属性-properties","link":"#属性-properties","children":[{"level":3,"title":"enabled","slug":"enabled","link":"#enabled","children":[]},{"level":3,"title":"independentColorPoolPerBracketType?","slug":"independentcolorpoolperbrackettype","link":"#independentcolorpoolperbrackettype","children":[]}]}],"git":{"createdTime":1686945885000,"updatedTime":1686945885000,"contributors":[{"name":"xiaochaochao","email":"xiaochaochao","commits":1}]},"readingTime":{"minutes":0.22,"words":65},"filePathRelative":"editor/interfaces/IBracketPairColorizationOptions.md","localizedDate":"2023年6月16日","autoDesc":true}');export{e as data};
diff --git a/assets/IChange.html-67cb10cd.js b/assets/IChange.html-67cb10cd.js
new file mode 100644
index 00000000..83f08ab9
--- /dev/null
+++ b/assets/IChange.html-67cb10cd.js
@@ -0,0 +1 @@
+import{_ as d}from"./plugin-vue_export-helper-c27b6911.js";import{r,o as n,c as a,a as e,b as i,d as c,e as l}from"./app-5f5ef0a9.js";const t={},h=e("h1",{id:"ichange",tabindex:"-1"},[e("a",{class:"header-anchor",href:"#ichange","aria-hidden":"true"},"#"),i(" IChange")],-1),s=e("code",null,"interface",-1),u={href:"https://microsoft.github.io/monaco-editor/docs.html#interfaces/editor.IChange.html",target:"_blank",rel:"noopener noreferrer"},m=l(' 属性 Properties
modifiedEndLineNumber
- 类型:
number
, 只读
- 默认值:
-
- 可选项:
-
- 描述:
修改后的文本结束行号,用于表示修改的范围。此属性通常用于描述文本修改的位置和范围,在编辑器中进行文本修改操作时会被使用。
modifiedStartLineNumber
- 类型:
number
, 只读
- 默认值:
-
- 可选项:
-
- 描述:
修改后的文本开始行号,用于表示修改的范围。此属性通常用于描述文本修改的位置和范围,在编辑器中进行文本修改操作时会被使用。
originalEndLineNumber
- 类型:
number
, 只读
- 默认值:
-
- 可选项:
-
- 描述:
原始文本结束行号,用于表示修改的范围。此属性通常用于描述文本修改的位置和范围,在编辑器中进行文本修改操作时会被使用。
originalStartLineNumber
- 类型:
number
, 只读
- 默认值:
-
- 可选项:
-
- 描述:
原始文本开始行号,用于表示修改的范围。此属性通常用于描述文本修改的位置和范围,在编辑器中进行文本修改操作时会被使用。
',9);function b(f,_){const o=r("ExternalLinkIcon");return n(),a("div",null,[h,e("p",null,[s,i(),e("a",u,[i("官网地址"),c(o)])]),m])}const x=d(t,[["render",b],["__file","IChange.html.vue"]]);export{x as default};
diff --git a/assets/IChange.html-bef3781d.js b/assets/IChange.html-bef3781d.js
new file mode 100644
index 00000000..a0d3c09c
--- /dev/null
+++ b/assets/IChange.html-bef3781d.js
@@ -0,0 +1 @@
+const e=JSON.parse('{"key":"v-37ef434c","path":"/editor/interfaces/IChange.html","title":"IChange","lang":"zh-CN","frontmatter":{"description":"interface 官网地址 (https://microsoft.github.io/monaco-editor/docs.html#interfaces/editor.IChange.html) 属性 Properties modifiedEndLineNumber 类型: number , 只读 ; 默认值: - ; 可选项: - ; 描述: 修...","head":[["meta",{"property":"og:url","content":"http://aydk.site/editor/interfaces/IChange.html"}],["meta",{"property":"og:site_name","content":"Monaco-editor 学习文档"}],["meta",{"property":"og:title","content":"IChange"}],["meta",{"property":"og:description","content":"interface 官网地址 (https://microsoft.github.io/monaco-editor/docs.html#interfaces/editor.IChange.html) 属性 Properties modifiedEndLineNumber 类型: number , 只读 ; 默认值: - ; 可选项: - ; 描述: 修..."}],["meta",{"property":"og:type","content":"article"}],["meta",{"property":"og:locale","content":"zh-CN"}],["meta",{"property":"og:updated_time","content":"2023-06-16T20:04:45.000Z"}],["meta",{"property":"article:author","content":"aydk"}],["meta",{"property":"article:modified_time","content":"2023-06-16T20:04:45.000Z"}],["script",{"type":"application/ld+json"},"{\\"@context\\":\\"https://schema.org\\",\\"@type\\":\\"Article\\",\\"headline\\":\\"IChange\\",\\"image\\":[\\"\\"],\\"dateModified\\":\\"2023-06-16T20:04:45.000Z\\",\\"author\\":[{\\"@type\\":\\"Person\\",\\"name\\":\\"aydk\\"}]}"]]},"headers":[{"level":2,"title":"属性 Properties","slug":"属性-properties","link":"#属性-properties","children":[{"level":3,"title":"modifiedEndLineNumber","slug":"modifiedendlinenumber","link":"#modifiedendlinenumber","children":[]},{"level":3,"title":"modifiedStartLineNumber","slug":"modifiedstartlinenumber","link":"#modifiedstartlinenumber","children":[]},{"level":3,"title":"originalEndLineNumber","slug":"originalendlinenumber","link":"#originalendlinenumber","children":[]},{"level":3,"title":"originalStartLineNumber","slug":"originalstartlinenumber","link":"#originalstartlinenumber","children":[]}]}],"git":{"createdTime":1686945885000,"updatedTime":1686945885000,"contributors":[{"name":"xiaochaochao","email":"xiaochaochao","commits":1}]},"readingTime":{"minutes":0.96,"words":289},"filePathRelative":"editor/interfaces/IChange.md","localizedDate":"2023年6月16日","autoDesc":true}');export{e as data};
diff --git a/assets/ICharChange.html-4033b893.js b/assets/ICharChange.html-4033b893.js
new file mode 100644
index 00000000..16111671
--- /dev/null
+++ b/assets/ICharChange.html-4033b893.js
@@ -0,0 +1 @@
+const e=JSON.parse('{"key":"v-bed186d4","path":"/editor/interfaces/ICharChange.html","title":"ICharChange","lang":"zh-CN","frontmatter":{"description":"interface 官网地址 (https://microsoft.github.io/monaco-editor/docs.html#interfaces/editor.ICharChange.html) 属性 Properties modifiedEndLineNumber 类型: number , 只读 ; 默认值: - ; 可选项: - ; 描...","head":[["meta",{"property":"og:url","content":"http://aydk.site/editor/interfaces/ICharChange.html"}],["meta",{"property":"og:site_name","content":"Monaco-editor 学习文档"}],["meta",{"property":"og:title","content":"ICharChange"}],["meta",{"property":"og:description","content":"interface 官网地址 (https://microsoft.github.io/monaco-editor/docs.html#interfaces/editor.ICharChange.html) 属性 Properties modifiedEndLineNumber 类型: number , 只读 ; 默认值: - ; 可选项: - ; 描..."}],["meta",{"property":"og:type","content":"article"}],["meta",{"property":"og:locale","content":"zh-CN"}],["meta",{"property":"og:updated_time","content":"2023-06-16T20:04:45.000Z"}],["meta",{"property":"article:author","content":"aydk"}],["meta",{"property":"article:modified_time","content":"2023-06-16T20:04:45.000Z"}],["script",{"type":"application/ld+json"},"{\\"@context\\":\\"https://schema.org\\",\\"@type\\":\\"Article\\",\\"headline\\":\\"ICharChange\\",\\"image\\":[\\"\\"],\\"dateModified\\":\\"2023-06-16T20:04:45.000Z\\",\\"author\\":[{\\"@type\\":\\"Person\\",\\"name\\":\\"aydk\\"}]}"]]},"headers":[{"level":2,"title":"属性 Properties","slug":"属性-properties","link":"#属性-properties","children":[{"level":3,"title":"modifiedEndLineNumber","slug":"modifiedendlinenumber","link":"#modifiedendlinenumber","children":[]},{"level":3,"title":"modifiedEndColumn","slug":"modifiedendcolumn","link":"#modifiedendcolumn","children":[]},{"level":3,"title":"modifiedStartLineNumber","slug":"modifiedstartlinenumber","link":"#modifiedstartlinenumber","children":[]},{"level":3,"title":"modifiedStartColumn","slug":"modifiedstartcolumn","link":"#modifiedstartcolumn","children":[]},{"level":3,"title":"originalEndLineNumber","slug":"originalendlinenumber","link":"#originalendlinenumber","children":[]},{"level":3,"title":"originalEndColumn","slug":"originalendcolumn","link":"#originalendcolumn","children":[]},{"level":3,"title":"originalStartLineNumber","slug":"originalstartlinenumber","link":"#originalstartlinenumber","children":[]},{"level":3,"title":"originalStartColumn","slug":"originalstartcolumn","link":"#originalstartcolumn","children":[]}]}],"git":{"createdTime":1686945885000,"updatedTime":1686945885000,"contributors":[{"name":"xiaochaochao","email":"xiaochaochao","commits":1}]},"readingTime":{"minutes":1.88,"words":565},"filePathRelative":"editor/interfaces/ICharChange.md","localizedDate":"2023年6月16日","autoDesc":true}');export{e as data};
diff --git a/assets/ICharChange.html-e6e5fbe9.js b/assets/ICharChange.html-e6e5fbe9.js
new file mode 100644
index 00000000..39f6c734
--- /dev/null
+++ b/assets/ICharChange.html-e6e5fbe9.js
@@ -0,0 +1 @@
+import{_ as o}from"./plugin-vue_export-helper-c27b6911.js";import{r as c,o as a,c as l,a as e,b as i,d as r,e as n}from"./app-5f5ef0a9.js";const t={},h=e("h1",{id:"icharchange",tabindex:"-1"},[e("a",{class:"header-anchor",href:"#icharchange","aria-hidden":"true"},"#"),i(" ICharChange")],-1),u=e("code",null,"interface",-1),s={href:"https://microsoft.github.io/monaco-editor/docs.html#interfaces/editor.ICharChange.html",target:"_blank",rel:"noopener noreferrer"},m=n(' 属性 Properties
modifiedEndLineNumber
- 类型:
number
, 只读
- 默认值:
-
- 可选项:
-
- 描述:
修改后的文本结束行号,用于表示修改的范围。此属性通常用于描述文本修改的位置和范围,在编辑器中进行文本修改操作时会被使用。
modifiedEndColumn
- 类型:
number
, 只读
- 默认值:
-
- 可选项:
-
- 描述:
修改后的文本结束列号,用于表示修改的范围。此属性通常用于描述文本修改的位置和范围,在编辑器中进行文本修改操作时会被使用。
modifiedStartLineNumber
- 类型:
number
, 只读
- 默认值:
-
- 可选项:
-
- 描述:
修改后的文本开始行号,用于表示修改的范围。此属性通常用于描述文本修改的位置和范围,在编辑器中进行文本修改操作时会被使用。
modifiedStartColumn
- 类型:
number
, 只读
- 默认值:
-
- 可选项:
-
- 描述:
修改后的文本开始列号,用于表示修改的范围。此属性通常用于描述文本修改的位置和范围,在编辑器中进行文本修改操作时会被使用。
originalEndLineNumber
- 类型:
number
, 只读
- 默认值:
-
- 可选项:
-
- 描述:
原始文本结束行号,用于表示修改的范围。此属性通常用于描述文本修改的位置和范围,在编辑器中进行文本修改操作时会被使用。
originalEndColumn
- 类型:
number
, 只读
- 默认值:
-
- 可选项:
-
- 描述:
原始文本结束列号,用于表示修改的范围。此属性通常用于描述文本修改的位置和范围,在编辑器中进行文本修改操作时会被使用。
originalStartLineNumber
- 类型:
number
, 只读
- 默认值:
-
- 可选项:
-
- 描述:
原始文本开始行号,用于表示修改的范围。此属性通常用于描述文本修改的位置和范围,在编辑器中进行文本修改操作时会被使用。
originalStartColumn
- 类型:
number
, 只读
- 默认值:
-
- 可选项:
-
- 描述:
原始文本开始列号,用于表示修改的范围。此属性通常用于描述文本修改的位置和范围,在编辑器中进行文本修改操作时会被使用。
',17);function f(b,_){const d=c("ExternalLinkIcon");return a(),l("div",null,[h,e("p",null,[u,i(),e("a",s,[i("官网地址"),r(d)])]),m])}const p=o(t,[["render",f],["__file","ICharChange.html.vue"]]);export{p as default};
diff --git a/assets/ICodeEditor.html-b970c7fe.js b/assets/ICodeEditor.html-b970c7fe.js
new file mode 100644
index 00000000..713dbbf3
--- /dev/null
+++ b/assets/ICodeEditor.html-b970c7fe.js
@@ -0,0 +1 @@
+const e=JSON.parse('{"key":"v-5c9a6e02","path":"/editor/interfaces/ICodeEditor.html","title":"ICodeEditor","lang":"zh-CN","frontmatter":{"description":"interface 官网地址 (https://microsoft.github.io/monaco-editor/docs.html#interfaces/editor.ICodeEditor.html) 继承关系:IEditor > ICodeEditor > IStandaloneCodeEditor 属性 Properties onContex...","head":[["meta",{"property":"og:url","content":"http://aydk.site/editor/interfaces/ICodeEditor.html"}],["meta",{"property":"og:site_name","content":"Monaco-editor 学习文档"}],["meta",{"property":"og:title","content":"ICodeEditor"}],["meta",{"property":"og:description","content":"interface 官网地址 (https://microsoft.github.io/monaco-editor/docs.html#interfaces/editor.ICodeEditor.html) 继承关系:IEditor > ICodeEditor > IStandaloneCodeEditor 属性 Properties onContex..."}],["meta",{"property":"og:type","content":"article"}],["meta",{"property":"og:locale","content":"zh-CN"}],["meta",{"property":"og:updated_time","content":"2024-02-06T15:45:31.000Z"}],["meta",{"property":"article:author","content":"aydk"}],["meta",{"property":"article:modified_time","content":"2024-02-06T15:45:31.000Z"}],["script",{"type":"application/ld+json"},"{\\"@context\\":\\"https://schema.org\\",\\"@type\\":\\"Article\\",\\"headline\\":\\"ICodeEditor\\",\\"image\\":[\\"\\"],\\"dateModified\\":\\"2024-02-06T15:45:31.000Z\\",\\"author\\":[{\\"@type\\":\\"Person\\",\\"name\\":\\"aydk\\"}]}"]]},"headers":[{"level":2,"title":"属性 Properties","slug":"属性-properties","link":"#属性-properties","children":[]},{"level":2,"title":"onContextMenu","slug":"oncontextmenu","link":"#oncontextmenu","children":[]},{"level":2,"title":"onDidAttemptReadOnlyEdit","slug":"ondidattemptreadonlyedit","link":"#ondidattemptreadonlyedit","children":[]},{"level":2,"title":"onDidBlurEditorText","slug":"ondidblureditortext","link":"#ondidblureditortext","children":[]},{"level":2,"title":"onDidBlurEditorWidget","slug":"ondidblureditorwidget","link":"#ondidblureditorwidget","children":[]},{"level":2,"title":"onDidChangeConfiguration","slug":"ondidchangeconfiguration","link":"#ondidchangeconfiguration","children":[]},{"level":2,"title":"onDidChangeCursorPosition","slug":"ondidchangecursorposition","link":"#ondidchangecursorposition","children":[]},{"level":2,"title":"onDidChangeCursorSelection","slug":"ondidchangecursorselection","link":"#ondidchangecursorselection","children":[]},{"level":2,"title":"onDidChangeHiddenAreas","slug":"ondidchangehiddenareas","link":"#ondidchangehiddenareas","children":[]},{"level":2,"title":"onDidChangeModel","slug":"ondidchangemodel","link":"#ondidchangemodel","children":[]},{"level":2,"title":"onDidChangeModelContent","slug":"ondidchangemodelcontent","link":"#ondidchangemodelcontent","children":[]},{"level":2,"title":"onDidChangeModelDecorations","slug":"ondidchangemodeldecorations","link":"#ondidchangemodeldecorations","children":[]},{"level":2,"title":"onDidChangeModelLanguage","slug":"ondidchangemodellanguage","link":"#ondidchangemodellanguage","children":[]},{"level":2,"title":"onDidChangeModelLanguageConfiguration","slug":"ondidchangemodellanguageconfiguration","link":"#ondidchangemodellanguageconfiguration","children":[]},{"level":2,"title":"onDidChangeModelOptions","slug":"ondidchangemodeloptions","link":"#ondidchangemodeloptions","children":[]},{"level":2,"title":"onDidCompositionEnd","slug":"ondidcompositionend","link":"#ondidcompositionend","children":[]},{"level":2,"title":"onDidCompositionStart","slug":"ondidcompositionstart","link":"#ondidcompositionstart","children":[]},{"level":2,"title":"onDidContentSizeChange","slug":"ondidcontentsizechange","link":"#ondidcontentsizechange","children":[]},{"level":2,"title":"onDidFocusEditorText","slug":"ondidfocuseditortext","link":"#ondidfocuseditortext","children":[]},{"level":2,"title":"onDidFocusEditorWidget","slug":"ondidfocuseditorwidget","link":"#ondidfocuseditorwidget","children":[]},{"level":2,"title":"onDidLayoutChange","slug":"ondidlayoutchange","link":"#ondidlayoutchange","children":[]},{"level":2,"title":"onDidPaste","slug":"ondidpaste","link":"#ondidpaste","children":[]},{"level":2,"title":"onDidScrollChange","slug":"ondidscrollchange","link":"#ondidscrollchange","children":[]},{"level":2,"title":"onKeyDown","slug":"onkeydown","link":"#onkeydown","children":[]},{"level":2,"title":"onKeyUp","slug":"onkeyup","link":"#onkeyup","children":[]},{"level":2,"title":"onMouseDown","slug":"onmousedown","link":"#onmousedown","children":[]},{"level":2,"title":"onMouseLeave","slug":"onmouseleave","link":"#onmouseleave","children":[]},{"level":2,"title":"onMouseMove","slug":"onmousemove","link":"#onmousemove","children":[]},{"level":2,"title":"onMouseUp","slug":"onmouseup","link":"#onmouseup","children":[]},{"level":2,"title":"方法","slug":"方法","link":"#方法","children":[]},{"level":2,"title":"addAction","slug":"addaction","link":"#addaction","children":[]},{"level":2,"title":"addCommand","slug":"addcommand","link":"#addcommand","children":[]},{"level":2,"title":"addContentWidget","slug":"addcontentwidget","link":"#addcontentwidget","children":[]},{"level":2,"title":"addOverlayWidget","slug":"addoverlaywidget","link":"#addoverlaywidget","children":[]},{"level":2,"title":"applyFontInfo","slug":"applyfontinfo","link":"#applyfontinfo","children":[]},{"level":2,"title":"changeViewZones","slug":"changeviewzones","link":"#changeviewzones","children":[]},{"level":2,"title":"createContextKey","slug":"createcontextkey","link":"#createcontextkey","children":[]},{"level":2,"title":"createDecorationsCollection","slug":"createdecorationscollection","link":"#createdecorationscollection","children":[]},{"level":2,"title":"deltaDecorations","slug":"deltadecorations","link":"#deltadecorations","children":[]},{"level":2,"title":"dispose","slug":"dispose","link":"#dispose","children":[]},{"level":2,"title":"executeCommand","slug":"executecommand","link":"#executecommand","children":[]},{"level":2,"title":"executeCommands","slug":"executecommands","link":"#executecommands","children":[]},{"level":2,"title":"executeEdits","slug":"executeedits","link":"#executeedits","children":[]},{"level":2,"title":"focus","slug":"focus","link":"#focus","children":[]},{"level":2,"title":"getAction","slug":"getaction","link":"#getaction","children":[]},{"level":2,"title":"getBottomForLineNumber","slug":"getbottomforlinenumber","link":"#getbottomforlinenumber","children":[]},{"level":2,"title":"getContainerDomNode","slug":"getcontainerdomnode","link":"#getcontainerdomnode","children":[]},{"level":2,"title":"getContentHeight","slug":"getcontentheight","link":"#getcontentheight","children":[]},{"level":2,"title":"getContentWidth","slug":"getcontentwidth","link":"#getcontentwidth","children":[]},{"level":2,"title":"getContribution","slug":"getcontribution","link":"#getcontribution","children":[]},{"level":2,"title":"getDecorationsInRange","slug":"getdecorationsinrange","link":"#getdecorationsinrange","children":[]},{"level":2,"title":"getDomNode","slug":"getdomnode","link":"#getdomnode","children":[]},{"level":2,"title":"getEditorType","slug":"geteditortype","link":"#geteditortype","children":[]},{"level":2,"title":"getId","slug":"getid","link":"#getid","children":[]},{"level":2,"title":"getLayoutInfo","slug":"getlayoutinfo","link":"#getlayoutinfo","children":[]},{"level":2,"title":"getLineDecorations","slug":"getlinedecorations","link":"#getlinedecorations","children":[]},{"level":2,"title":"getModel","slug":"getmodel","link":"#getmodel","children":[]},{"level":2,"title":"getOffsetForColumn","slug":"getoffsetforcolumn","link":"#getoffsetforcolumn","children":[]},{"level":2,"title":"getOption","slug":"getoption","link":"#getoption","children":[]},{"level":2,"title":"getOptions","slug":"getoptions","link":"#getoptions","children":[]},{"level":2,"title":"getPosition","slug":"getposition","link":"#getposition","children":[]},{"level":2,"title":"getRawOptions","slug":"getrawoptions","link":"#getrawoptions","children":[]},{"level":2,"title":"getScrollHeight","slug":"getscrollheight","link":"#getscrollheight","children":[]},{"level":2,"title":"getScrollLeft","slug":"getscrollleft","link":"#getscrollleft","children":[]},{"level":2,"title":"getScrollTop","slug":"getscrolltop","link":"#getscrolltop","children":[]},{"level":2,"title":"getScrollWidth","slug":"getscrollwidth","link":"#getscrollwidth","children":[]},{"level":2,"title":"getScrolledVisiblePosition","slug":"getscrolledvisibleposition","link":"#getscrolledvisibleposition","children":[]},{"level":2,"title":"getSelection","slug":"getselection","link":"#getselection","children":[]},{"level":2,"title":"getSelections","slug":"getselections","link":"#getselections","children":[]},{"level":2,"title":"getSupportedActions","slug":"getsupportedactions","link":"#getsupportedactions","children":[]},{"level":2,"title":"getTargetAtClientPoint","slug":"gettargetatclientpoint","link":"#gettargetatclientpoint","children":[]},{"level":2,"title":"getTopForLineNumber","slug":"gettopforlinenumber","link":"#gettopforlinenumber","children":[]},{"level":2,"title":"getTopForPosition","slug":"gettopforposition","link":"#gettopforposition","children":[]},{"level":2,"title":"getValue","slug":"getvalue","link":"#getvalue","children":[]},{"level":2,"title":"getVisibleColumnFromPosition","slug":"getvisiblecolumnfromposition","link":"#getvisiblecolumnfromposition","children":[]},{"level":2,"title":"getVisibleRanges","slug":"getvisibleranges","link":"#getvisibleranges","children":[]},{"level":2,"title":"hasTextFocus","slug":"hastextfocus","link":"#hastextfocus","children":[]},{"level":2,"title":"hasWidgetFocus","slug":"haswidgetfocus","link":"#haswidgetfocus","children":[]},{"level":2,"title":"layout","slug":"layout","link":"#layout","children":[]},{"level":2,"title":"layoutContentWidget","slug":"layoutcontentwidget","link":"#layoutcontentwidget","children":[]},{"level":2,"title":"layoutOverlayWidget","slug":"layoutoverlaywidget","link":"#layoutoverlaywidget","children":[]},{"level":2,"title":"onDidDispose","slug":"ondiddispose","link":"#ondiddispose","children":[]},{"level":2,"title":"popUndoStop","slug":"popundostop","link":"#popundostop","children":[]},{"level":2,"title":"pushUndoStop","slug":"pushundostop","link":"#pushundostop","children":[]},{"level":2,"title":"removeContentWidget","slug":"removecontentwidget","link":"#removecontentwidget","children":[]},{"level":2,"title":"removeDecorations","slug":"removedecorations","link":"#removedecorations","children":[]},{"level":2,"title":"removeOverlayWidget","slug":"removeoverlaywidget","link":"#removeoverlaywidget","children":[]},{"level":2,"title":"render","slug":"render","link":"#render","children":[]},{"level":2,"title":"restoreViewState","slug":"restoreviewstate","link":"#restoreviewstate","children":[]},{"level":2,"title":"revealLine","slug":"revealline","link":"#revealline","children":[]},{"level":2,"title":"revealLineInCenter","slug":"reveallineincenter","link":"#reveallineincenter","children":[]},{"level":2,"title":"revealLineInCenterIfOutsideViewport","slug":"reveallineincenterifoutsideviewport","link":"#reveallineincenterifoutsideviewport","children":[]},{"level":2,"title":"revealLineNearTop","slug":"reveallineneartop","link":"#reveallineneartop","children":[]},{"level":2,"title":"revealLines","slug":"reveallines","link":"#reveallines","children":[]},{"level":2,"title":"revealLinesInCenter","slug":"reveallinesincenter","link":"#reveallinesincenter","children":[]},{"level":2,"title":"revealLinesInCenterIfOutsideViewport","slug":"reveallinesincenterifoutsideviewport","link":"#reveallinesincenterifoutsideviewport","children":[]},{"level":2,"title":"revealLinesNearTop","slug":"reveallinesneartop","link":"#reveallinesneartop","children":[]},{"level":2,"title":"revealPosition","slug":"revealposition","link":"#revealposition","children":[]},{"level":2,"title":"revealPositionInCenter","slug":"revealpositionincenter","link":"#revealpositionincenter","children":[]},{"level":2,"title":"revealLinesInCenterIfOutsideViewport","slug":"reveallinesincenterifoutsideviewport-1","link":"#reveallinesincenterifoutsideviewport-1","children":[]},{"level":2,"title":"revealLinesNearTop","slug":"reveallinesneartop-1","link":"#reveallinesneartop-1","children":[]},{"level":2,"title":"revealPosition","slug":"revealposition-1","link":"#revealposition-1","children":[]},{"level":2,"title":"revealPositionInCenter","slug":"revealpositionincenter-1","link":"#revealpositionincenter-1","children":[]},{"level":2,"title":"revealPositionInCenterIfOutsideViewport","slug":"revealpositionincenterifoutsideviewport","link":"#revealpositionincenterifoutsideviewport","children":[]},{"level":2,"title":"revealPositionNearTop","slug":"revealpositionneartop","link":"#revealpositionneartop","children":[]},{"level":2,"title":"revealRange","slug":"revealrange","link":"#revealrange","children":[]},{"level":2,"title":"revealRangeAtTop","slug":"revealrangeattop","link":"#revealrangeattop","children":[]},{"level":2,"title":"revealRangeInCenter","slug":"revealrangeincenter","link":"#revealrangeincenter","children":[]},{"level":2,"title":"revealRangeInCenterIfOutsideViewport","slug":"revealrangeincenterifoutsideviewport","link":"#revealrangeincenterifoutsideviewport","children":[]},{"level":2,"title":"revealRangeNearTop","slug":"revealrangeneartop","link":"#revealrangeneartop","children":[]},{"level":2,"title":"revealRangeNearTopIfOutsideViewport","slug":"revealrangeneartopifoutsideviewport","link":"#revealrangeneartopifoutsideviewport","children":[]},{"level":2,"title":"saveViewState","slug":"saveviewstate","link":"#saveviewstate","children":[]},{"level":2,"title":"setBanner","slug":"setbanner","link":"#setbanner","children":[]},{"level":2,"title":"setModel","slug":"setmodel","link":"#setmodel","children":[]},{"level":2,"title":"setPosition","slug":"setposition","link":"#setposition","children":[]},{"level":2,"title":"setScrollPosition","slug":"setscrollposition","link":"#setscrollposition","children":[]},{"level":2,"title":"setSelection","slug":"setselection","link":"#setselection","children":[]},{"level":2,"title":"trigger","slug":"trigger","link":"#trigger","children":[]},{"level":2,"title":"updateOptions","slug":"updateoptions","link":"#updateoptions","children":[]},{"level":2,"title":"writeScreenReaderContent","slug":"writescreenreadercontent","link":"#writescreenreadercontent","children":[]}],"git":{"createdTime":1686945885000,"updatedTime":1707234331000,"contributors":[{"name":"xiaochaochao","email":"xiaochaochao","commits":3}]},"readingTime":{"minutes":43.71,"words":13114},"filePathRelative":"editor/interfaces/ICodeEditor.md","localizedDate":"2023年6月16日","autoDesc":true}');export{e as data};
diff --git a/assets/ICodeEditor.html-ee833671.js b/assets/ICodeEditor.html-ee833671.js
new file mode 100644
index 00000000..742db72b
--- /dev/null
+++ b/assets/ICodeEditor.html-ee833671.js
@@ -0,0 +1,1036 @@
+import{_ as c}from"./plugin-vue_export-helper-c27b6911.js";import{r as e,o as r,c as t,a as s,b as n,d as a,w as o,e as p}from"./app-5f5ef0a9.js";const i={},d=s("h1",{id:"icodeeditor",tabindex:"-1"},[s("a",{class:"header-anchor",href:"#icodeeditor","aria-hidden":"true"},"#"),n(" ICodeEditor")],-1),y=s("code",null,"interface",-1),C={href:"https://microsoft.github.io/monaco-editor/docs.html#interfaces/editor.ICodeEditor.html",target:"_blank",rel:"noopener noreferrer"},v=s("p",null,"继承关系:IEditor > ICodeEditor > IStandaloneCodeEditor",-1),u=s("h2",{id:"属性-properties",tabindex:"-1"},[s("a",{class:"header-anchor",href:"#属性-properties","aria-hidden":"true"},"#"),n(" 属性 Properties")],-1),E=s("h2",{id:"oncontextmenu",tabindex:"-1"},[s("a",{class:"header-anchor",href:"#oncontextmenu","aria-hidden":"true"},"#"),n(" onContextMenu")],-1),m=s("li",null,[n("描述: "),s("code",null,"用户右键点击编辑器时触发。可以通过监听这个事件来实现自定义的右键菜单")],-1),b=s("li",null,"示例:",-1),F=p(`const editor = monaco.editor.create(document.getElementById('container'), {
+ value: 'Hello, world!',
+ language: 'plaintext'
+});
+
+editor.onContextMenu((e: monaco.editor.IEditorMouseEvent) => {
+ console.log('Right-clicked at:', e.event.posx, e.event.posy);
+});
+
在这个示例中,我们创建了一个编辑器,并监听了它的 onContextMenu
事件。当用户右键点击编辑器时,会在控制台输出鼠标的位置信息。
注意,如果要阻止默认的右键菜单,可以在回调函数中调用 e.event.preventDefault()
方法。例如:
editor.onContextMenu((e: monaco.editor.IEditorMouseEvent) => {
+ console.log('Right-clicked at:', e.event.posx, e.event.posy);
+ e.event.preventDefault();
+});
+
onDidAttemptReadOnlyEdit
- 参数:
monaco.editor.IReadOnlyEditAttemptEvent
- 描述:
在用户试图编辑只读文本时触发。可以通过监听这个事件来实现自定义的只读文本处理逻辑。
- 示例:
const editor = monaco.editor.create(document.getElementById('container'), {
+ value: 'Hello, world!',
+ language: 'plaintext',
+ readOnly: true
+});
+
+editor.onDidAttemptReadOnlyEdit((e: monaco.editor.IReadOnlyEditAttemptEvent) => {
+ console.log('Attempted to edit read-only text:', e.range, e.text);
+});
+
在这个示例中,我们创建了一个只读的编辑器,并监听了它的 onDidAttemptReadOnlyEdit 事件。当用户试图编辑只读文本时,会在控制台输出相关信息。
注意,如果要阻止试图进行的编辑操作,可以在回调函数中调用 e.preventDefault() 方法。
onDidBlurEditorText
- 参数: 无
- 描述: 在编辑器失去焦点时触发。可以通过监听这个事件来实现自定义的失焦处理逻辑。
- 示例:
const editor = monaco.editor.create(document.getElementById('container'), {
+ value: 'Hello, world!',
+ language: 'plaintext'
+});
+
+editor.onDidBlurEditorText(() => {
+ console.log('Editor lost focus');
+});
+
在这个示例中,我们创建了一个编辑器,并监听了它的 onDidBlurEditorText 事件。当编辑器失去焦点时,会在控制台输出相关信息。
- 参数: 无
- 描述: 在编辑器小部件失去焦点时触发。可以通过监听这个事件来实现自定义的失焦处理逻辑。
- 示例:
const editor = monaco.editor.create(document.getElementById('container'), {
+ value: 'Hello, world!',
+ language: 'plaintext'
+});
+
+editor.onDidBlurEditorWidget(() => {
+ console.log('Editor widget lost focus');
+});
+
在这个示例中,我们创建了一个编辑器,并监听了它的 onDidBlurEditorWidget 事件。当编辑器小部件失去焦点时,会在控制台输出相关信息。
onDidChangeConfiguration
- 参数: 无
- 描述: 在编辑器配置发生变化时触发。可以通过监听这个事件来实现自定义的配置处理逻辑。
- 示例:
const editor = monaco.editor.create(document.getElementById('container'), {
+ value: 'Hello, world!',
+ language: 'plaintext'
+});
+
+editor.onDidChangeConfiguration(() => {
+ console.log('Editor configuration changed');
+});
+
在这个示例中,我们创建了一个编辑器,并监听了它的 onDidChangeConfiguration 事件。当编辑器配置发生变化时,会在控制台输出相关信息。
onDidChangeCursorPosition
- 参数:
monaco.editor.ICursorPositionChangedEvent
- 描述: 在光标位置发生变化时触发。可以通过监听这个事件来实现自定义的光标位置处理逻辑。
- 示例:
const editor = monaco.editor.create(document.getElementById('container'), {
+ value: 'Hello, world!',
+ language: 'plaintext'
+});
+
+editor.onDidChangeCursorPosition((e: monaco.editor.ICursorPositionChangedEvent) => {
+ console.log('Cursor position changed:', e.position);
+});
+
在这个示例中,我们创建了一个编辑器,并监听了它的 onDidChangeCursorPosition 事件。当光标位置发生变化时,会在控制台输出相关信息。
onDidChangeCursorSelection
- 参数:
monaco.editor.ICursorSelectionChangedEvent
- 描述:
在光标选择发生变化时触发。可以通过监听这个事件来实现自定义的光标选择处理逻辑。
- 示例:
const editor = monaco.editor.create(document.getElementById('container'), {
+ value: 'Hello, world!',
+ language: 'plaintext'
+});
+
+editor.onDidChangeCursorSelection((e: monaco.editor.ICursorSelectionChangedEvent) => {
+ console.log('Cursor selection changed:', e.selection);
+});
+
在这个示例中,我们创建了一个编辑器,并监听了它的 onDidChangeCursorSelection 事件。当光标选择发生变化时,会在控制台输出相关信息。
onDidChangeHiddenAreas
- 参数:
无
- 描述:
在编辑器的隐藏区域发生变化时触发。可以通过监听这个事件来实现自定义的隐藏区域处理逻辑。
- 示例:
const editor = monaco.editor.create(document.getElementById('container'), {
+ value: 'Hello, world!',
+ language: 'plaintext'
+});
+
+editor.onDidChangeHiddenAreas(() => {
+ console.log('Editor hidden areas changed');
+});
+
在这个示例中,我们创建了一个编辑器,并监听了它的 onDidChangeHiddenAreas 事件。当编辑器的隐藏区域发生变化时,会在控制台输出相关信息。
onDidChangeModel
- 参数:
monaco.editor.IModelChangedEvent
- 描述:
在编辑器的模型发生变化时触发。可以通过监听这个事件来实现自定义的模型处理逻辑。
- 示例:
const editor = monaco.editor.create(document.getElementById('container'), {
+ value: 'Hello, world!',
+ language: 'plaintext'
+});
+
+editor.onDidChangeModel((e: monaco.editor.IModelChangedEvent) => {
+ console.log('Editor model changed:', e.newModelUrl);
+});
+
在这个示例中,我们创建了一个编辑器,并监听了它的 onDidChangeModel 事件。当编辑器的模型发生变化时,会在控制台输出相关信息。
onDidChangeModelContent
- 参数:
monaco.editor.IModelContentChangedEvent
- 描述:
在编辑器的模型内容发生变化时触发。可以通过监听这个事件来实现自定义的模型内容处理逻辑。
- 示例:
const editor = monaco.editor.create(document.getElementById('container'), {
+ value: 'Hello, world!',
+ language: 'plaintext'
+});
+
+editor.onDidChangeModelContent((e: monaco.editor.IModelContentChangedEvent) => {
+ console.log('Editor model content changed:', e.changes);
+});
+
在这个示例中,我们创建了一个编辑器,并监听了它的 onDidChangeModelContent事件。当编辑器的模型内容发生变化时,会在控制台输出相关信息。
onDidChangeModelDecorations
- 参数:
monaco.editor.IModelDecorationsChangedEvent
- 描述:
在编辑器的模型装饰发生变化时触发。可以通过监听这个事件来实现自定义的模型装饰处理逻辑。
- 示例:
const editor = monaco.editor.create(document.getElementById('container'), {
+ value: 'Hello, world!',
+ language: 'plaintext'
+});
+
+const decoration = {
+ range: new monaco.Range(1, 1, 1, 6),
+ options: {
+ isWholeLine: true,
+ className: 'myDecoration'
+ }
+};
+
+const decorations = editor.deltaDecorations([], [decoration]);
+
+editor.onDidChangeModelDecorations((e: monaco.editor.IModelDecorationsChangedEvent) => {
+ console.log('Editor model decorations changed:', e);
+});
+
在这个示例中,我们创建了一个编辑器,并添加了一个装饰。然后,我们监听了编辑器的 onDidChangeModelDecorations 事件。当编辑器的模型装饰发生变化时,会在控制台输出相关信息。
onDidChangeModelLanguage
- 参数:
无
- 描述:
在编辑器的模型语言发生变化时触发。可以通过监听这个事件来实现自定义的模型语言处理逻辑。
- 示例:
const editor = monaco.editor.create(document.getElementById('container'), {
+ value: 'Hello, world!',
+ language: 'plaintext'
+});
+
+editor.onDidChangeModelLanguage(() => {
+ console.log('Editor model language changed');
+});
+
在这个示例中,我们创建了一个编辑器,并监听了它的 onDidChangeModelLanguage 事件。当编辑器的模型语言发生变化时,会在控制台输出相关信息。
onDidChangeModelLanguageConfiguration
- 参数:
无
- 描述:
在编辑器的模型语言配置发生变化时触发。可以通过监听这个事件来实现自定义的模型语言配置处理逻辑。
- 示例:
const editor = monaco.editor.create(document.getElementById('container'), {
+ value: 'Hello, world!',
+ language: 'plaintext'
+});
+
+editor.onDidChangeModelLanguageConfiguration(() => {
+ console.log('Editor model language configuration changed');
+});
+
在这个示例中,我们创建了一个编辑器,并监听了它的 onDidChangeModelLanguageConfiguration 事件。当编辑器的模型语言配置发生变化时,会在控制台输出相关信息。
onDidChangeModelOptions
- 参数:
无
- 描述:
在编辑器的模型选项发生变化时触发。可以通过监听这个事件来实现自定义的模型选项处理逻辑。
- 示例:
const editor = monaco.editor.create(document.getElementById('container'), {
+ value: 'Hello, world!',
+ language: 'plaintext'
+});
+
+editor.onDidChangeModelOptions(() => {
+ console.log('Editor model options changed');
+});
+
在这个示例中,我们创建了一个编辑器,并监听了它的 onDidChangeModelOptions 事件。当编辑器的模型选项发生变化时,会在控制台输出相关信息。
onDidCompositionEnd
- 参数:
void
- 描述:
在输入法组合结束时触发。可以通过监听这个事件来实现自定义的输入法组合处理逻辑。
- 示例:
const editor = monaco.editor.create(document.getElementById('container'), {
+ value: '',
+ language: 'plaintext'
+});
+
+editor.onDidCompositionEnd(() => {
+ console.log('Composition ended');
+});
+
在这个示例中,我们创建了一个编辑器,并监听了它的 onDidCompositionEnd 事件。当输入法组合结束时,会在控制台输出相关信息。
onDidCompositionStart
- 参数:
void
- 描述:
在输入法组合开始时触发。可以通过监听这个事件来实现自定义的输入法组合处理逻辑。
- 示例:
const editor = monaco.editor.create(document.getElementById('container'), {
+ value: '',
+ language: 'plaintext'
+});
+
+editor.onDidCompositionStart(() => {
+ console.log('Composition started');
+});
+
在这个示例中,我们创建了一个编辑器,并监听了它的 onDidCompositionStart 事件。当输入法组合开始时,会在控制台输出相关信息。
onDidContentSizeChange
- 参数:
monaco.editor.IContentSizeChangedEvent
- 描述:
在编辑器的内容大小发生变化时触发。可以通过监听这个事件来实现自定义的内容大小处理逻辑。
- 示例:
const editor = monaco.editor.create(document.getElementById('container'), {
+ value: '',
+ language: 'plaintext'
+});
+
+editor.onDidContentSizeChange((e: monaco.editor.IContentSizeChangedEvent) => {
+ console.log('Content size changed:', e.contentWidth, e.contentHeight);
+});
+
在这个示例中,我们创建了一个编辑器,并监听了它的 onDidContentSizeChange 事件。当编辑器的内容大小发生变化时,会在控制台输出相关信息。
onDidFocusEditorText
- 参数:
void
- 描述:
在编辑器文本区域获得焦点时触发。可以通过监听这个事件来实现自定义的文本区域焦点处理逻辑。
- 示例:
const editor = monaco.editor.create(document.getElementById('container'), {
+ value: '',
+ language: 'plaintext'
+});
+
+editor.onDidFocusEditorText(() => {
+ console.log('Editor text area focused');
+});
+
在这个示例中,我们创建了一个编辑器,并监听了它的 onDidFocusEditorText 事件。当编辑器文本区域获得焦点时,会在控制台输出相关信息。
- 参数:
void
- 描述:
在编辑器小部件获得焦点时触发。可以通过监听这个事件来实现自定义的小部件焦点处理逻辑。
- 示例:
const editor = monaco.editor.create(document.getElementById('container'), {
+ value: '',
+ language: 'plaintext'
+});
+
+editor.onDidFocusEditorWidget(() => {
+ console.log('Editor widget focused');
+});
+
在这个示例中,我们创建了一个编辑器,并监听了它的 onDidFocusEditorWidget 事件。当编辑器小部件获得焦点时,会在控制台输出相关信息。
onDidLayoutChange
- 参数:
monaco.editor.EditorLayoutInfo
- 描述:
在编辑器的布局信息发生变化时触发。可以通过监听这个事件来实现自定义的布局处理逻辑。
- 示例:
const editor = monaco.editor.create(document.getElementById('container'), {
+ value: '',
+ language: 'plaintext'
+});
+
+editor.onDidLayoutChange((layoutInfo: monaco.editor.EditorLayoutInfo) => {
+ console.log('Editor layout changed:', layoutInfo);
+});
+
在这个示例中,我们创建了一个编辑器,并监听了它的 onDidLayoutChange 事件。当编辑器的布局信息发生变化时,会在控制台输出相关信息。
onDidPaste
- 参数:
string
- 描述:
在编辑器中粘贴文本时触发。可以通过监听这个事件来实现自定义的粘贴文本处理逻辑。
- 示例:
const editor = monaco.editor.create(document.getElementById('container'), {
+ value: '',
+ language: 'plaintext'
+});
+
+editor.onDidPaste((text: string) => {
+ console.log('Pasted text:', text);
+});
+
在这个示例中,我们创建了一个编辑器,并监听了它的 onDidPaste 事件。当在编辑器中粘贴文本时,会在控制台输出相关信息。
- 参数:
monaco.editor.IScrollEvent
- 描述:
在编辑器的滚动位置发生变化时触发。可以通过监听这个事件来实现自定义的滚动处理逻辑。
- 示例:
const editor = monaco.editor.create(document.getElementById('container'), {
+ value: '',
+ language: 'plaintext'
+});
+
+editor.onDidScrollChange((e: monaco.editor.IScrollEvent) => {
+ console.log('Scroll position changed:', e.scrollTop, e.scrollLeft);
+});
+
在这个示例中,我们创建了一个编辑器,并监听了它的 onDidScrollChange 事件。当编辑器的滚动位置发生变化时,会在控制台输出相关信息。
onKeyDown
- 参数:
monaco.IKeyboardEvent
- 描述:
在编辑器中按下键盘按键时触发。可以通过监听这个事件来实现自定义的键盘按键处理逻辑。
- 示例:
const editor = monaco.editor.create(document.getElementById('container'), {
+ value: '',
+ language: 'plaintext'
+});
+
+editor.onKeyDown((e: monaco.IKeyboardEvent) => {
+ console.log('Key down:', e.keyCode);
+});
+
在这个示例中,我们创建了一个编辑器,并监听了它的 onKeyDown 事件。当在编辑器中按下键盘按键时,会在控制台输出相关信息。
onKeyUp
- 参数:
monaco.IKeyboardEvent
- 描述:
在编辑器中释放键盘按键时触发。可以通过监听这个事件来实现自定义的键盘按键处理逻辑。
- 示例:
const editor = monaco.editor.create(document.getElementById('container'), {
+ value: '',
+ language: 'plaintext'
+});
+
+editor.onKeyUp((e: monaco.IKeyboardEvent) => {
+ console.log('Key up:', e.keyCode);
+});
+
在这个示例中,我们创建了一个编辑器,并监听了它的 onKeyUp 事件。当在编辑器中释放键盘按键时,会在控制台输出相关信息。
onMouseDown
- 参数:
monaco.editor.IEditorMouseEvent
- 描述:
在编辑器中按下鼠标按钮时触发。可以通过监听这个事件来实现自定义的鼠标按键处理逻辑。
- 示例:
const editor = monaco.editor.create(document.getElementById('container'), {
+ value: '',
+ language: 'plaintext'
+});
+
+editor.onMouseDown((e: monaco.editor.IEditorMouseEvent) => {
+ console.log('Mouse down:', e.target.type);
+});
+
在这个示例中,我们创建了一个编辑器,并监听了它的 onMouseDown 事件。当在编辑器中按下鼠标按钮时,会在控制台输出相关信息。
onMouseLeave
- 参数:
monaco.editor.IEditorMouseEvent
- 描述:
在鼠标离开编辑器时触发。可以通过监听这个事件来实现自定义的鼠标离开处理逻辑。
- 示例:
const editor = monaco.editor.create(document.getElementById('container'), {
+ value: '',
+ language: 'plaintext'
+});
+
+editor.onMouseLeave((e: monaco.editor.IEditorMouseEvent) => {
+ console.log('Mouse left editor');
+});
+
在这个示例中,我们创建了一个编辑器,并监听了它的 onMouseLeave 事件。当鼠标离开编辑器时,会在控制台输出相关信息。
onMouseMove
- 参数:
monaco.editor.IEditorMouseEvent
- 描述:
在鼠标在编辑器中移动时触发。可以通过监听这个事件来实现自定义的鼠标移动处理逻辑。
- 示例:
const editor = monaco.editor.create(document.getElementById('container'), {
+ value: '',
+ language: 'plaintext'
+});
+
+editor.onMouseMove((e: monaco.editor.IEditorMouseEvent) => {
+ console.log('Mouse moved:', e.target.type);
+});
+
在这个示例中,我们创建了一个编辑器,并监听了它的 onMouseMove 事件。当鼠标在编辑器中移动时,会在控制台输出相关信息。
onMouseUp
- 参数:
monaco.editor.IEditorMouseEvent
- 描述:
在编辑器中释放鼠标按钮时触发。可以通过监听这个事件来实现自定义的鼠标按键处理逻辑。
- 示例:
const editor = monaco.editor.create(document.getElementById('container'), {
+ value: '',
+ language: 'plaintext'
+});
+
+editor.onMouseUp((e: monaco.editor.IEditorMouseEvent) => {
+ console.log('Mouse up:', e.target.type);
+});
+
在这个示例中,我们创建了一个编辑器,并监听了它的 onMouseUp 事件。当在编辑器中释放鼠标按钮时,会在控制台输出相关信息
方法
addAction
- 语法:
addAction(descriptor: monaco.editor.IActionDescriptor): IDisposable;
- 参数:
monaco.editor.IActionDescriptor
- 返回值:
IDisposable对象
- 描述:
用来向编辑器中添加自定义的操作。
其中,descriptor参数是一个对象,用来描述要添加的操作。它包含以下属性:
descriptor参数
id:操作的唯一标识符,必须是字符串类型。
label:操作的显示名称,必须是字符串类型。
keybindings:操作的快捷键,可以是字符串类型的快捷键,也可以是字符串类型的快捷键数组。
contextMenuGroupId:操作在右键菜单中的分组 ID,必须是字符串类型。
contextMenuOrder:操作在右键菜单中的排序位置,必须是数字类型。
run:操作的执行函数,必须是一个函数类型,接受一个 ICodeEditor类型的参数。
addAction方法返回一个 IDisposable对象,用来取消添加的操作。可以通过调用 dispose方法来取消添加的操作。 下面是一个示例,演示如何向编辑器中添加一个自定义的操作:
const editor = monaco.editor.create(document.getElementById('container'), {
+ value: '',
+ language: 'plaintext'
+});
+
+editor.addAction({
+ id: 'my-custom-action',
+ label: 'My Custom Action',
+ keybindings: [
+ monaco.KeyMod.CtrlCmd | monaco.KeyCode.KEY_S
+ ],
+ contextMenuGroupId: 'navigation',
+ contextMenuOrder: 1.5,
+ run: function(ed) {
+ console.log('My custom action executed');
+ }
+});
+
在这个示例中,我们创建了一个编辑器,并向它添加了一个名为 my-custom-action的自定义操作。这个操作的显示名称为 My Custom Action,快捷键为 Ctrl/Cmd + S,在右键菜单中的分组 ID 为 navigation,排序位置为 1.5。当这个操作被执行时,会在控制台输出相关信息。
addCommand
- 语法:
addCommand(keybinding: monaco.IKeybinding, handler: ICommandHandler, context: string):string
- 参数:
keybinding
、handler
、context
- 返回值:
IDisposable对象
- 描述:
用来向编辑器中添加自定义的操作。
其中,keybinding
参数是一个对象,用来描述要添加的命令的快捷键。它包含以下属性:
- ctrlCmd:是否按下了 Ctrl或 Cmd键,必须是布尔类型。
- shift:是否按下了 Shift键,必须是布尔类型。
- alt:是否按下了Alt键,必须是布尔类型。
- keyCode:按下的键的键码,必须是数字类型。
handler
参数是一个函数,用来处理命令的执行逻辑。它接受一个 ICodeEditor类型的参数。
context
参数是一个字符串,用来指定命令的上下文。可以是 editor、textarea 或 global中的一个。
addCommand
方法返回一个字符串,表示添加的命令的 ID。可以通过调用 removeCommand方法来移除添加的命令。 下面是一个示例,演示如何向编辑器中添加一个自定义的命令:
const editor = monaco.editor.create(document.getElementById('container'), {
+ value: '',
+ language: 'plaintext'
+});
+
+editor.addCommand(monaco.KeyMod.CtrlCmd | monaco.KeyCode.KEY_S, function(ed) {
+ console.log('Custom command executed');
+}, 'editor');
+
在这个示例中,我们创建了一个编辑器,并向它添加了一个名为 Custom command的自定义命令。这个命令的快捷键为 Ctrl/Cmd + S,当这个命令被执行时,会在控制台输出相关信息。
addContentWidget
- 语法:
addContentWidget(widget: IContentWidget): void
- 参数:
widget
- 返回值:
-
- 描述:
向编辑器中添加自定义的内容小部件
其中,widget 参数是一个对象,用来描述要添加的内容小部件。它包含以下属性:
- getId:获取小部件的唯一标识符的函数,必须是一个函数类型。
- getDomNode:获取小部件的 DOM 节点的函数,必须是一个函数类型。
- getPosition:获取小部件的位置信息的函数,必须是一个函数类型。
- addContentWidget 方法没有返回值。可以通过调用
- removeContentWidget 方法来移除添加的内容小部件。
下面是一个示例,演示如何向编辑器中添加一个自定义的内容小部件:
const editor = monaco.editor.create(document.getElementById('container'), {
+ value: '',
+ language: 'plaintext'
+});
+
+const widget = {
+ getId: function() {
+ return 'my-content-widget';
+ },
+ getDomNode: function() {
+ const node = document.createElement('div');
+ node.innerHTML = 'My content widget';
+ return node;
+ },
+ getPosition: function() {
+ return {
+ position: {
+ lineNumber: 1,
+ column: 1
+ },
+ preference: [monaco.editor.ContentWidgetPositionPreference.ABOVE, monaco.editor.ContentWidgetPositionPreference.BELOW]
+ };
+ }
+};
+
+editor.addContentWidget(widget);
+
在这个示例中,我们创建了一个编辑器,并向它添加了一个名为 my-content-widget的自定义内容小部件。这个小部件的 DOM 节点为一个包含文本My content widget的div元素,位置信息为第一行第一列的上方或下方。当这个小部件被添加到编辑器中时,会显示在相应的位置。
- 语法:
addOverlayWidget(widget: IOverlayWidget): void
- 参数:
widget
- 返回值:
-
- 描述:
向编辑器中添加自定义的覆盖小部件
其中,widget 参数是一个对象,用来描述要添加的覆盖小部件。它包含以下属性:
- getId:获取小部件的唯一标识符的函数,必须是一个函数类型。
- getDomNode:获取小部件的 DOM 节点的函数,必须是一个函数类型。
- getPosition:获取小部件的位置信息的函数,必须是一个函数类型。
- addOverlayWidget 方法没有返回值。可以通过调用
- removeOverlayWidget 方法来移除添加的覆盖小部件。
下面是一个示例,演示如何向编辑器中添加一个自定义的覆盖小部件:
const editor = monaco.editor.create(document.getElementById('container'), {
+ value: '',
+ language: 'plaintext'
+});
+
+const widget = {
+ getId: function() {
+ return 'my-overlay-widget';
+ },
+ getDomNode: function() {
+ const node = document.createElement('div');
+ node.innerHTML = 'My overlay widget';
+ return node;
+ },
+ getPosition: function() {
+ return {
+ preference: [monaco.editor.OverlayWidgetPositionPreference.TOP_RIGHT_CORNER]
+ };
+ }
+};
+
+editor.addOverlayWidget(widget);
+
在这个示例中,我们创建了一个编辑器,并向它添加了一个名为 my-overlay-widget 的自定义覆盖小部件。这个小部件的 DOM 节点为一个包含文本 My overlay widget 的 div 元素,位置信息为右上角。当这个小部件被添加到编辑器中时,会显示在相应的位置。
applyFontInfo
- 语法:
applyFontInfo(target: HTMLElement): void
- 参数:
target
- 返回值:
-
- 描述:
将编辑器的字体信息应用到指定的 DOM 元素上
其中,target 参数是一个要应用字体信息的 DOM 元素。 下面是一个示例,演示如何将编辑器的字体信息应用到一个指定的 DOM 元素上:
const editor = monaco.editor.create(document.getElementById('container'), {
+ value: '',
+ language: 'plaintext'
+});
+
+const target = document.getElementById('target');
+editor.applyFontInfo(target);
+
在这个示例中,我们创建了一个编辑器,并将它的字体信息应用到了一个名为 target 的 DOM 元素上。这个元素的字体、字号、行高等信息会与编辑器保持一致。
changeViewZones
- 语法:
changeViewZones(callback: (accessor: IViewZoneChangeAccessor) => void): void
- 参数:
callback
- 返回值:
-
- 描述:
修改编辑器的视图区域
其中,callback 参数是一个函数,用来描述要修改的视图区域。它接受一个 IViewZoneChangeAccessor 对象作为参数,用来添加、移除或更新视图区域。 下面是一个示例,演示如何使用 changeViewZones 方法来添加一个视图区域:
const editor = monaco.editor.create(document.getElementById('container'), {
+ value: '',
+ language: 'plaintext'
+});
+
+editor.changeViewZones(function(changeAccessor) {
+ const domNode = document.createElement('div');
+ domNode.innerHTML = 'My view zone';
+ const afterLineNumber = 3;
+ const heightInLines = 2;
+ changeAccessor.addZone({
+ afterLineNumber: afterLineNumber,
+ heightInLines: heightInLines,
+ domNode: domNode
+ });
+});
+
在这个示例中,我们创建了一个编辑器,并使用 changeViewZones 方法添加了一个视图区域。这个视图区域的 DOM 节点为一个包含文本 My view zone 的 div 元素,位置信息为第三行之后,高度为两行。当这个视图区域被添加到编辑器中时,会显示在相应的位置。
createContextKey
- 语法:
createContextKey(key: string, defaultValue: any): IContextKey
- 参数:
key, defaultValue
- 返回值:
IContextKey
- 描述:
创建一个上下文键,用于管理编辑器的上下文信息
其中,key 参数是一个字符串,用来标识上下文键的名称;defaultValue 参数是一个任意类型的值,用来表示上下文键的默认值。 下面是一个示例,演示如何使用 createContextKey 方法创建一个上下文键:
const editor = monaco.editor.create(document.getElementById('container'), {
+ value: '',
+ language: 'plaintext'
+});
+
+const myContextKey = editor.createContextKey('myContextKey', 'default');
+
+console.log(myContextKey.get()); // 输出 'default'
+
在这个示例中,我们创建了一个编辑器,并使用 createContextKey 方法创建了一个名为 myContextKey 的上下文键,它的默认值为 'default'。我们通过调用 get 方法来获取当前上下文键的值,输出结果为 'default'。
createDecorationsCollection
`,160),g=s("code",null,"createDecorationsCollection(",-1),h=s("code",null,"):",-1),A=s("code",null,"可选",-1),x=s("li",null,[n("描述: "),s("code",null,"创建一个装饰集合。通过此集合添加的所有装饰都将获得编辑器的所有者ID(这意味着它们不会显示在其他编辑器中)。当编辑器的模型更改时,这些装饰将自动清除。")],-1),I=s("h2",{id:"deltadecorations",tabindex:"-1"},[s("a",{class:"header-anchor",href:"#deltadecorations","aria-hidden":"true"},"#"),n(" deltaDecorations")],-1),k=s("code",null,"deltaDecorations(oldDecorations: string[], newDecorations: ",-1),B=s("code",null,"[]): string[]",-1),f=s("li",null,[n("参数: "),s("code",null,"oldDecorations, newDecorations")],-1),w=s("li",null,[n("返回值: "),s("code",null,"string[]")],-1),j=s("li",null,[n("描述: "),s("code",null,"更新编辑器的装饰器信息")],-1),T=p(`其中,oldDecorations 参数是一个字符串数组,用来表示要被替换或移除的装饰器的 ID;newDecorations 参数是一个 IModelDeltaDecoration 数组,用来表示要添加或更新的装饰器信息。
下面是一个示例,演示如何使用 deltaDecorations 方法更新编辑器的装饰器信息:
const editor = monaco.editor.create(document.getElementById('container'), {
+ value: '',
+ language: 'plaintext'
+});
+
+const decorations = editor.createDecorationsCollection(1);
+
+decorations.createDecoration(1, 1, { isWholeLine: true, className: 'my-decoration' });
+
+editor.deltaDecorations([], decorations.getDecorations());
+
+decorations.changeDecoration(decorations.getDecorations()[0].id, { isWholeLine: true, className: 'my-new-decoration' });
+
+editor.deltaDecorations(decorations.getDecorations().map(d => d.id), decorations.getDecorations());
+
在这个示例中,我们创建了一个编辑器,并使用 createDecorationsCollection 方法创建了一个装饰器集合。我们通过调用 createDecoration 方法来创建一个装饰器,它的位置为第一行第一列,样式为整行高亮,类名为 my-decoration。然后,我们通过调用 deltaDecorations 方法将这个装饰器添加到编辑器中。接着,我们通过调用 changeDecoration 方法来修改这个装饰器的样式,将类名改为 my-new-decoration。最后,我们通过调用 deltaDecorations 方法来更新编辑器的装饰器信息。
dispose
- 语法:
dispose(): void
- 参数:
-
- 返回值:
-
- 描述:
释放编辑器占用的资源
dispose 方法没有参数和返回值。调用该方法会释放编辑器占用的资源,包括 DOM 元素、事件监听器等。一般情况下,当不再需要使用编辑器时,应该调用该方法来释放资源。 示例:
const editor = monaco.editor.create(document.getElementById('container'), {
+ value: '',
+ language: 'plaintext'
+});
+
+// do something with the editor
+
+editor.dispose();
+
executeCommand
- 语法:
executeCommand(command: string, args?: any[]): void
- 参数:
command
- 返回值:
-
- 描述:
执行指定的命令
其中,command 参数是一个字符串,用来表示要执行的命令。args 参数是一个可选的数组,用来传递命令的参数。executeCommand 方法没有返回值。调用该方法会执行指定的命令。 示例:
const editor = monaco.editor.create(document.getElementById('container'), {
+ value: '',
+ language: 'plaintext'
+});
+
+editor.executeCommand('editor.action.selectAll');
+
executeCommands
- 语法:
executeCommands(commands: ICommand[], source?: string): void
- 参数:
commands
- 返回值:
-
- 描述:
执行指定的一组命令
其中,commands 参数是一个数组,用来表示要执行的一组命令。source 参数是一个可选的字符串,用来表示命令的来源。executeCommands 方法没有返回值。调用该方法会执行指定的一组命令。 示例:
const editor = monaco.editor.create(document.getElementById('container'), {
+ value: '',
+ language: 'plaintext'
+});
+
+editor.executeCommands([
+ {
+ id: 'editor.action.selectAll'
+ },
+ {
+ id: 'editor.action.clipboardCopyAction'
+ }
+]);
+
executeEdits
- 语法:
executeEdits(source: string, edits: IIdentifiedSingleEditOperation[], endCursorState?: Selection[]): boolean
- 参数:
source
- 返回值:
boolean
- 描述:
执行指定的一组编辑操作
其中,source 参数是一个字符串,用来表示编辑操作的来源。edits 参数是一个数组,用来表示要执行的一组编辑操作。endCursorState 参数是一个可选的数组,用来表示编辑操作执行后的光标状态。executeEdits 方法返回一个布尔值,表示编辑操作是否执行成功。 示例:
const editor = monaco.editor.create(document.getElementById('container'), {
+ value: 'Hello\\nWorld!',
+ language: 'plaintext'
+});
+
+const edits = [
+ {
+ range: new monaco.Range(1, 1, 1, 6),
+ text: 'Bonjour'
+ },
+ {
+ range: new monaco.Range(2, 1, 2, 6),
+ text: 'Monde'
+ }
+];
+
+const success = editor.executeEdits('my-source', edits);
+console.log(success);
+
focus
- 语法:
focus(): void
- 参数:
-
- 返回值:
-
- 描述:
将焦点设置到编辑器上
focus 方法没有参数和返回值。调用该方法会将焦点设置到编辑器上。 示例:
const editor = monaco.editor.create(document.getElementById('container'), {
+ value: '',
+ language: 'plaintext'
+});
+
+// do something with the editor
+
+editor.focus();
+
getAction
- 语法:
getAction(id: string): IAction
- 参数:
id
- 返回值:
IAction
- 描述:
获取指定 ID 的编辑器动作
其中,id 参数是一个字符串,用来表示要获取的编辑器动作的 ID。返回值是一个 IAction 对象,表示指定 ID 的编辑器动作。 示例:
const editor = monaco.editor.create(document.getElementById('container'), {
+ value: '',
+ language: 'plaintext'
+});
+
+editor.addAction({
+ id: 'my-action',
+ label: 'My Action',
+ keybindings: [monaco.KeyCode.KEY_A],
+ run: function(editor) {
+ console.log('My Action executed!');
+ }
+});
+
+const action = editor.getAction('my-action');
+console.log(action);
+
+
getBottomForLineNumber
- 语法:
getBottomForLineNumber(lineNumber: number): number
- 参数:
lineNumber
- 返回值:
number
- 描述:
获取指定行的底部位置
其中,lineNumber 参数是一个数字,用来表示要获取底部位置的行号。返回值是一个数字,表示指定行的底部位置。
示例:
const editor = monaco.editor.create(document.getElementById('container'), {
+ value: 'Hello\\nWorld!',
+ language: 'plaintext'
+});
+
+const bottom = editor.getBottomForLineNumber(1);
+console.log(bottom);
+
+
getContainerDomNode
- 语法:
getContainerDomNode(): HTMLElement
- 参数:
-
- 返回值:
HTMLElement
- 描述:
获取编辑器的容器元素
返回值是一个 HTMLElement 对象,表示编辑器的容器元素。
示例:
const editor = monaco.editor.create(document.getElementById('container'), {
+ value: '',
+ language: 'plaintext'
+});
+
+const container = editor.getContainerDomNode();
+console.log(container);
+
+
getContentHeight
- 语法:
getContentHeight(): number
- 参数:
-
- 返回值:
number
- 描述:
获取编辑器内容的高度
返回值是一个数字,表示编辑器内容的高度。
示例:
const editor = monaco.editor.create(document.getElementById('container'), {
+value: '',
+language: 'plaintext'
+});
+
+const height = editor.getContentHeight();
+console.log(height);
+
+
getContentWidth
- 语法:
getContentWidth(): number
- 参数:
-
- 返回值:
number
- 描述:
获取编辑器内容的宽度
返回值是一个数字,表示编辑器内容的宽度。
示例:
const editor = monaco.editor.create(document.getElementById('container'), {
+value: '',
+language: 'plaintext'
+});
+
+const width = editor.getContentWidth();
+console.log(width);
+
+
getContribution
- 语法:
getContribution(id: string): any
- 参数:
id
- 返回值:
any
- 描述:
获取指定 ID 的编辑器贡献
其中,id 参数是一个字符串,用来表示要获取的编辑器贡献的 ID。返回值是一个任意类型的对象,表示指定 ID 的编辑器贡献。
示例:
const editor = monaco.editor.create(document.getElementById('container'), {
+value: '',
+language: 'plaintext'
+});
+
+const contribution = editor.getContribution('editor.contrib.folding');
+console.log(contribution);
+
+
getDecorationsInRange
- 语法:
getDecorationsInRange(range: IRange): IModelDecoration[]
- 参数:
range
- 返回值:
IModelDecoration[]
- 描述:
获取指定范围内的装饰器
其中,range 参数是一个 IRange 对象,用来表示要获取装饰器的范围。返回值是一个 IModelDecoration 数组,表示指定范围内的装饰器。
示例:
const editor = monaco.editor.create(document.getElementById('container'), {
+value: '',
+language: 'plaintext'
+});
+
+editor.deltaDecorations([], [
+ {
+ range: new monaco.Range(1, 1, 1, 5),
+ options: {
+ isWholeLine: true,
+ className: 'my-decoration'
+ }
+ }
+]);
+
+const decorations = editor.getDecorationsInRange(new monaco.Range(1, 1, 2, 1));
+console.log(decorations);
+
+
getDomNode
- 语法:
getDomNode(): HTMLElement
- 参数:
-
- 返回值:
HTMLElement
- 描述:
获取编辑器的 DOM 元素
返回值是一个 HTMLElement 对象,表示编辑器的 DOM 元素。
示例:
const editor = monaco.editor.create(document.getElementById('container'), {
+ value: '',
+ language: 'plaintext'
+});
+
+const domNode = editor
+
+
+.getDomNode();
+console.log(domNode);
+
+
getEditorType
- 语法:
getEditorType(): string
- 参数:
-
- 返回值:
string
- 描述:
获取编辑器的类型
返回值是一个字符串,表示编辑器的类型。
示例:
const editor = monaco.editor.create(document.getElementById('container'), {
+ value: '',
+ language: 'plaintext'
+});
+
+const type = editor.getEditorType();
+console.log(type);
+
+
getId
- 语法:
getId(): string
- 参数:
-
- 返回值:
string
- 描述:
获取编辑器的唯一标识符
返回值是一个字符串,表示编辑器的唯一标识符。
示例:
const editor = monaco.editor.create(document.getElementById('container'), {
+ value: '',
+ language: 'plaintext'
+});
+
+const id = editor.getId();
+console.log(id);
+
+
getLayoutInfo
- 语法:
getLayoutInfo(): IEditorLayoutInfo
- 参数:
-
- 返回值:
IEditorLayoutInfo
- 描述:
获取编辑器的布局信息
返回值是一个 IEditorLayoutInfo 对象,表示编辑器的布局信息。
示例:
const editor = monaco.editor.create(document.getElementById('container'), {
+ value: '',
+ language: 'plaintext'
+});
+
+const layoutInfo = editor.getLayoutInfo();
+console.log(layoutInfo);
+
+
getLineDecorations
- 语法:
getLineDecorations(lineNumber: number): IModelDecoration[]
- 参数:
lineNumber
- 返回值:
IModelDecoration[]
- 描述:
获取指定行的装饰器
其中,lineNumber 参数是一个数字,用来表示要获取装饰器的行号。返回值是一个 IModelDecoration 数组,表示指定行的装饰器。
示例:
const editor = monaco.editor.create(document.getElementById('container'), {
+ value: '',
+ language: 'plaintext'
+});
+
+editor.deltaDecorations([], [
+ {
+ range: new monaco.Range(1, 1, 1, 5),
+ options: {
+ isWholeLine: true,
+ className: 'my-decoration'
+ }
+ }
+]);
+
+const decorations = editor.getLineDecorations(1);
+console.log(decorations);
+
+
getModel
- 语法:
getModel(): ITextModel
- 参数:
-
- 返回值:
ITextModel
- 描述:
获取编辑器的文本模型
返回值是一个 ITextModel 对象,表示编辑器的文本模型。
示例:
const editor = monaco.editor.create(document.getElementById('container'), {
+ value: '',
+ language: 'plaintext'
+});
+
+const model = editor.getModel();
+console.log(model);
+
+
getOffsetForColumn
- 语法:
getOffsetForColumn(lineNumber: number, column: number): number
- 参数:
lineNumber
- 返回值:
number
- 描述:
获取指定行和列的偏移量
其中,lineNumber 参数是一个数字,用来表示要获取偏移量的行号。column 参数是一个数字,用来表示要获取偏移量的列号。返回值是一个数字,表示指定行和列的偏移量。
示例:
const editor = monaco.editor.create(document.getElementById('container'), {
+ value: 'Hello\\nWorld!',
+ language: 'plaintext'
+});
+
+const offset = editor.getOffsetForColumn(1, 3);
+console.log(offset);
+
+
getOption
- 语法:
getOption(id: string): any
- 参数:
id
- 返回值:
any
- 描述:
获取指定 ID 的编辑器选项
其中,id 参数是一个字符串,用来表示要获取的编辑器选项的 ID。返回值是一个任意类型的对象,表示指定 ID 的编辑器选项。
示例:
const editor = monaco.editor.create(document.getElementById('container'), {
+ value: '',
+ language: 'plaintext',
+ wordWrap: 'on'
+});
+
+const option = editor.getOption('wordWrap');
+console.log(option);
+
+
getOptions
- 语法:
getOptions(): IEditorOptions
- 参数:
-
返回值: IEditorOptions
描述: 获取编辑器的所有选项
返回值是一个 IEditorOptions 对象,表示编辑器的所有选项。 示例:
const editor = monaco.editor.create(document.getElementById('container'), {
+ value: '',
+ language: 'plaintext',
+ wordWrap: 'on'
+});
+
+const options = editor.getOptions();
+console.log(options);
+
getPosition
语法: getPosition(): IPosition
参数: -
返回值: IPosition
描述: 获取当前光标位置
返回值是一个 IPosition 对象,表示当前光标位置。 示例:
const editor = monaco.editor.create(document.getElementById('container'), {
+ value: '',
+ language: 'plaintext'
+});
+
+// move the cursor to line 2, column 3
+editor.setPosition({ lineNumber: 2, column: 3 });
+
+const position = editor.getPosition();
+console.log(position);
+
getRawOptions
- 语法:
getRawOptions(): IEditorOptions
- 参数:
-
- 返回值:
IEditorOptions
- 描述:
获取编辑器的所有选项(包括默认选项)
返回值是一个 IEditorOptions 对象,表示编辑器的所有选项(包括默认选项)。 示例:
const editor = monaco.editor.create(document.getElementById('container'), {
+ value: '',
+ language: 'plaintext',
+ wordWrap: 'on'
+});
+
+const options = editor.getRawOptions();
+console.log(options);
+
- 语法:
getScrollHeight(): number
- 参数:
-
- 返回值:
number
- 描述:
获取编辑器的滚动高度
返回值是一个数字,表示编辑器的滚动高度。 示例:
const editor = monaco.editor.create(document.getElementById('container'), {
+ value: '',
+ language: 'plaintext'
+});
+
+const height = editor.getScrollHeight();
+console.log(height);
+
- 语法:
getScrollLeft(): number
- 参数:
-
- 返回值:
number
- 描述:
获取编辑器的水平滚动位置
返回值是一个数字,表示编辑器的水平滚动位置。 示例:
const editor = monaco.editor.create(document.getElementById('container'), {
+ value: '',
+ language: 'plaintext'
+});
+
+const scrollLeft = editor.getScrollLeft();
+console.log(scrollLeft);
+
- 语法:
getScrollTop(): number
- 参数:
-
- 返回值:
number
- 描述:
获取编辑器的垂直滚动位置
返回值是一个数字,表示编辑器的垂直滚动位置。 示例:
const editor = monaco.editor.create(document.getElementById('container'), {
+ value: '',
+ language: 'plaintext'
+});
+
+const scrollTop = editor.getScrollTop();
+console.log(scrollTop);
+
- 语法:
getScrollWidth(): number
- 参数:
-
- 返回值:
number
- 描述:
获取编辑器的滚动宽度
返回值是一个数字,表示编辑器的滚动宽度。 示例:
const editor = monaco.editor.create(document.getElementById('container'), {
+ value: '',
+ language: 'plaintext'
+});
+
+const width = editor.getScrollWidth();
+console.log(width);
+
- 语法:
getScrolledVisiblePosition(position: IPosition): { top: number, left: number, height: number }
- 参数:
position
- 返回值:
{ top: number, left: number, height: number }
- 描述:
获取指定位置在编辑器中可见的位置信息
其中,position 参数是一个 IPosition 对象,表示要获取可见位置信息的位置。返回值是一个对象,包含以下属性:
- top:指定位置在编辑器中的垂直位置。
- left:指定位置在编辑器中的水平位置。
- height:指定位置在编辑器中的高度。
下面是一个示例,演示如何获取指定位置在编辑器中可见的位置信息:
const editor = monaco.editor.create(document.getElementById('container'), {
+ value: 'Hello\\nWorld!',
+ language: 'plaintext'
+});
+
+const position = { lineNumber: 2, column: 3 };
+const visiblePosition = editor.getScrolledVisiblePosition(position);
+console.log(visiblePosition);
+
在这个示例中,我们创建了一个编辑器,并获取了第二行第三列的位置在编辑器中可见的位置信息。
getSelection
- 语法:
getSelection(): Selection
- 参数:
-
- 返回值:
Selection
- 描述:
获取当前选中文本的范围和方向
返回值是一个 Selection 对象,表示当前选中文本的范围和方向。 示例:
const editor = monaco.editor.create(document.getElementById('container'), {
+ value: 'Hello\\nWorld!',
+ language: 'plaintext'
+});
+
+// select the text "World!"
+editor.setSelection(new monaco.Range(2, 1, 2, 6));
+
+const selection = editor.getSelection();
+console.log(selection);
+
getSelections
- 语法:
getSelections(): Selection[]
- 参数:
-
- 返回值:
Selection[]
- 描述:
获取当前所有选中文本的范围和方向
返回值是一个 Selection 数组,表示当前所有选中文本的范围和方向。 示例:
const editor = monaco.editor.create(document.getElementById('container'), {
+ value: 'Hello\\nWorld!',
+ language: 'plaintext'
+});
+
+// select the text "Hello" and "World!"
+editor.setSelections([
+ new monaco.Selection(1, 1, 1, 6),
+ new monaco.Selection(2, 1, 2, 6)
+]);
+
+const selections = editor.getSelections();
+console.log(selections);
+
getSupportedActions
- 语法:
getSupportedActions(): string[]
- 参数:
-
- 返回值:
string[]
- 描述:
获取编辑器支持的所有操作的名称
返回值是一个字符串数组,表示编辑器支持的所有操作的名称。 示例:
const editor = monaco.editor.create(document.getElementById('container'), {
+ value: '',
+ language: 'plaintext'
+});
+
+const actions = editor.getSupportedActions();
+console.log(actions);
+
getTargetAtClientPoint
- 语法:
getTargetAtClientPoint(clientX: number, clientY: number): IEditorMouseEventTarget | null
- 参数:
clientX, clientY
- 返回值:
IEditorMouseEventTarget | null
- 描述:
获取指定客户端坐标下的编辑器元素
其中,clientX 和 clientY 参数是数字,表示要获取元素的客户端坐标。返回值是一个 IEditorMouseEventTarget 对象或 null,表示指定坐标下的编辑器元素。 示例:
const editor = monaco.editor.create(document.getElementById('container'), {
+ value: '',
+ language: 'plaintext'
+});
+
+const target = editor.getTargetAtClientPoint(10, 10);
+console.log(target);
+
getTopForLineNumber
- 语法:
getTopForLineNumber(lineNumber: number): number
- 参数:
lineNumber
- 返回值:
number
- 描述:
获取指定行号的顶部位置
其中,lineNumber 参数是一个数字,表示要获取顶部位置的行号。返回值是一个数字,表示指定行号的顶部位置。 示例:
const editor = monaco.editor.create(document.getElementById('container'), {
+ value: 'Hello\\nWorld!',
+ language: 'plaintext'
+});
+
+const top = editor.getTopForLineNumber(2);
+console.log(top);
+
getTopForPosition
- 语法:
getTopForPosition(position: IPosition): number
- 参数:
position
- 返回值:
number
- 描述:
获取指定位置的顶部位置
其中,position 参数是一个 IPosition 对象,表示要获取顶部位置的位置。返回值是一个数字,表示指定位置的顶部位置。 示例:
const editor = monaco.editor.create(document.getElementById('container'), {
+ value: 'Hello\\nWorld!',
+ language: 'plaintext'
+});
+
+const position = { lineNumber: 2, column: 3 };
+const top = editor.getTopForPosition(position);
+console.log(top);
+
getValue
- 语法:
getValue(): string
- 参数:
-
- 返回值:
string
- 描述:
获取编辑器的文本内容
返回值是一个字符串,表示编辑器的文本内容。 示例:
const editor = monaco.editor.create(document.getElementById('container'), {
+ value: 'Hello, world!',
+ language: 'plaintext'
+});
+
+const value = editor.getValue();
+console.log(value);
+
getVisibleColumnFromPosition
- 语法:
getVisibleColumnFromPosition(position: IPosition): number
- 参数:
position
- 返回值:
number
- 描述:
获取指定位置在编辑器中可见的列数
其中,position 参数是一个 IPosition 对象,表示要获取可见列数的位置。返回值是一个数字,表示指定位置在编辑器中可见的列数。 示例:
const editor = monaco.editor.create(document.getElementById('container'), {
+ value: 'Hello, world!',
+ language: 'plaintext'
+});
+
+const position = { lineNumber: 1, column: 8 };
+const visibleColumn = editor.getVisibleColumnFromPosition(position);
+console.log(visibleColumn);
+
getVisibleRanges
- 语法:
getVisibleRanges(): Range[]
- 参数:
-
- 返回值:
Range[]
- 描述:
获取编辑器中可见的文本范围
返回值是一个 Range 数组,表示编辑器中可见的文本范围。 示例:
const editor = monaco.editor.create(document.getElementById('container'), {
+ value: 'Hello, world!',
+ language: 'plaintext'
+});
+
+const ranges = editor.getVisibleRanges();
+console.log(ranges);
+
hasTextFocus
- 语法:
hasTextFocus(): boolean
- 参数:
-
- 返回值:
boolean
- 描述:
判断编辑器是否拥有文本焦点
返回值是一个布尔值,表示编辑器是否拥有文本焦点。 示例:
const editor = monaco.editor.create(document.getElementById('container'), {
+ value: 'Hello, world!',
+ language: 'plaintext'
+});
+
+const hasFocus = editor.hasTextFocus();
+console.log(hasFocus);
+
- 语法:
hasWidgetFocus(): boolean
- 参数:
-
- 返回值:
boolean
- 描述:
判断编辑器是否拥有小部件焦点
返回值是一个布尔值,表示编辑器是否拥有小部件焦点。 示例:
const editor = monaco.editor.create(document.getElementById('container'), {
+ value: 'Hello, world!',
+ language: 'plaintext'
+});
+
+const hasFocus = editor.hasWidgetFocus();
+console.log(hasFocus);
+
layout
- 语法:
layout(dimension?: IDimension): void
- 参数:
dimension
- 返回值:
-
- 描述:
重新布局编辑器
其中,dimension 参数是一个 IDimension 对象,表示编辑器的尺寸。如果省略该参数,则使用编辑器容器的尺寸。 示例:
const editor = monaco.editor.create(document.getElementById('container'), {
+ value: 'Hello, world!',
+ language: 'plaintext'
+});
+
+editor.layout();
+
layoutContentWidget
- 语法:
layoutContentWidget(widget: IContentWidget): void
- 参数:
widget
- 返回值:
-
- 描述:
重新布局指定的内容小部件
其中,widget 参数是一个 IContentWidget 对象,表示要重新布局的内容小部件。 示例:
const editor = monaco.editor.create(document.getElementById('container'), {
+ value: 'Hello, world!',
+ language: 'plaintext'
+});
+
+const widget = {
+ getId: function() { return 'my-content-widget'; },
+ getDomNode: function() { return document.getElementById('my-content-widget'); },
+ getPosition: function() { return { position: { lineNumber: 1, column: 1 }, preference: [monaco.editor.ContentWidgetPositionPreference.ABOVE, monaco.editor.ContentWidgetPositionPreference.BELOW] }; }
+};
+
+editor.addContentWidget(widget);
+editor.layoutContentWidget(widget);
+
- 语法:
layoutOverlayWidget(widget: IOverlayWidget): void
- 参数:
widget
- 返回值:
-
- 描述:
重新布局指定的覆盖小部件
其中,widget 参数是一个 IOverlayWidget 对象,表示要重新布局的覆盖小部件。 示例:
const editor = monaco.editor.create(document.getElementById('container'), {
+ value: 'Hello, world!',
+ language: 'plaintext'
+});
+
+const widget = {
+ getId: function() { return 'my-overlay-widget'; },
+ getDomNode: function() { return document.getElementById('my-overlay-widget'); },
+ getPosition: function() { return { preference: [monaco.editor.OverlayWidgetPositionPreference.TOP_RIGHT_CORNER] }; }
+};
+
+editor.addOverlayWidget(widget);
+editor.layoutOverlayWidget(widget);
+
onDidDispose
- 语法:
onDidDispose(listener: () => void): IDisposable
- 参数:
listener
- 返回值:
IDisposable
- 描述:
注册一个当编辑器被销毁时触发的回调函数
其中,listener 参数是一个函数,表示当编辑器被销毁时要执行的回调函数。返回值是一个 IDisposable 对象,表示注册的回调函数。 示例:
const editor = monaco.editor.create(document.getElementById('container'), {
+ value: 'Hello, world!',
+ language: 'plaintext'
+});
+
+const disposable = editor.onDidDispose(function() {
+ console.log('Editor disposed!');
+});
+
+// Dispose the editor
+editor.dispose();
+
+// Dispose the listener
+disposable.dispose();
+
popUndoStop
- 语法:
popUndoStop(): void
- 参数:
-
- 返回值:
-
- 描述:
弹出一个撤销操作的栈帧
该方法会弹出一个撤销操作的栈帧,使得之前的操作可以一起撤销。 示例:
const editor = monaco.editor.create(document.getElementById('container'), {
+ value: 'Hello, world!',
+ language: 'plaintext'
+});
+
+editor.pushUndoStop();
+// Do some editing
+editor.popUndoStop();
+
pushUndoStop
- 语法:
pushUndoStop(): void
- 参数:
-
- 返回值:
-
- 描述:
推入一个撤销操作的栈帧
该方法会推入一个撤销操作的栈帧,使得之后的操作可以一起撤销。 示例:
const editor = monaco.editor.create(document.getElementById('container'), {
+ value: 'Hello, world!',
+ language: 'plaintext'
+});
+
+editor.pushUndoStop();
+// Do some editing
+editor.popUndoStop();
+
removeContentWidget
- 语法:
removeContentWidget(widget: IContentWidget): void
- 参数:
widget
- 返回值:
-
- 描述:
从编辑器中移除指定的内容小部件
其中,widget 参数是一个 IContentWidget 对象,表示要移除的内容小部件。 示例:
const editor = monaco.editor.create(document.getElementById('container'), {
+ value: 'Hello, world!',
+ language: 'plaintext'
+});
+
+const widget = {
+ getId: function() { return 'my-content-widget'; },
+ getDomNode: function() { return document.getElementById('my-content-widget'); },
+ getPosition: function() { return { position: { lineNumber: 1, column: 1 }, preference: [monaco.editor.ContentWidgetPositionPreference.ABOVE, monaco.editor.ContentWidgetPositionPreference.BELOW] }; }
+};
+
+editor.addContentWidget(widget);
+editor.removeContentWidget(widget);
+
removeDecorations
- 语法:
removeDecorations(decorationType: string): void
- 参数:
decorationType
- 返回值:
-
- 描述:
从编辑器中移除指定类型的装饰
其中,decorationType 参数是一个字符串,表示要移除的装饰的类型。 示例:
const editor = monaco.editor.create(document.getElementById('container'), {
+ value: 'Hello, world!',
+ language: 'plaintext'
+});
+
+const decorations = editor.deltaDecorations([], [
+ { range: new monaco.Range(1, 1, 1, 5), options: { isWholeLine: true, className: 'my-decoration' } }
+]);
+
+editor.removeDecorations('my-decoration');
+
- 语法:
removeOverlayWidget(widget: IOverlayWidget): void
- 参数:
widget
- 返回值:
-
- 描述:
从编辑器中移除指定的覆盖小部件
其中,widget 参数是一个 IOverlayWidget 对象,表示要移除的覆盖小部件。 示例:
const editor = monaco.editor.create(document.getElementById('container'), {
+ value: 'Hello, world!',
+ language: 'plaintext'
+});
+
+const widget = {
+ getId: function() { return 'my-overlay-widget'; },
+ getDomNode: function() { return document.getElementById('my-overlay-widget'); },
+ getPosition: function() { return { preference: [monaco.editor.OverlayWidgetPositionPreference.TOP_RIGHT_CORNER] }; }
+};
+
+editor.addOverlayWidget(widget);
+editor.removeOverlayWidget(widget);
+
render
- 语法:
render(): void
- 参数:
-
- 返回值:
-
- 描述:
重新渲染编辑器
该方法会重新渲染编辑器,以便更新编辑器中的内容。 示例:
const editor = monaco.editor.create(document.getElementById('container'), {
+ value: 'Hello, world!',
+ language: 'plaintext'
+});
+
+// Do some editing
+editor.render();
+
restoreViewState
- 语法:
restoreViewState(state: ICodeEditorViewState): void
- 参数:
state
- 返回值:
-
- 描述:
恢复编辑器的视图状态
其中,state 参数是一个 ICodeEditorViewState 对象,表示要恢复的视图状态。 示例:
const editor = monaco.editor.create(document.getElementById('container'), {
+ value: 'Hello, world!',
+ language: 'plaintext'
+});
+
+const state = editor.saveViewState();
+// Do some editing
+editor.restoreViewState(state);
+
revealLine
- 语法:
revealLine(lineNumber: number, scrollType?: ScrollType): void
- 参数:
lineNumber, scrollType
- 返回值:
-
- 描述:
滚动编辑器以便使指定行可见
其中,lineNumber 参数是一个数字,表示要滚动到的行号;scrollType 参数是一个 ScrollType 枚举值,表示滚动的类型。如果省略该参数,则默认为 ScrollType.Smooth。 示例:
const editor = monaco.editor.create(document.getElementById('container'), {
+ value: 'Hello, world!\\nHow are you?',
+ language: 'plaintext'
+});
+
+editor.revealLine(2);
+
revealLineInCenter
- 语法:
revealLineInCenter(lineNumber: number, scrollType?: ScrollType): void
- 参数:
lineNumber, scrollType
- 返回值:
-
- 描述:
滚动编辑器以便使指定行在编辑器中垂直居中显示
其中,lineNumber 参数是一个数字,表示要滚动到的行号;scrollType 参数是一个 ScrollType 枚举值,表示滚动的类型。如果省略该参数,则默认为 ScrollType.Smooth。 示例:
const editor = monaco.editor.create(document.getElementById('container'), {
+ value: 'Hello, world!\\nHow are you?',
+ language: 'plaintext'
+});
+
+editor.revealLineInCenter(2);
+
revealLineInCenterIfOutsideViewport
- 语法:
revealLineInCenterIfOutsideViewport(lineNumber: number, scrollType?: ScrollType): void
- 参数:
lineNumber, scrollType
- 返回值:
-
- 描述:
滚动编辑器以便使指定行在编辑器中垂直居中显示,但仅当该行不在视口中时才滚动
其中,lineNumber 参数是一个数字,表示要滚动到的行号;scrollType 参数是一个 ScrollType 枚举值,表示滚动的类型。如果省略该参数,则默认为 ScrollType.Smooth。 示例:
const editor = monaco.editor.create(document.getElementById('container'), {
+ value: 'Hello, world!\\nHow are you?',
+ language: 'plaintext'
+});
+
+editor.revealLineInCenterIfOutsideViewport(2);
+
revealLineNearTop
- 语法:
revealLineNearTop(lineNumber: number, scrollType?: ScrollType): void
- 参数:
lineNumber, scrollType
- 返回值:
-
- 描述:
滚动编辑器以便使指定行在编辑器中靠近顶部显示
其中,lineNumber 参数是一个数字,表示要滚动到的行号;scrollType 参数是一个 ScrollType 枚举值,表示滚动的类型。如果省略该参数,则默认为 ScrollType.Smooth。 示例:
const editor = monaco.editor.create(document.getElementById('container'), {
+ value: 'Hello, world!\\nHow are you?',
+ language: 'plaintext'
+});
+
+editor.revealLineNearTop(2);
+
revealLines
- 语法:
revealLines(startLineNumber: number, endLineNumber: number, scrollType?: ScrollType): void
- 参数:
startLineNumber, endLineNumber, scrollType
- 返回值:
-
- 描述:
滚动编辑器以便使指定行范围可见
其中,startLineNumber 和 endLineNumber 参数是数字,表示要滚动到的行号范围;scrollType 参数是一个 ScrollType 枚举值,表示滚动的类型。如果省略该参数,则默认为 ScrollType.Smooth。 示例:
const editor = monaco.editor.create(document.getElementById('container'), {
+ value: 'Hello, world!\\nHow are you?\\nI am fine, thank you!',
+ language: 'plaintext'
+});
+
+editor.revealLines(2, 3);
+
revealLinesInCenter
- 语法:
revealLinesInCenter(startLineNumber: number, endLineNumber: number, scrollType?: ScrollType): void
- 参数:
startLineNumber, endLineNumber, scrollType
- 返回值:
-
- 描述:
滚动编辑器以便使指定行范围在编辑器中垂直居中显示
其中,startLineNumber 和 endLineNumber 参数是数字,表示要滚动到的行号范围;scrollType 参数是一个 ScrollType 枚举值,表示滚动的类型。如果省略该参数,则默认为 ScrollType.Smooth。 示例:
const editor = monaco.editor.create(document.getElementById('container'), {
+ value: 'Hello, world!\\nHow are you?\\nI am fine, thank you!',
+ language: 'plaintext'
+});
+
+editor.revealLinesInCenter(2, 3);
+
revealLinesInCenterIfOutsideViewport
- 语法:
revealLinesInCenterIfOutsideViewport(startLineNumber: number, endLineNumber: number, scrollType?: ScrollType): void
- 参数:
startLineNumber, endLineNumber, scrollType
- 返回值:
-
- 描述:
滚动编辑器以便使指定行范围在编辑器中垂直居中显示,但仅当该范围不在视口中时才滚动
其中,startLineNumber 和 endLineNumber 参数是数字,表示要滚动到的行号范围;scrollType 参数是一个 ScrollType 枚举值,表示滚动的类型。如果省略该参数,则默认为 ScrollType.Smooth。 示例:
const editor = monaco.editor.create(document.getElementById('container'), {
+ value: 'Hello, world!\\nHow are you?\\nI am fine, thank you!',
+ language: 'plaintext'
+});
+
+editor.revealLinesInCenterIfOutsideViewport(2, 3);
+
revealLinesNearTop
- 语法:
revealLinesNearTop(startLineNumber: number, endLineNumber: number, scrollType?: ScrollType): void
- 参数:
startLineNumber, endLineNumber, scrollType
- 返回值:
-
- 描述:
滚动编辑器以便使指定行范围在编辑器中靠近顶部显示
其中,startLineNumber 和 endLineNumber 参数是数字,表示要滚动到的行号范围;scrollType 参数是一个 ScrollType 枚举值,表示滚动的类型。如果省略该参数,则默认为 ScrollType.Smooth。 示例:
const editor = monaco.editor.create(document.getElementById('container'), {
+ value: 'Hello, world!\\nHow are you?\\nI am fine, thank you!',
+ language: 'plaintext'
+});
+
+editor.revealLinesNearTop(2, 3);
+
revealPosition
- 语法:
revealPosition(position: IPosition, scrollType?: ScrollType): void
- 参数:
position, scrollType
- 返回值:
-
- 描述:
滚动编辑器以便使指定位置可见
其中,position 参数是一个 IPosition 对象,表示要滚动到的位置;scrollType 参数是一个 ScrollType 枚举值,表示滚动的类型。如果省略该参数,则默认为 ScrollType.Smooth。 示例:
const editor = monaco.editor.create(document.getElementById('container'), {
+ value: 'Hello, world!',
+ language: 'plaintext'
+});
+
+editor.revealPosition({ lineNumber: 1, column: 6 });
+
revealPositionInCenter
- 语法:
revealPositionInCenter(position: IPosition, scrollType?: ScrollType): void
- 参数:
position, scrollType
- 返回值:
-
- 描述:
滚动编辑器以便使指定位置在编辑器中垂直居中显示
其中,position 参数是一个 IPosition 对象,表示要滚动到的位置;scrollType 参数是一个 ScrollType 枚举值,表示滚动的类型。如果省略该参数,则默认为 ScrollType.Smooth。 示例:
const editor = monaco.editor.create(document.getElementById('container'), {
+ value: 'Hello, world!',
+ language: 'plaintext'
+});
+
+editor.revealPositionInCenter({ lineNumber: 1, column: 6 });
+
revealLinesInCenterIfOutsideViewport
- 语法:
revealLinesInCenterIfOutsideViewport(startLineNumber: number, endLineNumber: number, scrollType?: ScrollType): void
- 参数:
startLineNumber, endLineNumber, scrollType
- 返回值:
-
- 描述:
滚动编辑器以便使指定行范围在编辑器中垂直居中显示,但仅当该范围不在视口中时才滚动
其中,startLineNumber 和 endLineNumber 参数是数字,表示要滚动到的行号范围;scrollType 参数是一个 ScrollType 枚举值,表示滚动的类型。如果省略该参数,则默认为 ScrollType.Smooth。 示例:
const editor = monaco.editor.create(document.getElementById('container'), {
+ value: 'Hello, world!\\nHow are you?\\nI am fine, thank you!',
+ language: 'plaintext'
+});
+
+editor.revealLinesInCenterIfOutsideViewport(2, 3);
+
revealLinesNearTop
- 语法:
revealLinesNearTop(startLineNumber: number, endLineNumber: number, scrollType?: ScrollType): void
- 参数:
startLineNumber, endLineNumber, scrollType
- 返回值:
-
- 描述:
滚动编辑器以便使指定行范围在编辑器中靠近顶部显示
其中,startLineNumber 和 endLineNumber 参数是数字,表示要滚动到的行号范围;scrollType 参数是一个 ScrollType 枚举值,表示滚动的类型。如果省略该参数,则默认为 ScrollType.Smooth。 示例:
const editor = monaco.editor.create(document.getElementById('container'), {
+ value: 'Hello, world!\\nHow are you?\\nI am fine, thank you!',
+ language: 'plaintext'
+});
+
+editor.revealLinesNearTop(2, 3);
+
revealPosition
- 语法:
revealPosition(position: IPosition, scrollType?: ScrollType): void
- 参数:
position, scrollType
- 返回值:
-
- 描述:
滚动编辑器以便使指定位置可见
其中,position 参数是一个 IPosition 对象,表示要滚动到的位置;scrollType 参数是一个 ScrollType 枚举值,表示滚动的类型。如果省略该参数,则默认为 ScrollType.Smooth。 示例:
const editor = monaco.editor.create(document.getElementById('container'), {
+ value: 'Hello, world!',
+ language: 'plaintext'
+});
+
+editor.revealPosition({ lineNumber: 1, column: 6 });
+
revealPositionInCenter
- 语法:
revealPositionInCenter(position: IPosition, scrollType?: ScrollType): void
- 参数:
position, scrollType
- 返回值:
-
- 描述:
滚动编辑器以便使指定位置在编辑器中垂直居中显示
其中,position 参数是一个 IPosition 对象,表示要滚动到的位置;scrollType 参数是一个 ScrollType 枚举值,表示滚动的类型。如果省略该参数,则默认为 ScrollType.Smooth。 示例:
const editor = monaco.editor.create(document.getElementById('container'), {
+ value: 'Hello, world!',
+ language: 'plaintext'
+});
+
+editor.revealPositionInCenter({ lineNumber: 1, column: 6 });
+
revealPositionInCenterIfOutsideViewport
- 语法:
revealPositionInCenterIfOutsideViewport(position: IPosition, scrollType?: ScrollType): void
- 参数:
position, scrollType
- 返回值:
-
- 描述:
滚动编辑器以便使指定位置在编辑器中垂直居中显示,但仅当该位置不在视口中时才滚动
其中,position 参数是一个 IPosition 对象,表示要滚动到的位置;scrollType 参数是一个 ScrollType 枚举值,表示滚动的类型。如果省略该参数,则默认为 ScrollType.Smooth。 示例:
const editor = monaco.editor.create(document.getElementById('container'), {
+ value: 'Hello, world!',
+ language: 'plaintext'
+});
+
+editor.revealPositionInCenterIfOutsideViewport({ lineNumber: 1, column: 6 });
+
+
revealPositionNearTop
- 语法:
revealPositionNearTop(position: IPosition, scrollType?: ScrollType): void
- 参数:
position, scrollType
- 返回值:
-
- 描述:
滚动编辑器以便使指定位置在编辑器中靠近顶部显示
其中,position 参数是一个 IPosition 对象,表示要滚动到的位置;scrollType 参数是一个 ScrollType 枚举值,表示滚动的类型。如果省略该参数,则默认为 ScrollType.Smooth。
示例:
const editor = monaco.editor.create(document.getElementById('container'), {
+value: 'Hello, world!',
+language: 'plaintext'
+});
+
+editor.revealPositionNearTop({ lineNumber: 1, column: 6 });
+
+
revealRange
- 语法:
revealRange(range: IRange, scrollType?: ScrollType): void
- 参数:
range, scrollType
- 返回值:
-
- 描述:
滚动编辑器以便使指定范围可见
其中,range 参数是一个 IRange 对象,表示要滚动到的范围;scrollType 参数是一个 ScrollType 枚举值,表示滚动的类型。如果省略该参数,则默认为 ScrollType.Smooth。
示例:
const editor = monaco.editor.create(document.getElementById('container'), {
+value: 'Hello, world!\\nHow are you?\\nI am fine, thank you!',
+language: 'plaintext'
+});
+
+editor.revealRange({ startLineNumber: 2, startColumn: 1, endLineNumber: 3, endColumn: 5 });
+
+
revealRangeAtTop
- 语法:
revealRangeAtTop(range: IRange, scrollType?: ScrollType): void
- 参数:
range, scrollType
- 返回值:
-
- 描述:
滚动编辑器以便使指定范围在编辑器中靠近顶部显示
其中,range 参数是一个 IRange 对象,表示要滚动到的范围;scrollType 参数是一个 ScrollType 枚举值,表示滚动的类型。如果省略该参数,则默认为 ScrollType.Smooth。
示例:
const editor = monaco.editor.create(document.getElementById('container'), {
+value: 'Hello, world!\\nHow are you?\\nI am fine, thank you!',
+language: 'plaintext'
+});
+
+editor.revealRangeAtTop({ startLineNumber: 2, startColumn: 1, endLineNumber: 3, endColumn: 5 });
+
+
revealRangeInCenter
- 语法:
revealRangeInCenter(range: IRange, scrollType?: ScrollType): void
- 参数:
range, scrollType
- 返回值:
-
- 描述:
滚动编辑器以便使指定范围在编辑器中垂直居中显示
其中,range 参数是一个 IRange 对象,表示要滚动到的范围;scrollType 参数是一个 ScrollType 枚举值,表示滚动的类型。如果省略该参数,则默认为 ScrollType.Smooth。
示例:
const editor = monaco.editor.create(document.getElementById('container'), {
+value: 'Hello, world!\\nHow are you?\\nI am fine, thank you!',
+language: 'plaintext'
+});
+
+editor.revealRangeInCenter({ startLineNumber: 2, startColumn: 1, endLineNumber: 3, endColumn: 5 });
+
+
revealRangeInCenterIfOutsideViewport
- 语法:
revealRangeInCenterIfOutsideViewport(range: IRange, scrollType?: ScrollType): void
- 参数:
range, scrollType
- 返回值:
-
- 描述:
滚动编辑器以便使指定范围在编辑器中垂直居中显示,但仅当该范围不在视口中时才滚动
其中,range 参数是一个 IRange 对象,表示要滚动到的范围;scrollType 参数是一个 ScrollType 枚举值,表示滚动的类型
。如果省略该参数,则默认为 ScrollType.Smooth。
示例:
const editor = monaco.editor.create(document.getElementById('container'), {
+ value: 'Hello, world!\\nHow are you?\\nI am fine, thank you!',
+ language: 'plaintext'
+});
+
+editor.revealRangeInCenterIfOutsideViewport({ startLineNumber: 2, startColumn: 1, endLineNumber: 3, endColumn: 5 });
+
revealRangeNearTop
- 语法:
revealRangeNearTop(range: IRange, scrollType?: ScrollType): void
- 参数:
range, scrollType
- 返回值:
-
- 描述:
滚动编辑器以便使指定范围在编辑器中靠近顶部显示
其中,range 参数是一个 IRange 对象,表示要滚动到的范围;scrollType 参数是一个 ScrollType 枚举值,表示滚动的类型。如果省略该参数,则默认为 ScrollType.Smooth。 示例:
const editor = monaco.editor.create(document.getElementById('container'), {
+ value: 'Hello, world!\\nHow are you?\\nI am fine, thank you!',
+ language: 'plaintext'
+});
+
+editor.revealRangeNearTop({ startLineNumber: 2, startColumn: 1, endLineNumber: 3, endColumn: 5 });
+
revealRangeNearTopIfOutsideViewport
- 语法:
revealRangeNearTopIfOutsideViewport(range: IRange, scrollType?: ScrollType): void
- 参数:
range, scrollType
- 返回值:
-
- 描述:
滚动编辑器以便使指定范围在编辑器中靠近顶部显示,但仅当该范围不在视口中时才滚动
其中,range 参数是一个 IRange 对象,表示要滚动到的范围;scrollType 参数是一个 ScrollType 枚举值,表示滚动的类型。如果省略该参数,则默认为 ScrollType.Smooth。 示例:
const editor = monaco.editor.create(document.getElementById('container'), {
+ value: 'Hello, world!\\nHow are you?\\nI am fine, thank you!',
+ language: 'plaintext'
+});
+
+editor.revealRangeNearTopIfOutsideViewport({ startLineNumber: 2, startColumn: 1, endLineNumber: 3, endColumn: 5 });
+
saveViewState
- 语法:
saveViewState(): ICodeEditorViewState | null
- 参数:
-
- 返回值:
ICodeEditorViewState | null
- 描述:
保存编辑器的视图状态,以便在以后恢复
如果编辑器当前没有焦点,则返回 null。 示例:
const editor = monaco.editor.create(document.getElementById('container'), {
+ value: 'Hello, world!',
+ language: 'plaintext'
+});
+
+const viewState = editor.saveViewState();
+
setBanner
- 语法:
setBanner(banner: IBanner): IDisposable
- 参数:
banner
- 返回值:
IDisposable
- 描述:
设置编辑器的横幅(Banner)
其中,banner 参数是一个 IBanner 对象,用来描述要设置的横幅。它包含以下属性:
- text:横幅的文本内容。
- backgroundColor:横幅的背景颜色。
- color:横幅的文本颜色。
- actions:横幅的操作按钮,是一个数组,每个元素都是一个 IAction 对象。
setBanner 方法返回一个 IDisposable 对象,用来取消设置的横幅。 示例:
const editor = monaco.editor.create(document.getElementById('container'), {
+ value: '',
+ language: 'plaintext'
+});
+
+const banner = {
+ text: 'This is a banner',
+ backgroundColor: '#ff0000',
+ color: '#ffffff',
+ actions: [
+ {
+ id: 'banner-action',
+ label: 'Close',
+ run: () => {
+ disposable.dispose();
+ }
+ }
+ ]
+};
+
+const disposable = editor.setBanner(banner);
+
setModel
- 语法:
setModel(model: ITextModel): void
- 参数:
model
- 返回值:
-
- 描述:
设置编辑器的文本模型
其中,model 参数是一个 ITextModel 对象,表示要设置的文本模型。 示例:
const editor = monaco.editor.create(document.getElementById('container'), {
+ value: '',
+ language: 'plaintext'
+});
+
+const model = monaco.editor.createModel('Hello, world!', 'plaintext');
+editor.setModel(model);
+
setPosition
- 语法:
setPosition(position: IPosition): void
- 参数:
position
- 返回值:
-
- 描述:
设置编辑器的光标位置
其中,position 参数是一个 IPosition 对象,表示要设置的光标位置。 示例:
const editor = monaco.editor.create(document.getElementById('container'), {
+ value: 'Hello, world!',
+ language: 'plaintext'
+});
+
+editor.setPosition({ lineNumber: 1, column: 6 });
+
- 语法:
setScrollPosition(position: INewScrollPosition): void
- 参数:
position
- 返回值:
-
- 描述:
设置编辑器的滚动位置
其中,position 参数是一个 INewScrollPosition 对象,表示要设置的滚动位置。它包含以下属性:
- scrollTop:滚动条的垂直位置。
- scrollLeft:滚动条的水平位置。
- scrollWidth:滚动条的宽度。
- scrollHeight:滚动条的高度。
示例:
const editor = monaco.editor.create(document.getElementById('container'), {
+ value: 'Hello, world!',
+ language: 'plaintext'
+});
+
+editor.setScrollPosition({ scrollTop: 100, scrollLeft: 50 });
+
setSelection
- 语法:
setSelection(selection: ISelection): void
- 参数:
selection
- 返回值:
-
- 描述:
设置编辑器的选区
其中,selection 参数是一个 ISelection 对象,表示要设置的选区。 示例:
const editor = monaco.editor.create(document.getElementById('container'), {
+ value: 'Hello, world!',
+ language: 'plaintext'
+});
+
+editor.setSelection({ startLineNumber: 1, startColumn: 1, endLineNumber: 1, endColumn: 5 });
+
trigger
- 语法:
trigger(source: string, handlerId: string, payload?: any): void
- 参数:
source, handlerId, payload
- 返回值:
-
- 描述:
触发编辑器的命令处理器
如果版本是0.30的请用以下方式触发
editor.getAction(handlerId : string | array)._run()
editor.getAction('editor.action.formatDocument')._run()
+
其中,source 参数是一个字符串,表示命令的来源;handlerId 参数是一个字符串,表示要触发的命令处理器的 ID;payload 参数是一个任意类型的值,表示要传递给命令处理器的数据。 示例:
const editor = monaco.editor.create(document.getElementById('container'), {
+ value: 'Hello, world!',
+ language: 'plaintext'
+});
+
+editor.trigger('my-source', 'my-handler', { data: 'Hello' });
+
updateOptions
- 语法:
updateOptions(newOptions: IEditorOptions): void
- 参数:
newOptions
- 返回值:
-
- 描述:
更新编辑器的选项
其中,newOptions 参数是一个 IEditorOptions 对象,表示要更新的选项。 示例:
const editor = monaco.editor.create(document.getElementById('container'), {
+ value: 'Hello, world!',
+ language: 'plaintext'
+});
+
+editor.updateOptions({ readOnly: true });
+
writeScreenReaderContent
- 语法:
writeScreenReaderContent(content: string): IDisposable
- 参数:
content
- 返回值:
IDisposable
- 描述:
向编辑器的屏幕阅读器输出内容
其中,content 参数是一个字符串,表示要输出的内容。writeScreenReaderContent 方法返回一个 IDisposable 对象,用来取消输出的内容。 示例:
const editor = monaco.editor.create(document.getElementById('container'), {
+ value: '',
+ language: 'plaintext'
+});
+
+const disposable = editor.writeScreenReaderContent('This is a message for screen readers');
+
+
`,341);function S(N,L){const D=e("ExternalLinkIcon"),l=e("RouterLink");return r(),t("div",null,[d,s("p",null,[y,n(),s("a",C,[n("官网地址"),a(D)])]),v,u,E,s("ul",null,[s("li",null,[n("参数: "),a(l,{to:"/editor/interfaces/IEditorMouseEvent.html"},{default:o(()=>[n("monaco.editor.IEditorMouseEvent")]),_:1})]),m,b]),F,s("ul",null,[s("li",null,[n("语法: "),g,n("decorations?: "),a(l,{to:"/editor/interfaces/IModelDeltaDecoration.html"},{default:o(()=>[n("IModelDeltaDecoration")]),_:1}),n("[]"),h,n(),a(l,{to:"/editor/interfaces/IEditorDecorationsCollection.html"},{default:o(()=>[n("IEditorDecorationsCollection")]),_:1})]),s("li",null,[n("参数: "),a(l,{to:"/editor/interfaces/IModelDeltaDecoration.html"},{default:o(()=>[n("IModelDeltaDecoration")]),_:1}),n("[] "),A]),s("li",null,[n("返回值: "),a(l,{to:"/editor/interfaces/IEditorDecorationsCollection.html"},{default:o(()=>[n("IEditorDecorationsCollection")]),_:1})]),x]),I,s("ul",null,[s("li",null,[n("语法: "),k,n(),a(l,{to:"/editor/interfaces/IModelDeltaDecoration.html"},{default:o(()=>[n("IModelDeltaDecoration")]),_:1}),n(),B]),f,w,j]),T])}const P=c(i,[["render",S],["__file","ICodeEditor.html.vue"]]);export{P as default};
diff --git a/assets/ICodeEditorOpener.html-2451b953.js b/assets/ICodeEditorOpener.html-2451b953.js
new file mode 100644
index 00000000..7b0026c9
--- /dev/null
+++ b/assets/ICodeEditorOpener.html-2451b953.js
@@ -0,0 +1,15 @@
+import{_ as t}from"./plugin-vue_export-helper-c27b6911.js";import{r as l,o as r,c,a as s,b as n,d as o,w as a,e as i}from"./app-5f5ef0a9.js";const D={},d=s("h1",{id:"icodeeditoropener",tabindex:"-1"},[s("a",{class:"header-anchor",href:"#icodeeditoropener","aria-hidden":"true"},"#"),n(" ICodeEditorOpener")],-1),y=s("code",null,"interface",-1),C={href:"https://microsoft.github.io/monaco-editor/docs.html#interfaces/editor.ICodeEditorOpener.html",target:"_blank",rel:"noopener noreferrer"},u=s("h2",{id:"方法-methods",tabindex:"-1"},[s("a",{class:"header-anchor",href:"#方法-methods","aria-hidden":"true"},"#"),n(" 方法 Methods")],-1),m=s("h3",{id:"opencodeeditor",tabindex:"-1"},[s("a",{class:"header-anchor",href:"#opencodeeditor","aria-hidden":"true"},"#"),n(" openCodeEditor")],-1),h=s("li",null,[n("语法: "),s("code",null,"openCodeEditor(source: ICodeEditor, resource: Uri, selectionOrPosition?: IPosition | IRange): boolean | Promise")],-1),_=s("code",null,"可选",-1),v=s("li",null,[n("返回值: "),s("code",null,"boolean"),n(" | "),s("code",null,"Promise")],-1),E=s("li",null,[n("描述: "),s("code",null,"当应打开当前模型以外的资源时调用的回调(例如,当调用“转到定义”时)。如果请求已处理,回调应返回 true,否则返回 false。")],-1),b=i(`import * as monaco from 'monaco-editor';
+
+// 获取要编辑的文档对象
+const uri = monaco.Uri.parse('file:///path/to/my/file.js');
+
+// 获取要使用的编辑器对象
+const editor = monaco.editor.create(document, {
+ // 指定编辑器的选项
+});
+
+// 打开代码编辑器
+const selection = new monaco.Range(1, 1, 2, 1);
+const openedEditor = await monaco.editor.openCodeEditor(editor, uri, selection);
+
+
`,1);function f(F,A){const p=l("ExternalLinkIcon"),e=l("RouterLink");return r(),c("div",null,[d,s("p",null,[y,n(),s("a",C,[n("官网地址"),o(p)])]),u,m,s("ul",null,[h,s("li",null,[n("参数: "),s("ul",null,[s("li",null,[n("source: "),o(e,{to:"/editor/interfaces/ICodeEditor.html"},{default:a(()=>[n("ICodeEditor")]),_:1}),n(" 发起请求的代码编辑器实例。")]),s("li",null,[n("resource:"),o(e,{to:"/global/classes/Url.html"},{default:a(()=>[n("Url")]),_:1}),n(" 资源的 Uri")]),s("li",null,[n("selectionOrPosition:"),o(e,{to:"/global/interfaces/IPosition.html"},{default:a(()=>[n("IPosition")]),_:1}),n(" | "),o(e,{to:"/global/interfaces/IRange.html"},{default:a(()=>[n("IRange")]),_:1}),n(),_,n(" 可用于设置光标的资源的可选位置或选择。")])])]),v,E]),b])}const x=t(D,[["render",f],["__file","ICodeEditorOpener.html.vue"]]);export{x as default};
diff --git a/assets/ICodeEditorOpener.html-75aa628d.js b/assets/ICodeEditorOpener.html-75aa628d.js
new file mode 100644
index 00000000..785c15dc
--- /dev/null
+++ b/assets/ICodeEditorOpener.html-75aa628d.js
@@ -0,0 +1 @@
+const e=JSON.parse('{"key":"v-36f7bd0b","path":"/editor/interfaces/ICodeEditorOpener.html","title":"ICodeEditorOpener","lang":"zh-CN","frontmatter":{"description":"interface 官网地址 (https://microsoft.github.io/monaco-editor/docs.html#interfaces/editor.ICodeEditorOpener.html) 方法 Methods openCodeEditor 语法: openCodeEditor(source: ICodeEditor, r...","head":[["meta",{"property":"og:url","content":"http://aydk.site/editor/interfaces/ICodeEditorOpener.html"}],["meta",{"property":"og:site_name","content":"Monaco-editor 学习文档"}],["meta",{"property":"og:title","content":"ICodeEditorOpener"}],["meta",{"property":"og:description","content":"interface 官网地址 (https://microsoft.github.io/monaco-editor/docs.html#interfaces/editor.ICodeEditorOpener.html) 方法 Methods openCodeEditor 语法: openCodeEditor(source: ICodeEditor, r..."}],["meta",{"property":"og:type","content":"article"}],["meta",{"property":"og:locale","content":"zh-CN"}],["meta",{"property":"og:updated_time","content":"2023-06-16T20:04:45.000Z"}],["meta",{"property":"article:author","content":"aydk"}],["meta",{"property":"article:modified_time","content":"2023-06-16T20:04:45.000Z"}],["script",{"type":"application/ld+json"},"{\\"@context\\":\\"https://schema.org\\",\\"@type\\":\\"Article\\",\\"headline\\":\\"ICodeEditorOpener\\",\\"image\\":[\\"\\"],\\"dateModified\\":\\"2023-06-16T20:04:45.000Z\\",\\"author\\":[{\\"@type\\":\\"Person\\",\\"name\\":\\"aydk\\"}]}"]]},"headers":[{"level":2,"title":"方法 Methods","slug":"方法-methods","link":"#方法-methods","children":[{"level":3,"title":"openCodeEditor","slug":"opencodeeditor","link":"#opencodeeditor","children":[]}]}],"git":{"createdTime":1686945885000,"updatedTime":1686945885000,"contributors":[{"name":"xiaochaochao","email":"xiaochaochao","commits":1}]},"readingTime":{"minutes":0.67,"words":202},"filePathRelative":"editor/interfaces/ICodeEditorOpener.md","localizedDate":"2023年6月16日","autoDesc":true}');export{e as data};
diff --git a/assets/ICodeEditorViewState.html-01c4730a.js b/assets/ICodeEditorViewState.html-01c4730a.js
new file mode 100644
index 00000000..87f7fe5a
--- /dev/null
+++ b/assets/ICodeEditorViewState.html-01c4730a.js
@@ -0,0 +1 @@
+import{_ as l}from"./plugin-vue_export-helper-c27b6911.js";import{r as a,o as d,c as s,a as e,b as t,d as o,w as r,e as c}from"./app-5f5ef0a9.js";const h={},u=e("h1",{id:"icodeeditorviewstate",tabindex:"-1"},[e("a",{class:"header-anchor",href:"#icodeeditorviewstate","aria-hidden":"true"},"#"),t(" ICodeEditorViewState")],-1),_=e("code",null,"interface",-1),f={href:"https://microsoft.github.io/monaco-editor/docs.html#interfaces/editor.ICodeEditorViewState.html",target:"_blank",rel:"noopener noreferrer"},p=c('代码编辑器的(可序列化)状态。
属性 Properties
contributionsState
cursorState
',5),m=e("li",null,[t("默认值: "),e("code",null,"-")],-1),w=e("li",null,[t("可选项: "),e("code",null,"-")],-1),x=e("li",null,[t("描述: "),e("code",null,"光标的状态")],-1),S=e("h3",{id:"viewstate",tabindex:"-1"},[e("a",{class:"header-anchor",href:"#viewstate","aria-hidden":"true"},"#"),t(" viewState")],-1),b=e("li",null,[t("默认值: "),e("code",null,"-")],-1),I=e("li",null,[t("可选项: "),e("code",null,"-")],-1),V=e("li",null,[t("描述: "),e("code",null,"视图的(可序列化的)状态。")],-1);function v(C,k){const n=a("ExternalLinkIcon"),i=a("RouterLink");return d(),s("div",null,[u,e("p",null,[_,t(),e("a",f,[t("官网地址"),o(n)])]),p,e("ul",null,[e("li",null,[t("类型: "),o(i,{to:"/editor/interfaces/ICursorState.html"},{default:r(()=>[t("ICursorState")]),_:1}),t("[]")]),m,w,x]),S,e("ul",null,[e("li",null,[t("类型: "),o(i,{to:"/editor/interfaces/IViewState.html"},{default:r(()=>[t("IViewState")]),_:1})]),b,I,V])])}const N=l(h,[["render",v],["__file","ICodeEditorViewState.html.vue"]]);export{N as default};
diff --git a/assets/ICodeEditorViewState.html-ed873a2f.js b/assets/ICodeEditorViewState.html-ed873a2f.js
new file mode 100644
index 00000000..f014df67
--- /dev/null
+++ b/assets/ICodeEditorViewState.html-ed873a2f.js
@@ -0,0 +1 @@
+const t=JSON.parse('{"key":"v-d3da4ef8","path":"/editor/interfaces/ICodeEditorViewState.html","title":"ICodeEditorViewState","lang":"zh-CN","frontmatter":{"description":"interface 官网地址 (https://microsoft.github.io/monaco-editor/docs.html#interfaces/editor.ICodeEditorViewState.html) 代码编辑器的(可序列化)状态。 属性 Properties contributionsState 类型: 可选; 默认值: -;...","head":[["meta",{"property":"og:url","content":"http://aydk.site/editor/interfaces/ICodeEditorViewState.html"}],["meta",{"property":"og:site_name","content":"Monaco-editor 学习文档"}],["meta",{"property":"og:title","content":"ICodeEditorViewState"}],["meta",{"property":"og:description","content":"interface 官网地址 (https://microsoft.github.io/monaco-editor/docs.html#interfaces/editor.ICodeEditorViewState.html) 代码编辑器的(可序列化)状态。 属性 Properties contributionsState 类型: 可选; 默认值: -;..."}],["meta",{"property":"og:type","content":"article"}],["meta",{"property":"og:locale","content":"zh-CN"}],["meta",{"property":"og:updated_time","content":"2023-06-16T20:04:45.000Z"}],["meta",{"property":"article:author","content":"aydk"}],["meta",{"property":"article:modified_time","content":"2023-06-16T20:04:45.000Z"}],["script",{"type":"application/ld+json"},"{\\"@context\\":\\"https://schema.org\\",\\"@type\\":\\"Article\\",\\"headline\\":\\"ICodeEditorViewState\\",\\"image\\":[\\"\\"],\\"dateModified\\":\\"2023-06-16T20:04:45.000Z\\",\\"author\\":[{\\"@type\\":\\"Person\\",\\"name\\":\\"aydk\\"}]}"]]},"headers":[{"level":2,"title":"属性 Properties","slug":"属性-properties","link":"#属性-properties","children":[{"level":3,"title":"contributionsState","slug":"contributionsstate","link":"#contributionsstate","children":[]},{"level":3,"title":"cursorState","slug":"cursorstate","link":"#cursorstate","children":[]},{"level":3,"title":"viewState","slug":"viewstate","link":"#viewstate","children":[]}]}],"git":{"createdTime":1686945885000,"updatedTime":1686945885000,"contributors":[{"name":"xiaochaochao","email":"xiaochaochao","commits":1}]},"readingTime":{"minutes":0.26,"words":79},"filePathRelative":"editor/interfaces/ICodeEditorViewState.md","localizedDate":"2023年6月16日","autoDesc":true}');export{t as data};
diff --git a/assets/IColor.html-138bae26.js b/assets/IColor.html-138bae26.js
new file mode 100644
index 00000000..21edd321
--- /dev/null
+++ b/assets/IColor.html-138bae26.js
@@ -0,0 +1 @@
+const e=JSON.parse('{"key":"v-039026c8","path":"/language/interfaces/IColor.html","title":"IColor","lang":"zh-CN","frontmatter":{"description":"interface 官网地址 (https://microsoft.github.io/monaco-editor/docs.html#interfaces/languages.IColor.html) 属性 Properties 方法 Methods","head":[["meta",{"property":"og:url","content":"http://aydk.site/language/interfaces/IColor.html"}],["meta",{"property":"og:site_name","content":"Monaco-editor 学习文档"}],["meta",{"property":"og:title","content":"IColor"}],["meta",{"property":"og:description","content":"interface 官网地址 (https://microsoft.github.io/monaco-editor/docs.html#interfaces/languages.IColor.html) 属性 Properties 方法 Methods"}],["meta",{"property":"og:type","content":"article"}],["meta",{"property":"og:locale","content":"zh-CN"}],["meta",{"property":"og:updated_time","content":"2023-06-16T19:55:24.000Z"}],["meta",{"property":"article:author","content":"aydk"}],["meta",{"property":"article:modified_time","content":"2023-06-16T19:55:24.000Z"}],["script",{"type":"application/ld+json"},"{\\"@context\\":\\"https://schema.org\\",\\"@type\\":\\"Article\\",\\"headline\\":\\"IColor\\",\\"image\\":[\\"\\"],\\"dateModified\\":\\"2023-06-16T19:55:24.000Z\\",\\"author\\":[{\\"@type\\":\\"Person\\",\\"name\\":\\"aydk\\"}]}"]]},"headers":[{"level":2,"title":"属性 Properties","slug":"属性-properties","link":"#属性-properties","children":[]},{"level":2,"title":"方法 Methods","slug":"方法-methods","link":"#方法-methods","children":[]}],"git":{"createdTime":1686945324000,"updatedTime":1686945324000,"contributors":[{"name":"xiaochaochao","email":"xiaochaochao","commits":1}]},"readingTime":{"minutes":0.05,"words":16},"filePathRelative":"language/interfaces/IColor.md","localizedDate":"2023年6月16日","autoDesc":true}');export{e as data};
diff --git a/assets/IColor.html-211b1b1f.js b/assets/IColor.html-211b1b1f.js
new file mode 100644
index 00000000..796b4830
--- /dev/null
+++ b/assets/IColor.html-211b1b1f.js
@@ -0,0 +1 @@
+import{_ as t}from"./plugin-vue_export-helper-c27b6911.js";import{r as a,o as n,c as s,a as e,b as o,d as c}from"./app-5f5ef0a9.js";const i={},d=e("h1",{id:"icolor",tabindex:"-1"},[e("a",{class:"header-anchor",href:"#icolor","aria-hidden":"true"},"#"),o(" IColor")],-1),h=e("code",null,"interface",-1),l={href:"https://microsoft.github.io/monaco-editor/docs.html#interfaces/languages.IColor.html",target:"_blank",rel:"noopener noreferrer"},_=e("h2",{id:"属性-properties",tabindex:"-1"},[e("a",{class:"header-anchor",href:"#属性-properties","aria-hidden":"true"},"#"),o(" 属性 Properties")],-1),f=e("h2",{id:"方法-methods",tabindex:"-1"},[e("a",{class:"header-anchor",href:"#方法-methods","aria-hidden":"true"},"#"),o(" 方法 Methods")],-1);function m(p,u){const r=a("ExternalLinkIcon");return n(),s("div",null,[d,e("p",null,[h,o(),e("a",l,[o("官网地址"),c(r)])]),_,f])}const I=t(i,[["render",m],["__file","IColor.html.vue"]]);export{I as default};
diff --git a/assets/IColorInformation.html-647f5839.js b/assets/IColorInformation.html-647f5839.js
new file mode 100644
index 00000000..09db2109
--- /dev/null
+++ b/assets/IColorInformation.html-647f5839.js
@@ -0,0 +1 @@
+import{_ as t}from"./plugin-vue_export-helper-c27b6911.js";import{r as n,o as a,c as i,a as e,b as o,d as s}from"./app-5f5ef0a9.js";const c={},d=e("h1",{id:"icolorinformation",tabindex:"-1"},[e("a",{class:"header-anchor",href:"#icolorinformation","aria-hidden":"true"},"#"),o(" IColorInformation")],-1),h=e("code",null,"interface",-1),l={href:"https://microsoft.github.io/monaco-editor/docs.html#interfaces/languages.IColorInformation.html",target:"_blank",rel:"noopener noreferrer"},_=e("h2",{id:"属性-properties",tabindex:"-1"},[e("a",{class:"header-anchor",href:"#属性-properties","aria-hidden":"true"},"#"),o(" 属性 Properties")],-1),f=e("h2",{id:"方法-methods",tabindex:"-1"},[e("a",{class:"header-anchor",href:"#方法-methods","aria-hidden":"true"},"#"),o(" 方法 Methods")],-1);function m(p,u){const r=n("ExternalLinkIcon");return a(),i("div",null,[d,e("p",null,[h,o(),e("a",l,[o("官网地址"),s(r)])]),_,f])}const b=t(c,[["render",m],["__file","IColorInformation.html.vue"]]);export{b as default};
diff --git a/assets/IColorInformation.html-a5b972a2.js b/assets/IColorInformation.html-a5b972a2.js
new file mode 100644
index 00000000..b65f8f1f
--- /dev/null
+++ b/assets/IColorInformation.html-a5b972a2.js
@@ -0,0 +1 @@
+const t=JSON.parse('{"key":"v-efa26c04","path":"/language/interfaces/IColorInformation.html","title":"IColorInformation","lang":"zh-CN","frontmatter":{"description":"interface 官网地址 (https://microsoft.github.io/monaco-editor/docs.html#interfaces/languages.IColorInformation.html) 属性 Properties 方法 Methods","head":[["meta",{"property":"og:url","content":"http://aydk.site/language/interfaces/IColorInformation.html"}],["meta",{"property":"og:site_name","content":"Monaco-editor 学习文档"}],["meta",{"property":"og:title","content":"IColorInformation"}],["meta",{"property":"og:description","content":"interface 官网地址 (https://microsoft.github.io/monaco-editor/docs.html#interfaces/languages.IColorInformation.html) 属性 Properties 方法 Methods"}],["meta",{"property":"og:type","content":"article"}],["meta",{"property":"og:locale","content":"zh-CN"}],["meta",{"property":"og:updated_time","content":"2023-06-16T19:55:24.000Z"}],["meta",{"property":"article:author","content":"aydk"}],["meta",{"property":"article:modified_time","content":"2023-06-16T19:55:24.000Z"}],["script",{"type":"application/ld+json"},"{\\"@context\\":\\"https://schema.org\\",\\"@type\\":\\"Article\\",\\"headline\\":\\"IColorInformation\\",\\"image\\":[\\"\\"],\\"dateModified\\":\\"2023-06-16T19:55:24.000Z\\",\\"author\\":[{\\"@type\\":\\"Person\\",\\"name\\":\\"aydk\\"}]}"]]},"headers":[{"level":2,"title":"属性 Properties","slug":"属性-properties","link":"#属性-properties","children":[]},{"level":2,"title":"方法 Methods","slug":"方法-methods","link":"#方法-methods","children":[]}],"git":{"createdTime":1686945324000,"updatedTime":1686945324000,"contributors":[{"name":"xiaochaochao","email":"xiaochaochao","commits":1}]},"readingTime":{"minutes":0.05,"words":16},"filePathRelative":"language/interfaces/IColorInformation.md","localizedDate":"2023年6月16日","autoDesc":true}');export{t as data};
diff --git a/assets/IColorPresentation.html-0dc55514.js b/assets/IColorPresentation.html-0dc55514.js
new file mode 100644
index 00000000..d1654056
--- /dev/null
+++ b/assets/IColorPresentation.html-0dc55514.js
@@ -0,0 +1 @@
+const e=JSON.parse('{"key":"v-695b4d64","path":"/language/interfaces/IColorPresentation.html","title":"IColorPresentation","lang":"zh-CN","frontmatter":{"description":"interface 官网地址 (https://microsoft.github.io/monaco-editor/docs.html#interfaces/languages.IColorPresentation.html) 属性 Properties 方法 Methods","head":[["meta",{"property":"og:url","content":"http://aydk.site/language/interfaces/IColorPresentation.html"}],["meta",{"property":"og:site_name","content":"Monaco-editor 学习文档"}],["meta",{"property":"og:title","content":"IColorPresentation"}],["meta",{"property":"og:description","content":"interface 官网地址 (https://microsoft.github.io/monaco-editor/docs.html#interfaces/languages.IColorPresentation.html) 属性 Properties 方法 Methods"}],["meta",{"property":"og:type","content":"article"}],["meta",{"property":"og:locale","content":"zh-CN"}],["meta",{"property":"og:updated_time","content":"2023-06-16T19:55:24.000Z"}],["meta",{"property":"article:author","content":"aydk"}],["meta",{"property":"article:modified_time","content":"2023-06-16T19:55:24.000Z"}],["script",{"type":"application/ld+json"},"{\\"@context\\":\\"https://schema.org\\",\\"@type\\":\\"Article\\",\\"headline\\":\\"IColorPresentation\\",\\"image\\":[\\"\\"],\\"dateModified\\":\\"2023-06-16T19:55:24.000Z\\",\\"author\\":[{\\"@type\\":\\"Person\\",\\"name\\":\\"aydk\\"}]}"]]},"headers":[{"level":2,"title":"属性 Properties","slug":"属性-properties","link":"#属性-properties","children":[]},{"level":2,"title":"方法 Methods","slug":"方法-methods","link":"#方法-methods","children":[]}],"git":{"createdTime":1686945324000,"updatedTime":1686945324000,"contributors":[{"name":"xiaochaochao","email":"xiaochaochao","commits":1}]},"readingTime":{"minutes":0.05,"words":16},"filePathRelative":"language/interfaces/IColorPresentation.md","localizedDate":"2023年6月16日","autoDesc":true}');export{e as data};
diff --git a/assets/IColorPresentation.html-c9e8aabb.js b/assets/IColorPresentation.html-c9e8aabb.js
new file mode 100644
index 00000000..7a8a28ca
--- /dev/null
+++ b/assets/IColorPresentation.html-c9e8aabb.js
@@ -0,0 +1 @@
+import{_ as r}from"./plugin-vue_export-helper-c27b6911.js";import{r as n,o as a,c as s,a as e,b as o,d as i}from"./app-5f5ef0a9.js";const c={},d=e("h1",{id:"icolorpresentation",tabindex:"-1"},[e("a",{class:"header-anchor",href:"#icolorpresentation","aria-hidden":"true"},"#"),o(" IColorPresentation")],-1),h=e("code",null,"interface",-1),l={href:"https://microsoft.github.io/monaco-editor/docs.html#interfaces/languages.IColorPresentation.html",target:"_blank",rel:"noopener noreferrer"},_=e("h2",{id:"属性-properties",tabindex:"-1"},[e("a",{class:"header-anchor",href:"#属性-properties","aria-hidden":"true"},"#"),o(" 属性 Properties")],-1),p=e("h2",{id:"方法-methods",tabindex:"-1"},[e("a",{class:"header-anchor",href:"#方法-methods","aria-hidden":"true"},"#"),o(" 方法 Methods")],-1);function f(m,u){const t=n("ExternalLinkIcon");return a(),s("div",null,[d,e("p",null,[h,o(),e("a",l,[o("官网地址"),i(t)])]),_,p])}const I=r(c,[["render",f],["__file","IColorPresentation.html.vue"]]);export{I as default};
diff --git a/assets/IColorizerElementOptions.html-29c42c00.js b/assets/IColorizerElementOptions.html-29c42c00.js
new file mode 100644
index 00000000..4d651f99
--- /dev/null
+++ b/assets/IColorizerElementOptions.html-29c42c00.js
@@ -0,0 +1 @@
+const e=JSON.parse('{"key":"v-5025bf13","path":"/editor/interfaces/IColorizerElementOptions.html","title":"IColorizerElementOptions","lang":"zh-CN","frontmatter":{"description":"interface 官网地址 (https://microsoft.github.io/monaco-editor/docs.html#interfaces/editor.IColorizerElementOptions.html) 继承关系:IColorizerOptions (IColorizerOptions.md) > IColorizerEl...","head":[["meta",{"property":"og:url","content":"http://aydk.site/editor/interfaces/IColorizerElementOptions.html"}],["meta",{"property":"og:site_name","content":"Monaco-editor 学习文档"}],["meta",{"property":"og:title","content":"IColorizerElementOptions"}],["meta",{"property":"og:description","content":"interface 官网地址 (https://microsoft.github.io/monaco-editor/docs.html#interfaces/editor.IColorizerElementOptions.html) 继承关系:IColorizerOptions (IColorizerOptions.md) > IColorizerEl..."}],["meta",{"property":"og:type","content":"article"}],["meta",{"property":"og:locale","content":"zh-CN"}],["meta",{"property":"og:updated_time","content":"2023-06-16T20:04:45.000Z"}],["meta",{"property":"article:author","content":"aydk"}],["meta",{"property":"article:modified_time","content":"2023-06-16T20:04:45.000Z"}],["script",{"type":"application/ld+json"},"{\\"@context\\":\\"https://schema.org\\",\\"@type\\":\\"Article\\",\\"headline\\":\\"IColorizerElementOptions\\",\\"image\\":[\\"\\"],\\"dateModified\\":\\"2023-06-16T20:04:45.000Z\\",\\"author\\":[{\\"@type\\":\\"Person\\",\\"name\\":\\"aydk\\"}]}"]]},"headers":[{"level":2,"title":"属性 Properties","slug":"属性-properties","link":"#属性-properties","children":[{"level":3,"title":"mimeType","slug":"mimetype","link":"#mimetype","children":[]},{"level":3,"title":"tabSize","slug":"tabsize","link":"#tabsize","children":[]},{"level":3,"title":"theme","slug":"theme","link":"#theme","children":[]}]}],"git":{"createdTime":1686945885000,"updatedTime":1686945885000,"contributors":[{"name":"xiaochaochao","email":"xiaochaochao","commits":1}]},"readingTime":{"minutes":0.51,"words":153},"filePathRelative":"editor/interfaces/IColorizerElementOptions.md","localizedDate":"2023年6月16日","autoDesc":true}');export{e as data};
diff --git a/assets/IColorizerElementOptions.html-fe51498a.js b/assets/IColorizerElementOptions.html-fe51498a.js
new file mode 100644
index 00000000..58ec3499
--- /dev/null
+++ b/assets/IColorizerElementOptions.html-fe51498a.js
@@ -0,0 +1 @@
+import{_ as l}from"./plugin-vue_export-helper-c27b6911.js";import{r as i,o as a,c as n,a as o,b as e,d as t,w as d,e as s}from"./app-5f5ef0a9.js";const h={},m=o("h1",{id:"icolorizerelementoptions",tabindex:"-1"},[o("a",{class:"header-anchor",href:"#icolorizerelementoptions","aria-hidden":"true"},"#"),e(" IColorizerElementOptions")],-1),p=o("code",null,"interface",-1),_={href:"https://microsoft.github.io/monaco-editor/docs.html#interfaces/editor.IColorizerElementOptions.html",target:"_blank",rel:"noopener noreferrer"},u=s(' 属性 Properties
mimeType
- 类型:
string
可选
- 默认值:
-
- 可选项:
-
- 描述:
用于指定编辑器中的文本类型。它是一个字符串值,通常使用文件扩展名来表示。例如, .js 文件的 mimeType 是 application/javascript , .html 文件的 mimeType 是 text/html 。当 mimeType 设置为支持的文本类型时,编辑器将自动加载相关的语言支持和插件。
tabSize
- 类型:
number
可选
- 默认值:
-
- 可选项:
-
- 描述:
缩进代表空格的大小
theme
- 类型:
string
可选
- 默认值:
-
- 可选项:
-
- 描述:
主题
',7);function f(x,b){const r=i("ExternalLinkIcon"),c=i("RouterLink");return a(),n("div",null,[m,o("p",null,[p,e(),o("a",_,[e("官网地址"),t(r)])]),o("p",null,[e("继承关系:"),t(c,{to:"/editor/interfaces/IColorizerOptions.html"},{default:d(()=>[e("IColorizerOptions")]),_:1}),e(" > IColorizerElementOptions")]),u])}const I=l(h,[["render",f],["__file","IColorizerElementOptions.html.vue"]]);export{I as default};
diff --git a/assets/IColorizerOptions.html-8c28bb1e.js b/assets/IColorizerOptions.html-8c28bb1e.js
new file mode 100644
index 00000000..8041b71f
--- /dev/null
+++ b/assets/IColorizerOptions.html-8c28bb1e.js
@@ -0,0 +1 @@
+import{_ as a}from"./plugin-vue_export-helper-c27b6911.js";import{r as t,o as c,c as s,a as e,b as o,d as r,w as l,e as d}from"./app-5f5ef0a9.js";const h={},p=e("h1",{id:"icolorizeroptions",tabindex:"-1"},[e("a",{class:"header-anchor",href:"#icolorizeroptions","aria-hidden":"true"},"#"),o(" IColorizerOptions")],-1),_=e("code",null,"interface",-1),m={href:"https://microsoft.github.io/monaco-editor/docs.html#interfaces/editor.IColorizerOptions.html",target:"_blank",rel:"noopener noreferrer"},f=d(' 属性 Properties
tabSize
- 类型:
number
可选
- 默认值:
-
- 可选项:
-
- 描述:
缩进代表空格的大小
',3);function u(z,b){const i=t("ExternalLinkIcon"),n=t("RouterLink");return c(),s("div",null,[p,e("p",null,[_,o(),e("a",m,[o("官网地址"),r(i)])]),e("p",null,[o("挤成关系:继承关系:IColorizerOptions > "),r(n,{to:"/editor/interfaces/IColorizerElementOptions.html"},{default:l(()=>[o("IColorizerElementOptions")]),_:1})]),f])}const I=a(h,[["render",u],["__file","IColorizerOptions.html.vue"]]);export{I as default};
diff --git a/assets/IColorizerOptions.html-e2e1f586.js b/assets/IColorizerOptions.html-e2e1f586.js
new file mode 100644
index 00000000..a033a804
--- /dev/null
+++ b/assets/IColorizerOptions.html-e2e1f586.js
@@ -0,0 +1 @@
+const t=JSON.parse('{"key":"v-0a335102","path":"/editor/interfaces/IColorizerOptions.html","title":"IColorizerOptions","lang":"zh-CN","frontmatter":{"description":"interface 官网地址 (https://microsoft.github.io/monaco-editor/docs.html#interfaces/editor.IColorizerOptions.html) 挤成关系:继承关系:IColorizerOptions > IColorizerElementOptions (IColorizerE...","head":[["meta",{"property":"og:url","content":"http://aydk.site/editor/interfaces/IColorizerOptions.html"}],["meta",{"property":"og:site_name","content":"Monaco-editor 学习文档"}],["meta",{"property":"og:title","content":"IColorizerOptions"}],["meta",{"property":"og:description","content":"interface 官网地址 (https://microsoft.github.io/monaco-editor/docs.html#interfaces/editor.IColorizerOptions.html) 挤成关系:继承关系:IColorizerOptions > IColorizerElementOptions (IColorizerE..."}],["meta",{"property":"og:type","content":"article"}],["meta",{"property":"og:locale","content":"zh-CN"}],["meta",{"property":"og:updated_time","content":"2023-06-16T20:04:45.000Z"}],["meta",{"property":"article:author","content":"aydk"}],["meta",{"property":"article:modified_time","content":"2023-06-16T20:04:45.000Z"}],["script",{"type":"application/ld+json"},"{\\"@context\\":\\"https://schema.org\\",\\"@type\\":\\"Article\\",\\"headline\\":\\"IColorizerOptions\\",\\"image\\":[\\"\\"],\\"dateModified\\":\\"2023-06-16T20:04:45.000Z\\",\\"author\\":[{\\"@type\\":\\"Person\\",\\"name\\":\\"aydk\\"}]}"]]},"headers":[{"level":2,"title":"属性 Properties","slug":"属性-properties","link":"#属性-properties","children":[{"level":3,"title":"tabSize","slug":"tabsize","link":"#tabsize","children":[]}]}],"git":{"createdTime":1686945885000,"updatedTime":1686945885000,"contributors":[{"name":"xiaochaochao","email":"xiaochaochao","commits":1}]},"readingTime":{"minutes":0.16,"words":47},"filePathRelative":"editor/interfaces/IColorizerOptions.md","localizedDate":"2023年6月16日","autoDesc":true}');export{t as data};
diff --git a/assets/ICommand.html-27f5807e.js b/assets/ICommand.html-27f5807e.js
new file mode 100644
index 00000000..846216af
--- /dev/null
+++ b/assets/ICommand.html-27f5807e.js
@@ -0,0 +1 @@
+const t=JSON.parse('{"key":"v-7d26f4ab","path":"/editor/interfaces/ICommand.html","title":"ICommand","lang":"zh-CN","frontmatter":{"description":"interface 官网地址 (https://microsoft.github.io/monaco-editor/docs.html#interfaces/editor.ICommand.html) 修改模型上的文本/光标状态的命令 方法 Methods computeCursorState 语法: computeCursorState(model:...","head":[["meta",{"property":"og:url","content":"http://aydk.site/editor/interfaces/ICommand.html"}],["meta",{"property":"og:site_name","content":"Monaco-editor 学习文档"}],["meta",{"property":"og:title","content":"ICommand"}],["meta",{"property":"og:description","content":"interface 官网地址 (https://microsoft.github.io/monaco-editor/docs.html#interfaces/editor.ICommand.html) 修改模型上的文本/光标状态的命令 方法 Methods computeCursorState 语法: computeCursorState(model:..."}],["meta",{"property":"og:type","content":"article"}],["meta",{"property":"og:locale","content":"zh-CN"}],["meta",{"property":"og:updated_time","content":"2023-06-16T20:04:45.000Z"}],["meta",{"property":"article:author","content":"aydk"}],["meta",{"property":"article:modified_time","content":"2023-06-16T20:04:45.000Z"}],["script",{"type":"application/ld+json"},"{\\"@context\\":\\"https://schema.org\\",\\"@type\\":\\"Article\\",\\"headline\\":\\"ICommand\\",\\"image\\":[\\"\\"],\\"dateModified\\":\\"2023-06-16T20:04:45.000Z\\",\\"author\\":[{\\"@type\\":\\"Person\\",\\"name\\":\\"aydk\\"}]}"]]},"headers":[{"level":2,"title":"方法 Methods","slug":"方法-methods","link":"#方法-methods","children":[{"level":3,"title":"computeCursorState","slug":"computecursorstate","link":"#computecursorstate","children":[]},{"level":3,"title":"getEditOperations","slug":"geteditoperations","link":"#geteditoperations","children":[]}]}],"git":{"createdTime":1686945885000,"updatedTime":1686945885000,"contributors":[{"name":"xiaochaochao","email":"xiaochaochao","commits":1}]},"readingTime":{"minutes":0.33,"words":100},"filePathRelative":"editor/interfaces/ICommand.md","localizedDate":"2023年6月16日","autoDesc":true}');export{t as data};
diff --git a/assets/ICommand.html-59db7649.js b/assets/ICommand.html-59db7649.js
new file mode 100644
index 00000000..ae850b45
--- /dev/null
+++ b/assets/ICommand.html-59db7649.js
@@ -0,0 +1 @@
+import{_ as i}from"./plugin-vue_export-helper-c27b6911.js";import{r,o as d,c as s,a as e,b as t,d as o,w as n}from"./app-5f5ef0a9.js";const c={},u=e("h1",{id:"icommand",tabindex:"-1"},[e("a",{class:"header-anchor",href:"#icommand","aria-hidden":"true"},"#"),t(" ICommand")],-1),h=e("code",null,"interface",-1),_={href:"https://microsoft.github.io/monaco-editor/docs.html#interfaces/editor.ICommand.html",target:"_blank",rel:"noopener noreferrer"},m=e("p",null,"修改模型上的文本/光标状态的命令",-1),p=e("h2",{id:"方法-methods",tabindex:"-1"},[e("a",{class:"header-anchor",href:"#方法-methods","aria-hidden":"true"},"#"),t(" 方法 Methods")],-1),f=e("h3",{id:"computecursorstate",tabindex:"-1"},[e("a",{class:"header-anchor",href:"#computecursorstate","aria-hidden":"true"},"#"),t(" computeCursorState")],-1),I=e("li",null,[t("语法: "),e("code",null,"computeCursorState(model: ITextModel, helper: ICursorStateComputerData): Selection")],-1),x=e("li",null,[t("描述: "),e("code",null,"计算操作之后的光标状态")],-1),C=e("h3",{id:"geteditoperations",tabindex:"-1"},[e("a",{class:"header-anchor",href:"#geteditoperations","aria-hidden":"true"},"#"),t(" getEditOperations")],-1),b=e("li",null,[t("语法: "),e("code",null,"getEditOperations(model: ITextModel, builder: IEditOperationBuilder): void")],-1),E=e("li",null,[t("返回值: "),e("code",null,"-")],-1),S=e("li",null,[t("描述: "),e("code",null,"获取执行此命令所需的编辑操作。")],-1);function g(k,M){const a=r("ExternalLinkIcon"),l=r("RouterLink");return d(),s("div",null,[u,e("p",null,[h,t(),e("a",_,[t("官网地址"),o(a)])]),m,p,f,e("ul",null,[I,e("li",null,[t("参数: "),e("ul",null,[e("li",null,[t("model: "),o(l,{to:"/editor/interfaces/ITextModel.html"},{default:n(()=>[t("ITextModel")]),_:1})]),e("li",null,[t("helper: "),o(l,{to:"/editor/interfaces/ICursorStateComputerData.html"},{default:n(()=>[t("ICursorStateComputerData")]),_:1})])])]),e("li",null,[t("返回值: "),o(l,{to:"/global/classes/Selection.html"},{default:n(()=>[t("Selection")]),_:1})]),x]),C,e("ul",null,[b,e("li",null,[t("参数: "),e("ul",null,[e("li",null,[t("model: "),o(l,{to:"/editor/interfaces/ITextModel.html"},{default:n(()=>[t("ITextModel")]),_:1})]),e("li",null,[t("builder: "),o(l,{to:"/editor/interfaces/IEditOperationBuilder.html"},{default:n(()=>[t("IEditOperationBuilder")]),_:1})])])]),E,S])])}const O=i(c,[["render",g],["__file","ICommand.html.vue"]]);export{O as default};
diff --git a/assets/ICommandDescriptor.html-4dae2393.js b/assets/ICommandDescriptor.html-4dae2393.js
new file mode 100644
index 00000000..aacfc42a
--- /dev/null
+++ b/assets/ICommandDescriptor.html-4dae2393.js
@@ -0,0 +1 @@
+import{_ as i}from"./plugin-vue_export-helper-c27b6911.js";import{r,o as d,c,a as e,b as o,d as t,w as l,e as s}from"./app-5f5ef0a9.js";const h={},m=e("h1",{id:"icommanddescriptor",tabindex:"-1"},[e("a",{class:"header-anchor",href:"#icommanddescriptor","aria-hidden":"true"},"#"),o(" ICommandDescriptor")],-1),_=e("code",null,"interface",-1),u={href:"https://microsoft.github.io/monaco-editor/docs.html#interfaces/editor.ICommandDescriptor.html",target:"_blank",rel:"noopener noreferrer"},p=s(' 属性 Properties
id
- 类型:
string
- 默认值:
-
- 可选项:
-
- 描述:
命令的唯一ID
run
',4),f=e("li",null,[o("默认值: "),e("code",null,"-")],-1),x=e("li",null,[o("可选项: "),e("code",null,"-")],-1),I=e("li",null,[o("描述: "),e("code",null,"命令执行的回调")],-1);function C(b,k){const n=r("ExternalLinkIcon"),a=r("RouterLink");return d(),c("div",null,[m,e("p",null,[_,o(),e("a",u,[o("官网地址"),t(n)])]),p,e("ul",null,[e("li",null,[o("类型: "),t(a,{to:"/editor/interfaces/ICommandHandler.html"},{default:l(()=>[o("ICommandHandler")]),_:1})]),f,x,I])])}const N=i(h,[["render",C],["__file","ICommandDescriptor.html.vue"]]);export{N as default};
diff --git a/assets/ICommandDescriptor.html-76d8b7c8.js b/assets/ICommandDescriptor.html-76d8b7c8.js
new file mode 100644
index 00000000..cb83dca1
--- /dev/null
+++ b/assets/ICommandDescriptor.html-76d8b7c8.js
@@ -0,0 +1 @@
+const t=JSON.parse('{"key":"v-612187fc","path":"/editor/interfaces/ICommandDescriptor.html","title":"ICommandDescriptor","lang":"zh-CN","frontmatter":{"description":"interface 官网地址 (https://microsoft.github.io/monaco-editor/docs.html#interfaces/editor.ICommandDescriptor.html) 属性 Properties id 类型: string ; 默认值: -; 可选项: -; 描述: 命令的唯一ID; run 类型:...","head":[["meta",{"property":"og:url","content":"http://aydk.site/editor/interfaces/ICommandDescriptor.html"}],["meta",{"property":"og:site_name","content":"Monaco-editor 学习文档"}],["meta",{"property":"og:title","content":"ICommandDescriptor"}],["meta",{"property":"og:description","content":"interface 官网地址 (https://microsoft.github.io/monaco-editor/docs.html#interfaces/editor.ICommandDescriptor.html) 属性 Properties id 类型: string ; 默认值: -; 可选项: -; 描述: 命令的唯一ID; run 类型:..."}],["meta",{"property":"og:type","content":"article"}],["meta",{"property":"og:locale","content":"zh-CN"}],["meta",{"property":"og:updated_time","content":"2023-06-16T20:04:45.000Z"}],["meta",{"property":"article:author","content":"aydk"}],["meta",{"property":"article:modified_time","content":"2023-06-16T20:04:45.000Z"}],["script",{"type":"application/ld+json"},"{\\"@context\\":\\"https://schema.org\\",\\"@type\\":\\"Article\\",\\"headline\\":\\"ICommandDescriptor\\",\\"image\\":[\\"\\"],\\"dateModified\\":\\"2023-06-16T20:04:45.000Z\\",\\"author\\":[{\\"@type\\":\\"Person\\",\\"name\\":\\"aydk\\"}]}"]]},"headers":[{"level":2,"title":"属性 Properties","slug":"属性-properties","link":"#属性-properties","children":[{"level":3,"title":"id","slug":"id","link":"#id","children":[]},{"level":3,"title":"run","slug":"run","link":"#run","children":[]}]}],"git":{"createdTime":1686945885000,"updatedTime":1686945885000,"contributors":[{"name":"xiaochaochao","email":"xiaochaochao","commits":1}]},"readingTime":{"minutes":0.17,"words":51},"filePathRelative":"editor/interfaces/ICommandDescriptor.md","localizedDate":"2023年6月16日","autoDesc":true}');export{t as data};
diff --git a/assets/ICommandHandler.html-1422ff31.js b/assets/ICommandHandler.html-1422ff31.js
new file mode 100644
index 00000000..778dfa69
--- /dev/null
+++ b/assets/ICommandHandler.html-1422ff31.js
@@ -0,0 +1 @@
+const t=JSON.parse('{"key":"v-0ff01046","path":"/editor/interfaces/ICommandHandler.html","title":"ICommandHandler","lang":"zh-CN","frontmatter":{"description":"interface 官网地址 (https://microsoft.github.io/monaco-editor/docs.html#interfaces/editor.ICommandHandler.html)","head":[["meta",{"property":"og:url","content":"http://aydk.site/editor/interfaces/ICommandHandler.html"}],["meta",{"property":"og:site_name","content":"Monaco-editor 学习文档"}],["meta",{"property":"og:title","content":"ICommandHandler"}],["meta",{"property":"og:description","content":"interface 官网地址 (https://microsoft.github.io/monaco-editor/docs.html#interfaces/editor.ICommandHandler.html)"}],["meta",{"property":"og:type","content":"article"}],["meta",{"property":"og:locale","content":"zh-CN"}],["meta",{"property":"og:updated_time","content":"2023-06-16T20:04:45.000Z"}],["meta",{"property":"article:author","content":"aydk"}],["meta",{"property":"article:modified_time","content":"2023-06-16T20:04:45.000Z"}],["script",{"type":"application/ld+json"},"{\\"@context\\":\\"https://schema.org\\",\\"@type\\":\\"Article\\",\\"headline\\":\\"ICommandHandler\\",\\"image\\":[\\"\\"],\\"dateModified\\":\\"2023-06-16T20:04:45.000Z\\",\\"author\\":[{\\"@type\\":\\"Person\\",\\"name\\":\\"aydk\\"}]}"]]},"headers":[],"git":{"createdTime":1686945885000,"updatedTime":1686945885000,"contributors":[{"name":"xiaochaochao","email":"xiaochaochao","commits":1}]},"readingTime":{"minutes":0.05,"words":15},"filePathRelative":"editor/interfaces/ICommandHandler.md","localizedDate":"2023年6月16日","autoDesc":true}');export{t as data};
diff --git a/assets/ICommandHandler.html-360ba783.js b/assets/ICommandHandler.html-360ba783.js
new file mode 100644
index 00000000..ff5db0e0
--- /dev/null
+++ b/assets/ICommandHandler.html-360ba783.js
@@ -0,0 +1,2 @@
+import{_ as s}from"./plugin-vue_export-helper-c27b6911.js";import{r as o,o as r,c as t,a as e,b as a,d as l,e as c}from"./app-5f5ef0a9.js";const d={},i=e("h1",{id:"icommandhandler",tabindex:"-1"},[e("a",{class:"header-anchor",href:"#icommandhandler","aria-hidden":"true"},"#"),a(" ICommandHandler")],-1),m=e("code",null,"interface",-1),p={href:"https://microsoft.github.io/monaco-editor/docs.html#interfaces/editor.ICommandHandler.html",target:"_blank",rel:"noopener noreferrer"},_=c(`ICommandHandler(...args: any[]): void
+
`,1);function h(u,f){const n=o("ExternalLinkIcon");return r(),t("div",null,[i,e("p",null,[m,a(),e("a",p,[a("官网地址"),l(n)])]),_])}const v=s(d,[["render",h],["__file","ICommandHandler.html.vue"]]);export{v as default};
diff --git a/assets/IComputedEditorOptions.html-543cade7.js b/assets/IComputedEditorOptions.html-543cade7.js
new file mode 100644
index 00000000..2841079a
--- /dev/null
+++ b/assets/IComputedEditorOptions.html-543cade7.js
@@ -0,0 +1 @@
+import{_ as r}from"./plugin-vue_export-helper-c27b6911.js";import{r as o,o as s,c as a,a as e,b as t,d as n,w as l}from"./app-5f5ef0a9.js";const c={},h=e("h1",{id:"icomputededitoroptions",tabindex:"-1"},[e("a",{class:"header-anchor",href:"#icomputededitoroptions","aria-hidden":"true"},"#"),t(" IComputedEditorOptions")],-1),u=e("code",null,"interface",-1),_={href:"https://microsoft.github.io/monaco-editor/docs.html#interfaces/editor.IComputedEditorOptions.html",target:"_blank",rel:"noopener noreferrer"},p=e("h2",{id:"方法-methods",tabindex:"-1"},[e("a",{class:"header-anchor",href:"#方法-methods","aria-hidden":"true"},"#"),t(" 方法 Methods")],-1),m=e("h3",{id:"get",tabindex:"-1"},[e("a",{class:"header-anchor",href:"#get","aria-hidden":"true"},"#"),t(" get")],-1),f=e("li",null,[t("语法: "),e("code",null,"get(id: T): FindComputedEditorOptionValueById")],-1),x=e("li",null,[t("参数: "),e("ul",null,[e("li",null,"id: T")])],-1),E=e("li",null,"描述: ``",-1);function C(I,b){const i=o("ExternalLinkIcon"),d=o("RouterLink");return s(),a("div",null,[h,e("p",null,[u,t(),e("a",_,[t("官网地址"),n(i)])]),p,m,e("ul",null,[f,x,e("li",null,[t("返回值: "),n(d,{to:"/editor/aliase.html#findcomputededitoroptionvaluebyid"},{default:l(()=>[t("FindComputedEditorOptionValueById")]),_:1}),t("")]),E])])}const O=r(c,[["render",C],["__file","IComputedEditorOptions.html.vue"]]);export{O as default};
diff --git a/assets/IComputedEditorOptions.html-cecbae95.js b/assets/IComputedEditorOptions.html-cecbae95.js
new file mode 100644
index 00000000..070f465b
--- /dev/null
+++ b/assets/IComputedEditorOptions.html-cecbae95.js
@@ -0,0 +1 @@
+const t=JSON.parse('{"key":"v-961b331c","path":"/editor/interfaces/IComputedEditorOptions.html","title":"IComputedEditorOptions","lang":"zh-CN","frontmatter":{"description":"interface 官网地址 (https://microsoft.github.io/monaco-editor/docs.html#interfaces/editor.IComputedEditorOptions.html) 方法 Methods get 语法: get(id: T): FindComputedEditorOptionValueBy...","head":[["meta",{"property":"og:url","content":"http://aydk.site/editor/interfaces/IComputedEditorOptions.html"}],["meta",{"property":"og:site_name","content":"Monaco-editor 学习文档"}],["meta",{"property":"og:title","content":"IComputedEditorOptions"}],["meta",{"property":"og:description","content":"interface 官网地址 (https://microsoft.github.io/monaco-editor/docs.html#interfaces/editor.IComputedEditorOptions.html) 方法 Methods get 语法: get(id: T): FindComputedEditorOptionValueBy..."}],["meta",{"property":"og:type","content":"article"}],["meta",{"property":"og:locale","content":"zh-CN"}],["meta",{"property":"og:updated_time","content":"2023-06-16T20:30:26.000Z"}],["meta",{"property":"article:author","content":"aydk"}],["meta",{"property":"article:modified_time","content":"2023-06-16T20:30:26.000Z"}],["script",{"type":"application/ld+json"},"{\\"@context\\":\\"https://schema.org\\",\\"@type\\":\\"Article\\",\\"headline\\":\\"IComputedEditorOptions\\",\\"image\\":[\\"\\"],\\"dateModified\\":\\"2023-06-16T20:30:26.000Z\\",\\"author\\":[{\\"@type\\":\\"Person\\",\\"name\\":\\"aydk\\"}]}"]]},"headers":[{"level":2,"title":"方法 Methods","slug":"方法-methods","link":"#方法-methods","children":[{"level":3,"title":"get","slug":"get","link":"#get","children":[]}]}],"git":{"createdTime":1686945885000,"updatedTime":1686947426000,"contributors":[{"name":"xiaochaochao","email":"xiaochaochao","commits":2}]},"readingTime":{"minutes":0.12,"words":35},"filePathRelative":"editor/interfaces/IComputedEditorOptions.md","localizedDate":"2023年6月16日","autoDesc":true}');export{t as data};
diff --git a/assets/IContentSizeChangedEvent.html-06bb6cfe.js b/assets/IContentSizeChangedEvent.html-06bb6cfe.js
new file mode 100644
index 00000000..abd480da
--- /dev/null
+++ b/assets/IContentSizeChangedEvent.html-06bb6cfe.js
@@ -0,0 +1 @@
+import{_ as n}from"./plugin-vue_export-helper-c27b6911.js";import{r as d,o as c,c as i,a as e,b as t,d as a,e as h}from"./app-5f5ef0a9.js";const r={},l=e("h1",{id:"icontentsizechangedevent",tabindex:"-1"},[e("a",{class:"header-anchor",href:"#icontentsizechangedevent","aria-hidden":"true"},"#"),t(" IContentSizeChangedEvent")],-1),s=e("code",null,"interface",-1),u={href:"https://microsoft.github.io/monaco-editor/docs.html#interfaces/editor.IContentSizeChangedEvent.html",target:"_blank",rel:"noopener noreferrer"},_=h(' 属性 Properties
contentHeight
- 类型:
number
只读
- 默认值:
-
- 可选项:
-
- 描述:
内容区域的高度,只读属性。
contentHeightChanged
- 类型:
boolean
- 默认值:
false
- 可选项:
-
- 描述:
内容区域的高度是否发生了变化。
contentWidth
- 类型:
number
只读
- 默认值:
-
- 可选项:
-
- 描述:
内容区域的宽度,只读属性。
contentWidthChanged
- 类型:
boolean
- 默认值:
false
- 可选项:
-
- 描述:
内容区域的宽度是否发生了变化。
',9);function f(g,m){const o=d("ExternalLinkIcon");return c(),i("div",null,[l,e("p",null,[s,t(),e("a",u,[t("官网地址"),a(o)])]),_])}const x=n(r,[["render",f],["__file","IContentSizeChangedEvent.html.vue"]]);export{x as default};
diff --git a/assets/IContentSizeChangedEvent.html-aa94d1cf.js b/assets/IContentSizeChangedEvent.html-aa94d1cf.js
new file mode 100644
index 00000000..2a57ae2a
--- /dev/null
+++ b/assets/IContentSizeChangedEvent.html-aa94d1cf.js
@@ -0,0 +1 @@
+const t=JSON.parse('{"key":"v-42578196","path":"/editor/interfaces/IContentSizeChangedEvent.html","title":"IContentSizeChangedEvent","lang":"zh-CN","frontmatter":{"description":"interface 官网地址 (https://microsoft.github.io/monaco-editor/docs.html#interfaces/editor.IContentSizeChangedEvent.html) 属性 Properties contentHeight 类型: number 只读 ; 默认值: - ; 可选项: - ...","head":[["meta",{"property":"og:url","content":"http://aydk.site/editor/interfaces/IContentSizeChangedEvent.html"}],["meta",{"property":"og:site_name","content":"Monaco-editor 学习文档"}],["meta",{"property":"og:title","content":"IContentSizeChangedEvent"}],["meta",{"property":"og:description","content":"interface 官网地址 (https://microsoft.github.io/monaco-editor/docs.html#interfaces/editor.IContentSizeChangedEvent.html) 属性 Properties contentHeight 类型: number 只读 ; 默认值: - ; 可选项: - ..."}],["meta",{"property":"og:type","content":"article"}],["meta",{"property":"og:locale","content":"zh-CN"}],["meta",{"property":"og:updated_time","content":"2023-06-16T20:04:45.000Z"}],["meta",{"property":"article:author","content":"aydk"}],["meta",{"property":"article:modified_time","content":"2023-06-16T20:04:45.000Z"}],["script",{"type":"application/ld+json"},"{\\"@context\\":\\"https://schema.org\\",\\"@type\\":\\"Article\\",\\"headline\\":\\"IContentSizeChangedEvent\\",\\"image\\":[\\"\\"],\\"dateModified\\":\\"2023-06-16T20:04:45.000Z\\",\\"author\\":[{\\"@type\\":\\"Person\\",\\"name\\":\\"aydk\\"}]}"]]},"headers":[{"level":2,"title":"属性 Properties","slug":"属性-properties","link":"#属性-properties","children":[{"level":3,"title":"contentHeight","slug":"contentheight","link":"#contentheight","children":[]},{"level":3,"title":"contentHeightChanged","slug":"contentheightchanged","link":"#contentheightchanged","children":[]},{"level":3,"title":"contentWidth","slug":"contentwidth","link":"#contentwidth","children":[]},{"level":3,"title":"contentWidthChanged","slug":"contentwidthchanged","link":"#contentwidthchanged","children":[]}]}],"git":{"createdTime":1686945885000,"updatedTime":1686945885000,"contributors":[{"name":"xiaochaochao","email":"xiaochaochao","commits":1}]},"readingTime":{"minutes":0.39,"words":117},"filePathRelative":"editor/interfaces/IContentSizeChangedEvent.md","localizedDate":"2023年6月16日","autoDesc":true}');export{t as data};
diff --git a/assets/IContentWidget.html-7d61d70d.js b/assets/IContentWidget.html-7d61d70d.js
new file mode 100644
index 00000000..20d6cba9
--- /dev/null
+++ b/assets/IContentWidget.html-7d61d70d.js
@@ -0,0 +1 @@
+import{_ as a}from"./plugin-vue_export-helper-c27b6911.js";import{r as d,o as c,c as s,a as e,b as o,d as t,w as n,e as l}from"./app-5f5ef0a9.js";const h={},u=e("h1",{id:"icontentwidget",tabindex:"-1"},[e("a",{class:"header-anchor",href:"#icontentwidget","aria-hidden":"true"},"#"),o(" IContentWidget")],-1),_=e("code",null,"interface",-1),f={href:"https://microsoft.github.io/monaco-editor/docs.html#interfaces/editor.IContentWidget.html",target:"_blank",rel:"noopener noreferrer"},m=l(' 属性 Properties
allowEditorOverflow
- 类型:
boolean
可选
- 默认值:
false
- 可选项:
-
- 描述:
指示内容小部件是否可以溢出编辑器的边界。
suppressMouseDown
- 类型:
boolean
可选
- 默认值:
false
- 可选项:
-
- 描述:
指示是否应该在小部件上按下鼠标时阻止默认的编辑器行为。
方法 Methods
afterRender
',7),g=e("li",null,[o("语法: "),e("code",null,"afterRender(position: ContentWidgetPositionPreference): void")],-1),p=e("li",null,[o("返回值: "),e("code",null,"void")],-1),b=e("li",null,[o("描述: "),e("code",null,"执行操作的方法。")],-1),x=e("h3",{id:"beforerender",tabindex:"-1"},[e("a",{class:"header-anchor",href:"#beforerender","aria-hidden":"true"},"#"),o(" beforeRender")],-1),w=e("li",null,[o("语法: "),e("code",null,"beforeRender?(): IDimension")],-1),I=e("li",null,[o("参数: "),e("code",null,"-")],-1),C=e("li",null,[o("描述: "),e("code",null,"在渲染内容之前执行的可选操作。")],-1),P=l(' getDomNode
- 语法:
getDomNode(): HTMLElement | null
- 参数:
-
- 返回值:
HTMLElement | null
- 描述:
获取内容窗口小部件的 DOM 节点。
getId
- 语法:
getId(): string
- 参数:
-
- 返回值:
string
- 描述:
获取内容窗口小部件的唯一标识符。
getPosition
',5),W=e("li",null,[o("语法: "),e("code",null,"getPosition(): IContentWidgetPosition | null")],-1),v=e("li",null,[o("参数: "),e("code",null,"-")],-1),k=e("li",null,[o("描述: "),e("code",null,"获取内容窗口小部件的位置。")],-1);function D(E,L){const r=d("ExternalLinkIcon"),i=d("RouterLink");return c(),s("div",null,[u,e("p",null,[_,o(),e("a",f,[o("官网地址"),t(r)]),o(" 内容小部件与文本内联呈现,并且可以轻松放置在编辑器位置“附近”。")]),m,e("ul",null,[g,e("li",null,[o("参数: "),e("ul",null,[e("li",null,[o("position:"),t(i,{to:"/editor/enumerations.html#contentwidgetpositionpreference"},{default:n(()=>[o("ContentWidgetPositionPreference")]),_:1})])])]),p,b]),x,e("ul",null,[w,I,e("li",null,[o("返回值: "),t(i,{to:"/editor/interfaces/IDimension.html"},{default:n(()=>[o("IDimension")]),_:1})]),C]),P,e("ul",null,[W,v,e("li",null,[o("返回值: "),t(i,{to:"/editor/interfaces/IContentWidgetPosition.html"},{default:n(()=>[o("IContentWidgetPosition")]),_:1}),o(" | null`")]),k])])}const M=a(h,[["render",D],["__file","IContentWidget.html.vue"]]);export{M as default};
diff --git a/assets/IContentWidget.html-ac3e5ef1.js b/assets/IContentWidget.html-ac3e5ef1.js
new file mode 100644
index 00000000..8c115b75
--- /dev/null
+++ b/assets/IContentWidget.html-ac3e5ef1.js
@@ -0,0 +1 @@
+const e=JSON.parse('{"key":"v-17c8a959","path":"/editor/interfaces/IContentWidget.html","title":"IContentWidget","lang":"zh-CN","frontmatter":{"description":"interface 官网地址 (https://microsoft.github.io/monaco-editor/docs.html#interfaces/editor.IContentWidget.html) 内容小部件与文本内联呈现,并且可以轻松放置在编辑器位置“附近”。 属性 Properties allowEditorOverflow 类型:...","head":[["meta",{"property":"og:url","content":"http://aydk.site/editor/interfaces/IContentWidget.html"}],["meta",{"property":"og:site_name","content":"Monaco-editor 学习文档"}],["meta",{"property":"og:title","content":"IContentWidget"}],["meta",{"property":"og:description","content":"interface 官网地址 (https://microsoft.github.io/monaco-editor/docs.html#interfaces/editor.IContentWidget.html) 内容小部件与文本内联呈现,并且可以轻松放置在编辑器位置“附近”。 属性 Properties allowEditorOverflow 类型:..."}],["meta",{"property":"og:type","content":"article"}],["meta",{"property":"og:locale","content":"zh-CN"}],["meta",{"property":"og:updated_time","content":"2023-06-16T20:04:45.000Z"}],["meta",{"property":"article:author","content":"aydk"}],["meta",{"property":"article:modified_time","content":"2023-06-16T20:04:45.000Z"}],["script",{"type":"application/ld+json"},"{\\"@context\\":\\"https://schema.org\\",\\"@type\\":\\"Article\\",\\"headline\\":\\"IContentWidget\\",\\"image\\":[\\"\\"],\\"dateModified\\":\\"2023-06-16T20:04:45.000Z\\",\\"author\\":[{\\"@type\\":\\"Person\\",\\"name\\":\\"aydk\\"}]}"]]},"headers":[{"level":2,"title":"属性 Properties","slug":"属性-properties","link":"#属性-properties","children":[{"level":3,"title":"allowEditorOverflow","slug":"alloweditoroverflow","link":"#alloweditoroverflow","children":[]},{"level":3,"title":"suppressMouseDown","slug":"suppressmousedown","link":"#suppressmousedown","children":[]}]},{"level":2,"title":"方法 Methods","slug":"方法-methods","link":"#方法-methods","children":[{"level":3,"title":"afterRender","slug":"afterrender","link":"#afterrender","children":[]},{"level":3,"title":"beforeRender","slug":"beforerender","link":"#beforerender","children":[]},{"level":3,"title":"getDomNode","slug":"getdomnode","link":"#getdomnode","children":[]},{"level":3,"title":"getId","slug":"getid","link":"#getid","children":[]},{"level":3,"title":"getPosition","slug":"getposition","link":"#getposition","children":[]}]}],"git":{"createdTime":1686945885000,"updatedTime":1686945885000,"contributors":[{"name":"xiaochaochao","email":"xiaochaochao","commits":1}]},"readingTime":{"minutes":0.86,"words":257},"filePathRelative":"editor/interfaces/IContentWidget.md","localizedDate":"2023年6月16日","autoDesc":true}');export{e as data};
diff --git a/assets/IContentWidgetPosition.html-0598560c.js b/assets/IContentWidgetPosition.html-0598560c.js
new file mode 100644
index 00000000..ef03f8c9
--- /dev/null
+++ b/assets/IContentWidgetPosition.html-0598560c.js
@@ -0,0 +1 @@
+import{_ as d}from"./plugin-vue_export-helper-c27b6911.js";import{r as l,o as c,c as r,a as e,b as o,d as t,w as i}from"./app-5f5ef0a9.js";const a={},_=e("h1",{id:"icontentwidgetposition",tabindex:"-1"},[e("a",{class:"header-anchor",href:"#icontentwidgetposition","aria-hidden":"true"},"#"),o(" IContentWidgetPosition")],-1),h=e("code",null,"interface",-1),u={href:"https://microsoft.github.io/monaco-editor/docs.html#interfaces/editor.IContentWidgetPosition.html",target:"_blank",rel:"noopener noreferrer"},f=e("h2",{id:"属性-properties",tabindex:"-1"},[e("a",{class:"header-anchor",href:"#属性-properties","aria-hidden":"true"},"#"),o(" 属性 Properties")],-1),p=e("h3",{id:"position",tabindex:"-1"},[e("a",{class:"header-anchor",href:"#position","aria-hidden":"true"},"#"),o(" position")],-1),m=e("code",null,"必选",-1),x=e("li",null,[o("默认值: "),e("code",null,"-")],-1),P=e("li",null,[o("可选项: "),e("code",null,"-")],-1),g=e("li",null,[o("描述: "),e("code",null,"用作放置内容小部件的锚点的所需位置。 小部件将根据提供的首选项放置在指定位置的上方、下方或下方。 小部件将始终触摸此位置。 如果有足够的水平空间,小部件将放置在传入位置的右侧。 这可以通过提供 secondaryPosition 来调整。")],-1),b=e("h3",{id:"positionaffinity",tabindex:"-1"},[e("a",{class:"header-anchor",href:"#positionaffinity","aria-hidden":"true"},"#"),o(" positionAffinity")],-1),I=e("code",null,"可选",-1),y=e("li",null,[o("默认值: "),e("code",null,"-")],-1),k=e("li",null,[o("可选项: "),e("code",null,"-")],-1),C=e("li",null,[o("描述: "),e("code",null,"多个视图位置引用相同(模型)位置时的放置首选项。当涉及注入的文本时,这会起作用。")],-1),w=e("h3",{id:"preference",tabindex:"-1"},[e("a",{class:"header-anchor",href:"#preference","aria-hidden":"true"},"#"),o(" preference")],-1),W=e("code",null,"必选",-1),L=e("li",null,[o("默认值: "),e("code",null,"-")],-1),v=e("li",null,[o("可选项: "),e("code",null,"-")],-1),B=e("li",null,[o("描述: "),e("code",null,"位置的放置偏好,按偏好顺序排列。")],-1),E=e("h3",{id:"secondaryposition",tabindex:"-1"},[e("a",{class:"header-anchor",href:"#secondaryposition","aria-hidden":"true"},"#"),o(" secondaryPosition")],-1),N=e("code",null,"可选",-1),V=e("li",null,[o("默认值: "),e("code",null,"-")],-1),A=e("li",null,[o("可选项: "),e("code",null,"-")],-1),R=e("li",null,[o("描述: "),e("code",null,"可选,可以提供次要位置以进一步定义内容小部件的放置。 次要位置必须与主要位置具有相同的行号。 如果可能的话,小部件将被放置在它也接触到次要位置的位置。")],-1);function T(j,q){const s=l("ExternalLinkIcon"),n=l("RouterLink");return c(),r("div",null,[_,e("p",null,[h,o(),e("a",u,[o("官网地址"),t(s)]),o(" 渲染内容小部件的位置。")]),f,p,e("ul",null,[e("li",null,[o("类型: "),t(n,{to:"/global/interfaces/IPosition.html"},{default:i(()=>[o("IPosition")]),_:1}),o(),m]),x,P,g]),b,e("ul",null,[e("li",null,[o("类型: "),t(n,{to:"/editor/enumerations.html#positionaffinity"},{default:i(()=>[o("positionAffinity")]),_:1}),o(),I]),y,k,C]),w,e("ul",null,[e("li",null,[o("类型: "),t(n,{to:"/editor/enumerations.html#contentwidgetpositionpreference"},{default:i(()=>[o("ContentWidgetPositionPreference")]),_:1}),o("[] "),W]),L,v,B]),E,e("ul",null,[e("li",null,[o("类型: "),t(n,{to:"/global/interfaces/IPosition.html"},{default:i(()=>[o("IPosition")]),_:1}),o(),N]),V,A,R])])}const F=d(a,[["render",T],["__file","IContentWidgetPosition.html.vue"]]);export{F as default};
diff --git a/assets/IContentWidgetPosition.html-c4bd4b76.js b/assets/IContentWidgetPosition.html-c4bd4b76.js
new file mode 100644
index 00000000..bf5b03fe
--- /dev/null
+++ b/assets/IContentWidgetPosition.html-c4bd4b76.js
@@ -0,0 +1 @@
+const t=JSON.parse('{"key":"v-1c59dca0","path":"/editor/interfaces/IContentWidgetPosition.html","title":"IContentWidgetPosition","lang":"zh-CN","frontmatter":{"description":"interface 官网地址 (https://microsoft.github.io/monaco-editor/docs.html#interfaces/editor.IContentWidgetPosition.html) 渲染内容小部件的位置。 属性 Properties position 类型: IPosition (../../global...","head":[["meta",{"property":"og:url","content":"http://aydk.site/editor/interfaces/IContentWidgetPosition.html"}],["meta",{"property":"og:site_name","content":"Monaco-editor 学习文档"}],["meta",{"property":"og:title","content":"IContentWidgetPosition"}],["meta",{"property":"og:description","content":"interface 官网地址 (https://microsoft.github.io/monaco-editor/docs.html#interfaces/editor.IContentWidgetPosition.html) 渲染内容小部件的位置。 属性 Properties position 类型: IPosition (../../global..."}],["meta",{"property":"og:type","content":"article"}],["meta",{"property":"og:locale","content":"zh-CN"}],["meta",{"property":"og:updated_time","content":"2023-06-16T20:04:45.000Z"}],["meta",{"property":"article:author","content":"aydk"}],["meta",{"property":"article:modified_time","content":"2023-06-16T20:04:45.000Z"}],["script",{"type":"application/ld+json"},"{\\"@context\\":\\"https://schema.org\\",\\"@type\\":\\"Article\\",\\"headline\\":\\"IContentWidgetPosition\\",\\"image\\":[\\"\\"],\\"dateModified\\":\\"2023-06-16T20:04:45.000Z\\",\\"author\\":[{\\"@type\\":\\"Person\\",\\"name\\":\\"aydk\\"}]}"]]},"headers":[{"level":2,"title":"属性 Properties","slug":"属性-properties","link":"#属性-properties","children":[{"level":3,"title":"position","slug":"position","link":"#position","children":[]},{"level":3,"title":"positionAffinity","slug":"positionaffinity","link":"#positionaffinity","children":[]},{"level":3,"title":"preference","slug":"preference","link":"#preference","children":[]},{"level":3,"title":"secondaryPosition","slug":"secondaryposition","link":"#secondaryposition","children":[]}]}],"git":{"createdTime":1686945885000,"updatedTime":1686945885000,"contributors":[{"name":"xiaochaochao","email":"xiaochaochao","commits":1}]},"readingTime":{"minutes":0.97,"words":292},"filePathRelative":"editor/interfaces/IContentWidgetPosition.md","localizedDate":"2023年6月16日","autoDesc":true}');export{t as data};
diff --git a/assets/IContextKey.html-1ad5a4a7.js b/assets/IContextKey.html-1ad5a4a7.js
new file mode 100644
index 00000000..48d9a6c5
--- /dev/null
+++ b/assets/IContextKey.html-1ad5a4a7.js
@@ -0,0 +1 @@
+import{_ as i}from"./plugin-vue_export-helper-c27b6911.js";import{r as o,o as r,c as n,a as e,b as t,d as l,e as d}from"./app-5f5ef0a9.js";const c={},s=e("h1",{id:"icontextkey",tabindex:"-1"},[e("a",{class:"header-anchor",href:"#icontextkey","aria-hidden":"true"},"#"),t(" IContextKey")],-1),h=e("code",null,"interface",-1),_={href:"https://microsoft.github.io/monaco-editor/docs.html#interfaces/editor.IContextKey.html",target:"_blank",rel:"noopener noreferrer"},u=d(' 方法 Methods
get
reset
set
',7);function f(x,m){const a=o("ExternalLinkIcon");return r(),n("div",null,[s,e("p",null,[h,t(),e("a",_,[t("官网地址"),l(a)])]),u])}const k=i(c,[["render",f],["__file","IContextKey.html.vue"]]);export{k as default};
diff --git a/assets/IContextKey.html-be0b17e8.js b/assets/IContextKey.html-be0b17e8.js
new file mode 100644
index 00000000..7c7a147e
--- /dev/null
+++ b/assets/IContextKey.html-be0b17e8.js
@@ -0,0 +1 @@
+const e=JSON.parse('{"key":"v-eb6e8168","path":"/editor/interfaces/IContextKey.html","title":"IContextKey","lang":"zh-CN","frontmatter":{"description":"interface 官网地址 (https://microsoft.github.io/monaco-editor/docs.html#interfaces/editor.IContextKey.html) 方法 Methods get 语法: ; 参数: ; 返回值: -; 描述: ; reset 语法: ; 参数: ; 返回值: -; 描述: ; ...","head":[["meta",{"property":"og:url","content":"http://aydk.site/editor/interfaces/IContextKey.html"}],["meta",{"property":"og:site_name","content":"Monaco-editor 学习文档"}],["meta",{"property":"og:title","content":"IContextKey"}],["meta",{"property":"og:description","content":"interface 官网地址 (https://microsoft.github.io/monaco-editor/docs.html#interfaces/editor.IContextKey.html) 方法 Methods get 语法: ; 参数: ; 返回值: -; 描述: ; reset 语法: ; 参数: ; 返回值: -; 描述: ; ..."}],["meta",{"property":"og:type","content":"article"}],["meta",{"property":"og:locale","content":"zh-CN"}],["meta",{"property":"og:updated_time","content":"2023-06-16T20:04:45.000Z"}],["meta",{"property":"article:author","content":"aydk"}],["meta",{"property":"article:modified_time","content":"2023-06-16T20:04:45.000Z"}],["script",{"type":"application/ld+json"},"{\\"@context\\":\\"https://schema.org\\",\\"@type\\":\\"Article\\",\\"headline\\":\\"IContextKey\\",\\"image\\":[\\"\\"],\\"dateModified\\":\\"2023-06-16T20:04:45.000Z\\",\\"author\\":[{\\"@type\\":\\"Person\\",\\"name\\":\\"aydk\\"}]}"]]},"headers":[{"level":2,"title":"方法 Methods","slug":"方法-methods","link":"#方法-methods","children":[{"level":3,"title":"get","slug":"get","link":"#get","children":[]},{"level":3,"title":"reset","slug":"reset","link":"#reset","children":[]},{"level":3,"title":"set","slug":"set","link":"#set","children":[]}]}],"git":{"createdTime":1686945885000,"updatedTime":1686945885000,"contributors":[{"name":"xiaochaochao","email":"xiaochaochao","commits":1}]},"readingTime":{"minutes":0.14,"words":43},"filePathRelative":"editor/interfaces/IContextKey.md","localizedDate":"2023年6月16日","autoDesc":true}');export{e as data};
diff --git a/assets/ICursorPositionChangedEvent.html-26959864.js b/assets/ICursorPositionChangedEvent.html-26959864.js
new file mode 100644
index 00000000..f2012b1b
--- /dev/null
+++ b/assets/ICursorPositionChangedEvent.html-26959864.js
@@ -0,0 +1 @@
+import{_ as r}from"./plugin-vue_export-helper-c27b6911.js";import{r as i,o as c,c as d,a as e,b as o,d as n,w as s,e as a}from"./app-5f5ef0a9.js";const h={},u=e("h1",{id:"icursorpositionchangedevent",tabindex:"-1"},[e("a",{class:"header-anchor",href:"#icursorpositionchangedevent","aria-hidden":"true"},"#"),o(" ICursorPositionChangedEvent")],-1),_=e("code",null,"interface",-1),p={href:"https://microsoft.github.io/monaco-editor/docs.html#interfaces/editor.ICursorPositionChangedEvent.html",target:"_blank",rel:"noopener noreferrer"},f=e("h2",{id:"属性-properties",tabindex:"-1"},[e("a",{class:"header-anchor",href:"#属性-properties","aria-hidden":"true"},"#"),o(" 属性 Properties")],-1),m=e("h3",{id:"position",tabindex:"-1"},[e("a",{class:"header-anchor",href:"#position","aria-hidden":"true"},"#"),o(" position")],-1),g=e("code",null,"只读",-1),x=e("li",null,[o("默认值: "),e("code",null,"-")],-1),C=e("li",null,[o("可选项: "),e("code",null,"-")],-1),b=e("li",null,[o("描述: "),e("code",null,"主光标的位置。")],-1),P=e("h3",{id:"reason",tabindex:"-1"},[e("a",{class:"header-anchor",href:"#reason","aria-hidden":"true"},"#"),o(" reason")],-1),v=e("code",null,"只读",-1),k=e("li",null,[o("默认值: "),e("code",null,"-")],-1),E=e("li",null,[o("可选项: "),e("code",null,"-")],-1),I=e("li",null,[o("描述: "),e("code",null,"光标改变的原因")],-1),L=e("h3",{id:"secondarypositions",tabindex:"-1"},[e("a",{class:"header-anchor",href:"#secondarypositions","aria-hidden":"true"},"#"),o(" secondaryPositions")],-1),N=e("code",null,"只读",-1),V=e("li",null,[o("默认值: "),e("code",null,"-")],-1),y=e("li",null,[o("可选项: "),e("code",null,"-")],-1),B=e("li",null,[o("描述: "),e("code",null,"辅助光标的位置")],-1),R=a(' source
- 类型:
string
只读
- 默认值:
-
- 可选项:
-
- 描述:
事件的触发源。
',2);function w(S,T){const l=i("ExternalLinkIcon"),t=i("RouterLink");return c(),d("div",null,[u,e("p",null,[_,o(),e("a",p,[o("官网地址"),n(l)]),o(" 描述光标位置已更改的事件。")]),f,m,e("ul",null,[e("li",null,[o("类型: "),n(t,{to:"/global/classes/Position.html"},{default:s(()=>[o("Position")]),_:1}),o(),g]),x,C,b]),P,e("ul",null,[e("li",null,[o("类型: "),n(t,{to:"/editor/enumerations.html#cursorchangereason"},{default:s(()=>[o("CursorChangeReason")]),_:1}),o(),v]),k,E,I]),L,e("ul",null,[e("li",null,[o("类型: "),n(t,{to:"/global/classes/Position.html"},{default:s(()=>[o("Position")]),_:1}),o("[] "),N]),V,y,B]),R])}const z=r(h,[["render",w],["__file","ICursorPositionChangedEvent.html.vue"]]);export{z as default};
diff --git a/assets/ICursorPositionChangedEvent.html-60213d09.js b/assets/ICursorPositionChangedEvent.html-60213d09.js
new file mode 100644
index 00000000..1fbfd75a
--- /dev/null
+++ b/assets/ICursorPositionChangedEvent.html-60213d09.js
@@ -0,0 +1 @@
+const e=JSON.parse('{"key":"v-526f87d2","path":"/editor/interfaces/ICursorPositionChangedEvent.html","title":"ICursorPositionChangedEvent","lang":"zh-CN","frontmatter":{"description":"interface 官网地址 (https://microsoft.github.io/monaco-editor/docs.html#interfaces/editor.ICursorPositionChangedEvent.html) 描述光标位置已更改的事件。 属性 Properties position 类型: Position (../../...","head":[["meta",{"property":"og:url","content":"http://aydk.site/editor/interfaces/ICursorPositionChangedEvent.html"}],["meta",{"property":"og:site_name","content":"Monaco-editor 学习文档"}],["meta",{"property":"og:title","content":"ICursorPositionChangedEvent"}],["meta",{"property":"og:description","content":"interface 官网地址 (https://microsoft.github.io/monaco-editor/docs.html#interfaces/editor.ICursorPositionChangedEvent.html) 描述光标位置已更改的事件。 属性 Properties position 类型: Position (../../..."}],["meta",{"property":"og:type","content":"article"}],["meta",{"property":"og:locale","content":"zh-CN"}],["meta",{"property":"og:updated_time","content":"2023-06-16T20:04:45.000Z"}],["meta",{"property":"article:author","content":"aydk"}],["meta",{"property":"article:modified_time","content":"2023-06-16T20:04:45.000Z"}],["script",{"type":"application/ld+json"},"{\\"@context\\":\\"https://schema.org\\",\\"@type\\":\\"Article\\",\\"headline\\":\\"ICursorPositionChangedEvent\\",\\"image\\":[\\"\\"],\\"dateModified\\":\\"2023-06-16T20:04:45.000Z\\",\\"author\\":[{\\"@type\\":\\"Person\\",\\"name\\":\\"aydk\\"}]}"]]},"headers":[{"level":2,"title":"属性 Properties","slug":"属性-properties","link":"#属性-properties","children":[{"level":3,"title":"position","slug":"position","link":"#position","children":[]},{"level":3,"title":"reason","slug":"reason","link":"#reason","children":[]},{"level":3,"title":"secondaryPositions","slug":"secondarypositions","link":"#secondarypositions","children":[]},{"level":3,"title":"source","slug":"source","link":"#source","children":[]}]}],"git":{"createdTime":1686945885000,"updatedTime":1686945885000,"contributors":[{"name":"xiaochaochao","email":"xiaochaochao","commits":1}]},"readingTime":{"minutes":0.37,"words":111},"filePathRelative":"editor/interfaces/ICursorPositionChangedEvent.md","localizedDate":"2023年6月16日","autoDesc":true}');export{e as data};
diff --git a/assets/ICursorSelectionChangedEvent.html-3697d7a6.js b/assets/ICursorSelectionChangedEvent.html-3697d7a6.js
new file mode 100644
index 00000000..12fedfb0
--- /dev/null
+++ b/assets/ICursorSelectionChangedEvent.html-3697d7a6.js
@@ -0,0 +1 @@
+const e=JSON.parse('{"key":"v-f951a04c","path":"/editor/interfaces/ICursorSelectionChangedEvent.html","title":"ICursorSelectionChangedEvent","lang":"zh-CN","frontmatter":{"description":"interface 官网地址 (https://microsoft.github.io/monaco-editor/docs.html#interfaces/editor.ICursorSelectionChangedEvent.html) 属性 Properties modelVersionId 类型: number 只读 ; 默认值: - ; 可选...","head":[["meta",{"property":"og:url","content":"http://aydk.site/editor/interfaces/ICursorSelectionChangedEvent.html"}],["meta",{"property":"og:site_name","content":"Monaco-editor 学习文档"}],["meta",{"property":"og:title","content":"ICursorSelectionChangedEvent"}],["meta",{"property":"og:description","content":"interface 官网地址 (https://microsoft.github.io/monaco-editor/docs.html#interfaces/editor.ICursorSelectionChangedEvent.html) 属性 Properties modelVersionId 类型: number 只读 ; 默认值: - ; 可选..."}],["meta",{"property":"og:type","content":"article"}],["meta",{"property":"og:locale","content":"zh-CN"}],["meta",{"property":"og:updated_time","content":"2023-06-16T20:04:45.000Z"}],["meta",{"property":"article:author","content":"aydk"}],["meta",{"property":"article:modified_time","content":"2023-06-16T20:04:45.000Z"}],["script",{"type":"application/ld+json"},"{\\"@context\\":\\"https://schema.org\\",\\"@type\\":\\"Article\\",\\"headline\\":\\"ICursorSelectionChangedEvent\\",\\"image\\":[\\"\\"],\\"dateModified\\":\\"2023-06-16T20:04:45.000Z\\",\\"author\\":[{\\"@type\\":\\"Person\\",\\"name\\":\\"aydk\\"}]}"]]},"headers":[{"level":2,"title":"属性 Properties","slug":"属性-properties","link":"#属性-properties","children":[{"level":3,"title":"modelVersionId","slug":"modelversionid","link":"#modelversionid","children":[]},{"level":3,"title":"oldModelVersionId","slug":"oldmodelversionid","link":"#oldmodelversionid","children":[]},{"level":3,"title":"oldSelections","slug":"oldselections","link":"#oldselections","children":[]},{"level":3,"title":"reason","slug":"reason","link":"#reason","children":[]},{"level":3,"title":"secondarySelections","slug":"secondaryselections","link":"#secondaryselections","children":[]},{"level":3,"title":"selection","slug":"selection","link":"#selection","children":[]},{"level":3,"title":"source","slug":"source","link":"#source","children":[]}]}],"git":{"createdTime":1686945885000,"updatedTime":1686945885000,"contributors":[{"name":"xiaochaochao","email":"xiaochaochao","commits":1}]},"readingTime":{"minutes":0.61,"words":184},"filePathRelative":"editor/interfaces/ICursorSelectionChangedEvent.md","localizedDate":"2023年6月16日","autoDesc":true}');export{e as data};
diff --git a/assets/ICursorSelectionChangedEvent.html-ef1dd6a1.js b/assets/ICursorSelectionChangedEvent.html-ef1dd6a1.js
new file mode 100644
index 00000000..fc04ab9a
--- /dev/null
+++ b/assets/ICursorSelectionChangedEvent.html-ef1dd6a1.js
@@ -0,0 +1 @@
+import{_ as s}from"./plugin-vue_export-helper-c27b6911.js";import{r as i,o as a,c as r,a as e,b as o,d as l,w as d,e as t}from"./app-5f5ef0a9.js";const h={},u=e("h1",{id:"icursorselectionchangedevent",tabindex:"-1"},[e("a",{class:"header-anchor",href:"#icursorselectionchangedevent","aria-hidden":"true"},"#"),o(" ICursorSelectionChangedEvent")],-1),_=e("code",null,"interface",-1),m={href:"https://microsoft.github.io/monaco-editor/docs.html#interfaces/editor.ICursorSelectionChangedEvent.html",target:"_blank",rel:"noopener noreferrer"},f=t(' 属性 Properties
modelVersionId
- 类型:
number
只读
- 默认值:
-
- 可选项:
-
- 描述:
表示当前模型的版本 ID。
oldModelVersionId
- 类型:
number
只读
- 默认值:
-
- 可选项:
-
- 描述:
表示更改前模型的版本 ID。
oldSelections
',6),b=e("code",null,"只读",-1),p=e("li",null,[o("默认值: "),e("code",null,"-")],-1),x=e("li",null,[o("可选项: "),e("code",null,"-")],-1),g=e("li",null,[o("描述: "),e("code",null,"表示更改前的选择。")],-1),v=e("h3",{id:"reason",tabindex:"-1"},[e("a",{class:"header-anchor",href:"#reason","aria-hidden":"true"},"#"),o(" reason")],-1),S=e("code",null,"只读",-1),C=e("li",null,[o("默认值: "),e("code",null,"-")],-1),I=e("li",null,[o("可选项: "),e("code",null,"-")],-1),k=e("li",null,[o("描述: "),e("code",null,"表示更改光标位置的原因。")],-1),E=e("h3",{id:"secondaryselections",tabindex:"-1"},[e("a",{class:"header-anchor",href:"#secondaryselections","aria-hidden":"true"},"#"),o(" secondarySelections")],-1),V=e("code",null,"只读",-1),L=e("li",null,[o("默认值: "),e("code",null,"-")],-1),N=e("li",null,[o("可选项: "),e("code",null,"-")],-1),y=e("li",null,[o("描述: "),e("code",null,"表示更改前的次要选择。")],-1),B=e("h3",{id:"selection",tabindex:"-1"},[e("a",{class:"header-anchor",href:"#selection","aria-hidden":"true"},"#"),o(" selection")],-1),R=e("code",null,"只读",-1),w=e("li",null,[o("默认值: "),e("code",null,"-")],-1),D=e("li",null,[o("可选项: "),e("code",null,"-")],-1),M=e("li",null,[o("描述: "),e("code",null,"表示更改后的选择。")],-1),P=t(' source
- 类型:
string
只读
- 默认值:
-
- 可选项:
-
- 描述:
表示导致选择更改的源。
',2);function T(j,q){const c=i("ExternalLinkIcon"),n=i("RouterLink");return a(),r("div",null,[u,e("p",null,[_,o(),e("a",m,[o("官网地址"),l(c)])]),f,e("ul",null,[e("li",null,[o("类型: "),l(n,{to:"/global/classes/Selection.html"},{default:d(()=>[o("Selection")]),_:1}),o("[] "),b]),p,x,g]),v,e("ul",null,[e("li",null,[o("类型: "),l(n,{to:"/editor/enumerations.html#cursorchangereason"},{default:d(()=>[o("CursorChangeReason")]),_:1}),o(),S]),C,I,k]),E,e("ul",null,[e("li",null,[o("类型: "),l(n,{to:"/global/classes/Selection.html"},{default:d(()=>[o("Selection")]),_:1}),o("[] "),V]),L,N,y]),B,e("ul",null,[e("li",null,[o("类型: "),l(n,{to:"/global/classes/Selection.html"},{default:d(()=>[o("Selection")]),_:1}),o(),R]),w,D,M]),P])}const F=s(h,[["render",T],["__file","ICursorSelectionChangedEvent.html.vue"]]);export{F as default};
diff --git a/assets/ICursorState.html-0cc2ab7f.js b/assets/ICursorState.html-0cc2ab7f.js
new file mode 100644
index 00000000..726971bb
--- /dev/null
+++ b/assets/ICursorState.html-0cc2ab7f.js
@@ -0,0 +1 @@
+import{_ as a}from"./plugin-vue_export-helper-c27b6911.js";import{r as i,o as s,c,a as e,b as o,d as t,w as l,e as d}from"./app-5f5ef0a9.js";const h={},u=e("h1",{id:"icursorstate",tabindex:"-1"},[e("a",{class:"header-anchor",href:"#icursorstate","aria-hidden":"true"},"#"),o(" ICursorState")],-1),_=e("code",null,"interface",-1),f={href:"https://microsoft.github.io/monaco-editor/docs.html#interfaces/editor.ICursorState.html",target:"_blank",rel:"noopener noreferrer"},m=d(' 属性 Properties
inSelectionMode
- 类型:
boolean
- 默认值:
-
- 可选项:
-
- 描述:
选择模式。
position
',4),p=e("li",null,[o("默认值: "),e("code",null,"-")],-1),x=e("li",null,[o("可选项: "),e("code",null,"-")],-1),b=e("li",null,[o("描述: "),e("code",null,"当前的位置")],-1),I=e("h3",{id:"selectionstart",tabindex:"-1"},[e("a",{class:"header-anchor",href:"#selectionstart","aria-hidden":"true"},"#"),o(" selectionStart")],-1),k=e("li",null,[o("默认值: "),e("code",null,"-")],-1),S=e("li",null,[o("可选项: "),e("code",null,"-")],-1),C=e("li",null,[o("描述: "),e("code",null,"选择范围的起始位置。")],-1);function P(g,L){const r=i("ExternalLinkIcon"),n=i("RouterLink");return s(),c("div",null,[u,e("p",null,[_,o(),e("a",f,[o("官网地址"),t(r)]),o(" 光标的(可序列化的)状态。")]),m,e("ul",null,[e("li",null,[o("类型: "),t(n,{to:"/global/interfaces/IPosition.html"},{default:l(()=>[o("IPosition")]),_:1})]),p,x,b]),I,e("ul",null,[e("li",null,[o("类型: "),t(n,{to:"/global/interfaces/IPosition.html"},{default:l(()=>[o("IPosition")]),_:1})]),k,S,C])])}const v=a(h,[["render",P],["__file","ICursorState.html.vue"]]);export{v as default};
diff --git a/assets/ICursorState.html-9d3c4b1e.js b/assets/ICursorState.html-9d3c4b1e.js
new file mode 100644
index 00000000..0004d22b
--- /dev/null
+++ b/assets/ICursorState.html-9d3c4b1e.js
@@ -0,0 +1 @@
+const t=JSON.parse('{"key":"v-369a409b","path":"/editor/interfaces/ICursorState.html","title":"ICursorState","lang":"zh-CN","frontmatter":{"description":"interface 官网地址 (https://microsoft.github.io/monaco-editor/docs.html#interfaces/editor.ICursorState.html) 光标的(可序列化的)状态。 属性 Properties inSelectionMode 类型: boolean ; 默认值: - ; 可选项: ...","head":[["meta",{"property":"og:url","content":"http://aydk.site/editor/interfaces/ICursorState.html"}],["meta",{"property":"og:site_name","content":"Monaco-editor 学习文档"}],["meta",{"property":"og:title","content":"ICursorState"}],["meta",{"property":"og:description","content":"interface 官网地址 (https://microsoft.github.io/monaco-editor/docs.html#interfaces/editor.ICursorState.html) 光标的(可序列化的)状态。 属性 Properties inSelectionMode 类型: boolean ; 默认值: - ; 可选项: ..."}],["meta",{"property":"og:type","content":"article"}],["meta",{"property":"og:locale","content":"zh-CN"}],["meta",{"property":"og:updated_time","content":"2023-06-16T20:04:45.000Z"}],["meta",{"property":"article:author","content":"aydk"}],["meta",{"property":"article:modified_time","content":"2023-06-16T20:04:45.000Z"}],["script",{"type":"application/ld+json"},"{\\"@context\\":\\"https://schema.org\\",\\"@type\\":\\"Article\\",\\"headline\\":\\"ICursorState\\",\\"image\\":[\\"\\"],\\"dateModified\\":\\"2023-06-16T20:04:45.000Z\\",\\"author\\":[{\\"@type\\":\\"Person\\",\\"name\\":\\"aydk\\"}]}"]]},"headers":[{"level":2,"title":"属性 Properties","slug":"属性-properties","link":"#属性-properties","children":[{"level":3,"title":"inSelectionMode","slug":"inselectionmode","link":"#inselectionmode","children":[]},{"level":3,"title":"position","slug":"position","link":"#position","children":[]},{"level":3,"title":"selectionStart","slug":"selectionstart","link":"#selectionstart","children":[]}]}],"git":{"createdTime":1686945885000,"updatedTime":1686945885000,"contributors":[{"name":"xiaochaochao","email":"xiaochaochao","commits":1}]},"readingTime":{"minutes":0.26,"words":79},"filePathRelative":"editor/interfaces/ICursorState.md","localizedDate":"2023年6月16日","autoDesc":true}');export{t as data};
diff --git a/assets/ICursorStateComputer.html-4b219080.js b/assets/ICursorStateComputer.html-4b219080.js
new file mode 100644
index 00000000..8363d238
--- /dev/null
+++ b/assets/ICursorStateComputer.html-4b219080.js
@@ -0,0 +1 @@
+const t=JSON.parse('{"key":"v-5b874840","path":"/editor/interfaces/ICursorStateComputer.html","title":"ICursorStateComputer","lang":"zh-CN","frontmatter":{"description":"interface 官网地址 (https://microsoft.github.io/monaco-editor/docs.html#interfaces/editor.ICursorStateComputer.html) 执行某些编辑操作后可以计算结果游标状态的回调。 方法 Methods 用法 ICursorStateComputer(inver...","head":[["meta",{"property":"og:url","content":"http://aydk.site/editor/interfaces/ICursorStateComputer.html"}],["meta",{"property":"og:site_name","content":"Monaco-editor 学习文档"}],["meta",{"property":"og:title","content":"ICursorStateComputer"}],["meta",{"property":"og:description","content":"interface 官网地址 (https://microsoft.github.io/monaco-editor/docs.html#interfaces/editor.ICursorStateComputer.html) 执行某些编辑操作后可以计算结果游标状态的回调。 方法 Methods 用法 ICursorStateComputer(inver..."}],["meta",{"property":"og:type","content":"article"}],["meta",{"property":"og:locale","content":"zh-CN"}],["meta",{"property":"og:updated_time","content":"2023-06-16T20:04:45.000Z"}],["meta",{"property":"article:author","content":"aydk"}],["meta",{"property":"article:modified_time","content":"2023-06-16T20:04:45.000Z"}],["script",{"type":"application/ld+json"},"{\\"@context\\":\\"https://schema.org\\",\\"@type\\":\\"Article\\",\\"headline\\":\\"ICursorStateComputer\\",\\"image\\":[\\"\\"],\\"dateModified\\":\\"2023-06-16T20:04:45.000Z\\",\\"author\\":[{\\"@type\\":\\"Person\\",\\"name\\":\\"aydk\\"}]}"]]},"headers":[{"level":2,"title":"方法 Methods","slug":"方法-methods","link":"#方法-methods","children":[]}],"git":{"createdTime":1686945885000,"updatedTime":1686945885000,"contributors":[{"name":"xiaochaochao","email":"xiaochaochao","commits":1}]},"readingTime":{"minutes":0.17,"words":51},"filePathRelative":"editor/interfaces/ICursorStateComputer.md","localizedDate":"2023年6月16日","autoDesc":true}');export{t as data};
diff --git a/assets/ICursorStateComputer.html-cde732d3.js b/assets/ICursorStateComputer.html-cde732d3.js
new file mode 100644
index 00000000..ec372bf6
--- /dev/null
+++ b/assets/ICursorStateComputer.html-cde732d3.js
@@ -0,0 +1 @@
+import{_ as s}from"./plugin-vue_export-helper-c27b6911.js";import{r as n,o as l,c,a as e,b as t,d as o,w as a}from"./app-5f5ef0a9.js";const d={},u=e("h1",{id:"icursorstatecomputer",tabindex:"-1"},[e("a",{class:"header-anchor",href:"#icursorstatecomputer","aria-hidden":"true"},"#"),t(" ICursorStateComputer")],-1),h=e("code",null,"interface",-1),_={href:"https://microsoft.github.io/monaco-editor/docs.html#interfaces/editor.ICursorStateComputer.html",target:"_blank",rel:"noopener noreferrer"},m=e("h2",{id:"方法-methods",tabindex:"-1"},[e("a",{class:"header-anchor",href:"#方法-methods","aria-hidden":"true"},"#"),t(" 方法 Methods")],-1),p=e("li",null,[t("用法 "),e("code",null,"ICursorStateComputer(inverseEditOperations: IValidEditOperation[]): Selection[]")],-1);function f(C,I){const i=n("ExternalLinkIcon"),r=n("RouterLink");return l(),c("div",null,[u,e("p",null,[h,t(),e("a",_,[t("官网地址"),o(i)]),t(" 执行某些编辑操作后可以计算结果游标状态的回调。")]),m,e("ul",null,[p,e("li",null,[t("参数: "),e("ul",null,[e("li",null,[t("inverseEditOperations: "),o(r,{to:"/editor/interfaces/IValidEditOperation.html"},{default:a(()=>[t("IValidEditOperation")]),_:1})])])]),e("li",null,[t("返回值: "),o(r,{to:"/global/classes/Selection.html"},{default:a(()=>[t("Selection")]),_:1}),t("[]")])])])}const S=s(d,[["render",f],["__file","ICursorStateComputer.html.vue"]]);export{S as default};
diff --git a/assets/ICursorStateComputerData.html-1392b8be.js b/assets/ICursorStateComputerData.html-1392b8be.js
new file mode 100644
index 00000000..ee119715
--- /dev/null
+++ b/assets/ICursorStateComputerData.html-1392b8be.js
@@ -0,0 +1 @@
+const t=JSON.parse('{"key":"v-092fa736","path":"/editor/interfaces/ICursorStateComputerData.html","title":"ICursorStateComputerData","lang":"zh-CN","frontmatter":{"description":"interface 官网地址 (https://microsoft.github.io/monaco-editor/docs.html#interfaces/editor.ICursorStateComputerData.html) 方法 Methods getInverseEditOperations 语法: getInverseEditOperat...","head":[["meta",{"property":"og:url","content":"http://aydk.site/editor/interfaces/ICursorStateComputerData.html"}],["meta",{"property":"og:site_name","content":"Monaco-editor 学习文档"}],["meta",{"property":"og:title","content":"ICursorStateComputerData"}],["meta",{"property":"og:description","content":"interface 官网地址 (https://microsoft.github.io/monaco-editor/docs.html#interfaces/editor.ICursorStateComputerData.html) 方法 Methods getInverseEditOperations 语法: getInverseEditOperat..."}],["meta",{"property":"og:type","content":"article"}],["meta",{"property":"og:locale","content":"zh-CN"}],["meta",{"property":"og:updated_time","content":"2023-06-16T20:04:45.000Z"}],["meta",{"property":"article:author","content":"aydk"}],["meta",{"property":"article:modified_time","content":"2023-06-16T20:04:45.000Z"}],["script",{"type":"application/ld+json"},"{\\"@context\\":\\"https://schema.org\\",\\"@type\\":\\"Article\\",\\"headline\\":\\"ICursorStateComputerData\\",\\"image\\":[\\"\\"],\\"dateModified\\":\\"2023-06-16T20:04:45.000Z\\",\\"author\\":[{\\"@type\\":\\"Person\\",\\"name\\":\\"aydk\\"}]}"]]},"headers":[{"level":2,"title":"方法 Methods","slug":"方法-methods","link":"#方法-methods","children":[{"level":3,"title":"getInverseEditOperations","slug":"getinverseeditoperations","link":"#getinverseeditoperations","children":[]},{"level":3,"title":"getTrackedSelection","slug":"gettrackedselection","link":"#gettrackedselection","children":[]}]}],"git":{"createdTime":1686945885000,"updatedTime":1686945885000,"contributors":[{"name":"xiaochaochao","email":"xiaochaochao","commits":1}]},"readingTime":{"minutes":0.23,"words":69},"filePathRelative":"editor/interfaces/ICursorStateComputerData.md","localizedDate":"2023年6月16日","autoDesc":true}');export{t as data};
diff --git a/assets/ICursorStateComputerData.html-701b8a30.js b/assets/ICursorStateComputerData.html-701b8a30.js
new file mode 100644
index 00000000..363d38ab
--- /dev/null
+++ b/assets/ICursorStateComputerData.html-701b8a30.js
@@ -0,0 +1 @@
+import{_ as l}from"./plugin-vue_export-helper-c27b6911.js";import{r,o as s,c as d,a as e,b as t,d as o,w as a}from"./app-5f5ef0a9.js";const c={},u=e("h1",{id:"icursorstatecomputerdata",tabindex:"-1"},[e("a",{class:"header-anchor",href:"#icursorstatecomputerdata","aria-hidden":"true"},"#"),t(" ICursorStateComputerData")],-1),h=e("code",null,"interface",-1),_={href:"https://microsoft.github.io/monaco-editor/docs.html#interfaces/editor.ICursorStateComputerData.html",target:"_blank",rel:"noopener noreferrer"},m=e("h2",{id:"方法-methods",tabindex:"-1"},[e("a",{class:"header-anchor",href:"#方法-methods","aria-hidden":"true"},"#"),t(" 方法 Methods")],-1),p=e("h3",{id:"getinverseeditoperations",tabindex:"-1"},[e("a",{class:"header-anchor",href:"#getinverseeditoperations","aria-hidden":"true"},"#"),t(" getInverseEditOperations")],-1),f=e("li",null,[t("语法: "),e("code",null,"getInverseEditOperations(): IValidEditOperation[]")],-1),g=e("li",null,[t("参数: "),e("code",null,"-")],-1),k=e("li",null,[t("描述: "),e("code",null,"获取添加的编辑操作的反编辑操作")],-1),x=e("h3",{id:"gettrackedselection",tabindex:"-1"},[e("a",{class:"header-anchor",href:"#gettrackedselection","aria-hidden":"true"},"#"),t(" getTrackedSelection")],-1),I=e("li",null,[t("语法: "),e("code",null,"getTrackedSelection(id: string): Selection")],-1),C=e("li",null,[t("参数: "),e("ul",null,[e("li",null,[t("id: "),e("code",null,"string")])])],-1),S=e("li",null,[t("描述: "),e("code",null,"获取以前跟踪的选择。")],-1);function b(E,v){const i=r("ExternalLinkIcon"),n=r("RouterLink");return s(),d("div",null,[u,e("p",null,[h,t(),e("a",_,[t("官网地址"),o(i)])]),m,p,e("ul",null,[f,g,e("li",null,[t("返回值: "),o(n,{to:"/editor/interfaces/IValidEditOperation.html"},{default:a(()=>[t("IValidEditOperation")]),_:1}),t("[]")]),k]),x,e("ul",null,[I,C,e("li",null,[t("返回值: "),o(n,{to:"/global/classes/Selection.html"},{default:a(()=>[t("Selection")]),_:1})]),S])])}const D=l(c,[["render",b],["__file","ICursorStateComputerData.html.vue"]]);export{D as default};
diff --git a/assets/IDecorationOptions.html-198ade10.js b/assets/IDecorationOptions.html-198ade10.js
new file mode 100644
index 00000000..8fc9e4e9
--- /dev/null
+++ b/assets/IDecorationOptions.html-198ade10.js
@@ -0,0 +1 @@
+import{_ as s}from"./plugin-vue_export-helper-c27b6911.js";import{r as i,o as c,c as a,a as o,b as e,d as t,w as l}from"./app-5f5ef0a9.js";const d={},_=o("h1",{id:"idecorationoptions",tabindex:"-1"},[o("a",{class:"header-anchor",href:"#idecorationoptions","aria-hidden":"true"},"#"),e(" IDecorationOptions")],-1),h=o("code",null,"interface",-1),u={href:"https://microsoft.github.io/monaco-editor/docs.html#interfaces/editor.IDecorationOptions.html",target:"_blank",rel:"noopener noreferrer"},p=o("p",null,"继承关系:",-1),f=o("h2",{id:"属性-properties",tabindex:"-1"},[o("a",{class:"header-anchor",href:"#属性-properties","aria-hidden":"true"},"#"),e(" 属性 Properties")],-1),m=o("h3",{id:"color",tabindex:"-1"},[o("a",{class:"header-anchor",href:"#color","aria-hidden":"true"},"#"),e(" color")],-1),x=o("code",null,"string",-1),I=o("code",null,"必选",-1),O=o("li",null,[e("默认值: "),o("code",null,"-")],-1),k=o("li",null,[e("可选项: "),o("code",null,"-")],-1),b=o("li",null,[e("描述: "),o("code",null,"要呈现的 CSS 颜色。例如:rgba(100, 100, 100, 0.5) 或颜色注册表中的颜色")],-1),C=o("h3",{id:"darkcolor",tabindex:"-1"},[o("a",{class:"header-anchor",href:"#darkcolor","aria-hidden":"true"},"#"),e(" darkColor")],-1),D=o("code",null,"string",-1),v=o("code",null,"可选",-1),g=o("li",null,[e("默认值: "),o("code",null,"-")],-1),M=o("li",null,[e("可选项: "),o("code",null,"-")],-1),T=o("li",null,[e("描述: "),o("code",null,"要呈现的 CSS 颜色。例如:rgba(100, 100, 100, 0.5) 或颜色注册表中的颜色")],-1);function w(L,R){const r=i("ExternalLinkIcon"),n=i("RouterLink");return c(),a("div",null,[_,o("p",null,[h,e(),o("a",u,[e("官网地址"),t(r)])]),p,o("ul",null,[o("li",null,[e("IDecorationOptions "),o("ul",null,[o("li",null,[t(n,{to:"/editor/interfaces/IModelDecorationOverviewRulerOptions.html"},{default:l(()=>[e("IModelDecorationOverviewRulerOptions")]),_:1})]),o("li",null,[t(n,{to:"/editor/interfaces/IModelDecorationMinimapOptions.html"},{default:l(()=>[e("IModelDecorationMinimapOptions")]),_:1})])])])]),f,m,o("ul",null,[o("li",null,[e("类型: "),x,e(" | "),t(n,{to:"/editor/interfaces/ThemeColor.html"},{default:l(()=>[e("ThemeColor")]),_:1}),e(),I]),O,k,b]),C,o("ul",null,[o("li",null,[e("类型: "),D,e(" | "),t(n,{to:"/editor/interfaces/ThemeColor.html"},{default:l(()=>[e("ThemeColor")]),_:1}),e(),v]),g,M,T])])}const E=s(d,[["render",w],["__file","IDecorationOptions.html.vue"]]);export{E as default};
diff --git a/assets/IDecorationOptions.html-735606e7.js b/assets/IDecorationOptions.html-735606e7.js
new file mode 100644
index 00000000..04763186
--- /dev/null
+++ b/assets/IDecorationOptions.html-735606e7.js
@@ -0,0 +1 @@
+const t=JSON.parse('{"key":"v-be93f470","path":"/editor/interfaces/IDecorationOptions.html","title":"IDecorationOptions","lang":"zh-CN","frontmatter":{"description":"interface 官网地址 (https://microsoft.github.io/monaco-editor/docs.html#interfaces/editor.IDecorationOptions.html) 继承关系: IDecorationOptions; IModelDecorationOverviewRulerOptions (IM...","head":[["meta",{"property":"og:url","content":"http://aydk.site/editor/interfaces/IDecorationOptions.html"}],["meta",{"property":"og:site_name","content":"Monaco-editor 学习文档"}],["meta",{"property":"og:title","content":"IDecorationOptions"}],["meta",{"property":"og:description","content":"interface 官网地址 (https://microsoft.github.io/monaco-editor/docs.html#interfaces/editor.IDecorationOptions.html) 继承关系: IDecorationOptions; IModelDecorationOverviewRulerOptions (IM..."}],["meta",{"property":"og:type","content":"article"}],["meta",{"property":"og:locale","content":"zh-CN"}],["meta",{"property":"og:updated_time","content":"2023-06-16T20:04:45.000Z"}],["meta",{"property":"article:author","content":"aydk"}],["meta",{"property":"article:modified_time","content":"2023-06-16T20:04:45.000Z"}],["script",{"type":"application/ld+json"},"{\\"@context\\":\\"https://schema.org\\",\\"@type\\":\\"Article\\",\\"headline\\":\\"IDecorationOptions\\",\\"image\\":[\\"\\"],\\"dateModified\\":\\"2023-06-16T20:04:45.000Z\\",\\"author\\":[{\\"@type\\":\\"Person\\",\\"name\\":\\"aydk\\"}]}"]]},"headers":[{"level":2,"title":"属性 Properties","slug":"属性-properties","link":"#属性-properties","children":[{"level":3,"title":"color","slug":"color","link":"#color","children":[]},{"level":3,"title":"darkColor","slug":"darkcolor","link":"#darkcolor","children":[]}]}],"git":{"createdTime":1686945885000,"updatedTime":1686945885000,"contributors":[{"name":"xiaochaochao","email":"xiaochaochao","commits":1}]},"readingTime":{"minutes":0.34,"words":102},"filePathRelative":"editor/interfaces/IDecorationOptions.md","localizedDate":"2023年6月16日","autoDesc":true}');export{t as data};
diff --git a/assets/IDiffEditor.html-5a8dc8e8.js b/assets/IDiffEditor.html-5a8dc8e8.js
new file mode 100644
index 00000000..2c09698d
--- /dev/null
+++ b/assets/IDiffEditor.html-5a8dc8e8.js
@@ -0,0 +1 @@
+import{_ as r}from"./plugin-vue_export-helper-c27b6911.js";import{r as d,o as a,c as u,a as e,b as l,d as o,w as n,e as t}from"./app-5f5ef0a9.js";const c={},h=e("h1",{id:"idiffeditor",tabindex:"-1"},[e("a",{class:"header-anchor",href:"#idiffeditor","aria-hidden":"true"},"#"),l(" IDiffEditor")],-1),_=e("code",null,"interface",-1),f={href:"https://microsoft.github.io/monaco-editor/typedoc/interfaces/editor.IDiffEditor.html",target:"_blank",rel:"noopener noreferrer"},p=e("p",null,"继承关系:",-1),m=t(' 事件 Events
onDidChangeModel
- 语法:
onDidChangeModel: IEvent<void>
- 参数: ``
- 返回值:
IEvent<void>
- 描述:
更改差异模型时发出的事件(即差异编辑器显示新内容)。
onDidUpdateDiff
- 语法:
onDidUpdateDiff: IEvent<void>
- 参数: ``
- 返回值:
IEvent<void>
- 描述:
当对比信息计算发生变更时触发
onDidDispose
',6),g=e("li",null,[l("语法: "),e("code",null,"onDidDispose(listener: (() => void)): IDisposable")],-1),v=e("li",null,[l("参数: "),e("ul",null,[e("li",null,"listener: (() => void) (): void Returns void")])],-1),I=e("li",null,[l("描述: "),e("code",null,"当编辑器被释放时发出的事件")],-1),b=e("h2",{id:"方法-methods",tabindex:"-1"},[e("a",{class:"header-anchor",href:"#方法-methods","aria-hidden":"true"},"#"),l(" 方法 Methods")],-1),y=e("h3",{id:"createdecorationscollection",tabindex:"-1"},[e("a",{class:"header-anchor",href:"#createdecorationscollection","aria-hidden":"true"},"#"),l(" createDecorationsCollection")],-1),T=e("code",null,"createDecorationsCollection(",-1),x=e("code",null,"):",-1),D=e("code",null,"可选",-1),S=e("li",null,[l("描述: "),e("code",null,"创建一个装饰集合。通过此集合添加的所有装饰都将获得编辑器的所有者ID(这意味着它们不会显示在其他编辑器中)。当编辑器的模型更改时,这些装饰将自动清除。")],-1),L=t(' dispose
- 语法:
dispose(): void
- 描述:
释放此小部件使用的所有资源。调用此方法后,小部件将不再被使用。
focus
- 语法:
focus(): void
- 描述:
聚焦到此小部件上。
getContainerDomNode
- 语法:
getContainerDomNode(): HTMLElement | null
- 返回值:
HTMLElement | null
- 描述:
获取此小部件的容器 DOM 节点。返回 null 表示该小部件当前未附加到 DOM。
',7),E=e("li",null,[l("语法: "),e("code",null,"getDiffLineInformationForModified(lineNumber: number): IDiffLinesInformation")],-1),C=e("li",null,[l("参数: "),e("ul",null,[e("li",null,[l("lineNumber: "),e("code",null,"number")])])],-1),N=e("li",null,[l("描述: "),e("code",null,"获取修改后的文本的行信息。")],-1),P=e("h3",{id:"getdifflineinformationfororiginal",tabindex:"-1"},[e("a",{class:"header-anchor",href:"#getdifflineinformationfororiginal","aria-hidden":"true"},"#"),l(" getDiffLineInformationForOriginal")],-1),w=e("li",null,[l("语法: "),e("code",null,"getDiffLineInformationForOriginal(): IDiffLinesInformation")],-1),V=e("li",null,[l("描述: "),e("code",null,"获取原始文本的行信息。")],-1),R=t(' getEditorType
- 语法:
getEditorType(): string
- 返回值:
string
- 描述:
获取此小部件所属的编辑器类型。
getId
- 语法:
getId(): string
- 返回值:
string
- 描述:
获取此小部件的唯一标识符。
getLineChanges
',5),M=e("li",null,[l("语法: "),e("code",null,"getLineChanges(): ILineChange[] | undefined")],-1),O=e("li",null,[l("描述: "),e("code",null,"获取在此小部件中显示的行更改。")],-1),F=e("h3",{id:"getmodel",tabindex:"-1"},[e("a",{class:"header-anchor",href:"#getmodel","aria-hidden":"true"},"#"),l(" getModel")],-1),k=e("li",null,[l("语法: "),e("code",null,"getModel(): ITextModel | null")],-1),A=e("code",null,"null",-1),B=e("li",null,[l("描述: "),e("code",null,"获取此小部件的文本模型。")],-1),H=e("h3",{id:"getmodifiededitor",tabindex:"-1"},[e("a",{class:"header-anchor",href:"#getmodifiededitor","aria-hidden":"true"},"#"),l(" getModifiedEditor")],-1),U=e("li",null,[l("语法: "),e("code",null,"getModifiedEditor(): ICodeEditor")],-1),j=e("li",null,[l("描述: "),e("code",null,"获取修改后的文本编辑器。")],-1),q=e("h3",{id:"getoriginaleditor",tabindex:"-1"},[e("a",{class:"header-anchor",href:"#getoriginaleditor","aria-hidden":"true"},"#"),l(" getOriginalEditor")],-1),z=e("li",null,[l("语法: "),e("code",null,"getOriginalEditor(): ICodeEditor")],-1),G=e("li",null,[l("描述: "),e("code",null,"获取原始文本编辑器。")],-1),J=e("h3",{id:"getposition",tabindex:"-1"},[e("a",{class:"header-anchor",href:"#getposition","aria-hidden":"true"},"#"),l(" getPosition")],-1),K=e("li",null,[l("语法: "),e("code",null,"getPosition(): Position | null")],-1),Q=e("code",null,"null",-1),W=e("li",null,[l("描述: "),e("code",null,"获取此小部件的当前位置。")],-1),X=e("h3",{id:"getselection",tabindex:"-1"},[e("a",{class:"header-anchor",href:"#getselection","aria-hidden":"true"},"#"),l(" getSelection")],-1),Y=e("li",null,[l("语法: "),e("code",null,"getSelection(): Selection | null")],-1),Z=e("code",null,"null",-1),$=e("li",null,[l("描述: "),e("code",null,"获取此小部件的当前选择。")],-1),ee=e("h3",{id:"getselections",tabindex:"-1"},[e("a",{class:"header-anchor",href:"#getselections","aria-hidden":"true"},"#"),l(" getSelections")],-1),le=e("li",null,[l("语法: "),e("code",null,"getSelections(): Selection[] | null")],-1),oe=e("code",null,"null",-1),ie=e("li",null,[l("描述: "),e("code",null,"获取此小部件的当前选择集合。")],-1),ne=e("h3",{id:"getsupportedactions",tabindex:"-1"},[e("a",{class:"header-anchor",href:"#getsupportedactions","aria-hidden":"true"},"#"),l(" getSupportedActions")],-1),te=e("li",null,[l("语法: "),e("code",null,"getSupportedActions(): IEditorAction[]")],-1),de=e("li",null,[l("描述: "),e("code",null,"获取此小部件支持的所有操作。")],-1),se=e("h3",{id:"getvisiblecolumnfromposition",tabindex:"-1"},[e("a",{class:"header-anchor",href:"#getvisiblecolumnfromposition","aria-hidden":"true"},"#"),l(" getVisibleColumnFromPosition")],-1),re=e("li",null,[l("语法: "),e("code",null,"getVisibleColumnFromPosition(position: IPosition): number")],-1),ae=e("li",null,[l("返回值: "),e("code",null,"number")],-1),ue=e("li",null,[l("描述: "),e("code",null,"获取指定位置的可见列。")],-1),ce=t(' hasTextFocus
- 语法:
hasTextFocus(): boolean
- 返回值:
boolean
- 描述:
如果此小部件当前具有文本焦点,则返回 true。
layout
',3),he=e("li",null,[l("语法: "),e("code",null,"layout(dimension?: IDimension): void")],-1),_e=e("li",null,[l("描述: "),e("code",null,"指示编辑器重新测量其容器。调整编辑器容器大小时应调用此方法。 如果传入维度,则将使用传入的值。")],-1),fe=e("h3",{id:"restoreviewstate",tabindex:"-1"},[e("a",{class:"header-anchor",href:"#restoreviewstate","aria-hidden":"true"},"#"),l(" restoreViewState")],-1),pe=e("li",null,[l("语法: "),e("code",null,"restoreViewState(state: IDiffEditorViewState): void")],-1),me=e("li",null,[l("返回值: "),e("code",null,"void")],-1),ge=e("li",null,[l("描述: "),e("code",null,"还原编辑器的视图状态。")],-1),ve=e("h3",{id:"revealline",tabindex:"-1"},[e("a",{class:"header-anchor",href:"#revealline","aria-hidden":"true"},"#"),l(" revealLine")],-1),Ie=e("li",null,[l("语法: "),e("code",null,"revealLine(lineNumber: number, scrollType?: ScrollType): void")],-1),be=e("li",null,"lineNumber:number",-1),ye=e("code",null,"可选",-1),Te=e("li",null,[l("返回值: "),e("code",null,"void")],-1),xe=e("li",null,[l("描述: "),e("code",null,"将给定行滚动到视图中。")],-1),De=e("h3",{id:"reveallineincenter",tabindex:"-1"},[e("a",{class:"header-anchor",href:"#reveallineincenter","aria-hidden":"true"},"#"),l(" revealLineInCenter")],-1),Se=e("li",null,[l("语法: "),e("code",null,"revealLineInCenter(lineNumber: number, scrollType?: ScrollType): void")],-1),Le=e("li",null,"lineNumber:number",-1),Ee=e("code",null,"可选",-1),Ce=e("li",null,[l("返回值: "),e("code",null,"void")],-1),Ne=e("li",null,[l("描述: "),e("code",null,"将给定行滚动到视图中心。")],-1),Pe=e("h3",{id:"reveallineincenterifoutsideviewport",tabindex:"-1"},[e("a",{class:"header-anchor",href:"#reveallineincenterifoutsideviewport","aria-hidden":"true"},"#"),l(" revealLineInCenterIfOutsideViewport")],-1),we=e("li",null,[l("语法: "),e("code",null,"revealLineInCenterIfOutsideViewport(lineNumber: number, scrollType?: ScrollType): void")],-1),Ve=e("li",null,"lineNumber:number",-1),Re=e("code",null,"可选",-1),Me=e("li",null,[l("返回值: "),e("code",null,"void")],-1),Oe=e("li",null,[l("描述: "),e("code",null,"如果给定行在视口之外,则将其滚动到视图中心。")],-1),Fe=e("h3",{id:"reveallineneartop",tabindex:"-1"},[e("a",{class:"header-anchor",href:"#reveallineneartop","aria-hidden":"true"},"#"),l(" revealLineNearTop")],-1),ke=e("li",null,[l("语法: "),e("code",null,"revealLineNearTop(lineNumber: number, scrollType?: ScrollType): void")],-1),Ae=e("li",null,"lineNumber:number",-1),Be=e("code",null,"可选",-1),He=e("li",null,[l("返回值: "),e("code",null,"void")],-1),Ue=e("li",null,[l("描述: "),e("code",null,"将给定行滚动到视图的顶部。")],-1),je=e("h3",{id:"reveallines",tabindex:"-1"},[e("a",{class:"header-anchor",href:"#reveallines","aria-hidden":"true"},"#"),l(" revealLines")],-1),qe=e("li",null,[l("语法: "),e("code",null,"revealLines(startLineNumber: number, endLineNumber: number, scrollType?: ScrollType): void")],-1),ze=e("li",null,"startLineNumber:number",-1),Ge=e("li",null,"endLineNumber:number",-1),Je=e("code",null,"可选",-1),Ke=e("li",null,[l("返回值: "),e("code",null,"void")],-1),Qe=e("li",null,[l("描述: "),e("code",null,"将给定行范围滚动到视图中。")],-1),We=e("h3",{id:"reveallinesincenter",tabindex:"-1"},[e("a",{class:"header-anchor",href:"#reveallinesincenter","aria-hidden":"true"},"#"),l(" revealLinesInCenter")],-1),Xe=e("li",null,[l("语法: "),e("code",null,"revealLinesInCenter(startLineNumber: number, endLineNumber: number, scrollType?: ScrollType): void")],-1),Ye=e("li",null,"startLineNumber:number",-1),Ze=e("li",null,"endLineNumber:number",-1),$e=e("code",null,"可选",-1),el=e("li",null,[l("返回值: "),e("code",null,"void")],-1),ll=e("li",null,[l("描述: "),e("code",null,"将给定行范围滚动到视图中心。")],-1),ol=e("h3",{id:"reveallinesincenterifoutsideviewport",tabindex:"-1"},[e("a",{class:"header-anchor",href:"#reveallinesincenterifoutsideviewport","aria-hidden":"true"},"#"),l(" revealLinesInCenterIfOutsideViewport")],-1),il=e("li",null,[l("语法: "),e("code",null,"revealLinesInCenterIfOutsideViewport(startLineNumber: number, endLineNumber: number, scrollType?: ScrollType): void")],-1),nl=e("li",null,"startLineNumber:number",-1),tl=e("li",null,"endLineNumber:number",-1),dl=e("code",null,"可选",-1),sl=e("li",null,[l("返回值: "),e("code",null,"void")],-1),rl=e("li",null,[l("描述: "),e("code",null,"如果给定行范围在视口之外,则将其滚动到视图中心。")],-1),al=e("h3",{id:"reveallinesneartop",tabindex:"-1"},[e("a",{class:"header-anchor",href:"#reveallinesneartop","aria-hidden":"true"},"#"),l(" revealLinesNearTop")],-1),ul=e("li",null,[l("语法: "),e("code",null,"revealLinesNearTop(startLineNumber: number, endLineNumber: number, scrollType?: ScrollType): void")],-1),cl=e("li",null,"startLineNumber:number",-1),hl=e("li",null,"endLineNumber:number",-1),_l=e("code",null,"可选",-1),fl=e("li",null,[l("返回值: "),e("code",null,"void")],-1),pl=e("li",null,[l("描述: "),e("code",null,"将给定行范围滚动到视图的顶部。")],-1),ml=e("h3",{id:"revealposition",tabindex:"-1"},[e("a",{class:"header-anchor",href:"#revealposition","aria-hidden":"true"},"#"),l(" revealPosition")],-1),gl=e("li",null,[l("语法: "),e("code",null,"revealPosition(position: IPosition, scrollType?: ScrollType): void")],-1),vl=e("code",null,"可选",-1),Il=e("li",null,[l("返回值: "),e("code",null,"void")],-1),bl=e("li",null,[l("描述: "),e("code",null,"将给定位置滚动到视图中。")],-1),yl=e("h3",{id:"revealpositionincenter",tabindex:"-1"},[e("a",{class:"header-anchor",href:"#revealpositionincenter","aria-hidden":"true"},"#"),l(" revealPositionInCenter")],-1),Tl=e("li",null,[l("语法: "),e("code",null,"revealPositionInCenter(position: IPosition, scrollType?: ScrollType): void")],-1),xl=e("code",null,"可选",-1),Dl=e("li",null,[l("返回值: "),e("code",null,"void")],-1),Sl=e("li",null,[l("描述: "),e("code",null,"将给定位置滚动到视图中心。")],-1),Ll=e("h3",{id:"revealpositionincenterifoutsideviewport",tabindex:"-1"},[e("a",{class:"header-anchor",href:"#revealpositionincenterifoutsideviewport","aria-hidden":"true"},"#"),l(" revealPositionInCenterIfOutsideViewport")],-1),El=e("li",null,[l("语法: "),e("code",null,"revealPositionInCenterIfOutsideViewport(position: IPosition, scrollType?: ScrollType): void")],-1),Cl=e("code",null,"可选",-1),Nl=e("li",null,[l("返回值: "),e("code",null,"void")],-1),Pl=e("li",null,[l("描述: "),e("code",null,"如果给定位置在视口之外,则将其滚动到视图中心。")],-1),wl=e("h3",{id:"revealpositionneartop",tabindex:"-1"},[e("a",{class:"header-anchor",href:"#revealpositionneartop","aria-hidden":"true"},"#"),l(" revealPositionNearTop")],-1),Vl=e("li",null,[l("语法: "),e("code",null,"revealPositionNearTop(position: IPosition, scrollType?: ScrollType): void")],-1),Rl=e("code",null,"可选",-1),Ml=e("li",null,[l("返回值: "),e("code",null,"void")],-1),Ol=e("li",null,[l("描述: "),e("code",null,"将给定位置滚动到视图的顶部。")],-1),Fl=e("h3",{id:"revealrange",tabindex:"-1"},[e("a",{class:"header-anchor",href:"#revealrange","aria-hidden":"true"},"#"),l(" revealRange")],-1),kl=e("li",null,[l("语法: "),e("code",null,"revealRange(range: IRange, scrollType?: ScrollType): void")],-1),Al=e("code",null,"可选",-1),Bl=e("li",null,[l("返回值: "),e("code",null,"void")],-1),Hl=e("li",null,[l("描述: "),e("code",null,"将给定范围滚动到视图中。")],-1),Ul=e("h3",{id:"revealrangeattop",tabindex:"-1"},[e("a",{class:"header-anchor",href:"#revealrangeattop","aria-hidden":"true"},"#"),l(" revealRangeAtTop")],-1),jl=e("li",null,[l("语法: "),e("code",null,"revealRangeAtTop(range: IRange, scrollType?: ScrollType): void")],-1),ql=e("code",null,"可选",-1),zl=e("li",null,[l("返回值: "),e("code",null,"无")],-1),Gl=e("li",null,[l("描述: "),e("code",null,"将指定范围滚动到编辑器的顶部。如果revealVerticalInCenter为true,则将范围滚动到编辑器垂直中心。如果scrollType为Smooth,则使用平滑滚动。")],-1),Jl=e("h3",{id:"revealrangeincenter",tabindex:"-1"},[e("a",{class:"header-anchor",href:"#revealrangeincenter","aria-hidden":"true"},"#"),l(" revealRangeInCenter")],-1),Kl=e("li",null,[l("语法: "),e("code",null,"revealRangeInCenter(range: IRange, scrollType?: ScrollType): void")],-1),Ql=e("code",null,"可选",-1),Wl=e("li",null,[l("返回值: "),e("code",null,"无")],-1),Xl=e("li",null,[l("描述: "),e("code",null,"将指定范围滚动到编辑器的中心。如果revealVerticalInCenter为true,则将范围滚动到编辑器垂直中心。如果scrollType为Smooth,则使用平滑滚动。")],-1),Yl=e("h3",{id:"revealrangeincenterifoutsideviewport",tabindex:"-1"},[e("a",{class:"header-anchor",href:"#revealrangeincenterifoutsideviewport","aria-hidden":"true"},"#"),l(" revealRangeInCenterIfOutsideViewport")],-1),Zl=e("li",null,[l("语法: "),e("code",null,"revealRangeInCenterIfOutsideViewport(range: IRange, scrollType?: ScrollType): void")],-1),$l=e("code",null,"可选",-1),eo=e("li",null,[l("返回值: "),e("code",null,"无")],-1),lo=e("li",null,[l("描述: "),e("code",null,"如果指定的范围不在编辑器的视口中,则将其滚动到编辑器的中心。如果revealVerticalInCenter为true,则将范围滚动到编辑器垂直中心。如果scrollType为Smooth,则使用平滑滚动。")],-1),oo=e("h3",{id:"revealrangeneartop",tabindex:"-1"},[e("a",{class:"header-anchor",href:"#revealrangeneartop","aria-hidden":"true"},"#"),l(" revealRangeNearTop")],-1),io=e("li",null,[l("语法: "),e("code",null,"revealRangeNearTop(range: IRange, scrollType?: ScrollType): void")],-1),no=e("code",null,"可选",-1),to=e("li",null,[l("返回值: "),e("code",null,"无")],-1),so=e("li",null,[l("描述: "),e("code",null,"将指定范围滚动到编辑器的顶部,如果可能的话,将其保持在视口的顶部。如果revealVerticalInCenter为true,则将范围滚动到编辑器垂直中心。如果scrollType为Smooth,则使用平滑滚动。")],-1),ro=e("h3",{id:"revealrangeneartopifoutsideviewport",tabindex:"-1"},[e("a",{class:"header-anchor",href:"#revealrangeneartopifoutsideviewport","aria-hidden":"true"},"#"),l(" revealRangeNearTopIfOutsideViewport")],-1),ao=e("li",null,[l("语法: "),e("code",null,"revealRangeNearTopIfOutsideViewport(range: IRange, scrollType?: ScrollType): void")],-1),uo=e("li",null,[l("revealVerticalInCenter: "),e("code",null,"可选"),l(" boolean")],-1),co=e("code",null,"可选",-1),ho=e("li",null,[l("返回值: "),e("code",null,"无")],-1),_o=e("li",null,[l("描述: "),e("code",null,"如果指定的范围不在编辑器的视口中,则将其滚动到编辑器的顶部,如果可能的话,将其保持在视口的顶部。如果revealVerticalInCenter为true,则将范围滚动到编辑器垂直中心。如果scrollType为Smooth,则使用平滑滚动。")],-1),fo=e("h3",{id:"saveviewstate",tabindex:"-1"},[e("a",{class:"header-anchor",href:"#saveviewstate","aria-hidden":"true"},"#"),l(" saveViewState")],-1),po=e("li",null,[l("语法: "),e("code",null,"saveViewState(): IDiffEditorViewState")],-1),mo=e("li",null,[l("参数: "),e("code",null,"无")],-1),go=e("li",null,[l("描述: "),e("code",null,"返回当前编辑器的视图状态。")],-1),vo=e("h3",{id:"setmodel",tabindex:"-1"},[e("a",{class:"header-anchor",href:"#setmodel","aria-hidden":"true"},"#"),l(" setModel")],-1),Io=e("li",null,[l("语法: "),e("code",null,"setModel(model: IDiffEditorModel | null): void")],-1),bo=e("code",null,"null",-1),yo=e("li",null,[l("返回值: "),e("code",null,"无")],-1),To=e("li",null,[l("描述: "),e("code",null,"设置附加到此编辑器的当前模型。 如果之前的模型是由编辑器通过选项文字对象中的值键创建的,它将被销毁。 否则,如果先前的模型是通过 setModel 设置的,或者选项文字对象中的模型键,则不会销毁先前的模型。 调用 setModel(null) 以简单地将当前模型与编辑器分离是安全的")],-1),xo=e("h3",{id:"setposition",tabindex:"-1"},[e("a",{class:"header-anchor",href:"#setposition","aria-hidden":"true"},"#"),l(" setPosition")],-1),Do=e("li",null,[l("语法: "),e("code",null,"setPosition(position: IPosition, source?: string): void")],-1),So=e("li",null,[l("source: "),e("code",null,"string"),l(),e("code",null,"可选")],-1),Lo=e("li",null,[l("返回值: "),e("code",null,"无")],-1),Eo=e("li",null,[l("描述: "),e("code",null,"将编辑器的光标位置设置为指定的位置。")],-1),Co=e("h3",{id:"setselection",tabindex:"-1"},[e("a",{class:"header-anchor",href:"#setselection","aria-hidden":"true"},"#"),l(" setSelection")],-1),No=e("li",null,[l("语法: "),e("code",null,"setSelection(selection: IRange, source?: string): void")],-1),Po=e("li",null,[l("source: "),e("code",null,"string"),l(),e("code",null,"可选")],-1),wo=e("li",null,[l("返回值: "),e("code",null,"无")],-1),Vo=e("li",null,[l("描述: "),e("code",null,"将编辑器的选择设置为指定的范围。")],-1),Ro=e("h3",{id:"setselections",tabindex:"-1"},[e("a",{class:"header-anchor",href:"#setselections","aria-hidden":"true"},"#"),l(" setSelections")],-1),Mo=e("li",null,[l("语法: "),e("code",null,"setSelections(selections: ISelection[], source?: string): void")],-1),Oo=e("li",null,[l("source: "),e("code",null,"string"),l(),e("code",null,"可选")],-1),Fo=e("li",null,[l("返回值: "),e("code",null,"无")],-1),ko=e("li",null,[l("描述: "),e("code",null,"将编辑器的选择设置为指定的范围数组。")],-1),Ao=t(' trigger
- 语法:
trigger(source: string, handlerId: string, payload?: any): void
- 参数:
- source:
string
- handlerId:
string
- payload:
可选
any
- 返回值:
无
- 描述:
触发指定的命令。
updateOptions
',3),Bo=e("li",null,[l("语法: "),e("code",null,"updateOptions(newOptions: IDiffEditorOptions): void")],-1),Ho=e("li",null,[l("返回值: "),e("code",null,"无")],-1),Uo=e("li",null,[l("描述: "),e("code",null,"更新编辑器的选项。")],-1);function jo(qo,zo){const s=d("ExternalLinkIcon"),i=d("RouterLink");return a(),u("div",null,[h,e("p",null,[_,l(" diff编辑器的实例相关的方法和属性 "),e("a",f,[l("官网地址"),o(s)])]),p,e("ul",null,[e("li",null,[o(i,{to:"/editor/interfaces/IEditor.html"},{default:n(()=>[l("IEditor")]),_:1}),e("ul",null,[e("li",null,[o(i,{to:"/editor/interfaces/IDiffEditor.html"},{default:n(()=>[l("IDiffEditor")]),_:1}),e("ul",null,[e("li",null,[o(i,{to:"/editor/interfaces/IStandaloneCodeEditor.html"},{default:n(()=>[l("IStandaloneDiffEditor")]),_:1})])])])])])]),m,e("ul",null,[g,v,e("li",null,[l("返回值: "),o(i,{to:"/global/interfaces/IDisposable.html"},{default:n(()=>[l("IDisposable")]),_:1})]),I]),b,y,e("ul",null,[e("li",null,[l("语法: "),T,l("decorations?: "),o(i,{to:"/editor/interfaces/IModelDeltaDecoration.html"},{default:n(()=>[l("IModelDeltaDecoration")]),_:1}),l("[]"),x,l(),o(i,{to:"/editor/interfaces/IEditorDecorationsCollection.html"},{default:n(()=>[l("IEditorDecorationsCollection")]),_:1})]),e("li",null,[l("参数: "),o(i,{to:"/editor/interfaces/IModelDeltaDecoration.html"},{default:n(()=>[l("IModelDeltaDecoration")]),_:1}),l("[] "),D]),e("li",null,[l("返回值: "),o(i,{to:"/editor/interfaces/IEditorDecorationsCollection.html"},{default:n(()=>[l("IEditorDecorationsCollection")]),_:1})]),S]),L,e("ul",null,[E,C,e("li",null,[l("返回值: "),o(i,{to:"/editor/interfaces/IDiffLineInformation.html"},{default:n(()=>[l("IDiffLineInformation")]),_:1})]),N]),P,e("ul",null,[w,e("li",null,[l("返回值: "),o(i,{to:"/editor/interfaces/IDiffLineInformation.html"},{default:n(()=>[l("IDiffLineInformation")]),_:1})]),V]),R,e("ul",null,[M,e("li",null,[l("返回值: "),o(i,{to:"/editor/interfaces/ILineChange.html"},{default:n(()=>[l("ILineChange")]),_:1}),l("[]")]),O]),F,e("ul",null,[k,e("li",null,[l("返回值: "),o(i,{to:"/editor/interfaces/ITextModel.html"},{default:n(()=>[l("ITextModel")]),_:1}),l(" | "),A]),B]),H,e("ul",null,[U,e("li",null,[l("返回值: "),o(i,{to:"/editor/interfaces/ICodeEditor.html"},{default:n(()=>[l("ICodeEditor")]),_:1})]),j]),q,e("ul",null,[z,e("li",null,[l("返回值: "),o(i,{to:"/editor/interfaces/ICodeEditor.html"},{default:n(()=>[l("ICodeEditor")]),_:1})]),G]),J,e("ul",null,[K,e("li",null,[l("返回值: "),o(i,{to:"/global/classes/Position.html"},{default:n(()=>[l(" Position")]),_:1}),l(" | "),Q]),W]),X,e("ul",null,[Y,e("li",null,[l("返回值: "),o(i,{to:"/global/classes/Selection.html"},{default:n(()=>[l("Selection")]),_:1}),l(" | "),Z]),$]),ee,e("ul",null,[le,e("li",null,[l("返回值: "),o(i,{to:"/global/classes/Selection.html"},{default:n(()=>[l("Selection")]),_:1}),l("[] | "),oe]),ie]),ne,e("ul",null,[te,e("li",null,[l("返回值: "),o(i,{to:"/editor/interfaces/IEditorAction.html"},{default:n(()=>[l("IEditorAction")]),_:1}),l("[]")]),de]),se,e("ul",null,[re,e("li",null,[l("参数: "),e("ul",null,[e("li",null,[l("position: "),o(i,{to:"/global/interfaces/IPosition.html"},{default:n(()=>[l("IPosition")]),_:1})])])]),ae,ue]),ce,e("ul",null,[he,e("li",null,[l("参数: "),e("ul",null,[e("li",null,[l("dimension: "),o(i,{to:"/editor/interfaces/IDimension.html"},{default:n(()=>[l("IDimension")]),_:1})])])]),_e]),fe,e("ul",null,[pe,e("li",null,[l("参数: "),e("ul",null,[e("li",null,[l("state:"),o(i,{to:"/editor/interfaces/IDiffEditorViewState.html"},{default:n(()=>[l("IDiffEditorViewState")]),_:1})])])]),me,ge]),ve,e("ul",null,[Ie,e("li",null,[l("参数: "),e("ul",null,[be,e("li",null,[l("scrollType: "),o(i,{to:"/editor/enumerations.html#scrolltype"},{default:n(()=>[l("scrollType")]),_:1}),l(),ye])])]),Te,xe]),De,e("ul",null,[Se,e("li",null,[l("参数: "),e("ul",null,[Le,e("li",null,[l("scrollType: "),o(i,{to:"/editor/enumerations.html#scrolltype"},{default:n(()=>[l("scrollType")]),_:1}),l(),Ee])])]),Ce,Ne]),Pe,e("ul",null,[we,e("li",null,[l("参数: "),e("ul",null,[Ve,e("li",null,[l("scrollType: "),o(i,{to:"/editor/enumerations.html#scrolltype"},{default:n(()=>[l("scrollType")]),_:1}),l(),Re])])]),Me,Oe]),Fe,e("ul",null,[ke,e("li",null,[l("参数: "),e("ul",null,[Ae,e("li",null,[l("scrollType: "),o(i,{to:"/editor/enumerations.html#scrolltype"},{default:n(()=>[l("scrollType")]),_:1}),l(),Be])])]),He,Ue]),je,e("ul",null,[qe,e("li",null,[l("参数: "),e("ul",null,[ze,Ge,e("li",null,[l("scrollType: "),o(i,{to:"/editor/enumerations.html#scrolltype"},{default:n(()=>[l("scrollType")]),_:1}),l(),Je])])]),Ke,Qe]),We,e("ul",null,[Xe,e("li",null,[l("参数: "),e("ul",null,[Ye,Ze,e("li",null,[l("scrollType: "),o(i,{to:"/editor/enumerations.html#scrolltype"},{default:n(()=>[l("scrollType")]),_:1}),l(),$e])])]),el,ll]),ol,e("ul",null,[il,e("li",null,[l("参数: "),e("ul",null,[nl,tl,e("li",null,[l("scrollType: "),o(i,{to:"/editor/enumerations.html#scrolltype"},{default:n(()=>[l("scrollType")]),_:1}),l(),dl])])]),sl,rl]),al,e("ul",null,[ul,e("li",null,[l("参数: "),e("ul",null,[cl,hl,e("li",null,[l("scrollType: "),o(i,{to:"/editor/enumerations.html#scrolltype"},{default:n(()=>[l("scrollType")]),_:1}),l(),_l])])]),fl,pl]),ml,e("ul",null,[gl,e("li",null,[l("参数: "),e("ul",null,[e("li",null,[l("position:"),o(i,{to:"/global/interfaces/IPosition.html"},{default:n(()=>[l("IPosition")]),_:1})]),e("li",null,[l("scrollType: "),o(i,{to:"/editor/enumerations.html#scrolltype"},{default:n(()=>[l("scrollType")]),_:1}),l(),vl])])]),Il,bl]),yl,e("ul",null,[Tl,e("li",null,[l("参数: "),e("ul",null,[e("li",null,[l("position:"),o(i,{to:"/global/interfaces/IPosition.html"},{default:n(()=>[l("IPosition")]),_:1})]),e("li",null,[l("scrollType: "),o(i,{to:"/editor/enumerations.html#scrolltype"},{default:n(()=>[l("scrollType")]),_:1}),l(),xl])])]),Dl,Sl]),Ll,e("ul",null,[El,e("li",null,[l("参数: "),e("ul",null,[e("li",null,[l("position:"),o(i,{to:"/global/interfaces/IPosition.html"},{default:n(()=>[l("IPosition")]),_:1})]),e("li",null,[l("scrollType: "),o(i,{to:"/editor/enumerations.html#scrolltype"},{default:n(()=>[l("scrollType")]),_:1}),l(),Cl])])]),Nl,Pl]),wl,e("ul",null,[Vl,e("li",null,[l("参数: "),e("ul",null,[e("li",null,[l("position:"),o(i,{to:"/global/interfaces/IPosition.html"},{default:n(()=>[l("IPosition")]),_:1})]),e("li",null,[l("scrollType: "),o(i,{to:"/editor/enumerations.html#scrolltype"},{default:n(()=>[l("scrollType")]),_:1}),l(),Rl])])]),Ml,Ol]),Fl,e("ul",null,[kl,e("li",null,[l("参数: "),e("ul",null,[e("li",null,[l("range:"),o(i,{to:"/global/interfaces/IRange.html"},{default:n(()=>[l("IPosition")]),_:1})]),e("li",null,[l("scrollType: "),o(i,{to:"/editor/enumerations.html#scrolltype"},{default:n(()=>[l("scrollType")]),_:1}),l(),Al])])]),Bl,Hl]),Ul,e("ul",null,[jl,e("li",null,[l("参数: "),e("ul",null,[e("li",null,[l("range: "),o(i,{to:"/global/interfaces/IRange.html"},{default:n(()=>[l("IPosition")]),_:1})]),e("li",null,[l("scrollType: "),ql,l(),o(i,{to:"/editor/enumerations.html#scrolltype"},{default:n(()=>[l("scrollType")]),_:1})])])]),zl,Gl]),Jl,e("ul",null,[Kl,e("li",null,[l("参数: "),e("ul",null,[e("li",null,[l("range: "),o(i,{to:"/global/interfaces/IRange.html"},{default:n(()=>[l("IPosition")]),_:1})]),e("li",null,[l("scrollType: "),Ql,l(),o(i,{to:"/editor/enumerations.html#scrolltype"},{default:n(()=>[l("scrollType")]),_:1})])])]),Wl,Xl]),Yl,e("ul",null,[Zl,e("li",null,[l("参数: "),e("ul",null,[e("li",null,[l("range: "),o(i,{to:"/global/interfaces/IRange.html"},{default:n(()=>[l("IPosition")]),_:1})]),e("li",null,[l("scrollType: "),$l,l(),o(i,{to:"/editor/enumerations.html#scrolltype"},{default:n(()=>[l("scrollType")]),_:1})])])]),eo,lo]),oo,e("ul",null,[io,e("li",null,[l("参数: "),e("ul",null,[e("li",null,[l("range: "),o(i,{to:"/global/interfaces/IRange.html"},{default:n(()=>[l("IPosition")]),_:1})]),e("li",null,[l("scrollType: "),no,l(),o(i,{to:"/editor/enumerations.html#scrolltype"},{default:n(()=>[l("scrollType")]),_:1})])])]),to,so]),ro,e("ul",null,[ao,e("li",null,[l("参数: "),e("ul",null,[e("li",null,[l("range: "),o(i,{to:"/global/interfaces/IRange.html"},{default:n(()=>[l("IPosition")]),_:1})]),uo,e("li",null,[l("scrollType: "),co,l(),o(i,{to:"/editor/enumerations.html#scrolltype"},{default:n(()=>[l("scrollType")]),_:1})])])]),ho,_o]),fo,e("ul",null,[po,mo,e("li",null,[l("返回值: "),o(i,{to:"/editor/interfaces/IDiffEditorViewState.html"},{default:n(()=>[l("IDiffEditorViewState")]),_:1})]),go]),vo,e("ul",null,[Io,e("li",null,[l("参数: "),e("ul",null,[e("li",null,[l("model: "),o(i,{to:"/editor/interfaces/IDiffEditorModel.html"},{default:n(()=>[l("IDiffEditorModel")]),_:1}),l(" 或 "),bo])])]),yo,To]),xo,e("ul",null,[Do,e("li",null,[l("参数: "),e("ul",null,[e("li",null,[l("position: "),o(i,{to:"/global/interfaces/IPosition.html"},{default:n(()=>[l("IPosition")]),_:1})]),So])]),Lo,Eo]),Co,e("ul",null,[No,e("li",null,[l("参数: "),e("ul",null,[e("li",null,[l("selection: "),o(i,{to:"/global/interfaces/IRange.html"},{default:n(()=>[l("IPosition")]),_:1})]),Po])]),wo,Vo]),Ro,e("ul",null,[Mo,e("li",null,[l("参数: "),e("ul",null,[e("li",null,[l("selections: "),o(i,{to:"/global/interfaces/ISelection.html"},{default:n(()=>[l("ISelection")]),_:1}),l("[]")]),Oo])]),Fo,ko]),Ao,e("ul",null,[Bo,e("li",null,[l("参数: "),e("ul",null,[e("li",null,[l("newOptions: "),o(i,{to:"/editor/interfaces/IDiffEditorOptions.html"},{default:n(()=>[l("IDiffEditorOptions")]),_:1})])])]),Ho,Uo])])}const Ko=r(c,[["render",jo],["__file","IDiffEditor.html.vue"]]);export{Ko as default};
diff --git a/assets/IDiffEditor.html-e9f2fd84.js b/assets/IDiffEditor.html-e9f2fd84.js
new file mode 100644
index 00000000..fc115bf1
--- /dev/null
+++ b/assets/IDiffEditor.html-e9f2fd84.js
@@ -0,0 +1 @@
+const e=JSON.parse('{"key":"v-4ffad0ea","path":"/editor/interfaces/IDiffEditor.html","title":"IDiffEditor","lang":"zh-CN","frontmatter":{"description":"interface diff编辑器的实例相关的方法和属性 官网地址 (https://microsoft.github.io/monaco-editor/typedoc/interfaces/editor.IDiffEditor.html) 继承关系: IEditor (IEditor.md); IDiffEditor (IDiffEditor.md)...","head":[["meta",{"property":"og:url","content":"http://aydk.site/editor/interfaces/IDiffEditor.html"}],["meta",{"property":"og:site_name","content":"Monaco-editor 学习文档"}],["meta",{"property":"og:title","content":"IDiffEditor"}],["meta",{"property":"og:description","content":"interface diff编辑器的实例相关的方法和属性 官网地址 (https://microsoft.github.io/monaco-editor/typedoc/interfaces/editor.IDiffEditor.html) 继承关系: IEditor (IEditor.md); IDiffEditor (IDiffEditor.md)..."}],["meta",{"property":"og:type","content":"article"}],["meta",{"property":"og:locale","content":"zh-CN"}],["meta",{"property":"og:updated_time","content":"2024-02-06T15:45:31.000Z"}],["meta",{"property":"article:author","content":"aydk"}],["meta",{"property":"article:modified_time","content":"2024-02-06T15:45:31.000Z"}],["script",{"type":"application/ld+json"},"{\\"@context\\":\\"https://schema.org\\",\\"@type\\":\\"Article\\",\\"headline\\":\\"IDiffEditor\\",\\"image\\":[\\"\\"],\\"dateModified\\":\\"2024-02-06T15:45:31.000Z\\",\\"author\\":[{\\"@type\\":\\"Person\\",\\"name\\":\\"aydk\\"}]}"]]},"headers":[{"level":2,"title":"事件 Events","slug":"事件-events","link":"#事件-events","children":[{"level":3,"title":"onDidChangeModel","slug":"ondidchangemodel","link":"#ondidchangemodel","children":[]},{"level":3,"title":"onDidUpdateDiff","slug":"ondidupdatediff","link":"#ondidupdatediff","children":[]},{"level":3,"title":"onDidDispose","slug":"ondiddispose","link":"#ondiddispose","children":[]}]},{"level":2,"title":"方法 Methods","slug":"方法-methods","link":"#方法-methods","children":[{"level":3,"title":"createDecorationsCollection","slug":"createdecorationscollection","link":"#createdecorationscollection","children":[]},{"level":3,"title":"dispose","slug":"dispose","link":"#dispose","children":[]},{"level":3,"title":"focus","slug":"focus","link":"#focus","children":[]},{"level":3,"title":"getContainerDomNode","slug":"getcontainerdomnode","link":"#getcontainerdomnode","children":[]},{"level":3,"title":"getDiffLineInformationForModified","slug":"getdifflineinformationformodified","link":"#getdifflineinformationformodified","children":[]},{"level":3,"title":"getDiffLineInformationForOriginal","slug":"getdifflineinformationfororiginal","link":"#getdifflineinformationfororiginal","children":[]},{"level":3,"title":"getEditorType","slug":"geteditortype","link":"#geteditortype","children":[]},{"level":3,"title":"getId","slug":"getid","link":"#getid","children":[]},{"level":3,"title":"getLineChanges","slug":"getlinechanges","link":"#getlinechanges","children":[]},{"level":3,"title":"getModel","slug":"getmodel","link":"#getmodel","children":[]},{"level":3,"title":"getModifiedEditor","slug":"getmodifiededitor","link":"#getmodifiededitor","children":[]},{"level":3,"title":"getOriginalEditor","slug":"getoriginaleditor","link":"#getoriginaleditor","children":[]},{"level":3,"title":"getPosition","slug":"getposition","link":"#getposition","children":[]},{"level":3,"title":"getSelection","slug":"getselection","link":"#getselection","children":[]},{"level":3,"title":"getSelections","slug":"getselections","link":"#getselections","children":[]},{"level":3,"title":"getSupportedActions","slug":"getsupportedactions","link":"#getsupportedactions","children":[]},{"level":3,"title":"getVisibleColumnFromPosition","slug":"getvisiblecolumnfromposition","link":"#getvisiblecolumnfromposition","children":[]},{"level":3,"title":"hasTextFocus","slug":"hastextfocus","link":"#hastextfocus","children":[]},{"level":3,"title":"layout","slug":"layout","link":"#layout","children":[]},{"level":3,"title":"restoreViewState","slug":"restoreviewstate","link":"#restoreviewstate","children":[]},{"level":3,"title":"revealLine","slug":"revealline","link":"#revealline","children":[]},{"level":3,"title":"revealLineInCenter","slug":"reveallineincenter","link":"#reveallineincenter","children":[]},{"level":3,"title":"revealLineInCenterIfOutsideViewport","slug":"reveallineincenterifoutsideviewport","link":"#reveallineincenterifoutsideviewport","children":[]},{"level":3,"title":"revealLineNearTop","slug":"reveallineneartop","link":"#reveallineneartop","children":[]},{"level":3,"title":"revealLines","slug":"reveallines","link":"#reveallines","children":[]},{"level":3,"title":"revealLinesInCenter","slug":"reveallinesincenter","link":"#reveallinesincenter","children":[]},{"level":3,"title":"revealLinesInCenterIfOutsideViewport","slug":"reveallinesincenterifoutsideviewport","link":"#reveallinesincenterifoutsideviewport","children":[]},{"level":3,"title":"revealLinesNearTop","slug":"reveallinesneartop","link":"#reveallinesneartop","children":[]},{"level":3,"title":"revealPosition","slug":"revealposition","link":"#revealposition","children":[]},{"level":3,"title":"revealPositionInCenter","slug":"revealpositionincenter","link":"#revealpositionincenter","children":[]},{"level":3,"title":"revealPositionInCenterIfOutsideViewport","slug":"revealpositionincenterifoutsideviewport","link":"#revealpositionincenterifoutsideviewport","children":[]},{"level":3,"title":"revealPositionNearTop","slug":"revealpositionneartop","link":"#revealpositionneartop","children":[]},{"level":3,"title":"revealRange","slug":"revealrange","link":"#revealrange","children":[]},{"level":3,"title":"revealRangeAtTop","slug":"revealrangeattop","link":"#revealrangeattop","children":[]},{"level":3,"title":"revealRangeInCenter","slug":"revealrangeincenter","link":"#revealrangeincenter","children":[]},{"level":3,"title":"revealRangeInCenterIfOutsideViewport","slug":"revealrangeincenterifoutsideviewport","link":"#revealrangeincenterifoutsideviewport","children":[]},{"level":3,"title":"revealRangeNearTop","slug":"revealrangeneartop","link":"#revealrangeneartop","children":[]},{"level":3,"title":"revealRangeNearTopIfOutsideViewport","slug":"revealrangeneartopifoutsideviewport","link":"#revealrangeneartopifoutsideviewport","children":[]},{"level":3,"title":"saveViewState","slug":"saveviewstate","link":"#saveviewstate","children":[]},{"level":3,"title":"setModel","slug":"setmodel","link":"#setmodel","children":[]},{"level":3,"title":"setPosition","slug":"setposition","link":"#setposition","children":[]},{"level":3,"title":"setSelection","slug":"setselection","link":"#setselection","children":[]},{"level":3,"title":"setSelections","slug":"setselections","link":"#setselections","children":[]},{"level":3,"title":"trigger","slug":"trigger","link":"#trigger","children":[]},{"level":3,"title":"updateOptions","slug":"updateoptions","link":"#updateoptions","children":[]}]}],"git":{"createdTime":1686945885000,"updatedTime":1707234331000,"contributors":[{"name":"xiaochaochao","email":"xiaochaochao","commits":2}]},"readingTime":{"minutes":6.82,"words":2045},"filePathRelative":"editor/interfaces/IDiffEditor.md","localizedDate":"2023年6月16日","autoDesc":true}');export{e as data};
diff --git a/assets/IDiffEditorBaseOptions.html-87ca2d59.js b/assets/IDiffEditorBaseOptions.html-87ca2d59.js
new file mode 100644
index 00000000..8a4ff40e
--- /dev/null
+++ b/assets/IDiffEditorBaseOptions.html-87ca2d59.js
@@ -0,0 +1 @@
+import{_ as c}from"./plugin-vue_export-helper-c27b6911.js";import{r as d,o as n,c as t,a as e,b as i,d as o,w as h,e as l}from"./app-5f5ef0a9.js";const s={},u=e("h1",{id:"idiffeditorbaseoptions",tabindex:"-1"},[e("a",{class:"header-anchor",href:"#idiffeditorbaseoptions","aria-hidden":"true"},"#"),i(" IDiffEditorBaseOptions")],-1),f=e("code",null,"interface",-1),b={href:"https://microsoft.github.io/monaco-editor/docs.html#interfaces/editor.IDiffEditorBaseOptions.html",target:"_blank",rel:"noopener noreferrer"},m=l(' 属性 Properties
accessibilityVerbose
- 类型:
boolean
可选
- 默认值:
-
- 可选项:
-
- 描述:
是否应该在 diff 编辑器的 ARIA 标签中使用详细的描述。
diffAlgorithm
',4),p=e("li",null,[i("类型: "),e("code",null,"string"),i(),e("code",null,"可选")],-1),_=e("li",null,[i("默认值: "),e("code",null,"'myers'")],-1),x=e("code",null,'"advanced" | "legacy" | ',-1),v=e("li",null,"描述:用于计算差异的算法。",-1),g=l(' diffCodeLens
- 类型:
boolean
可选
- 默认值:
true
- 可选项:
-
- 描述:是否在差异编辑器中启用 CodeLens。
diffWordWrap
- 类型:
enum
可选
- 默认值:
off
- 可选项:
"on" | "off" | "inherit"
- 描述:是否在差异编辑器中启用单词换行。
enableSplitViewResizing
- 类型:
boolean
可选
- 默认值:
true
- 可选项:
-
- 描述:是否允许用户调整分割视图的大小。
experimental
- 类型:
any
可选
- 默认值:
undefined
- 可选项:
-
- 描述:实验性选项,可能会在未来的版本中更改或删除。
ignoreTrimWhitespace
- 类型:
boolean
可选
- 默认值:
true
- 可选项:
-
- 描述:是否忽略差异编辑器中的空格。
maxComputationTime
- 类型:
number
可选
- 默认值:
5000
- 可选项:
-
- 描述:计算差异的最大允许时间(以毫秒为单位)。
maxFileSize
- 类型:
number
可选
- 默认值:
50
- 可选项:
-
- 描述:支持的最大文件大小(以 MB 为单位)。默认为 50。
originalEditable
- 类型:
boolean
可选
- 默认值:
true
- 可选项:
-
- 描述:是否允许用户在差异编辑器中编辑原始文件。
renderIndicators
- 类型:
boolean
可选
- 默认值:
true
- 可选项:
-
- 描述:是否在差异编辑器中渲染指示器。
renderMarginRevertIcon
- 类型:
boolean
可选
- 默认值:
true
- 可选项:
-
- 描述:是否在差异编辑器中渲染还原图标。
renderOverviewRuler
- 类型:
boolean
可选
- 默认值:
true
- 可选项:
-
- 描述:是否在差异编辑器中渲染概览标尺。
renderSideBySide
- 类型:
boolean
可选
- 默认值:
true
- 可选项:
-
- 描述:是否在差异编辑器中启用并排显示。
splitViewDefaultRatio
- 类型:
number
可选
- 默认值:
0.5
- 可选项:
-
- 描述:呈现并排编辑器时的默认比例。必须是 0 到 1 之间的数字,适用最小尺寸。默认为 0.5。
',26);function w(I,y){const a=d("ExternalLinkIcon"),r=d("RouterLink");return n(),t("div",null,[u,e("p",null,[f,i(),e("a",b,[i("官网地址"),o(a)])]),m,e("ul",null,[p,_,e("li",null,[i("可选项: "),x,i(),o(r,{to:"/editor/interfaces/IDocumentDiffProvider.html"},{default:h(()=>[i("IDocumentDiffProvider")]),_:1})]),v]),g])}const E=c(s,[["render",w],["__file","IDiffEditorBaseOptions.html.vue"]]);export{E as default};
diff --git a/assets/IDiffEditorBaseOptions.html-ff9e64b5.js b/assets/IDiffEditorBaseOptions.html-ff9e64b5.js
new file mode 100644
index 00000000..4f5525a9
--- /dev/null
+++ b/assets/IDiffEditorBaseOptions.html-ff9e64b5.js
@@ -0,0 +1 @@
+const e=JSON.parse('{"key":"v-55c185db","path":"/editor/interfaces/IDiffEditorBaseOptions.html","title":"IDiffEditorBaseOptions","lang":"zh-CN","frontmatter":{"description":"interface 官网地址 (https://microsoft.github.io/monaco-editor/docs.html#interfaces/editor.IDiffEditorBaseOptions.html) 属性 Properties accessibilityVerbose 类型: boolean 可选 ; 默认值: - ; 可...","head":[["meta",{"property":"og:url","content":"http://aydk.site/editor/interfaces/IDiffEditorBaseOptions.html"}],["meta",{"property":"og:site_name","content":"Monaco-editor 学习文档"}],["meta",{"property":"og:title","content":"IDiffEditorBaseOptions"}],["meta",{"property":"og:description","content":"interface 官网地址 (https://microsoft.github.io/monaco-editor/docs.html#interfaces/editor.IDiffEditorBaseOptions.html) 属性 Properties accessibilityVerbose 类型: boolean 可选 ; 默认值: - ; 可..."}],["meta",{"property":"og:type","content":"article"}],["meta",{"property":"og:locale","content":"zh-CN"}],["meta",{"property":"og:updated_time","content":"2023-06-16T20:04:45.000Z"}],["meta",{"property":"article:author","content":"aydk"}],["meta",{"property":"article:modified_time","content":"2023-06-16T20:04:45.000Z"}],["script",{"type":"application/ld+json"},"{\\"@context\\":\\"https://schema.org\\",\\"@type\\":\\"Article\\",\\"headline\\":\\"IDiffEditorBaseOptions\\",\\"image\\":[\\"\\"],\\"dateModified\\":\\"2023-06-16T20:04:45.000Z\\",\\"author\\":[{\\"@type\\":\\"Person\\",\\"name\\":\\"aydk\\"}]}"]]},"headers":[{"level":2,"title":"属性 Properties","slug":"属性-properties","link":"#属性-properties","children":[{"level":3,"title":"accessibilityVerbose","slug":"accessibilityverbose","link":"#accessibilityverbose","children":[]},{"level":3,"title":"diffAlgorithm","slug":"diffalgorithm","link":"#diffalgorithm","children":[]},{"level":3,"title":"diffCodeLens","slug":"diffcodelens","link":"#diffcodelens","children":[]},{"level":3,"title":"diffWordWrap","slug":"diffwordwrap","link":"#diffwordwrap","children":[]},{"level":3,"title":"enableSplitViewResizing","slug":"enablesplitviewresizing","link":"#enablesplitviewresizing","children":[]},{"level":3,"title":"experimental","slug":"experimental","link":"#experimental","children":[]},{"level":3,"title":"ignoreTrimWhitespace","slug":"ignoretrimwhitespace","link":"#ignoretrimwhitespace","children":[]},{"level":3,"title":"maxComputationTime","slug":"maxcomputationtime","link":"#maxcomputationtime","children":[]},{"level":3,"title":"maxFileSize","slug":"maxfilesize","link":"#maxfilesize","children":[]},{"level":3,"title":"originalEditable","slug":"originaleditable","link":"#originaleditable","children":[]},{"level":3,"title":"renderIndicators","slug":"renderindicators","link":"#renderindicators","children":[]},{"level":3,"title":"renderMarginRevertIcon","slug":"rendermarginreverticon","link":"#rendermarginreverticon","children":[]},{"level":3,"title":"renderOverviewRuler","slug":"renderoverviewruler","link":"#renderoverviewruler","children":[]},{"level":3,"title":"renderSideBySide","slug":"rendersidebyside","link":"#rendersidebyside","children":[]},{"level":3,"title":"splitViewDefaultRatio","slug":"splitviewdefaultratio","link":"#splitviewdefaultratio","children":[]}]}],"git":{"createdTime":1686945885000,"updatedTime":1686945885000,"contributors":[{"name":"xiaochaochao","email":"xiaochaochao","commits":1}]},"readingTime":{"minutes":1.65,"words":496},"filePathRelative":"editor/interfaces/IDiffEditorBaseOptions.md","localizedDate":"2023年6月16日","autoDesc":true}');export{e as data};
diff --git a/assets/IDiffEditorConstructionOptions.html-b1115df7.js b/assets/IDiffEditorConstructionOptions.html-b1115df7.js
new file mode 100644
index 00000000..bba088d1
--- /dev/null
+++ b/assets/IDiffEditorConstructionOptions.html-b1115df7.js
@@ -0,0 +1,26 @@
+import{_ as t}from"./plugin-vue_export-helper-c27b6911.js";import{r as c,o as r,c as s,a as e,b as o,d as i,w as d,e as a}from"./app-5f5ef0a9.js";const u={},h=e("h1",{id:"idiffeditorconstructionoptions",tabindex:"-1"},[e("a",{class:"header-anchor",href:"#idiffeditorconstructionoptions","aria-hidden":"true"},"#"),o(" IDiffEditorConstructionOptions")],-1),p=e("code",null,"interface",-1),f={href:"https://microsoft.github.io/monaco-editor/docs.html#interfaces/editor.IDiffEditorConstructionOptions.html",target:"_blank",rel:"noopener noreferrer"},b=a(` 属性 Properties
acceptSuggestionOnCommitCharacter
- 类型:
boolean
可选
- 默认值:
true
- 可选项:
-
- 描述: 用于控制是否在输入特定字符时自动接受建议(suggestion) 如果将 acceptSuggestionOnCommitCharacter 设置为 true ,则在输入特定字符时,如果当前有建议,编辑器会自动接受建议并将其插入到文本中。可以使用 monaco.languages.registerCompletionItemProvider 方法注册一个代码补全提供程序,并在提供程序的 triggerCharacters 属性中指定要触发自动接受建议的字符。
下面是一个例子:
monaco.languages.registerCompletionItemProvider('javascript', {
+ triggerCharacters: ['.', ':'], // 指定触发自动接受建议的字符
+ provideCompletionItems: function(model, position, token, context) {
+ // 返回代码补全建议
+ return {
+ suggestions: [
+ {
+ label: 'console',
+ kind: monaco.languages.CompletionItemKind.Function,
+ insertText: 'console.', // 插入文本,如果用户按下 '.',则自动接受建议
+ commitCharacters: ['.'] // 指定插入建议后自动接受建议的字符
+ }
+ ]
+ };
+ }
+});
+// 将 acceptSuggestionOnCommitCharacter 设置为 true
+monaco.editor.create(document.getElementById('container'), {
+ value: '',
+ language: 'javascript',
+ acceptSuggestionOnCommitCharacter: true
+});
+
在上面的示例中,当用户输入 console. 时,会触发代码补全建议,建议中的 insertText 为 console. ,如果用户按下 . ,则自动接受建议。
acceptSuggestionOnEnter
- 类型:
string
可选
- 默认值:
'on'
- 可选项:
'on'
, 'smart'
, 'off'
- 描述: 用于控制是否在按下回车键时自动接受建议(suggestion) 如果将 acceptSuggestionOnEnter 设置为
'on'
,则在按下回车键时,如果当前有建议,编辑器会自动接受建议并将其插入到文本中。如果将其设置为 'smart'
,则只有在建议中存在文本更改时才会自动接受建议。如果将其设置为 'off'
,则不会自动接受建议。
accessibilityPageSize
- 类型:
number
可选
- 默认值:
10
- 可选项:
-
- 描述: 用于控制屏幕阅读器一次读取的行数 如果将 accessibilityPageSize 设置为一个正整数,则屏幕阅读器在读取编辑器内容时会一次读取指定行数的文本。
accessibilitySupport
- 类型:
string
可选
- 默认值:
'auto'
- 可选项:
'auto'
, 'off'
, 'on'
- 描述: 用于控制屏幕阅读器的支持级别 如果将 accessibilitySupport 设置为
'auto'
,则编辑器会自动检测当前环境是否支持屏幕阅读器,并相应地启用或禁用辅助功能。如果将其设置为 'on'
,则编辑器将始终启用辅助功能。如果将其设置为 'off'
,则编辑器将始终禁用辅助功能。
accessibilityVerbose
- 类型:
boolean
可选
- 默认值:
false
- 可选项:
-
- 描述: 用于控制屏幕阅读器的详细程度 如果将 accessibilityVerbose 设置为 true ,则屏幕阅读器在读取编辑器内容时会提供更详细的信息。
ariaLabel
- 类型:
string
可选
- 默认值:
''
- 可选项:
-
- 描述: 用于控制编辑器的 ARIA 标签 如果将 ariaLabel 设置为一个非空字符串,则编辑器会将其作为 ARIA 标签添加到编辑器的容器元素中,以提高可访问性。
autoClosingBrackets
`,17),g=e("code",null,"可选",-1),m=e("li",null,[o("默认值: "),e("code",null,"true")],-1),_=e("li",null,[o("可选项: "),e("code",null,"-")],-1),D=e("h2",{id:"autoclosingdelete",tabindex:"-1"},[e("a",{class:"header-anchor",href:"#autoclosingdelete","aria-hidden":"true"},"#"),o(" autoClosingDelete")],-1),y=e("code",null,"可选",-1),x=e("li",null,[o("默认值: "),e("code",null,"-")],-1),q=e("li",null,[o("可选项: "),e("code",null,"-")],-1),v=e("li",null,"描述: 用于控制是否在删除时自动删除闭合的括号",-1),C=e("h2",{id:"autoclosingovertype",tabindex:"-1"},[e("a",{class:"header-anchor",href:"#autoclosingovertype","aria-hidden":"true"},"#"),o(" autoClosingOvertype")],-1),w=e("code",null,"可选",-1),E=e("li",null,[o("默认值: "),e("code",null,"-")],-1),k=e("li",null,[o("可选项: "),e("code",null,"-")],-1),S=e("li",null,"描述: 用于控制是否在覆盖模式下自动闭合括号",-1),O=e("h2",{id:"autoclosingquotes",tabindex:"-1"},[e("a",{class:"header-anchor",href:"#autoclosingquotes","aria-hidden":"true"},"#"),o(" autoClosingQuotes")],-1),I=e("code",null,"可选",-1),F=e("li",null,[o("默认值: "),e("code",null,"-")],-1),L=e("li",null,[o("可选项: "),e("code",null,"-")],-1),A=e("li",null,"描述: 用于控制是否自动闭合引号",-1),z=a(' autoIndent
- 类型:
string
可选
- 默认值:
advanced
- 可选项:
"none" | "advanced" | "full" | "brackets" | "keep"
- 描述: 用于控制是否自动缩进
autoSurround
',3),W=e("code",null,"可选",-1),P=e("li",null,[o("默认值: "),e("code",null,"languageDefined")],-1),R=e("li",null,[o("可选项: "),e("code",null,"-")],-1),H=e("li",null,"描述: 用于控制是否自动包围选定的文本",-1),B=a(' automaticLayout
- 类型:
boolean
可选
- 默认值:
false
- 可选项:
-
- 描述: 用于控制是否自动调整编辑器的大小 如果将 automaticLayout 设置为 true ,则编辑器会在窗口大小发生变化时自动调整大小以适应新的窗口大小。
bracketPairColorization
',3),M=e("code",null,"可选",-1),T=e("li",null,[o("默认值: "),e("code",null,"-")],-1),N=e("li",null,[o("可选项: "),e("code",null,"-")],-1),V=e("li",null,"描述: 用于控制是否高亮显示匹配的括号 如果将 bracketPairColorization 设置为 true ,则编辑器会在输入左括号时高亮显示相应的右括号,并在将光标放在左括号或右括号上时高亮显示相应的匹配括号。",-1),U=a(' codeActionsOnSaveTimeout
- 类型:
number
可选
- 默认值:
750
- 可选项:
-
- 描述: 用于控制代码保存时执行代码操作的超时时间 如果将 codeActionsOnSaveTimeout 设置为一个正整数,则在保存代码时,编辑器会等待指定的时间以执行代码操作。
codeLens
- 类型:
boolean
可选
- 默认值:
true
- 可选项:
-
- 描述: 用于控制是否启用代码镜头(CodeLens) 如果将 codeLens 设置为 true ,则编辑器会在代码中显示代码镜头,其中包含有关代码的其他信息,例如代码的引用和测试状态。
codeLensFontFamily
- 类型:
string
可选
- 默认值:
editor default
- 可选项:
-
- 描述: 用于控制代码镜头的字体系列 如果将 codeLensFontFamily 设置为一个非空字符串,则编辑器会使用指定的字体系列来呈现代码镜头。
codeLensFontSize
- 类型:
number
可选
- 默认值:
editor 字体大小的 90%
- 可选项:
-
- 描述: 用于控制代码镜头的字体大小 如果将 codeLensFontSize 设置为一个正整数,则编辑器会使用指定的字体大小来呈现代码镜头。
colorDecorators
- 类型:
boolean
可选
- 默认值:
true
- 可选项:
-
- 描述: 用于控制是否启用颜色修饰器 如果将 colorDecorators 设置为 true ,则编辑器会在代码中使用颜色修饰器,以提供有关代码的其他信息,例如代码的引用和测试状态。
colorDecoratorsLimit
- 类型:
number
可选
- 默认值:
5000
- 可选项:
-
- 描述: 控制文本编辑器中颜色装饰器的数量限制。
columnSelection
- 类型:
boolean
可选
- 默认值:
false
- 可选项:
-
- 描述: 控制是否启用列选择。
',15),j=e("code",null,"可选",-1),G=e("li",null,[o("默认值: "),e("code",null,"undefined")],-1),Q=e("li",null,[o("可选项: "),e("code",null,"-")],-1),K=e("li",null,"描述: 控制编辑器中注释的行为。",-1),Z=a('- 类型:
boolean
可选
- 默认值:
true
- 可选项:
-
- 描述: 控制是否启用上下文菜单。
copyWithSyntaxHighlighting
- 类型:
boolean
可选
- 默认值:
true
- 可选项:
-
- 描述: 控制复制时是否包含语法高亮。
cursorBlinking
- 类型:
string
可选
- 默认值:
blink
- 可选项:
blink
, smooth
, phase
, expand
, solid
- 描述: 控制光标闪烁的方式。
cursorSmoothCaretAnimation
- 类型:
string
可选
- 默认值:
off
- 可选项:
"on" | "off" | "explicit"
- 描述: 控制是否启用光标平滑动画。
cursorStyle
- 类型:
string
可选
- 默认值:
line
- 可选项:
line
, block
, underline
, line-thin
, block-outline
, underline-thin
- 描述: 控制光标样式。
cursorSurroundingLines
- 类型:
number
可选
- 默认值:
0
- 可选项:
-
- 描述: 控制光标周围可见的行数。
cursorSurroundingLinesStyle
- 类型:
string
可选
- 默认值:
default
- 可选项:
default
, all
- 描述: 控制光标周围可见的行的样式。
cursorWidth
- 类型:
number
可选
- 默认值:
0
- 可选项:
-
- 描述: 控制光标宽度。
defaultColorDecorators
- 类型:
boolean
可选
- 默认值:
true
- 可选项:
-
- 描述: 控制是否启用默认的颜色装饰器。
definitionLinkOpensInPeek
- 类型:
boolean
可选
- 默认值:
false
- 可选项:
-
- 描述: 控制定义链接是否在峰视图中打开。
diffAlgorithm
',21),$=e("li",null,[o("类型: "),e("code",null,"string"),o(),e("code",null,"可选")],-1),J=e("li",null,[o("默认值: "),e("code",null,"original")],-1),X=e("li",null,"描述: 控制差异算法。",-1),Y=a(` diffCodeLens
- 类型:
boolean
可选
- 默认值:
true
- 可选项:
-
- 描述: 控制是否启用差异代码镜头。
diffWordWrap
- 类型:
boolean
可选
- 默认值:
false
- 可选项:
-
- 描述: 控制差异编辑器中是否启用自动换行。
dimension
- 类型:
monaco.editor.IDimension
可选
- 默认值:
undefined
- 可选项:
-
- 描述: 控制编辑器的大小。
disableLayerHinting
- 类型:
boolean
可选
- 默认值:
false
- 可选项:
-
- 描述: 控制是否禁用层提示。
disableMonospaceOptimizations
- 类型:
boolean
可选
- 默认值:
false
- 可选项:
-
- 描述: 控制是否禁用等宽字体优化。
domReadOnly
- 类型:
boolean
可选
- 默认值:
false
- 可选项:
-
- 描述: 控制是否将编辑器设置为只读。
dragAndDrop
- 类型:
boolean
可选
- 默认值:
true
- 可选项:
-
- 描述: 控制是否启用拖放。
dropIntoEditor
- 类型:
boolean
可选
- 默认值:
true
- 可选项:
-
- 描述: 控制是否启用将文件拖放到编辑器中。
emptySelectionClipboard
- 类型:
boolean
可选
- 默认值:
true
- 可选项:
-
- 描述: 控制是否将空选择复制到剪贴板中。
enableSplitViewResizing
- 类型:
boolean
可选
- 默认值:
true
- 可选项:
-
- 描述: 控制是否启用分割视图调整大小。
experimental
- 类型:
如下代码
可选
- 默认值:
collapseUnchangedRegions 默认值为 false
- 可选项:
-
- 描述: 控制是否启用实验性特性。
experimental?: {
+ collapseUnchangedRegions?: boolean;
+}
+
experimentalWhitespaceRendering
- 类型:
enum
可选
- 默认值:
svg
- 可选项:
"off" | "svg" | "font"
- 描述: 控制是否启用实验性的空格渲染。
- 类型:
string
可选
- 默认值:
undefined
- 可选项:
-
- 描述: 控制编辑器的额外 CSS 类名。
- 类型:
number
可选
- 默认值:
5
- 可选项:
-
- 描述: 控制快速滚动的灵敏度。
find
`,30),ee=e("code",null,"可选",-1),oe=e("li",null,[o("默认值: "),e("code",null,"undefined")],-1),ie=e("li",null,[o("可选项: "),e("code",null,"-")],-1),le=e("li",null,"描述: 控制查找行为。",-1),de=a('- 类型:
boolean
可选
- 默认值:
false
- 可选项:
-
- 描述: 控制是否固定溢出的小部件。
folding
- 类型:
boolean
可选
- 默认值:
true
- 可选项:
-
- 描述: 控制是否启用折叠。
foldingHighlight
- 类型:
boolean
可选
- 默认值:
true
- 可选项:
-
- 描述: 控制是否突出显示折叠范围。
foldingImportsByDefault
- 类型:
boolean
可选
- 默认值:
false
- 可选项:
-
- 描述: 控制是否默认折叠导入语句。
foldingMaximumRegions
- 类型:
number
可选
- 默认值:
5000
- 可选项:
-
- 描述: 控制最大折叠区域数。
foldingStrategy
- 类型:
string
可选
- 默认值:
auto
- 可选项:
auto
, indentation
- 描述: 控制折叠策略。 'auto' 使用为当前文档的策略,'indentation' 使用基于缩进的折叠策略。默认为“自动”。
fontFamily
- 类型:
string
可选
- 默认值:
'Menlo', 'Monaco', 'Consolas', 'source-code-pro', 'monospace'
- 可选项:
-
- 描述: 控制字体系列。
fontLigatures
- 类型:
boolean
可选
- 默认值:
false
- 可选项:
-
- 描述: 控制是否启用字体连字。
fontSize
- 类型:
number
可选
- 默认值:
0
- 可选项:
-
- 描述: 控制字体大小。
fontVariations
- 类型:
string
可选
- 默认值:
undefined
- 可选项:
-
- 描述: 控制字体变体。
fontWeight
- 类型:
string
可选
- 默认值:
normal
- 可选项:
normal
, bold
, bolder
, lighter
, 100
, 200
, 300
, 400
, 500
, 600
, 700
, 800
, 900
- 描述: 控制字体粗细。
- 类型:
boolean
可选
- 默认值:
false
- 可选项:
-
- 描述: 控制是否在粘贴时格式化文本。
- 类型:
boolean
可选
- 默认值:
false
- 可选项:
-
- 描述: 控制是否在键入时格式化文本。
glyphMargin
- 类型:
boolean
可选
- 默认值:
true
- 可选项:
-
- 描述: 控制是否启用符号边距。
gotoLocation
',29),ae=e("code",null,"可选",-1),ce=e("li",null,[o("默认值: "),e("code",null,"-")],-1),ne=e("li",null,[o("可选项: "),e("code",null,"-")],-1),te=e("li",null,"描述: 控制跳转位置的行为。",-1),re=e("h2",{id:"guides",tabindex:"-1"},[e("a",{class:"header-anchor",href:"#guides","aria-hidden":"true"},"#"),o(" guides")],-1),se=e("code",null,"可选",-1),ue=e("li",null,[o("默认值: "),e("code",null,"-")],-1),he=e("li",null,[o("可选项: "),e("code",null,"-")],-1),pe=e("li",null,"描述: 控制是否显示编辑器中的垂直参考线。",-1),fe=a(' hideCursorInOverviewRuler
- 类型:
boolean
可选
- 默认值:
false
- 可选项:
-
- 描述: 控制是否在概览标尺中隐藏光标。
hover
',3),be=e("code",null,"可选",-1),ge=e("li",null,[o("默认值: "),e("code",null,"-")],-1),me=e("li",null,[o("可选项: "),e("code",null,"-")],-1),_e=e("li",null,"描述: 控制是否在编辑器中启用悬停提示。",-1),De=a(' ignoreTrimWhitespace
- 类型:
boolean
可选
- 默认值:
true
- 可选项:
-
- 描述: 控制是否在比较差异时忽略空格。
inDiffEditor
- 类型:
boolean
可选
- 默认值:
false
- 可选项:
-
- 描述: 控制是否在差异编辑器中启用编辑器。
inlayHints
',5),ye=e("code",null,"可选",-1),xe=e("li",null,[o("默认值: "),e("code",null,"-")],-1),qe=e("li",null,[o("可选项: "),e("code",null,"-")],-1),ve=e("li",null,"描述: 控制是否在编辑器中启用内联提示。",-1),Ce=e("h2",{id:"inlinesuggest",tabindex:"-1"},[e("a",{class:"header-anchor",href:"#inlinesuggest","aria-hidden":"true"},"#"),o(" inlineSuggest")],-1),we=e("code",null,"可选",-1),Ee=e("li",null,[o("默认值: "),e("code",null,"-")],-1),ke=e("li",null,[o("可选项: "),e("code",null,"-}")],-1),Se=e("li",null,"描述: 控制是否在编辑器中启用内联建议。",-1),Oe=a(' isInEmbeddedEditor
- 类型:
boolean
可选
- 默认值:
false
- 可选项:
-
- 描述: 控制是否在嵌入式编辑器中启用编辑器。
letterSpacing
- 类型:
number
可选
- 默认值:
0
- 可选项:
-
- 描述: 控制字符间距。
lightbulb
',5),Ie=e("code",null,"可选",-1),Fe=e("li",null,[o("默认值: "),e("code",null,"{ enabled: true }")],-1),Le=e("li",null,[o("可选项: "),e("code",null,"{ enabled: boolean }")],-1),Ae=e("li",null,"描述: 控制是否在编辑器中启用轻量级提示。",-1),ze=a(' lineDecorationsWidth
- 类型:
string
可选
- 默认值:
1px
- 可选项:
-
- 描述: 控制行装饰的宽度。
lineHeight
- 类型:
number
可选
- 默认值:
0
- 可选项:
-
- 描述: 控制行高。
lineNumbers
',5),We=e("code",null,"可选",-1),Pe=e("li",null,[o("默认值: "),e("code",null,"on")],-1),Re=e("li",null,[o("可选项: "),e("code",null,"-")],-1),He=e("li",null,"描述: 控制行号的呈现。 如果是函数,在渲染一个行号的时候会调用它,渲染返回值。 否则,如果它是真值,行号将被正常渲染(相当于使用恒等函数)。 否则,将不会呈现行号。 默认为开。",-1),Be=a(' lineNumbersMinChars
- 类型:
number
可选
- 默认值:
5
- 可选项:
-
- 描述: 控制行号的最小字符数。保留水平空间来呈现至少一定数量的数字.
linkedEditing
- 类型:
boolean
可选
- 默认值:
false
- 可选项:
-
- 描述: 控制是否启用链接编辑。
links
- 类型:
boolean
可选
- 默认值:
true
- 可选项:
-
- 描述: 控制是否启用链接。
matchBrackets
- 类型:
string
可选
- 默认值:
always
- 可选项:
"always" | "never" | "near"
- 描述: 控制是否突出显示匹配括号。
matchOnWordStartOnly
- 类型:
boolean
可选
- 默认值:
false
- 可选项:
-
- 描述: 控制是否仅在单词开头匹配。
maxComputationTime
- 类型:
number
可选
- 默认值:
5000
- 可选项:
-
- 描述: 控制计算的最大时间(以毫秒为单位)。
maxFileSize
- 类型:
number
可选
- 默认值:
50
- 可选项:
-
- 描述: 控制最大文件大小 单位MB。
minimap
',15),Me=e("code",null,"可选",-1),Te=e("li",null,[o("默认值: "),e("code",null,"{ enabled: true }")],-1),Ne=e("li",null,[o("可选项: "),e("code",null,"{ enabled: boolean, maxColumn: number, renderCharacters: boolean, showSlider: 'always' | 'mouseover' }")],-1),Ve=e("li",null,"描述: 控制是否显示缩略图。",-1),Ue=a(' modifiedAriaLabel
- 类型:
string
可选
- 默认值:
undefined
- 可选项:
-
- 描述: 控制修改版面板的 ARIA 标签。
mouseStyle
- 类型:
string
可选
- 默认值:
text
- 可选项:
'text' | 'default' | 'copy'
- 描述: 控制鼠标样式。
- 类型:
number
可选
- 默认值:
1
- 可选项:
-
- 描述: 用于控制鼠标滚轮滚动时的滚动速度。
mouseWheelZoom
- 类型:
boolean
可选
- 默认值:
false
- 可选项:
-
- 描述: 用于控制是否启用鼠标滚轮缩放。
multiCursorLimit
- 类型:
number
可选
- 默认值:
100
- 可选项:
-
- 描述: 用于控制多光标的数量限制。
multiCursorMergeOverlapping
- 类型:
boolean
可选
- 默认值:
true
- 可选项:
-
- 描述: 用于控制多光标是否可以合并重叠的部分。
multiCursorModifier
- 类型:
string
可选
- 默认值:
'alt'
- 可选项:
'alt'
, 'ctrlCmd'
- 描述: 用于控制触发多光标的修改键。
multiCursorPaste
- 类型:
string
可选
- 默认值:
'spread'
- 可选项:
'spread'
, 'full'
- 描述: 用于控制多光标粘贴时的行为。
occurrencesHighlight
- 类型:
boolean
可选
- 默认值:
true
- 可选项:
-
- 描述: 用于控制是否高亮显示所有匹配项。
originalAriaLabel
- 类型:
string
可选
- 默认值:
undefined
- 可选项:
-
- 描述: 用于控制编辑器的原始 ARIA 标签。
originalEditable
- 类型:
boolean
可选
- 默认值:
undefined
- 可选项:
-
- 描述: 用于控制编辑器是否可编辑。
- 类型:
HTMLElement
可选
- 默认值:
undefined
- 可选项:
-
- 描述: 用于控制溢出小部件的 DOM 节点。
overviewRulerBorder
- 类型:
boolean
可选
- 默认值:
true
- 可选项:
-
- 描述: 用于控制概览标尺是否显示边框。
overviewRulerLanes
- 类型:
number
可选
- 默认值:
3
- 可选项:
-
- 描述: 用于控制概览标尺的宽度。
padding
',29),je=e("code",null,"可选",-1),Ge=e("li",null,[o("默认值: "),e("code",null,"{ top: 0, bottom: 0 }")],-1),Qe=e("li",null,[o("可选项: "),e("code",null,"-")],-1),Ke=e("li",null,"描述: 用于控制编辑器的填充。",-1),Ze=e("h2",{id:"parameterhints",tabindex:"-1"},[e("a",{class:"header-anchor",href:"#parameterhints","aria-hidden":"true"},"#"),o(" parameterHints")],-1),$e=e("code",null,"可选",-1),Je=e("li",null,[o("默认值: "),e("code",null,"{ enabled: true }")],-1),Xe=e("li",null,[o("可选项: "),e("code",null,"-")],-1),Ye=e("li",null,"描述: 用于控制参数提示的行为。",-1),eo=e("h2",{id:"pasteas",tabindex:"-1"},[e("a",{class:"header-anchor",href:"#pasteas","aria-hidden":"true"},"#"),o(" pasteAs")],-1),oo=e("code",null,"可选",-1),io=e("li",null,[o("默认值: "),e("code",null,"{ pastedText: 'default' }")],-1),lo=e("li",null,[o("可选项: "),e("code",null,"-")],-1),ao=e("li",null,"描述: 用于控制粘贴时的行为。",-1),co=a('- 类型:
enum
可选
- 默认值:
false
- 可选项:
"tree" | "editor"
- 描述: 用于控制查看小部件的默认焦点。
quickSuggestions
',3),no=e("code",null,"boolean",-1),to=e("code",null,"可选",-1),ro=e("li",null,[o("默认值: "),e("code",null,"true")],-1),so=e("li",null,[o("可选项: "),e("code",null,"-")],-1),uo=e("li",null,"描述: 用于控制是否启用快速建议。",-1),ho=a(' quickSuggestionsDelay
- 类型:
number
可选
- 默认值:
10
- 可选项:
-
- 描述: 用于控制快速建议的延迟时间。单位 ms
readOnly
- 类型:
boolean
可选
- 默认值:
false
- 可选项:
-
- 描述: 用于控制编辑器是否只读。
renameOnType
- 类型:
boolean
可选
- 默认值:
false
- 可选项:
-
- 描述: 用于控制是否在输入时自动重命名符号。
renderControlCharacters
- 类型:
boolean
可选
- 默认值:
true
- 可选项:
-
- 描述: 用于控制是否渲染控制字符。
renderFinalNewline
- 类型:
boolean
可选
- 默认值:
on
- 可选项:
"on" | "off" | "dimmed"
- 描述: 用于控制是否渲染最终的换行符。
renderIndicators
- 类型:
boolean
可选
- 默认值:
true
- 可选项:
-
- 描述: 用于控制是否渲染指示器。
renderLineHighlight
- 类型:
string
可选
- 默认值:
'all'
- 可选项:
'none'
, 'gutter'
, 'line'
, 'all'
- 描述: 用于控制行高亮的行为。
renderLineHighlightOnlyWhenFocus
- 类型:
boolean
可选
- 默认值:
false
- 可选项:
-
- 描述: 用于控制是否只在编辑器获得焦点时才高亮显示行。
renderMarginRevertIcon
- 类型:
boolean
可选
- 默认值:
true
- 可选项:
-
- 描述: 用于控制是否渲染边距还原图标。
renderOverviewRuler
- 类型:
boolean
可选
- 默认值:
true
- 可选项:
-
- 描述: 用于控制是否渲染概览标尺。
renderSideBySide
- 类型:
boolean
可选
- 默认值:
true
- 可选项:
-
- 描述: 用于控制是否渲染并排视图。
renderValidationDecorations
- 类型:
string
可选
- 默认值:
'editable'
- 可选项:
'on'
, 'off'
, 'editable'
- 描述: 用于控制验证装饰的行为。
renderWhitespace
- 类型:
string
可选
- 默认值:
'selection'
- 可选项:
"all" | "none" | "boundary" | "selection" | "trailing"
- 描述: 用于控制渲染空白字符的行为。
revealHorizontalRightPadding
- 类型:
number
可选
- 默认值:
30
- 可选项:
-
- 描述: 控制编辑器在水平滚动时距离视窗右侧的像素数。
roundedSelection
- 类型:
boolean
可选
- 默认值:
true
- 可选项:
-
- 描述: 控制编辑器是否使用圆形选择。
rulers
',31),po=e("code",null,"number",-1),fo=e("code",null,"可选",-1),bo=e("li",null,[o("默认值: "),e("code",null,"[]")],-1),go=e("li",null,[o("可选项: "),e("code",null,"-")],-1),mo=e("li",null,"描述: 控制编辑器的垂直标尺的位置。",-1),_o=a(' screenReaderAnnounceInlineSuggestion
- 类型:
boolean
可选
- 默认值:
-
- 可选项:
-
- 描述: 控制编辑器是否应该在屏幕阅读器中宣布内联建议。
- 类型:
number
可选
- 默认值:
5
- 可选项:
-
- 描述: 控制编辑器在水平滚动时是否滚动超过最后一列。
- 类型:
boolean
可选
- 默认值:
true
- 可选项:
-
- 描述: 控制编辑器在垂直滚动时是否滚动超过最后一行。
- 类型:
boolean
可选
- 默认值:
true
- 可选项:
-
- 描述: 控制编辑器在垂直和水平滚动时是否只滚动主轴。
',9),Do=e("code",null,"可选",-1),yo=e("li",null,[o("默认值: "),e("code",null,"{}")],-1),xo=e("li",null,[o("可选项: "),e("code",null,"-")],-1),qo=e("li",null,"描述: 控制编辑器滚动条的外观和行为。",-1),vo=a(' selectOnLineNumbers
- 类型:
boolean
可选
- 默认值:
true
- 可选项:
-
- 描述: 控制编辑器是否应该在单击行号时选择整行。
selectionClipboard
- 类型:
boolean
可选
- 默认值:
true
- 可选项:
-
- 描述: 控制编辑器是否应该将选择内容复制到剪贴板。
selectionHighlight
- 类型:
boolean
可选
- 默认值:
true
- 可选项:
-
- 描述: 控制编辑器是否应该突出显示与所选内容相同的内容。
showDeprecated
- 类型:
boolean
可选
- 默认值:
false
- 可选项:
-
- 描述: 控制是否应该显示已弃用的代码。
showFoldingControls
- 类型:
string
可选
- 默认值:
"mouseover"
- 可选项:
"always" | "never" | "mouseover"
- 描述: 控制折叠控件何时可见。
showUnused
- 类型:
boolean
可选
- 默认值:
true
- 可选项:
-
- 描述: 控制是否应该显示未使用的代码。
smartSelect
',13),Co=e("code",null,"可选",-1),wo=e("li",null,[o("默认值: "),e("code",null,"true")],-1),Eo=e("li",null,[o("可选项: "),e("code",null,"-")],-1),ko=e("li",null,"描述: 控制编辑器是否应该使用智能选择。",-1),So=a('- 类型:
boolean
可选
- 默认值:
false
- 可选项:
-
- 描述: 控制编辑器是否应该使用平滑滚动。
snippetSuggestions
- 类型:
string
可选
- 默认值:
"bottom"
- 可选项:
"top"
, "bottom"
, "inline"
, "none"
- 描述: 控制代码段建议的位置。
splitViewDefaultRatio
- 类型:
number
可选
- 默认值:
0.5
- 可选项:
-
- 描述: 控制拆分编辑器的默认比率。必须是0-1之间的数字
',7),Oo=e("code",null,"可选",-1),Io=e("li",null,[o("默认值: "),e("code",null,"true")],-1),Fo=e("li",null,[o("可选项: "),e("code",null,"-")],-1),Lo=e("li",null,"描述: 控制编辑器是否应该在滚动时保持光标位置不变。",-1),Ao=a(' stickyTabStops
- 类型:
boolean
可选
- 默认值:
true
- 可选项:
-
- 描述: 控制编辑器是否应该使用固定的制表位。
stopRenderingLineAfter
- 类型:
number
可选
- 默认值:
10000
- 可选项:
-
- 描述: 控制编辑器在渲染时停止渲染行的数量。
suggest
',5),zo=e("code",null,"可选",-1),Wo=e("li",null,[o("默认值: "),e("code",null,"{}")],-1),Po=e("li",null,[o("可选项: "),e("code",null,"-")],-1),Ro=e("li",null,"描述: 控制编辑器的建议行为。",-1),Ho=a(' suggestFontSize
- 类型:
number
可选
- 默认值:
0
- 可选项:
-
- 描述: 控制建议列表中字体的大小。
suggestLineHeight
- 类型:
number
可选
- 默认值:
0
- 可选项:
-
- 描述: 控制建议列表中行高的大小。
suggestOnTriggerCharacters
- 类型:
boolean
可选
- 默认值:
true
- 可选项:
-
- 描述: 控制是否应该在输入触发字符时显示建议。
suggestSelection
- 类型:
string
可选
- 默认值:
"recentlyUsed"
- 可选项:
"first"
, "recentlyUsed"
, "recentlyUsedByPrefix"
- 描述: 控制建议列表中默认选择的建议。
tabCompletion
- 类型:
string
可选
- 默认值:
"off"
- 可选项:
"on"
, "off"
, "onlySnippets"
- 描述: 控制编辑器是否应该在按下 Tab 键时插入建议。
tabFocusMode
- 类型:
boolean
可选
- 默认值:
false
- 可选项:
-
- 描述: 控制编辑器是否应该在 Tab 键按下时启用焦点模式。
tabIndex
- 类型:
number
可选
- 默认值:
0
- 可选项:
-
- 描述: 控制编辑器的 Tab 键顺序。
unfoldOnClickAfterEndOfLine
- 类型:
boolean
可选
- 默认值:
false
- 可选项:
-
- 描述: 控制编辑器是否应该在单击行末时展开该行。
unicodeHighlight
',17),Bo=e("code",null,"可选",-1),Mo=e("li",null,[o("默认值: "),e("code",null,"true")],-1),To=e("li",null,[o("可选项: "),e("code",null,"-")],-1),No=e("li",null,"描述: 控制编辑器是否应该突出显示 Unicode 字符。",-1),Vo=a(' unusualLineTerminators
- 类型:
boolean
可选
- 默认值:
prompt
- 可选项:
"off" | "auto" | "prompt"
- 描述: 控制编辑器是否应该突出显示非常规换行符。
useShadowDOM
- 类型:
boolean
可选
- 默认值:
false
- 可选项:
-
- 描述: 控制编辑器是否应该使用 Shadow DOM。
useTabStops
- 类型:
boolean
可选
- 默认值:
true
- 可选项:
-
- 描述: 控制编辑器是否应该使用制表位。
wordBreak
- 类型:
string
可选
- 默认值:
"normal"
- 可选项:
"normal" | "keepAll"
- 描述: 控制编辑器的单词换行。
wordSeparators
- 类型:
string
可选
- 默认值:
" ~!@#$%^&*()-=+[{]}\\\\|;:'\\",.<>/?"
- 可选项:
-
- 描述: 用于定义单词分隔符。默认情况下,Monaco 编辑器使用空格和标点符号作为单词分隔符。可以使用此选项自定义单词分隔符。
wordWrap
- 类型:
string
可选
- 默认值:
"off"
- 可选项:
"off"
, "on"
, "wordWrapColumn"
, "bounded"
- 描述: 用于控制文本的换行。当设置为
"off"
时,文本不会自动换行。当设置为 "on"
时,文本将在视区宽度内自动换行。当设置为 "wordWrapColumn"
时,文本将在指定的列数处自动换行。当设置为 "bounded"
时,文本将在视区宽度和指定列数的较小值处自动换行。
wordWrapBreakAfterCharacters
- 类型:
string
可选
- 默认值:
"\\t\\r\\n\\x20.,;:!?'\\"\\\\)]}"
- 可选项:
-
- 描述: 用于定义单词换行符。默认情况下,Monaco 编辑器使用空格和标点符号作为单词换行符。可以使用此选项自定义单词换行符。
wordWrapBreakBeforeCharacters
- 类型:
string
可选
- 默认值:
"\\t\\r\\n\\x20.,;:!?'\\"([{"
- 可选项:
-
- 描述: 用于定义单词前的换行符。默认情况下,Monaco 编辑器使用空格和标点符号作为单词前的换行符。可以使用此选项自定义单词前的换行符。
wordWrapColumn
- 类型:
number
可选
- 默认值:
80
- 可选项:
-
- 描述: 用于定义文本的列数。当设置为
"wordWrapColumn"
时,文本将在指定的列数处自动换行。
wordWrapOverride1
- 类型:
Function
可选
- 默认值:
-
- 可选项:
"on" | "off" | "inherit"
- 描述: 用于定义自定义的文本换行逻辑。可以使用此选项自定义文本的换行方式。覆盖wordWrap的配置
wordWrapOverride2
- 类型:
Function
可选
- 默认值:
-
- 可选项:
-
- 描述: 用于定义自定义的文本换行逻辑。可以使用此选项自定义文本的换行方式。覆盖wordWrapOverride1的配置
wrappingIndent
- 类型:
string
可选
- 默认值:
"none"
- 可选项:
"none"
, "same"
, "indent"
, "deepIndent"
- 描述: 用于控制换行后的缩进方式。当设置为
"none"
时,换行后不进行缩进。当设置为 "same"
时,换行后的行与上一行的缩进相同。当设置为 "indent"
时,换行后的行会进行一次缩进。当设置为 "deepIndent"
时,换行后的行会进行两次缩进。
wrappingStrategy
- 类型:
string
可选
- 默认值:
"simple"
- 可选项:
"simple"
, "advanced"
- 描述: 用于控制文本的换行策略。当设置为
"simple"
时,文本将根据视区宽度自动换行。当设置为 "advanced"
时,文本将根据语言的语法规则和视区宽度自动换行。如果您的语言支持语法分析,则建议使用 "advanced"
模式。
',26);function Uo(jo,Go){const n=c("ExternalLinkIcon"),l=c("RouterLink");return r(),s("div",null,[h,e("p",null,[p,o(),e("a",f,[o("官网地址"),i(n)])]),b,e("ul",null,[e("li",null,[o("类型: "),i(l,{to:"/editor/aliase.html#editorautoclosingstrategy"},{default:d(()=>[o("EditorAutoClosingStrategy")]),_:1}),o(),g]),m,_,e("li",null,[o("描述: 用于控制是否自动闭合括号 如果将 autoClosingBrackets 设置为 true ,则在输入左括号时,编辑器会自动插入相应的右括号,并将光标放置在括号之间。可以使用 "),i(l,{to:"/language/language.html#setlanguageconfiguration"},{default:d(()=>[o("monaco.languages.setLanguageConfiguration")]),_:1}),o(" 方法设置语言的括号匹配规则。默认以lanuage的设置为准")])]),D,e("ul",null,[e("li",null,[o("类型: "),i(l,{to:"/editor/aliase.html#editorautoclosingeditstrategy"},{default:d(()=>[o("EditorAutoClosingStrategy")]),_:1}),o(),y]),x,q,v]),C,e("ul",null,[e("li",null,[o("类型: "),i(l,{to:"/editor/aliase.html#editorautoclosingeditstrategy"},{default:d(()=>[o("EditorAutoClosingStrategy")]),_:1}),o(),w]),E,k,S]),O,e("ul",null,[e("li",null,[o("类型: "),i(l,{to:"/editor/aliase.html#editorautoclosingstrategy"},{default:d(()=>[o("EditorAutoClosingStrategy")]),_:1}),o(),I]),F,L,A]),z,e("ul",null,[e("li",null,[o("类型: "),i(l,{to:"/editor/aliase.html#editorautosurroundstrategy"},{default:d(()=>[o("EditorAutoSurroundStrategy")]),_:1}),o(),W]),P,R,H]),B,e("ul",null,[e("li",null,[o("类型: "),i(l,{to:"/editor/interfaces/IBracketPairColorizationOptions.html"},{default:d(()=>[o("IBracketPairColorizationOptions")]),_:1}),o(),M]),T,N,V]),U,e("ul",null,[e("li",null,[o("类型: "),i(l,{to:"/editor/interfaces/IEditorCommentsOptions.html"},{default:d(()=>[o("IEditorCommentsOptions")]),_:1}),o(),j]),G,Q,K]),Z,e("ul",null,[$,J,e("li",null,[o('可选项: "advanced" | "legacy" | '),i(l,{to:"/editor/interfaces/IDocumentDiffProvider.html"},{default:d(()=>[o("IDocumentDiffProvider")]),_:1})]),X]),Y,e("ul",null,[e("li",null,[o("类型: "),i(l,{to:"/editor/interfaces/IEditorFindOptions.html"},{default:d(()=>[o("monaco.editor.IEditorFindOptions")]),_:1}),o(),ee]),oe,ie,le]),de,e("ul",null,[e("li",null,[o("类型: "),i(l,{to:"/editor/interfaces/IGotoLocationOptions.html"},{default:d(()=>[o("monaco.editor.IGotoLocationOptions")]),_:1}),o(),ae]),ce,ne,te]),re,e("ul",null,[e("li",null,[o("类型: "),i(l,{to:"/editor/interfaces/IGuidesOptions.html"},{default:d(()=>[o("monaco.editor.IGuidesOptions")]),_:1}),o(),se]),ue,he,pe]),fe,e("ul",null,[e("li",null,[o("类型: "),i(l,{to:"/editor/interfaces/IEditorHoverOptions.html"},{default:d(()=>[o("monaco.editor.IEditorHoverOptions")]),_:1}),o(),be]),ge,me,_e]),De,e("ul",null,[e("li",null,[o("类型: "),i(l,{to:"/editor/interfaces/IEditorInlayHintsOptions.html"},{default:d(()=>[o("monaco.editor.IEditorInlayHintsOptions")]),_:1}),o(),ye]),xe,qe,ve]),Ce,e("ul",null,[e("li",null,[o("类型: "),i(l,{to:"/editor/interfaces/IInlineSuggestOptions.html"},{default:d(()=>[o("monaco.editor.IInlineSuggestOptions")]),_:1}),o(),we]),Ee,ke,Se]),Oe,e("ul",null,[e("li",null,[o("类型: "),i(l,{to:"/editor/interfaces/IEditorLightbulbOptions.html"},{default:d(()=>[o("monaco.editor.IEditorLightbulbOptions")]),_:1}),o(),Ie]),Fe,Le,Ae]),ze,e("ul",null,[e("li",null,[o("类型: "),i(l,{to:"/editor/aliase.html#linenumberstype"},{default:d(()=>[o("LineNumbersType")]),_:1}),o(),We]),Pe,Re,He]),Be,e("ul",null,[e("li",null,[o("类型: "),i(l,{to:"/editor/interfaces/IEditorMinimapOptions.html"},{default:d(()=>[o("editor.IEditorMinimapOptions")]),_:1}),o(),Me]),Te,Ne,Ve]),Ue,e("ul",null,[e("li",null,[o("类型: "),i(l,{to:"/editor/interfaces/IEditorPaddingOptions.html"},{default:d(()=>[o("editor.IEditorPaddingOptions")]),_:1}),o(),je]),Ge,Qe,Ke]),Ze,e("ul",null,[e("li",null,[o("类型: "),i(l,{to:"/editor/interfaces/IEditorParameterHintOptions.html"},{default:d(()=>[o("editor.IEditorParameterHintOptions")]),_:1}),o(),$e]),Je,Xe,Ye]),eo,e("ul",null,[e("li",null,[o("类型: "),i(l,{to:"/editor/interfaces/IPasteAsOptions.html"},{default:d(()=>[o("editor.IPasteOptions")]),_:1}),o(),oo]),io,lo,ao]),co,e("ul",null,[e("li",null,[o("类型: "),no,o(" | "),i(l,{to:"/editor/interfaces/IQuickSuggestionsOptions.html"},{default:d(()=>[o("editor.IQuickSuggestionsOptions")]),_:1}),o(),to]),ro,so,uo]),ho,e("ul",null,[e("li",null,[o("类型: ("),po,o("| "),i(l,{to:"/editor/interfaces/IRulerOption.html"},{default:d(()=>[o("IRulerOption")]),_:1}),o(")[] "),fo]),bo,go,mo]),_o,e("ul",null,[e("li",null,[o("类型: "),i(l,{to:"/editor/interfaces/IEditorScrollbarOptions.html"},{default:d(()=>[o("IEditorScrollbarOptions")]),_:1}),o(),Do]),yo,xo,qo]),vo,e("ul",null,[e("li",null,[o("类型: "),i(l,{to:"/editor/interfaces/ISmartSelectOptions.html"},{default:d(()=>[o("ISmartSelectOptions")]),_:1}),o(),Co]),wo,Eo,ko]),So,e("ul",null,[e("li",null,[o("类型: "),i(l,{to:"/editor/interfaces/IEditorStickyScrollOptions.html"},{default:d(()=>[o("IEditorStickyScrollOptions")]),_:1}),o(),Oo]),Io,Fo,Lo]),Ao,e("ul",null,[e("li",null,[o("类型: "),i(l,{to:"/editor/interfaces/ISuggestOptions.html"},{default:d(()=>[o("ISuggestOptions")]),_:1}),o(),zo]),Wo,Po,Ro]),Ho,e("ul",null,[e("li",null,[o("类型: "),i(l,{to:"/editor/interfaces/IUnicodeHighlightOptions.html"},{default:d(()=>[o("IUnicodeHighlightOptions")]),_:1}),o(),Bo]),Mo,To,No]),Vo])}const Zo=t(u,[["render",Uo],["__file","IDiffEditorConstructionOptions.html.vue"]]);export{Zo as default};
diff --git a/assets/IDiffEditorConstructionOptions.html-d8c7e100.js b/assets/IDiffEditorConstructionOptions.html-d8c7e100.js
new file mode 100644
index 00000000..c16f4e1f
--- /dev/null
+++ b/assets/IDiffEditorConstructionOptions.html-d8c7e100.js
@@ -0,0 +1 @@
+const e=JSON.parse('{"key":"v-b92c9e4a","path":"/editor/interfaces/IDiffEditorConstructionOptions.html","title":"IDiffEditorConstructionOptions","lang":"zh-CN","frontmatter":{"description":"interface 官网地址 (https://microsoft.github.io/monaco-editor/docs.html#interfaces/editor.IDiffEditorConstructionOptions.html) 属性 Properties acceptSuggestionOnCommitCharacter 类型: bo...","head":[["meta",{"property":"og:url","content":"http://aydk.site/editor/interfaces/IDiffEditorConstructionOptions.html"}],["meta",{"property":"og:site_name","content":"Monaco-editor 学习文档"}],["meta",{"property":"og:title","content":"IDiffEditorConstructionOptions"}],["meta",{"property":"og:description","content":"interface 官网地址 (https://microsoft.github.io/monaco-editor/docs.html#interfaces/editor.IDiffEditorConstructionOptions.html) 属性 Properties acceptSuggestionOnCommitCharacter 类型: bo..."}],["meta",{"property":"og:type","content":"article"}],["meta",{"property":"og:locale","content":"zh-CN"}],["meta",{"property":"og:updated_time","content":"2023-06-16T20:04:45.000Z"}],["meta",{"property":"article:author","content":"aydk"}],["meta",{"property":"article:modified_time","content":"2023-06-16T20:04:45.000Z"}],["script",{"type":"application/ld+json"},"{\\"@context\\":\\"https://schema.org\\",\\"@type\\":\\"Article\\",\\"headline\\":\\"IDiffEditorConstructionOptions\\",\\"image\\":[\\"\\"],\\"dateModified\\":\\"2023-06-16T20:04:45.000Z\\",\\"author\\":[{\\"@type\\":\\"Person\\",\\"name\\":\\"aydk\\"}]}"]]},"headers":[{"level":2,"title":"属性 Properties","slug":"属性-properties","link":"#属性-properties","children":[]},{"level":2,"title":"acceptSuggestionOnCommitCharacter","slug":"acceptsuggestiononcommitcharacter","link":"#acceptsuggestiononcommitcharacter","children":[]},{"level":2,"title":"acceptSuggestionOnEnter","slug":"acceptsuggestiononenter","link":"#acceptsuggestiononenter","children":[]},{"level":2,"title":"accessibilityPageSize","slug":"accessibilitypagesize","link":"#accessibilitypagesize","children":[]},{"level":2,"title":"accessibilitySupport","slug":"accessibilitysupport","link":"#accessibilitysupport","children":[]},{"level":2,"title":"accessibilityVerbose","slug":"accessibilityverbose","link":"#accessibilityverbose","children":[]},{"level":2,"title":"ariaLabel","slug":"arialabel","link":"#arialabel","children":[]},{"level":2,"title":"autoClosingBrackets","slug":"autoclosingbrackets","link":"#autoclosingbrackets","children":[]},{"level":2,"title":"autoClosingDelete","slug":"autoclosingdelete","link":"#autoclosingdelete","children":[]},{"level":2,"title":"autoClosingOvertype","slug":"autoclosingovertype","link":"#autoclosingovertype","children":[]},{"level":2,"title":"autoClosingQuotes","slug":"autoclosingquotes","link":"#autoclosingquotes","children":[]},{"level":2,"title":"autoIndent","slug":"autoindent","link":"#autoindent","children":[]},{"level":2,"title":"autoSurround","slug":"autosurround","link":"#autosurround","children":[]},{"level":2,"title":"automaticLayout","slug":"automaticlayout","link":"#automaticlayout","children":[]},{"level":2,"title":"bracketPairColorization","slug":"bracketpaircolorization","link":"#bracketpaircolorization","children":[]},{"level":2,"title":"codeActionsOnSaveTimeout","slug":"codeactionsonsavetimeout","link":"#codeactionsonsavetimeout","children":[]},{"level":2,"title":"codeLens","slug":"codelens","link":"#codelens","children":[]},{"level":2,"title":"codeLensFontFamily","slug":"codelensfontfamily","link":"#codelensfontfamily","children":[]},{"level":2,"title":"codeLensFontSize","slug":"codelensfontsize","link":"#codelensfontsize","children":[]},{"level":2,"title":"colorDecorators","slug":"colordecorators","link":"#colordecorators","children":[]},{"level":2,"title":"colorDecoratorsLimit","slug":"colordecoratorslimit","link":"#colordecoratorslimit","children":[]},{"level":2,"title":"columnSelection","slug":"columnselection","link":"#columnselection","children":[]},{"level":2,"title":"comments","slug":"comments","link":"#comments","children":[]},{"level":2,"title":"contextmenu","slug":"contextmenu","link":"#contextmenu","children":[]},{"level":2,"title":"copyWithSyntaxHighlighting","slug":"copywithsyntaxhighlighting","link":"#copywithsyntaxhighlighting","children":[]},{"level":2,"title":"cursorBlinking","slug":"cursorblinking","link":"#cursorblinking","children":[]},{"level":2,"title":"cursorSmoothCaretAnimation","slug":"cursorsmoothcaretanimation","link":"#cursorsmoothcaretanimation","children":[]},{"level":2,"title":"cursorStyle","slug":"cursorstyle","link":"#cursorstyle","children":[]},{"level":2,"title":"cursorSurroundingLines","slug":"cursorsurroundinglines","link":"#cursorsurroundinglines","children":[]},{"level":2,"title":"cursorSurroundingLinesStyle","slug":"cursorsurroundinglinesstyle","link":"#cursorsurroundinglinesstyle","children":[]},{"level":2,"title":"cursorWidth","slug":"cursorwidth","link":"#cursorwidth","children":[]},{"level":2,"title":"defaultColorDecorators","slug":"defaultcolordecorators","link":"#defaultcolordecorators","children":[]},{"level":2,"title":"definitionLinkOpensInPeek","slug":"definitionlinkopensinpeek","link":"#definitionlinkopensinpeek","children":[]},{"level":2,"title":"diffAlgorithm","slug":"diffalgorithm","link":"#diffalgorithm","children":[]},{"level":2,"title":"diffCodeLens","slug":"diffcodelens","link":"#diffcodelens","children":[]},{"level":2,"title":"diffWordWrap","slug":"diffwordwrap","link":"#diffwordwrap","children":[]},{"level":2,"title":"dimension","slug":"dimension","link":"#dimension","children":[]},{"level":2,"title":"disableLayerHinting","slug":"disablelayerhinting","link":"#disablelayerhinting","children":[]},{"level":2,"title":"disableMonospaceOptimizations","slug":"disablemonospaceoptimizations","link":"#disablemonospaceoptimizations","children":[]},{"level":2,"title":"domReadOnly","slug":"domreadonly","link":"#domreadonly","children":[]},{"level":2,"title":"dragAndDrop","slug":"draganddrop","link":"#draganddrop","children":[]},{"level":2,"title":"dropIntoEditor","slug":"dropintoeditor","link":"#dropintoeditor","children":[]},{"level":2,"title":"emptySelectionClipboard","slug":"emptyselectionclipboard","link":"#emptyselectionclipboard","children":[]},{"level":2,"title":"enableSplitViewResizing","slug":"enablesplitviewresizing","link":"#enablesplitviewresizing","children":[]},{"level":2,"title":"experimental","slug":"experimental","link":"#experimental","children":[]},{"level":2,"title":"experimentalWhitespaceRendering","slug":"experimentalwhitespacerendering","link":"#experimentalwhitespacerendering","children":[]},{"level":2,"title":"extraEditorClassName","slug":"extraeditorclassname","link":"#extraeditorclassname","children":[]},{"level":2,"title":"fastScrollSensitivity","slug":"fastscrollsensitivity","link":"#fastscrollsensitivity","children":[]},{"level":2,"title":"find","slug":"find","link":"#find","children":[]},{"level":2,"title":"fixedOverflowWidgets","slug":"fixedoverflowwidgets","link":"#fixedoverflowwidgets","children":[]},{"level":2,"title":"folding","slug":"folding","link":"#folding","children":[]},{"level":2,"title":"foldingHighlight","slug":"foldinghighlight","link":"#foldinghighlight","children":[]},{"level":2,"title":"foldingImportsByDefault","slug":"foldingimportsbydefault","link":"#foldingimportsbydefault","children":[]},{"level":2,"title":"foldingMaximumRegions","slug":"foldingmaximumregions","link":"#foldingmaximumregions","children":[]},{"level":2,"title":"foldingStrategy","slug":"foldingstrategy","link":"#foldingstrategy","children":[]},{"level":2,"title":"fontFamily","slug":"fontfamily","link":"#fontfamily","children":[]},{"level":2,"title":"fontLigatures","slug":"fontligatures","link":"#fontligatures","children":[]},{"level":2,"title":"fontSize","slug":"fontsize","link":"#fontsize","children":[]},{"level":2,"title":"fontVariations","slug":"fontvariations","link":"#fontvariations","children":[]},{"level":2,"title":"fontWeight","slug":"fontweight","link":"#fontweight","children":[]},{"level":2,"title":"formatOnPaste","slug":"formatonpaste","link":"#formatonpaste","children":[]},{"level":2,"title":"formatOnType","slug":"formatontype","link":"#formatontype","children":[]},{"level":2,"title":"glyphMargin","slug":"glyphmargin","link":"#glyphmargin","children":[]},{"level":2,"title":"gotoLocation","slug":"gotolocation","link":"#gotolocation","children":[]},{"level":2,"title":"guides","slug":"guides","link":"#guides","children":[]},{"level":2,"title":"hideCursorInOverviewRuler","slug":"hidecursorinoverviewruler","link":"#hidecursorinoverviewruler","children":[]},{"level":2,"title":"hover","slug":"hover","link":"#hover","children":[]},{"level":2,"title":"ignoreTrimWhitespace","slug":"ignoretrimwhitespace","link":"#ignoretrimwhitespace","children":[]},{"level":2,"title":"inDiffEditor","slug":"indiffeditor","link":"#indiffeditor","children":[]},{"level":2,"title":"inlayHints","slug":"inlayhints","link":"#inlayhints","children":[]},{"level":2,"title":"inlineSuggest","slug":"inlinesuggest","link":"#inlinesuggest","children":[]},{"level":2,"title":"isInEmbeddedEditor","slug":"isinembeddededitor","link":"#isinembeddededitor","children":[]},{"level":2,"title":"letterSpacing","slug":"letterspacing","link":"#letterspacing","children":[]},{"level":2,"title":"lightbulb","slug":"lightbulb","link":"#lightbulb","children":[]},{"level":2,"title":"lineDecorationsWidth","slug":"linedecorationswidth","link":"#linedecorationswidth","children":[]},{"level":2,"title":"lineHeight","slug":"lineheight","link":"#lineheight","children":[]},{"level":2,"title":"lineNumbers","slug":"linenumbers","link":"#linenumbers","children":[]},{"level":2,"title":"lineNumbersMinChars","slug":"linenumbersminchars","link":"#linenumbersminchars","children":[]},{"level":2,"title":"linkedEditing","slug":"linkedediting","link":"#linkedediting","children":[]},{"level":2,"title":"links","slug":"links","link":"#links","children":[]},{"level":2,"title":"matchBrackets","slug":"matchbrackets","link":"#matchbrackets","children":[]},{"level":2,"title":"matchOnWordStartOnly","slug":"matchonwordstartonly","link":"#matchonwordstartonly","children":[]},{"level":2,"title":"maxComputationTime","slug":"maxcomputationtime","link":"#maxcomputationtime","children":[]},{"level":2,"title":"maxFileSize","slug":"maxfilesize","link":"#maxfilesize","children":[]},{"level":2,"title":"minimap","slug":"minimap","link":"#minimap","children":[]},{"level":2,"title":"modifiedAriaLabel","slug":"modifiedarialabel","link":"#modifiedarialabel","children":[]},{"level":2,"title":"mouseStyle","slug":"mousestyle","link":"#mousestyle","children":[]},{"level":2,"title":"mouseWheelScrollSensitivity","slug":"mousewheelscrollsensitivity","link":"#mousewheelscrollsensitivity","children":[]},{"level":2,"title":"mouseWheelZoom","slug":"mousewheelzoom","link":"#mousewheelzoom","children":[]},{"level":2,"title":"multiCursorLimit","slug":"multicursorlimit","link":"#multicursorlimit","children":[]},{"level":2,"title":"multiCursorMergeOverlapping","slug":"multicursormergeoverlapping","link":"#multicursormergeoverlapping","children":[]},{"level":2,"title":"multiCursorModifier","slug":"multicursormodifier","link":"#multicursormodifier","children":[]},{"level":2,"title":"multiCursorPaste","slug":"multicursorpaste","link":"#multicursorpaste","children":[]},{"level":2,"title":"occurrencesHighlight","slug":"occurrenceshighlight","link":"#occurrenceshighlight","children":[]},{"level":2,"title":"originalAriaLabel","slug":"originalarialabel","link":"#originalarialabel","children":[]},{"level":2,"title":"originalEditable","slug":"originaleditable","link":"#originaleditable","children":[]},{"level":2,"title":"overflowWidgetsDomNode","slug":"overflowwidgetsdomnode","link":"#overflowwidgetsdomnode","children":[]},{"level":2,"title":"overviewRulerBorder","slug":"overviewrulerborder","link":"#overviewrulerborder","children":[]},{"level":2,"title":"overviewRulerLanes","slug":"overviewrulerlanes","link":"#overviewrulerlanes","children":[]},{"level":2,"title":"padding","slug":"padding","link":"#padding","children":[]},{"level":2,"title":"parameterHints","slug":"parameterhints","link":"#parameterhints","children":[]},{"level":2,"title":"pasteAs","slug":"pasteas","link":"#pasteas","children":[]},{"level":2,"title":"peekWidgetDefaultFocus","slug":"peekwidgetdefaultfocus","link":"#peekwidgetdefaultfocus","children":[]},{"level":2,"title":"quickSuggestions","slug":"quicksuggestions","link":"#quicksuggestions","children":[]},{"level":2,"title":"quickSuggestionsDelay","slug":"quicksuggestionsdelay","link":"#quicksuggestionsdelay","children":[]},{"level":2,"title":"readOnly","slug":"readonly","link":"#readonly","children":[]},{"level":2,"title":"renameOnType","slug":"renameontype","link":"#renameontype","children":[]},{"level":2,"title":"renderControlCharacters","slug":"rendercontrolcharacters","link":"#rendercontrolcharacters","children":[]},{"level":2,"title":"renderFinalNewline","slug":"renderfinalnewline","link":"#renderfinalnewline","children":[]},{"level":2,"title":"renderIndicators","slug":"renderindicators","link":"#renderindicators","children":[]},{"level":2,"title":"renderLineHighlight","slug":"renderlinehighlight","link":"#renderlinehighlight","children":[]},{"level":2,"title":"renderLineHighlightOnlyWhenFocus","slug":"renderlinehighlightonlywhenfocus","link":"#renderlinehighlightonlywhenfocus","children":[]},{"level":2,"title":"renderMarginRevertIcon","slug":"rendermarginreverticon","link":"#rendermarginreverticon","children":[]},{"level":2,"title":"renderOverviewRuler","slug":"renderoverviewruler","link":"#renderoverviewruler","children":[]},{"level":2,"title":"renderSideBySide","slug":"rendersidebyside","link":"#rendersidebyside","children":[]},{"level":2,"title":"renderValidationDecorations","slug":"rendervalidationdecorations","link":"#rendervalidationdecorations","children":[]},{"level":2,"title":"renderWhitespace","slug":"renderwhitespace","link":"#renderwhitespace","children":[]},{"level":2,"title":"revealHorizontalRightPadding","slug":"revealhorizontalrightpadding","link":"#revealhorizontalrightpadding","children":[]},{"level":2,"title":"roundedSelection","slug":"roundedselection","link":"#roundedselection","children":[]},{"level":2,"title":"rulers","slug":"rulers","link":"#rulers","children":[]},{"level":2,"title":"screenReaderAnnounceInlineSuggestion","slug":"screenreaderannounceinlinesuggestion","link":"#screenreaderannounceinlinesuggestion","children":[]},{"level":2,"title":"scrollBeyondLastColumn","slug":"scrollbeyondlastcolumn","link":"#scrollbeyondlastcolumn","children":[]},{"level":2,"title":"scrollBeyondLastLine","slug":"scrollbeyondlastline","link":"#scrollbeyondlastline","children":[]},{"level":2,"title":"scrollPredominantAxis","slug":"scrollpredominantaxis","link":"#scrollpredominantaxis","children":[]},{"level":2,"title":"scrollbar","slug":"scrollbar","link":"#scrollbar","children":[]},{"level":2,"title":"selectOnLineNumbers","slug":"selectonlinenumbers","link":"#selectonlinenumbers","children":[]},{"level":2,"title":"selectionClipboard","slug":"selectionclipboard","link":"#selectionclipboard","children":[]},{"level":2,"title":"selectionHighlight","slug":"selectionhighlight","link":"#selectionhighlight","children":[]},{"level":2,"title":"showDeprecated","slug":"showdeprecated","link":"#showdeprecated","children":[]},{"level":2,"title":"showFoldingControls","slug":"showfoldingcontrols","link":"#showfoldingcontrols","children":[]},{"level":2,"title":"showUnused","slug":"showunused","link":"#showunused","children":[]},{"level":2,"title":"smartSelect","slug":"smartselect","link":"#smartselect","children":[]},{"level":2,"title":"smoothScrolling","slug":"smoothscrolling","link":"#smoothscrolling","children":[]},{"level":2,"title":"snippetSuggestions","slug":"snippetsuggestions","link":"#snippetsuggestions","children":[]},{"level":2,"title":"splitViewDefaultRatio","slug":"splitviewdefaultratio","link":"#splitviewdefaultratio","children":[]},{"level":2,"title":"stickyScroll","slug":"stickyscroll","link":"#stickyscroll","children":[]},{"level":2,"title":"stickyTabStops","slug":"stickytabstops","link":"#stickytabstops","children":[]},{"level":2,"title":"stopRenderingLineAfter","slug":"stoprenderinglineafter","link":"#stoprenderinglineafter","children":[]},{"level":2,"title":"suggest","slug":"suggest","link":"#suggest","children":[]},{"level":2,"title":"suggestFontSize","slug":"suggestfontsize","link":"#suggestfontsize","children":[]},{"level":2,"title":"suggestLineHeight","slug":"suggestlineheight","link":"#suggestlineheight","children":[]},{"level":2,"title":"suggestOnTriggerCharacters","slug":"suggestontriggercharacters","link":"#suggestontriggercharacters","children":[]},{"level":2,"title":"suggestSelection","slug":"suggestselection","link":"#suggestselection","children":[]},{"level":2,"title":"tabCompletion","slug":"tabcompletion","link":"#tabcompletion","children":[]},{"level":2,"title":"tabFocusMode","slug":"tabfocusmode","link":"#tabfocusmode","children":[]},{"level":2,"title":"tabIndex","slug":"tabindex","link":"#tabindex","children":[]},{"level":2,"title":"unfoldOnClickAfterEndOfLine","slug":"unfoldonclickafterendofline","link":"#unfoldonclickafterendofline","children":[]},{"level":2,"title":"unicodeHighlight","slug":"unicodehighlight","link":"#unicodehighlight","children":[]},{"level":2,"title":"unusualLineTerminators","slug":"unusuallineterminators","link":"#unusuallineterminators","children":[]},{"level":2,"title":"useShadowDOM","slug":"useshadowdom","link":"#useshadowdom","children":[]},{"level":2,"title":"useTabStops","slug":"usetabstops","link":"#usetabstops","children":[]},{"level":2,"title":"wordBreak","slug":"wordbreak","link":"#wordbreak","children":[]},{"level":2,"title":"wordSeparators","slug":"wordseparators","link":"#wordseparators","children":[]},{"level":2,"title":"wordWrap","slug":"wordwrap","link":"#wordwrap","children":[]},{"level":2,"title":"wordWrapBreakAfterCharacters","slug":"wordwrapbreakaftercharacters","link":"#wordwrapbreakaftercharacters","children":[]},{"level":2,"title":"wordWrapBreakBeforeCharacters","slug":"wordwrapbreakbeforecharacters","link":"#wordwrapbreakbeforecharacters","children":[]},{"level":2,"title":"wordWrapColumn","slug":"wordwrapcolumn","link":"#wordwrapcolumn","children":[]},{"level":2,"title":"wordWrapOverride1","slug":"wordwrapoverride1","link":"#wordwrapoverride1","children":[]},{"level":2,"title":"wordWrapOverride2","slug":"wordwrapoverride2","link":"#wordwrapoverride2","children":[]},{"level":2,"title":"wrappingIndent","slug":"wrappingindent","link":"#wrappingindent","children":[]},{"level":2,"title":"wrappingStrategy","slug":"wrappingstrategy","link":"#wrappingstrategy","children":[]}],"git":{"createdTime":1686945885000,"updatedTime":1686945885000,"contributors":[{"name":"xiaochaochao","email":"xiaochaochao","commits":1}]},"readingTime":{"minutes":20.27,"words":6082},"filePathRelative":"editor/interfaces/IDiffEditorConstructionOptions.md","localizedDate":"2023年6月16日","autoDesc":true}');export{e as data};
diff --git a/assets/IDiffEditorModel.html-09d7a921.js b/assets/IDiffEditorModel.html-09d7a921.js
new file mode 100644
index 00000000..d4a4f5c8
--- /dev/null
+++ b/assets/IDiffEditorModel.html-09d7a921.js
@@ -0,0 +1 @@
+import{_ as r}from"./plugin-vue_export-helper-c27b6911.js";import{r as l,o as a,c as s,a as e,b as o,d as t,w as n}from"./app-5f5ef0a9.js";const c={},_=e("h1",{id:"idiffeditormodel",tabindex:"-1"},[e("a",{class:"header-anchor",href:"#idiffeditormodel","aria-hidden":"true"},"#"),o(" IDiffEditorModel")],-1),h=e("code",null,"interface",-1),f={href:"https://microsoft.github.io/monaco-editor/docs.html#interfaces/editor.IDiffEditorModel.html",target:"_blank",rel:"noopener noreferrer"},u=e("p",null,"diff 编辑器的模型。",-1),m=e("h2",{id:"属性-properties",tabindex:"-1"},[e("a",{class:"header-anchor",href:"#属性-properties","aria-hidden":"true"},"#"),o(" 属性 Properties")],-1),p=e("h3",{id:"modified",tabindex:"-1"},[e("a",{class:"header-anchor",href:"#modified","aria-hidden":"true"},"#"),o(" modified")],-1),x=e("li",null,[o("默认值: "),e("code",null,"-")],-1),I=e("li",null,[o("可选项: "),e("code",null,"-")],-1),M=e("li",null,[o("描述: "),e("code",null,"修改的模型")],-1),b=e("h3",{id:"original",tabindex:"-1"},[e("a",{class:"header-anchor",href:"#original","aria-hidden":"true"},"#"),o(" original")],-1),k=e("li",null,[o("默认值: "),e("code",null,"-")],-1),E=e("li",null,[o("可选项: "),e("code",null,"-")],-1),g=e("li",null,[o("描述: "),e("code",null,"源模型")],-1);function T(D,L){const d=l("ExternalLinkIcon"),i=l("RouterLink");return a(),s("div",null,[_,e("p",null,[h,o(),e("a",f,[o("官网地址"),t(d)])]),u,m,p,e("ul",null,[e("li",null,[o("类型: "),t(i,{to:"/editor/interfaces/ITextModel.html"},{default:n(()=>[o("ITextModel")]),_:1})]),x,I,M]),b,e("ul",null,[e("li",null,[o("类型: "),t(i,{to:"/editor/interfaces/ITextModel.html"},{default:n(()=>[o("ITextModel")]),_:1})]),k,E,g])])}const N=r(c,[["render",T],["__file","IDiffEditorModel.html.vue"]]);export{N as default};
diff --git a/assets/IDiffEditorModel.html-65ed6c1d.js b/assets/IDiffEditorModel.html-65ed6c1d.js
new file mode 100644
index 00000000..6ae8b832
--- /dev/null
+++ b/assets/IDiffEditorModel.html-65ed6c1d.js
@@ -0,0 +1 @@
+const e=JSON.parse('{"key":"v-c864f402","path":"/editor/interfaces/IDiffEditorModel.html","title":"IDiffEditorModel","lang":"zh-CN","frontmatter":{"description":"interface 官网地址 (https://microsoft.github.io/monaco-editor/docs.html#interfaces/editor.IDiffEditorModel.html) diff 编辑器的模型。 属性 Properties modified 类型: ITextModel (ITextModel.md); ...","head":[["meta",{"property":"og:url","content":"http://aydk.site/editor/interfaces/IDiffEditorModel.html"}],["meta",{"property":"og:site_name","content":"Monaco-editor 学习文档"}],["meta",{"property":"og:title","content":"IDiffEditorModel"}],["meta",{"property":"og:description","content":"interface 官网地址 (https://microsoft.github.io/monaco-editor/docs.html#interfaces/editor.IDiffEditorModel.html) diff 编辑器的模型。 属性 Properties modified 类型: ITextModel (ITextModel.md); ..."}],["meta",{"property":"og:type","content":"article"}],["meta",{"property":"og:locale","content":"zh-CN"}],["meta",{"property":"og:updated_time","content":"2023-06-16T20:04:45.000Z"}],["meta",{"property":"article:author","content":"aydk"}],["meta",{"property":"article:modified_time","content":"2023-06-16T20:04:45.000Z"}],["script",{"type":"application/ld+json"},"{\\"@context\\":\\"https://schema.org\\",\\"@type\\":\\"Article\\",\\"headline\\":\\"IDiffEditorModel\\",\\"image\\":[\\"\\"],\\"dateModified\\":\\"2023-06-16T20:04:45.000Z\\",\\"author\\":[{\\"@type\\":\\"Person\\",\\"name\\":\\"aydk\\"}]}"]]},"headers":[{"level":2,"title":"属性 Properties","slug":"属性-properties","link":"#属性-properties","children":[{"level":3,"title":"modified","slug":"modified","link":"#modified","children":[]},{"level":3,"title":"original","slug":"original","link":"#original","children":[]}]}],"git":{"createdTime":1686945885000,"updatedTime":1686945885000,"contributors":[{"name":"xiaochaochao","email":"xiaochaochao","commits":1}]},"readingTime":{"minutes":0.18,"words":54},"filePathRelative":"editor/interfaces/IDiffEditorModel.md","localizedDate":"2023年6月16日","autoDesc":true}');export{e as data};
diff --git a/assets/IDiffEditorOptions.html-87e6e262.js b/assets/IDiffEditorOptions.html-87e6e262.js
new file mode 100644
index 00000000..2706da08
--- /dev/null
+++ b/assets/IDiffEditorOptions.html-87e6e262.js
@@ -0,0 +1 @@
+const e=JSON.parse('{"key":"v-cee0282c","path":"/editor/interfaces/IDiffEditorOptions.html","title":"IDiffEditorOptions","lang":"zh-CN","frontmatter":{"description":"interface 官网地址 (https://microsoft.github.io/monaco-editor/typedoc/interfaces/editor.IDiffEditorOptions.html) acceptSuggestionOnCommitCharacter 类型: boolean `可选; 默认值: true; 可选项: -...","head":[["meta",{"property":"og:url","content":"http://aydk.site/editor/interfaces/IDiffEditorOptions.html"}],["meta",{"property":"og:site_name","content":"Monaco-editor 学习文档"}],["meta",{"property":"og:title","content":"IDiffEditorOptions"}],["meta",{"property":"og:description","content":"interface 官网地址 (https://microsoft.github.io/monaco-editor/typedoc/interfaces/editor.IDiffEditorOptions.html) acceptSuggestionOnCommitCharacter 类型: boolean `可选; 默认值: true; 可选项: -..."}],["meta",{"property":"og:type","content":"article"}],["meta",{"property":"og:locale","content":"zh-CN"}],["meta",{"property":"og:updated_time","content":"2023-06-16T20:04:45.000Z"}],["meta",{"property":"article:author","content":"aydk"}],["meta",{"property":"article:modified_time","content":"2023-06-16T20:04:45.000Z"}],["script",{"type":"application/ld+json"},"{\\"@context\\":\\"https://schema.org\\",\\"@type\\":\\"Article\\",\\"headline\\":\\"IDiffEditorOptions\\",\\"image\\":[\\"\\"],\\"dateModified\\":\\"2023-06-16T20:04:45.000Z\\",\\"author\\":[{\\"@type\\":\\"Person\\",\\"name\\":\\"aydk\\"}]}"]]},"headers":[{"level":2,"title":"acceptSuggestionOnCommitCharacter","slug":"acceptsuggestiononcommitcharacter","link":"#acceptsuggestiononcommitcharacter","children":[]},{"level":2,"title":"acceptSuggestionOnEnter","slug":"acceptsuggestiononenter","link":"#acceptsuggestiononenter","children":[]},{"level":2,"title":"accessibilityPageSize","slug":"accessibilitypagesize","link":"#accessibilitypagesize","children":[]},{"level":2,"title":"accessibilitySupport","slug":"accessibilitysupport","link":"#accessibilitysupport","children":[]},{"level":2,"title":"accessibilityVerbose","slug":"accessibilityverbose","link":"#accessibilityverbose","children":[]},{"level":2,"title":"ariaLabel","slug":"arialabel","link":"#arialabel","children":[]},{"level":2,"title":"autoClosingBrackets","slug":"autoclosingbrackets","link":"#autoclosingbrackets","children":[]},{"level":2,"title":"autoClosingDelete","slug":"autoclosingdelete","link":"#autoclosingdelete","children":[]},{"level":2,"title":"autoClosingOvertype","slug":"autoclosingovertype","link":"#autoclosingovertype","children":[]},{"level":2,"title":"autoClosingQuotes","slug":"autoclosingquotes","link":"#autoclosingquotes","children":[]},{"level":2,"title":"autoDetectHighContrast","slug":"autodetecthighcontrast","link":"#autodetecthighcontrast","children":[]},{"level":2,"title":"autoIndent","slug":"autoindent","link":"#autoindent","children":[]},{"level":2,"title":"autoSurround","slug":"autosurround","link":"#autosurround","children":[]},{"level":2,"title":"automaticLayout","slug":"automaticlayout","link":"#automaticlayout","children":[]},{"level":2,"title":"bracketPairColorization","slug":"bracketpaircolorization","link":"#bracketpaircolorization","children":[]},{"level":2,"title":"codeActionsOnSaveTimeout","slug":"codeactionsonsavetimeout","link":"#codeactionsonsavetimeout","children":[]},{"level":2,"title":"codeLens","slug":"codelens","link":"#codelens","children":[]},{"level":2,"title":"codeLensFontFamily","slug":"codelensfontfamily","link":"#codelensfontfamily","children":[]},{"level":2,"title":"codeLensFontSize","slug":"codelensfontsize","link":"#codelensfontsize","children":[]},{"level":2,"title":"colorDecorators","slug":"colordecorators","link":"#colordecorators","children":[]},{"level":2,"title":"colorDecoratorsLimit","slug":"colordecoratorslimit","link":"#colordecoratorslimit","children":[]},{"level":2,"title":"columnSelection","slug":"columnselection","link":"#columnselection","children":[]},{"level":2,"title":"comments","slug":"comments","link":"#comments","children":[]},{"level":2,"title":"contextmenu","slug":"contextmenu","link":"#contextmenu","children":[]},{"level":2,"title":"copyWithSyntaxHighlighting","slug":"copywithsyntaxhighlighting","link":"#copywithsyntaxhighlighting","children":[]},{"level":2,"title":"cursorBlinking","slug":"cursorblinking","link":"#cursorblinking","children":[]},{"level":2,"title":"cursorSmoothCaretAnimation","slug":"cursorsmoothcaretanimation","link":"#cursorsmoothcaretanimation","children":[]},{"level":2,"title":"cursorStyle","slug":"cursorstyle","link":"#cursorstyle","children":[]},{"level":2,"title":"cursorSurroundingLines","slug":"cursorsurroundinglines","link":"#cursorsurroundinglines","children":[]},{"level":2,"title":"cursorSurroundingLinesStyle","slug":"cursorsurroundinglinesstyle","link":"#cursorsurroundinglinesstyle","children":[]},{"level":2,"title":"cursorWidth","slug":"cursorwidth","link":"#cursorwidth","children":[]},{"level":2,"title":"defaultColorDecorators","slug":"defaultcolordecorators","link":"#defaultcolordecorators","children":[]},{"level":2,"title":"definitionLinkOpensInPeek","slug":"definitionlinkopensinpeek","link":"#definitionlinkopensinpeek","children":[]},{"level":2,"title":"diffAlgorithm","slug":"diffalgorithm","link":"#diffalgorithm","children":[]},{"level":2,"title":"diffCodeLens","slug":"diffcodelens","link":"#diffcodelens","children":[]},{"level":2,"title":"diffWordWrap","slug":"diffwordwrap","link":"#diffwordwrap","children":[]},{"level":2,"title":"disableLayerHinting","slug":"disablelayerhinting","link":"#disablelayerhinting","children":[]},{"level":2,"title":"disableMonospaceOptimizations","slug":"disablemonospaceoptimizations","link":"#disablemonospaceoptimizations","children":[]},{"level":2,"title":"domReadOnly","slug":"domreadonly","link":"#domreadonly","children":[]},{"level":2,"title":"dragAndDrop","slug":"draganddrop","link":"#draganddrop","children":[]},{"level":2,"title":"dropIntoEditor","slug":"dropintoeditor","link":"#dropintoeditor","children":[]},{"level":2,"title":"emptySelectionClipboard","slug":"emptyselectionclipboard","link":"#emptyselectionclipboard","children":[]},{"level":2,"title":"enableSplitViewResizing","slug":"enablesplitviewresizing","link":"#enablesplitviewresizing","children":[]},{"level":2,"title":"experimental","slug":"experimental","link":"#experimental","children":[]},{"level":2,"title":"experimentalWhitespaceRendering","slug":"experimentalwhitespacerendering","link":"#experimentalwhitespacerendering","children":[]},{"level":2,"title":"extraEditorClassName","slug":"extraeditorclassname","link":"#extraeditorclassname","children":[]},{"level":2,"title":"fastScrollSensitivity","slug":"fastscrollsensitivity","link":"#fastscrollsensitivity","children":[]},{"level":2,"title":"find","slug":"find","link":"#find","children":[]},{"level":2,"title":"fixedOverflowWidgets","slug":"fixedoverflowwidgets","link":"#fixedoverflowwidgets","children":[]},{"level":2,"title":"folding","slug":"folding","link":"#folding","children":[]},{"level":2,"title":"foldingHighlight","slug":"foldinghighlight","link":"#foldinghighlight","children":[]},{"level":2,"title":"foldingImportsByDefault","slug":"foldingimportsbydefault","link":"#foldingimportsbydefault","children":[]},{"level":2,"title":"foldingMaximumRegions","slug":"foldingmaximumregions","link":"#foldingmaximumregions","children":[]},{"level":2,"title":"foldingStrategy","slug":"foldingstrategy","link":"#foldingstrategy","children":[]},{"level":2,"title":"fontFamily","slug":"fontfamily","link":"#fontfamily","children":[]},{"level":2,"title":"fontLigatures","slug":"fontligatures","link":"#fontligatures","children":[]},{"level":2,"title":"fontSize","slug":"fontsize","link":"#fontsize","children":[]},{"level":2,"title":"fontVariations","slug":"fontvariations","link":"#fontvariations","children":[]},{"level":2,"title":"fontWeight","slug":"fontweight","link":"#fontweight","children":[]},{"level":2,"title":"formatOnPaste","slug":"formatonpaste","link":"#formatonpaste","children":[]},{"level":2,"title":"formatOnType","slug":"formatontype","link":"#formatontype","children":[]},{"level":2,"title":"glyphMargin","slug":"glyphmargin","link":"#glyphmargin","children":[]},{"level":2,"title":"gotoLocation","slug":"gotolocation","link":"#gotolocation","children":[]},{"level":2,"title":"guides","slug":"guides","link":"#guides","children":[]},{"level":2,"title":"hideCursorInOverviewRuler","slug":"hidecursorinoverviewruler","link":"#hidecursorinoverviewruler","children":[]},{"level":2,"title":"hover","slug":"hover","link":"#hover","children":[]},{"level":2,"title":"ignoreTrimWhitespace","slug":"ignoretrimwhitespace","link":"#ignoretrimwhitespace","children":[]},{"level":2,"title":"inDiffEditor","slug":"indiffeditor","link":"#indiffeditor","children":[]},{"level":2,"title":"inlayHints","slug":"inlayhints","link":"#inlayhints","children":[]},{"level":2,"title":"inlineSuggest","slug":"inlinesuggest","link":"#inlinesuggest","children":[]},{"level":2,"title":"isInEmbeddedEditor","slug":"isinembeddededitor","link":"#isinembeddededitor","children":[]},{"level":2,"title":"letterSpacing","slug":"letterspacing","link":"#letterspacing","children":[]},{"level":2,"title":"lightbulb","slug":"lightbulb","link":"#lightbulb","children":[]},{"level":2,"title":"lineDecorationsWidth","slug":"linedecorationswidth","link":"#linedecorationswidth","children":[]},{"level":2,"title":"lineHeight","slug":"lineheight","link":"#lineheight","children":[]},{"level":2,"title":"lineNumbers","slug":"linenumbers","link":"#linenumbers","children":[]},{"level":2,"title":"lineNumbersMinChars","slug":"linenumbersminchars","link":"#linenumbersminchars","children":[]},{"level":2,"title":"linkedEditing","slug":"linkedediting","link":"#linkedediting","children":[]},{"level":2,"title":"links","slug":"links","link":"#links","children":[]},{"level":2,"title":"matchBrackets","slug":"matchbrackets","link":"#matchbrackets","children":[]},{"level":2,"title":"matchOnWordStartOnly","slug":"matchonwordstartonly","link":"#matchonwordstartonly","children":[]},{"level":2,"title":"maxComputationTime","slug":"maxcomputationtime","link":"#maxcomputationtime","children":[]},{"level":2,"title":"maxFileSize","slug":"maxfilesize","link":"#maxfilesize","children":[]},{"level":2,"title":"minimap","slug":"minimap","link":"#minimap","children":[]},{"level":2,"title":"mouseStyle","slug":"mousestyle","link":"#mousestyle","children":[]},{"level":2,"title":"mouseWheelScrollSensitivity","slug":"mousewheelscrollsensitivity","link":"#mousewheelscrollsensitivity","children":[]},{"level":2,"title":"mouseWheelZoom","slug":"mousewheelzoom","link":"#mousewheelzoom","children":[]},{"level":2,"title":"multiCursorLimit","slug":"multicursorlimit","link":"#multicursorlimit","children":[]},{"level":2,"title":"multiCursorMergeOverlapping","slug":"multicursormergeoverlapping","link":"#multicursormergeoverlapping","children":[]},{"level":2,"title":"multiCursorModifier","slug":"multicursormodifier","link":"#multicursormodifier","children":[]},{"level":2,"title":"multiCursorPaste","slug":"multicursorpaste","link":"#multicursorpaste","children":[]},{"level":2,"title":"occurrencesHighlight","slug":"occurrenceshighlight","link":"#occurrenceshighlight","children":[]},{"level":2,"title":"overviewRulerBorder","slug":"overviewrulerborder","link":"#overviewrulerborder","children":[]},{"level":2,"title":"overviewRulerLanes","slug":"overviewrulerlanes","link":"#overviewrulerlanes","children":[]},{"level":2,"title":"padding","slug":"padding","link":"#padding","children":[]},{"level":2,"title":"parameterHints","slug":"parameterhints","link":"#parameterhints","children":[]},{"level":2,"title":"pasteAs","slug":"pasteas","link":"#pasteas","children":[]},{"level":2,"title":"peekWidgetDefaultFocus","slug":"peekwidgetdefaultfocus","link":"#peekwidgetdefaultfocus","children":[]},{"level":2,"title":"quickSuggestions","slug":"quicksuggestions","link":"#quicksuggestions","children":[]},{"level":2,"title":"quickSuggestionsDelay","slug":"quicksuggestionsdelay","link":"#quicksuggestionsdelay","children":[]},{"level":2,"title":"readOnly","slug":"readonly","link":"#readonly","children":[]},{"level":2,"title":"renameOnType","slug":"renameontype","link":"#renameontype","children":[]},{"level":2,"title":"renderControlCharacters","slug":"rendercontrolcharacters","link":"#rendercontrolcharacters","children":[]},{"level":2,"title":"renderFinalNewline","slug":"renderfinalnewline","link":"#renderfinalnewline","children":[]},{"level":2,"title":"renderIndicators","slug":"renderindicators","link":"#renderindicators","children":[]},{"level":2,"title":"renderLineHighlight","slug":"renderlinehighlight","link":"#renderlinehighlight","children":[]},{"level":2,"title":"renderLineHighlightOnlyWhenFocus","slug":"renderlinehighlightonlywhenfocus","link":"#renderlinehighlightonlywhenfocus","children":[]},{"level":2,"title":"renderMarginRevertIcon","slug":"rendermarginreverticon","link":"#rendermarginreverticon","children":[]},{"level":2,"title":"renderOverviewRuler","slug":"renderoverviewruler","link":"#renderoverviewruler","children":[]},{"level":2,"title":"renderSideBySide","slug":"rendersidebyside","link":"#rendersidebyside","children":[]},{"level":2,"title":"renderValidationDecorations","slug":"rendervalidationdecorations","link":"#rendervalidationdecorations","children":[]},{"level":2,"title":"renderWhitespace","slug":"renderwhitespace","link":"#renderwhitespace","children":[]},{"level":2,"title":"revealHorizontalRightPadding","slug":"revealhorizontalrightpadding","link":"#revealhorizontalrightpadding","children":[]},{"level":2,"title":"roundedSelection","slug":"roundedselection","link":"#roundedselection","children":[]},{"level":2,"title":"rulers","slug":"rulers","link":"#rulers","children":[]},{"level":2,"title":"screenReaderAnnounceInlineSuggestion","slug":"screenreaderannounceinlinesuggestion","link":"#screenreaderannounceinlinesuggestion","children":[]},{"level":2,"title":"scrollBeyondLastColumn","slug":"scrollbeyondlastcolumn","link":"#scrollbeyondlastcolumn","children":[]},{"level":2,"title":"scrollBeyondLastLine","slug":"scrollbeyondlastline","link":"#scrollbeyondlastline","children":[]},{"level":2,"title":"scrollPredominantAxis","slug":"scrollpredominantaxis","link":"#scrollpredominantaxis","children":[]},{"level":2,"title":"scrollbar","slug":"scrollbar","link":"#scrollbar","children":[]},{"level":2,"title":"selectOnLineNumbers","slug":"selectonlinenumbers","link":"#selectonlinenumbers","children":[]},{"level":2,"title":"selectionClipboard","slug":"selectionclipboard","link":"#selectionclipboard","children":[]},{"level":2,"title":"selectionHighlight","slug":"selectionhighlight","link":"#selectionhighlight","children":[]},{"level":2,"title":"showDeprecated","slug":"showdeprecated","link":"#showdeprecated","children":[]},{"level":2,"title":"showFoldingControls","slug":"showfoldingcontrols","link":"#showfoldingcontrols","children":[]},{"level":2,"title":"showUnused","slug":"showunused","link":"#showunused","children":[]},{"level":2,"title":"smartSelect","slug":"smartselect","link":"#smartselect","children":[]},{"level":2,"title":"smoothScrolling","slug":"smoothscrolling","link":"#smoothscrolling","children":[]},{"level":2,"title":"snippetSuggestions","slug":"snippetsuggestions","link":"#snippetsuggestions","children":[]},{"level":2,"title":"splitViewDefaultRatio","slug":"splitviewdefaultratio","link":"#splitviewdefaultratio","children":[]},{"level":2,"title":"stickyScroll","slug":"stickyscroll","link":"#stickyscroll","children":[]},{"level":2,"title":"stickyTabStops","slug":"stickytabstops","link":"#stickytabstops","children":[]},{"level":2,"title":"stopRenderingLineAfter","slug":"stoprenderinglineafter","link":"#stoprenderinglineafter","children":[]},{"level":2,"title":"suggest","slug":"suggest","link":"#suggest","children":[]},{"level":2,"title":"suggestFontSize","slug":"suggestfontsize","link":"#suggestfontsize","children":[]},{"level":2,"title":"suggestLineHeight","slug":"suggestlineheight","link":"#suggestlineheight","children":[]},{"level":2,"title":"suggestOnTriggerCharacters","slug":"suggestontriggercharacters","link":"#suggestontriggercharacters","children":[]},{"level":2,"title":"suggestSelection","slug":"suggestselection","link":"#suggestselection","children":[]},{"level":2,"title":"tabCompletion","slug":"tabcompletion","link":"#tabcompletion","children":[]},{"level":2,"title":"tabFocusMode","slug":"tabfocusmode","link":"#tabfocusmode","children":[]},{"level":2,"title":"tabIndex","slug":"tabindex","link":"#tabindex","children":[]},{"level":2,"title":"theme","slug":"theme","link":"#theme","children":[]},{"level":2,"title":"unfoldOnClickAfterEndOfLine","slug":"unfoldonclickafterendofline","link":"#unfoldonclickafterendofline","children":[]},{"level":2,"title":"unicodeHighlight","slug":"unicodehighlight","link":"#unicodehighlight","children":[]},{"level":2,"title":"unusualLineTerminators","slug":"unusuallineterminators","link":"#unusuallineterminators","children":[]},{"level":2,"title":"useShadowDOM","slug":"useshadowdom","link":"#useshadowdom","children":[]},{"level":2,"title":"useTabStops","slug":"usetabstops","link":"#usetabstops","children":[]},{"level":2,"title":"wordBreak","slug":"wordbreak","link":"#wordbreak","children":[]},{"level":2,"title":"wordSeparators","slug":"wordseparators","link":"#wordseparators","children":[]},{"level":2,"title":"wordWrap","slug":"wordwrap","link":"#wordwrap","children":[]},{"level":2,"title":"wordWrapBreakAfterCharacters","slug":"wordwrapbreakaftercharacters","link":"#wordwrapbreakaftercharacters","children":[]},{"level":2,"title":"wordWrapBreakBeforeCharacters","slug":"wordwrapbreakbeforecharacters","link":"#wordwrapbreakbeforecharacters","children":[]},{"level":2,"title":"wordWrapColumn","slug":"wordwrapcolumn","link":"#wordwrapcolumn","children":[]},{"level":2,"title":"wordWrapOverride1","slug":"wordwrapoverride1","link":"#wordwrapoverride1","children":[]},{"level":2,"title":"wordWrapOverride2","slug":"wordwrapoverride2","link":"#wordwrapoverride2","children":[]},{"level":2,"title":"wrappingIndent","slug":"wrappingindent","link":"#wrappingindent","children":[]},{"level":2,"title":"wrappingStrategy","slug":"wrappingstrategy","link":"#wrappingstrategy","children":[]}],"git":{"createdTime":1686945885000,"updatedTime":1686945885000,"contributors":[{"name":"xiaochaochao","email":"xiaochaochao","commits":1}]},"readingTime":{"minutes":20.33,"words":6098},"filePathRelative":"editor/interfaces/IDiffEditorOptions.md","localizedDate":"2023年6月16日","autoDesc":true}');export{e as data};
diff --git a/assets/IDiffEditorOptions.html-ce41a225.js b/assets/IDiffEditorOptions.html-ce41a225.js
new file mode 100644
index 00000000..1de17db3
--- /dev/null
+++ b/assets/IDiffEditorOptions.html-ce41a225.js
@@ -0,0 +1,26 @@
+import{_ as t}from"./plugin-vue_export-helper-c27b6911.js";import{r as c,o as r,c as s,a as e,b as o,d as l,w as d,e as a}from"./app-5f5ef0a9.js";const u={},h=e("h1",{id:"idiffeditoroptions",tabindex:"-1"},[e("a",{class:"header-anchor",href:"#idiffeditoroptions","aria-hidden":"true"},"#"),o(" IDiffEditorOptions")],-1),p=e("code",null,"interface",-1),f={href:"https://microsoft.github.io/monaco-editor/typedoc/interfaces/editor.IDiffEditorOptions.html",target:"_blank",rel:"noopener noreferrer"},b=a(` acceptSuggestionOnCommitCharacter
- 类型:
boolean
可选
- 默认值:
true
- 可选项:
-
- 描述: 用于控制是否在输入特定字符时自动接受建议(suggestion) 如果将 acceptSuggestionOnCommitCharacter 设置为 true ,则在输入特定字符时,如果当前有建议,编辑器会自动接受建议并将其插入到文本中。可以使用 monaco.languages.registerCompletionItemProvider 方法注册一个代码补全提供程序,并在提供程序的 triggerCharacters 属性中指定要触发自动接受建议的字符。
下面是一个例子:
monaco.languages.registerCompletionItemProvider('javascript', {
+ triggerCharacters: ['.', ':'], // 指定触发自动接受建议的字符
+ provideCompletionItems: function(model, position, token, context) {
+ // 返回代码补全建议
+ return {
+ suggestions: [
+ {
+ label: 'console',
+ kind: monaco.languages.CompletionItemKind.Function,
+ insertText: 'console.', // 插入文本,如果用户按下 '.',则自动接受建议
+ commitCharacters: ['.'] // 指定插入建议后自动接受建议的字符
+ }
+ ]
+ };
+ }
+});
+// 将 acceptSuggestionOnCommitCharacter 设置为 true
+monaco.editor.create(document.getElementById('container'), {
+ value: '',
+ language: 'javascript',
+ acceptSuggestionOnCommitCharacter: true
+});
+
在上面的示例中,当用户输入 console. 时,会触发代码补全建议,建议中的 insertText 为 console. ,如果用户按下 . ,则自动接受建议。
acceptSuggestionOnEnter
- 类型:
string
可选
- 默认值:
'on'
- 可选项:
'on'
, 'smart'
, 'off'
- 描述: 用于控制是否在按下回车键时自动接受建议(suggestion) 如果将 acceptSuggestionOnEnter 设置为
'on'
,则在按下回车键时,如果当前有建议,编辑器会自动接受建议并将其插入到文本中。如果将其设置为 'smart'
,则只有在建议中存在文本更改时才会自动接受建议。如果将其设置为 'off'
,则不会自动接受建议。
accessibilityPageSize
- 类型:
number
可选
- 默认值:
10
- 可选项:
-
- 描述: 用于控制屏幕阅读器一次读取的行数 如果将 accessibilityPageSize 设置为一个正整数,则屏幕阅读器在读取编辑器内容时会一次读取指定行数的文本。
accessibilitySupport
- 类型:
string
可选
- 默认值:
'auto'
- 可选项:
'auto'
, 'off'
, 'on'
- 描述: 用于控制屏幕阅读器的支持级别 如果将 accessibilitySupport 设置为
'auto'
,则编辑器会自动检测当前环境是否支持屏幕阅读器,并相应地启用或禁用辅助功能。如果将其设置为 'on'
,则编辑器将始终启用辅助功能。如果将其设置为 'off'
,则编辑器将始终禁用辅助功能。
accessibilityVerbose
- 类型:
boolean
可选
- 默认值:
false
- 可选项:
-
- 描述: 用于控制屏幕阅读器的详细程度 如果将 accessibilityVerbose 设置为 true ,则屏幕阅读器在读取编辑器内容时会提供更详细的信息。
ariaLabel
- 类型:
string
可选
- 默认值:
''
- 可选项:
-
- 描述: 用于控制编辑器的 ARIA 标签 如果将 ariaLabel 设置为一个非空字符串,则编辑器会将其作为 ARIA 标签添加到编辑器的容器元素中,以提高可访问性。
autoClosingBrackets
`,16),g=e("code",null,"可选",-1),m=e("li",null,[o("默认值: "),e("code",null,"true")],-1),_=e("li",null,[o("可选项: "),e("code",null,"-")],-1),D=e("h2",{id:"autoclosingdelete",tabindex:"-1"},[e("a",{class:"header-anchor",href:"#autoclosingdelete","aria-hidden":"true"},"#"),o(" autoClosingDelete")],-1),y=e("code",null,"可选",-1),x=e("li",null,[o("默认值: "),e("code",null,"-")],-1),q=e("li",null,[o("可选项: "),e("code",null,"-")],-1),v=e("li",null,"描述: 用于控制是否在删除时自动删除闭合的括号",-1),C=e("h2",{id:"autoclosingovertype",tabindex:"-1"},[e("a",{class:"header-anchor",href:"#autoclosingovertype","aria-hidden":"true"},"#"),o(" autoClosingOvertype")],-1),w=e("code",null,"可选",-1),k=e("li",null,[o("默认值: "),e("code",null,"-")],-1),E=e("li",null,[o("可选项: "),e("code",null,"-")],-1),S=e("li",null,"描述: 用于控制是否在覆盖模式下自动闭合括号",-1),O=e("h2",{id:"autoclosingquotes",tabindex:"-1"},[e("a",{class:"header-anchor",href:"#autoclosingquotes","aria-hidden":"true"},"#"),o(" autoClosingQuotes")],-1),I=e("code",null,"可选",-1),F=e("li",null,[o("默认值: "),e("code",null,"-")],-1),L=e("li",null,[o("可选项: "),e("code",null,"-")],-1),A=e("li",null,"描述: 用于控制是否自动闭合引号",-1),z=a(' autoDetectHighContrast
- 类型:
boolean
可选
- 默认值:
true
- 可选项:
-
- 描述: 用于控制是否自动检测高对比度模式 如果将 autoDetectHighContrast 设置为 true ,则编辑器会自动检测当前是否处于高对比度模式,并相应地调整编辑器的外观。
autoIndent
- 类型:
string
可选
- 默认值:
advanced
- 可选项:
"none" | "advanced" | "full" | "brackets" | "keep"
- 描述: 用于控制是否自动缩进
autoSurround
',5),W=e("code",null,"可选",-1),H=e("li",null,[o("默认值: "),e("code",null,"languageDefined")],-1),P=e("li",null,[o("可选项: "),e("code",null,"-")],-1),B=e("li",null,"描述: 用于控制是否自动包围选定的文本",-1),R=a(' automaticLayout
- 类型:
boolean
可选
- 默认值:
false
- 可选项:
-
- 描述: 用于控制是否自动调整编辑器的大小 如果将 automaticLayout 设置为 true ,则编辑器会在窗口大小发生变化时自动调整大小以适应新的窗口大小。
bracketPairColorization
',3),T=e("code",null,"可选",-1),M=e("li",null,[o("默认值: "),e("code",null,"-")],-1),N=e("li",null,[o("可选项: "),e("code",null,"-")],-1),V=e("li",null,"描述: 用于控制是否高亮显示匹配的括号 如果将 bracketPairColorization 设置为 true ,则编辑器会在输入左括号时高亮显示相应的右括号,并在将光标放在左括号或右括号上时高亮显示相应的匹配括号。",-1),U=a(' codeActionsOnSaveTimeout
- 类型:
number
可选
- 默认值:
750
- 可选项:
-
- 描述: 用于控制代码保存时执行代码操作的超时时间 如果将 codeActionsOnSaveTimeout 设置为一个正整数,则在保存代码时,编辑器会等待指定的时间以执行代码操作。
codeLens
- 类型:
boolean
可选
- 默认值:
true
- 可选项:
-
- 描述: 用于控制是否启用代码镜头(CodeLens) 如果将 codeLens 设置为 true ,则编辑器会在代码中显示代码镜头,其中包含有关代码的其他信息,例如代码的引用和测试状态。
codeLensFontFamily
- 类型:
string
可选
- 默认值:
editor default
- 可选项:
-
- 描述: 用于控制代码镜头的字体系列 如果将 codeLensFontFamily 设置为一个非空字符串,则编辑器会使用指定的字体系列来呈现代码镜头。
codeLensFontSize
- 类型:
number
可选
- 默认值:
editor 字体大小的 90%
- 可选项:
-
- 描述: 用于控制代码镜头的字体大小 如果将 codeLensFontSize 设置为一个正整数,则编辑器会使用指定的字体大小来呈现代码镜头。
colorDecorators
- 类型:
boolean
可选
- 默认值:
true
- 可选项:
-
- 描述: 用于控制是否启用颜色修饰器 如果将 colorDecorators 设置为 true ,则编辑器会在代码中使用颜色修饰器,以提供有关代码的其他信息,例如代码的引用和测试状态。
colorDecoratorsLimit
- 类型:
number
可选
- 默认值:
5000
- 可选项:
-
- 描述: 控制文本编辑器中颜色装饰器的数量限制。
columnSelection
- 类型:
boolean
可选
- 默认值:
false
- 可选项:
-
- 描述: 控制是否启用列选择。
',15),j=e("code",null,"可选",-1),G=e("li",null,[o("默认值: "),e("code",null,"undefined")],-1),Q=e("li",null,[o("可选项: "),e("code",null,"-")],-1),K=e("li",null,"描述: 控制编辑器中注释的行为。",-1),Z=a('- 类型:
boolean
可选
- 默认值:
true
- 可选项:
-
- 描述: 控制是否启用上下文菜单。
copyWithSyntaxHighlighting
- 类型:
boolean
可选
- 默认值:
true
- 可选项:
-
- 描述: 控制复制时是否包含语法高亮。
cursorBlinking
- 类型:
string
可选
- 默认值:
blink
- 可选项:
blink
, smooth
, phase
, expand
, solid
- 描述: 控制光标闪烁的方式。
cursorSmoothCaretAnimation
- 类型:
string
可选
- 默认值:
off
- 可选项:
"on" | "off" | "explicit"
- 描述: 控制是否启用光标平滑动画。
cursorStyle
- 类型:
string
可选
- 默认值:
line
- 可选项:
line
, block
, underline
, line-thin
, block-outline
, underline-thin
- 描述: 控制光标样式。
cursorSurroundingLines
- 类型:
number
可选
- 默认值:
0
- 可选项:
-
- 描述: 控制光标周围可见的行数。
cursorSurroundingLinesStyle
- 类型:
string
可选
- 默认值:
default
- 可选项:
default
, all
- 描述: 控制光标周围可见的行的样式。
cursorWidth
- 类型:
number
可选
- 默认值:
0
- 可选项:
-
- 描述: 控制光标宽度。
defaultColorDecorators
- 类型:
boolean
可选
- 默认值:
true
- 可选项:
-
- 描述: 控制是否启用默认的颜色装饰器。
definitionLinkOpensInPeek
- 类型:
boolean
可选
- 默认值:
false
- 可选项:
-
- 描述: 控制定义链接是否在峰视图中打开。
diffAlgorithm
',21),$=e("li",null,[o("类型: "),e("code",null,"string"),o(),e("code",null,"可选")],-1),J=e("li",null,[o("默认值: "),e("code",null,"original")],-1),X=e("li",null,"描述: 控制差异算法。",-1),Y=a(` diffCodeLens
- 类型:
boolean
可选
- 默认值:
true
- 可选项:
-
- 描述: 控制是否启用差异代码镜头。
diffWordWrap
- 类型:
boolean
可选
- 默认值:
false
- 可选项:
-
- 描述: 控制差异编辑器中是否启用自动换行。
disableLayerHinting
- 类型:
boolean
可选
- 默认值:
false
- 可选项:
-
- 描述: 控制是否禁用层提示。
disableMonospaceOptimizations
- 类型:
boolean
可选
- 默认值:
false
- 可选项:
-
- 描述: 控制是否禁用等宽字体优化。
domReadOnly
- 类型:
boolean
可选
- 默认值:
false
- 可选项:
-
- 描述: 控制是否将编辑器设置为只读。
dragAndDrop
- 类型:
boolean
可选
- 默认值:
true
- 可选项:
-
- 描述: 控制是否启用拖放。
dropIntoEditor
- 类型:
boolean
可选
- 默认值:
true
- 可选项:
-
- 描述: 控制是否启用将文件拖放到编辑器中。
emptySelectionClipboard
- 类型:
boolean
可选
- 默认值:
true
- 可选项:
-
- 描述: 控制是否将空选择复制到剪贴板中。
enableSplitViewResizing
- 类型:
boolean
可选
- 默认值:
true
- 可选项:
-
- 描述: 控制是否启用分割视图调整大小。
experimental
- 类型:
如下代码
可选
- 默认值:
collapseUnchangedRegions 默认值为 false
- 可选项:
-
- 描述: 控制是否启用实验性特性。
experimental?: {
+ collapseUnchangedRegions?: boolean;
+}
+
experimentalWhitespaceRendering
- 类型:
enum
可选
- 默认值:
svg
- 可选项:
"off" | "svg" | "font"
- 描述: 控制是否启用实验性的空格渲染。
- 类型:
string
可选
- 默认值:
undefined
- 可选项:
-
- 描述: 控制编辑器的额外 CSS 类名。
- 类型:
number
可选
- 默认值:
5
- 可选项:
-
- 描述: 控制快速滚动的灵敏度。
find
`,28),ee=e("code",null,"可选",-1),oe=e("li",null,[o("默认值: "),e("code",null,"undefined")],-1),le=e("li",null,[o("可选项: "),e("code",null,"-")],-1),ie=e("li",null,"描述: 控制查找行为。",-1),de=a('- 类型:
boolean
可选
- 默认值:
false
- 可选项:
-
- 描述: 控制是否固定溢出的小部件。
folding
- 类型:
boolean
可选
- 默认值:
true
- 可选项:
-
- 描述: 控制是否启用折叠。
foldingHighlight
- 类型:
boolean
可选
- 默认值:
true
- 可选项:
-
- 描述: 控制是否突出显示折叠范围。
foldingImportsByDefault
- 类型:
boolean
可选
- 默认值:
false
- 可选项:
-
- 描述: 控制是否默认折叠导入语句。
foldingMaximumRegions
- 类型:
number
可选
- 默认值:
5000
- 可选项:
-
- 描述: 控制最大折叠区域数。
foldingStrategy
- 类型:
string
可选
- 默认值:
auto
- 可选项:
auto
, indentation
- 描述: 控制折叠策略。 'auto' 使用为当前文档的策略,'indentation' 使用基于缩进的折叠策略。默认为“自动”。
fontFamily
- 类型:
string
可选
- 默认值:
'Menlo', 'Monaco', 'Consolas', 'source-code-pro', 'monospace'
- 可选项:
-
- 描述: 控制字体系列。
fontLigatures
- 类型:
boolean
可选
- 默认值:
false
- 可选项:
-
- 描述: 控制是否启用字体连字。
fontSize
- 类型:
number
可选
- 默认值:
0
- 可选项:
-
- 描述: 控制字体大小。
fontVariations
- 类型:
string
可选
- 默认值:
undefined
- 可选项:
-
- 描述: 控制字体变体。
fontWeight
- 类型:
string
可选
- 默认值:
normal
- 可选项:
normal
, bold
, bolder
, lighter
, 100
, 200
, 300
, 400
, 500
, 600
, 700
, 800
, 900
- 描述: 控制字体粗细。
- 类型:
boolean
可选
- 默认值:
false
- 可选项:
-
- 描述: 控制是否在粘贴时格式化文本。
- 类型:
boolean
可选
- 默认值:
false
- 可选项:
-
- 描述: 控制是否在键入时格式化文本。
glyphMargin
- 类型:
boolean
可选
- 默认值:
true
- 可选项:
-
- 描述: 控制是否启用符号边距。
gotoLocation
',29),ae=e("code",null,"可选",-1),ce=e("li",null,[o("默认值: "),e("code",null,"-")],-1),ne=e("li",null,[o("可选项: "),e("code",null,"-")],-1),te=e("li",null,"描述: 控制跳转位置的行为。",-1),re=e("h2",{id:"guides",tabindex:"-1"},[e("a",{class:"header-anchor",href:"#guides","aria-hidden":"true"},"#"),o(" guides")],-1),se=e("code",null,"可选",-1),ue=e("li",null,[o("默认值: "),e("code",null,"-")],-1),he=e("li",null,[o("可选项: "),e("code",null,"-")],-1),pe=e("li",null,"描述: 控制是否显示编辑器中的垂直参考线。",-1),fe=a(' hideCursorInOverviewRuler
- 类型:
boolean
可选
- 默认值:
false
- 可选项:
-
- 描述: 控制是否在概览标尺中隐藏光标。
hover
',3),be=e("code",null,"可选",-1),ge=e("li",null,[o("默认值: "),e("code",null,"-")],-1),me=e("li",null,[o("可选项: "),e("code",null,"-")],-1),_e=e("li",null,"描述: 控制是否在编辑器中启用悬停提示。",-1),De=a(' ignoreTrimWhitespace
- 类型:
boolean
可选
- 默认值:
true
- 可选项:
-
- 描述: 控制是否在比较差异时忽略空格。
inDiffEditor
- 类型:
boolean
可选
- 默认值:
false
- 可选项:
-
- 描述: 控制是否在差异编辑器中启用编辑器。
inlayHints
',5),ye=e("code",null,"可选",-1),xe=e("li",null,[o("默认值: "),e("code",null,"-")],-1),qe=e("li",null,[o("可选项: "),e("code",null,"-")],-1),ve=e("li",null,"描述: 控制是否在编辑器中启用内联提示。",-1),Ce=e("h2",{id:"inlinesuggest",tabindex:"-1"},[e("a",{class:"header-anchor",href:"#inlinesuggest","aria-hidden":"true"},"#"),o(" inlineSuggest")],-1),we=e("code",null,"可选",-1),ke=e("li",null,[o("默认值: "),e("code",null,"-")],-1),Ee=e("li",null,[o("可选项: "),e("code",null,"-}")],-1),Se=e("li",null,"描述: 控制是否在编辑器中启用内联建议。",-1),Oe=a(' isInEmbeddedEditor
- 类型:
boolean
可选
- 默认值:
false
- 可选项:
-
- 描述: 控制是否在嵌入式编辑器中启用编辑器。
letterSpacing
- 类型:
number
可选
- 默认值:
0
- 可选项:
-
- 描述: 控制字符间距。
lightbulb
',5),Ie=e("code",null,"可选",-1),Fe=e("li",null,[o("默认值: "),e("code",null,"{ enabled: true }")],-1),Le=e("li",null,[o("可选项: "),e("code",null,"{ enabled: boolean }")],-1),Ae=e("li",null,"描述: 控制是否在编辑器中启用轻量级提示。",-1),ze=a(' lineDecorationsWidth
- 类型:
string
可选
- 默认值:
1px
- 可选项:
-
- 描述: 控制行装饰的宽度。
lineHeight
- 类型:
number
可选
- 默认值:
0
- 可选项:
-
- 描述: 控制行高。
lineNumbers
',5),We=e("code",null,"可选",-1),He=e("li",null,[o("默认值: "),e("code",null,"on")],-1),Pe=e("li",null,[o("可选项: "),e("code",null,"-")],-1),Be=e("li",null,"描述: 控制行号的呈现。 如果是函数,在渲染一个行号的时候会调用它,渲染返回值。 否则,如果它是真值,行号将被正常渲染(相当于使用恒等函数)。 否则,将不会呈现行号。 默认为开。",-1),Re=a(' lineNumbersMinChars
- 类型:
number
可选
- 默认值:
5
- 可选项:
-
- 描述: 控制行号的最小字符数。保留水平空间来呈现至少一定数量的数字.
linkedEditing
- 类型:
boolean
可选
- 默认值:
false
- 可选项:
-
- 描述: 控制是否启用链接编辑。
links
- 类型:
boolean
可选
- 默认值:
true
- 可选项:
-
- 描述: 控制是否启用链接。
matchBrackets
- 类型:
string
可选
- 默认值:
always
- 可选项:
"always" | "never" | "near"
- 描述: 控制是否突出显示匹配括号。
matchOnWordStartOnly
- 类型:
boolean
可选
- 默认值:
false
- 可选项:
-
- 描述: 控制是否仅在单词开头匹配。
maxComputationTime
- 类型:
number
可选
- 默认值:
5000
- 可选项:
-
- 描述: 控制计算的最大时间(以毫秒为单位)。
maxFileSize
- 类型:
number
可选
- 默认值:
50
- 可选项:
-
- 描述: 控制最大文件大小 单位MB。
minimap
',15),Te=e("code",null,"可选",-1),Me=e("li",null,[o("默认值: "),e("code",null,"{ enabled: true }")],-1),Ne=e("li",null,[o("可选项: "),e("code",null,"{ enabled: boolean, maxColumn: number, renderCharacters: boolean, showSlider: 'always' | 'mouseover' }")],-1),Ve=e("li",null,"描述: 控制是否显示缩略图。",-1),Ue=a(' mouseStyle
- 类型:
string
可选
- 默认值:
text
- 可选项:
'text' | 'default' | 'copy'
- 描述: 控制鼠标样式。
- 类型:
number
可选
- 默认值:
1
- 可选项:
-
- 描述: 用于控制鼠标滚轮滚动时的滚动速度。
mouseWheelZoom
- 类型:
boolean
可选
- 默认值:
false
- 可选项:
-
- 描述: 用于控制是否启用鼠标滚轮缩放。
multiCursorLimit
- 类型:
number
可选
- 默认值:
100
- 可选项:
-
- 描述: 用于控制多光标的数量限制。
multiCursorMergeOverlapping
- 类型:
boolean
可选
- 默认值:
true
- 可选项:
-
- 描述: 用于控制多光标是否可以合并重叠的部分。
multiCursorModifier
- 类型:
string
可选
- 默认值:
'alt'
- 可选项:
'alt'
, 'ctrlCmd'
- 描述: 用于控制触发多光标的修改键。
multiCursorPaste
- 类型:
string
可选
- 默认值:
'spread'
- 可选项:
'spread'
, 'full'
- 描述: 用于控制多光标粘贴时的行为。
occurrencesHighlight
- 类型:
boolean
可选
- 默认值:
true
- 可选项:
-
- 描述: 用于控制是否高亮显示所有匹配项。
overviewRulerBorder
- 类型:
boolean
可选
- 默认值:
true
- 可选项:
-
- 描述: 用于控制概览标尺是否显示边框。
overviewRulerLanes
- 类型:
number
可选
- 默认值:
3
- 可选项:
-
- 描述: 用于控制概览标尺的宽度。
padding
',21),je=e("code",null,"可选",-1),Ge=e("li",null,[o("默认值: "),e("code",null,"{ top: 0, bottom: 0 }")],-1),Qe=e("li",null,[o("可选项: "),e("code",null,"-")],-1),Ke=e("li",null,"描述: 用于控制编辑器的填充。",-1),Ze=e("h2",{id:"parameterhints",tabindex:"-1"},[e("a",{class:"header-anchor",href:"#parameterhints","aria-hidden":"true"},"#"),o(" parameterHints")],-1),$e=e("code",null,"可选",-1),Je=e("li",null,[o("默认值: "),e("code",null,"{ enabled: true }")],-1),Xe=e("li",null,[o("可选项: "),e("code",null,"-")],-1),Ye=e("li",null,"描述: 用于控制参数提示的行为。",-1),eo=e("h2",{id:"pasteas",tabindex:"-1"},[e("a",{class:"header-anchor",href:"#pasteas","aria-hidden":"true"},"#"),o(" pasteAs")],-1),oo=e("code",null,"可选",-1),lo=e("li",null,[o("默认值: "),e("code",null,"{ pastedText: 'default' }")],-1),io=e("li",null,[o("可选项: "),e("code",null,"-")],-1),ao=e("li",null,"描述: 用于控制粘贴时的行为。",-1),co=a('- 类型:
enum
可选
- 默认值:
false
- 可选项:
"tree" | "editor"
- 描述: 用于控制查看小部件的默认焦点。
quickSuggestions
',3),no=e("code",null,"boolean",-1),to=e("code",null,"可选",-1),ro=e("li",null,[o("默认值: "),e("code",null,"true")],-1),so=e("li",null,[o("可选项: "),e("code",null,"-")],-1),uo=e("li",null,"描述: 用于控制是否启用快速建议。",-1),ho=a(' quickSuggestionsDelay
- 类型:
number
可选
- 默认值:
10
- 可选项:
-
- 描述: 用于控制快速建议的延迟时间。单位 ms
readOnly
- 类型:
boolean
可选
- 默认值:
false
- 可选项:
-
- 描述: 用于控制编辑器是否只读。
renameOnType
- 类型:
boolean
可选
- 默认值:
false
- 可选项:
-
- 描述: 用于控制是否在输入时自动重命名符号。
renderControlCharacters
- 类型:
boolean
可选
- 默认值:
true
- 可选项:
-
- 描述: 用于控制是否渲染控制字符。
renderFinalNewline
- 类型:
boolean
可选
- 默认值:
on
- 可选项:
"on" | "off" | "dimmed"
- 描述: 用于控制是否渲染最终的换行符。
renderIndicators
- 类型:
boolean
可选
- 默认值:
true
- 可选项:
-
- 描述: 用于控制是否渲染指示器。
renderLineHighlight
- 类型:
string
可选
- 默认值:
'all'
- 可选项:
'none'
, 'gutter'
, 'line'
, 'all'
- 描述: 用于控制行高亮的行为。
renderLineHighlightOnlyWhenFocus
- 类型:
boolean
可选
- 默认值:
false
- 可选项:
-
- 描述: 用于控制是否只在编辑器获得焦点时才高亮显示行。
renderMarginRevertIcon
- 类型:
boolean
可选
- 默认值:
true
- 可选项:
-
- 描述: 用于控制是否渲染边距还原图标。
renderOverviewRuler
- 类型:
boolean
可选
- 默认值:
true
- 可选项:
-
- 描述: 用于控制是否渲染概览标尺。
renderSideBySide
- 类型:
boolean
可选
- 默认值:
true
- 可选项:
-
- 描述: 用于控制是否渲染并排视图。
renderValidationDecorations
- 类型:
string
可选
- 默认值:
'editable'
- 可选项:
'on'
, 'off'
, 'editable'
- 描述: 用于控制验证装饰的行为。
renderWhitespace
- 类型:
string
可选
- 默认值:
'selection'
- 可选项:
"all" | "none" | "boundary" | "selection" | "trailing"
- 描述: 用于控制渲染空白字符的行为。
revealHorizontalRightPadding
- 类型:
number
可选
- 默认值:
30
- 可选项:
-
- 描述: 控制编辑器在水平滚动时距离视窗右侧的像素数。
roundedSelection
- 类型:
boolean
可选
- 默认值:
true
- 可选项:
-
- 描述: 控制编辑器是否使用圆形选择。
rulers
',31),po=e("code",null,"number",-1),fo=e("code",null,"可选",-1),bo=e("li",null,[o("默认值: "),e("code",null,"[]")],-1),go=e("li",null,[o("可选项: "),e("code",null,"-")],-1),mo=e("li",null,"描述: 控制编辑器的垂直标尺的位置。",-1),_o=a(' screenReaderAnnounceInlineSuggestion
- 类型:
boolean
可选
- 默认值:
-
- 可选项:
-
- 描述: 控制编辑器是否应该在屏幕阅读器中宣布内联建议。
- 类型:
number
可选
- 默认值:
5
- 可选项:
-
- 描述: 控制编辑器在水平滚动时是否滚动超过最后一列。
- 类型:
boolean
可选
- 默认值:
true
- 可选项:
-
- 描述: 控制编辑器在垂直滚动时是否滚动超过最后一行。
- 类型:
boolean
可选
- 默认值:
true
- 可选项:
-
- 描述: 控制编辑器在垂直和水平滚动时是否只滚动主轴。
',9),Do=e("code",null,"可选",-1),yo=e("li",null,[o("默认值: "),e("code",null,"{}")],-1),xo=e("li",null,[o("可选项: "),e("code",null,"-")],-1),qo=e("li",null,"描述: 控制编辑器滚动条的外观和行为。",-1),vo=a(' selectOnLineNumbers
- 类型:
boolean
可选
- 默认值:
true
- 可选项:
-
- 描述: 控制编辑器是否应该在单击行号时选择整行。
selectionClipboard
- 类型:
boolean
可选
- 默认值:
true
- 可选项:
-
- 描述: 控制编辑器是否应该将选择内容复制到剪贴板。
selectionHighlight
- 类型:
boolean
可选
- 默认值:
true
- 可选项:
-
- 描述: 控制编辑器是否应该突出显示与所选内容相同的内容。
showDeprecated
- 类型:
boolean
可选
- 默认值:
false
- 可选项:
-
- 描述: 控制是否应该显示已弃用的代码。
showFoldingControls
- 类型:
string
可选
- 默认值:
"mouseover"
- 可选项:
"always" | "never" | "mouseover"
- 描述: 控制折叠控件何时可见。
showUnused
- 类型:
boolean
可选
- 默认值:
true
- 可选项:
-
- 描述: 控制是否应该显示未使用的代码。
smartSelect
',13),Co=e("code",null,"可选",-1),wo=e("li",null,[o("默认值: "),e("code",null,"true")],-1),ko=e("li",null,[o("可选项: "),e("code",null,"-")],-1),Eo=e("li",null,"描述: 控制编辑器是否应该使用智能选择。",-1),So=a('- 类型:
boolean
可选
- 默认值:
false
- 可选项:
-
- 描述: 控制编辑器是否应该使用平滑滚动。
snippetSuggestions
- 类型:
string
可选
- 默认值:
"bottom"
- 可选项:
"top"
, "bottom"
, "inline"
, "none"
- 描述: 控制代码段建议的位置。
splitViewDefaultRatio
- 类型:
number
可选
- 默认值:
0.5
- 可选项:
-
- 描述: 控制拆分编辑器的默认比率。必须是0-1之间的数字
',7),Oo=e("code",null,"可选",-1),Io=e("li",null,[o("默认值: "),e("code",null,"true")],-1),Fo=e("li",null,[o("可选项: "),e("code",null,"-")],-1),Lo=e("li",null,"描述: 控制编辑器是否应该在滚动时保持光标位置不变。",-1),Ao=a(' stickyTabStops
- 类型:
boolean
可选
- 默认值:
true
- 可选项:
-
- 描述: 控制编辑器是否应该使用固定的制表位。
stopRenderingLineAfter
- 类型:
number
可选
- 默认值:
10000
- 可选项:
-
- 描述: 控制编辑器在渲染时停止渲染行的数量。
suggest
',5),zo=e("code",null,"可选",-1),Wo=e("li",null,[o("默认值: "),e("code",null,"{}")],-1),Ho=e("li",null,[o("可选项: "),e("code",null,"-")],-1),Po=e("li",null,"描述: 控制编辑器的建议行为。",-1),Bo=a(' suggestFontSize
- 类型:
number
可选
- 默认值:
0
- 可选项:
-
- 描述: 控制建议列表中字体的大小。
suggestLineHeight
- 类型:
number
可选
- 默认值:
0
- 可选项:
-
- 描述: 控制建议列表中行高的大小。
suggestOnTriggerCharacters
- 类型:
boolean
可选
- 默认值:
true
- 可选项:
-
- 描述: 控制是否应该在输入触发字符时显示建议。
suggestSelection
- 类型:
string
可选
- 默认值:
"recentlyUsed"
- 可选项:
"first"
, "recentlyUsed"
, "recentlyUsedByPrefix"
- 描述: 控制建议列表中默认选择的建议。
tabCompletion
- 类型:
string
可选
- 默认值:
"off"
- 可选项:
"on"
, "off"
, "onlySnippets"
- 描述: 控制编辑器是否应该在按下 Tab 键时插入建议。
tabFocusMode
- 类型:
boolean
可选
- 默认值:
false
- 可选项:
-
- 描述: 控制编辑器是否应该在 Tab 键按下时启用焦点模式。
tabIndex
- 类型:
number
可选
- 默认值:
0
- 可选项:
-
- 描述: 控制编辑器的 Tab 键顺序。
theme
',15),Ro=a("类型: string
可选
默认值: "vs"
可选项: "vs"
, "vs-dark"
, "hc-black", “hc-light”
",3),To=a(' unfoldOnClickAfterEndOfLine
- 类型:
boolean
可选
- 默认值:
false
- 可选项:
-
- 描述: 控制编辑器是否应该在单击行末时展开该行。
unicodeHighlight
',4),Mo=e("code",null,"可选",-1),No=e("li",null,[o("默认值: "),e("code",null,"true")],-1),Vo=e("li",null,[o("可选项: "),e("code",null,"-")],-1),Uo=e("li",null,"描述: 控制编辑器是否应该突出显示 Unicode 字符。",-1),jo=a(' unusualLineTerminators
- 类型:
boolean
可选
- 默认值:
prompt
- 可选项:
"off" | "auto" | "prompt"
- 描述: 控制编辑器是否应该突出显示非常规换行符。
useShadowDOM
- 类型:
boolean
可选
- 默认值:
false
- 可选项:
-
- 描述: 控制编辑器是否应该使用 Shadow DOM。
useTabStops
- 类型:
boolean
可选
- 默认值:
true
- 可选项:
-
- 描述: 控制编辑器是否应该使用制表位。
wordBreak
- 类型:
string
可选
- 默认值:
"normal"
- 可选项:
"normal" | "keepAll"
- 描述: 控制编辑器的单词换行。
wordSeparators
- 类型:
string
可选
- 默认值:
" ~!@#$%^&*()-=+[{]}\\\\|;:'\\",.<>/?"
- 可选项:
-
- 描述: 用于定义单词分隔符。默认情况下,Monaco 编辑器使用空格和标点符号作为单词分隔符。可以使用此选项自定义单词分隔符。
wordWrap
- 类型:
string
可选
- 默认值:
"off"
- 可选项:
"off"
, "on"
, "wordWrapColumn"
, "bounded"
- 描述: 用于控制文本的换行。当设置为
"off"
时,文本不会自动换行。当设置为 "on"
时,文本将在视区宽度内自动换行。当设置为 "wordWrapColumn"
时,文本将在指定的列数处自动换行。当设置为 "bounded"
时,文本将在视区宽度和指定列数的较小值处自动换行。
wordWrapBreakAfterCharacters
- 类型:
string
可选
- 默认值:
"\\t\\r\\n\\x20.,;:!?'\\"\\\\)]}"
- 可选项:
-
- 描述: 用于定义单词换行符。默认情况下,Monaco 编辑器使用空格和标点符号作为单词换行符。可以使用此选项自定义单词换行符。
wordWrapBreakBeforeCharacters
- 类型:
string
可选
- 默认值:
"\\t\\r\\n\\x20.,;:!?'\\"([{"
- 可选项:
-
- 描述: 用于定义单词前的换行符。默认情况下,Monaco 编辑器使用空格和标点符号作为单词前的换行符。可以使用此选项自定义单词前的换行符。
wordWrapColumn
- 类型:
number
可选
- 默认值:
80
- 可选项:
-
- 描述: 用于定义文本的列数。当设置为
"wordWrapColumn"
时,文本将在指定的列数处自动换行。
wordWrapOverride1
- 类型:
Function
可选
- 默认值:
-
- 可选项:
"on" | "off" | "inherit"
- 描述: 用于定义自定义的文本换行逻辑。可以使用此选项自定义文本的换行方式。覆盖wordWrap的配置
wordWrapOverride2
- 类型:
Function
可选
- 默认值:
-
- 可选项:
-
- 描述: 用于定义自定义的文本换行逻辑。可以使用此选项自定义文本的换行方式。覆盖wordWrapOverride1的配置
wrappingIndent
- 类型:
string
可选
- 默认值:
"none"
- 可选项:
"none"
, "same"
, "indent"
, "deepIndent"
- 描述: 用于控制换行后的缩进方式。当设置为
"none"
时,换行后不进行缩进。当设置为 "same"
时,换行后的行与上一行的缩进相同。当设置为 "indent"
时,换行后的行会进行一次缩进。当设置为 "deepIndent"
时,换行后的行会进行两次缩进。
wrappingStrategy
- 类型:
string
可选
- 默认值:
"simple"
- 可选项:
"simple"
, "advanced"
- 描述: 用于控制文本的换行策略。当设置为
"simple"
时,文本将根据视区宽度自动换行。当设置为 "advanced"
时,文本将根据语言的语法规则和视区宽度自动换行。如果您的语言支持语法分析,则建议使用 "advanced"
模式。
',26);function Go(Qo,Ko){const n=c("ExternalLinkIcon"),i=c("RouterLink");return r(),s("div",null,[h,e("p",null,[p,o(),e("a",f,[o("官网地址"),l(n)])]),b,e("ul",null,[e("li",null,[o("类型: "),l(i,{to:"/editor/aliase.html#editorautoclosingstrategy"},{default:d(()=>[o("EditorAutoClosingStrategy")]),_:1}),o(),g]),m,_,e("li",null,[o("描述: 用于控制是否自动闭合括号 如果将 autoClosingBrackets 设置为 true ,则在输入左括号时,编辑器会自动插入相应的右括号,并将光标放置在括号之间。可以使用 "),l(i,{to:"/language/language.html#setlanguageconfiguration"},{default:d(()=>[o("monaco.languages.setLanguageConfiguration")]),_:1}),o(" 方法设置语言的括号匹配规则。默认以lanuage的设置为准")])]),D,e("ul",null,[e("li",null,[o("类型: "),l(i,{to:"/editor/aliase.html#editorautoclosingeditstrategy"},{default:d(()=>[o("EditorAutoClosingStrategy")]),_:1}),o(),y]),x,q,v]),C,e("ul",null,[e("li",null,[o("类型: "),l(i,{to:"/editor/aliase.html#editorautoclosingeditstrategy"},{default:d(()=>[o("EditorAutoClosingStrategy")]),_:1}),o(),w]),k,E,S]),O,e("ul",null,[e("li",null,[o("类型: "),l(i,{to:"/editor/aliase.html#editorautoclosingstrategy"},{default:d(()=>[o("EditorAutoClosingStrategy")]),_:1}),o(),I]),F,L,A]),z,e("ul",null,[e("li",null,[o("类型: "),l(i,{to:"/editor/aliase.html#editorautosurroundstrategy"},{default:d(()=>[o("EditorAutoSurroundStrategy")]),_:1}),o(),W]),H,P,B]),R,e("ul",null,[e("li",null,[o("类型: "),l(i,{to:"/editor/interfaces/IBracketPairColorizationOptions.html"},{default:d(()=>[o("IBracketPairColorizationOptions")]),_:1}),o(),T]),M,N,V]),U,e("ul",null,[e("li",null,[o("类型: "),l(i,{to:"/editor/interfaces/IEditorCommentsOptions.html"},{default:d(()=>[o("IEditorCommentsOptions")]),_:1}),o(),j]),G,Q,K]),Z,e("ul",null,[$,J,e("li",null,[o('可选项: "advanced" | "legacy" | '),l(i,{to:"/editor/interfaces/IDocumentDiffProvider.html"},{default:d(()=>[o("IDocumentDiffProvider")]),_:1})]),X]),Y,e("ul",null,[e("li",null,[o("类型: "),l(i,{to:"/editor/interfaces/IEditorFindOptions.html"},{default:d(()=>[o("monaco.editor.IEditorFindOptions")]),_:1}),o(),ee]),oe,le,ie]),de,e("ul",null,[e("li",null,[o("类型: "),l(i,{to:"/editor/interfaces/IGotoLocationOptions.html"},{default:d(()=>[o("monaco.editor.IGotoLocationOptions")]),_:1}),o(),ae]),ce,ne,te]),re,e("ul",null,[e("li",null,[o("类型: "),l(i,{to:"/editor/interfaces/IGuidesOptions.html"},{default:d(()=>[o("monaco.editor.IGuidesOptions")]),_:1}),o(),se]),ue,he,pe]),fe,e("ul",null,[e("li",null,[o("类型: "),l(i,{to:"/editor/interfaces/IEditorHoverOptions.html"},{default:d(()=>[o("monaco.editor.IEditorHoverOptions")]),_:1}),o(),be]),ge,me,_e]),De,e("ul",null,[e("li",null,[o("类型: "),l(i,{to:"/editor/interfaces/IEditorInlayHintsOptions.html"},{default:d(()=>[o("monaco.editor.IEditorInlayHintsOptions")]),_:1}),o(),ye]),xe,qe,ve]),Ce,e("ul",null,[e("li",null,[o("类型: "),l(i,{to:"/editor/interfaces/IInlineSuggestOptions.html"},{default:d(()=>[o("monaco.editor.IInlineSuggestOptions")]),_:1}),o(),we]),ke,Ee,Se]),Oe,e("ul",null,[e("li",null,[o("类型: "),l(i,{to:"/editor/interfaces/IEditorLightbulbOptions.html"},{default:d(()=>[o("monaco.editor.IEditorLightbulbOptions")]),_:1}),o(),Ie]),Fe,Le,Ae]),ze,e("ul",null,[e("li",null,[o("类型: "),l(i,{to:"/editor/aliase.html#linenumberstype"},{default:d(()=>[o("LineNumbersType")]),_:1}),o(),We]),He,Pe,Be]),Re,e("ul",null,[e("li",null,[o("类型: "),l(i,{to:"/editor/interfaces/IEditorMinimapOptions.html"},{default:d(()=>[o("editor.IEditorMinimapOptions")]),_:1}),o(),Te]),Me,Ne,Ve]),Ue,e("ul",null,[e("li",null,[o("类型: "),l(i,{to:"/editor/interfaces/IEditorPaddingOptions.html"},{default:d(()=>[o("editor.IEditorPaddingOptions")]),_:1}),o(),je]),Ge,Qe,Ke]),Ze,e("ul",null,[e("li",null,[o("类型: "),l(i,{to:"/editor/interfaces/IEditorParameterHintOptions.html"},{default:d(()=>[o("editor.IEditorParameterHintOptions")]),_:1}),o(),$e]),Je,Xe,Ye]),eo,e("ul",null,[e("li",null,[o("类型: "),l(i,{to:"/editor/interfaces/IPasteAsOptions.html"},{default:d(()=>[o("editor.IPasteOptions")]),_:1}),o(),oo]),lo,io,ao]),co,e("ul",null,[e("li",null,[o("类型: "),no,o(" | "),l(i,{to:"/editor/interfaces/IQuickSuggestionsOptions.html"},{default:d(()=>[o("editor.IQuickSuggestionsOptions")]),_:1}),o(),to]),ro,so,uo]),ho,e("ul",null,[e("li",null,[o("类型: ("),po,o("| "),l(i,{to:"/editor/interfaces/IRulerOption.html"},{default:d(()=>[o("IRulerOption")]),_:1}),o(")[] "),fo]),bo,go,mo]),_o,e("ul",null,[e("li",null,[o("类型: "),l(i,{to:"/editor/interfaces/IEditorScrollbarOptions.html"},{default:d(()=>[o("IEditorScrollbarOptions")]),_:1}),o(),Do]),yo,xo,qo]),vo,e("ul",null,[e("li",null,[o("类型: "),l(i,{to:"/editor/interfaces/ISmartSelectOptions.html"},{default:d(()=>[o("ISmartSelectOptions")]),_:1}),o(),Co]),wo,ko,Eo]),So,e("ul",null,[e("li",null,[o("类型: "),l(i,{to:"/editor/interfaces/IEditorStickyScrollOptions.html"},{default:d(()=>[o("IEditorStickyScrollOptions")]),_:1}),o(),Oo]),Io,Fo,Lo]),Ao,e("ul",null,[e("li",null,[o("类型: "),l(i,{to:"/editor/interfaces/ISuggestOptions.html"},{default:d(()=>[o("ISuggestOptions")]),_:1}),o(),zo]),Wo,Ho,Po]),Bo,e("ul",null,[Ro,e("li",null,[o("描述: 控制编辑器的主题。可以使用 "),l(i,{to:"/editor/editor.html#definetheme"},{default:d(()=>[o("monaco.editor.defineTheme")]),_:1}),o(",使用 "),l(i,{to:"/editor/editor.html#settheme"},{default:d(()=>[o("monaco.editor.setTheme")]),_:1}),o("设置主题.")])]),To,e("ul",null,[e("li",null,[o("类型: "),l(i,{to:"/editor/interfaces/IUnicodeHighlightOptions.html"},{default:d(()=>[o("IUnicodeHighlightOptions")]),_:1}),o(),Mo]),No,Vo,Uo]),jo])}const Jo=t(u,[["render",Go],["__file","IDiffEditorOptions.html.vue"]]);export{Jo as default};
diff --git a/assets/IDiffEditorViewState.html-3245b932.js b/assets/IDiffEditorViewState.html-3245b932.js
new file mode 100644
index 00000000..922d7165
--- /dev/null
+++ b/assets/IDiffEditorViewState.html-3245b932.js
@@ -0,0 +1 @@
+const t=JSON.parse('{"key":"v-22e18ac8","path":"/editor/interfaces/IDiffEditorViewState.html","title":"IDiffEditorViewState","lang":"zh-CN","frontmatter":{"description":"interface 官网地址 (https://microsoft.github.io/monaco-editor/docs.html#interfaces/editor.IDiffEditorViewState.html) (可序列化)差异编辑器的视图状态 diff 编辑器的模型。 属性 Properties modified 类型: ICodeEd...","head":[["meta",{"property":"og:url","content":"http://aydk.site/editor/interfaces/IDiffEditorViewState.html"}],["meta",{"property":"og:site_name","content":"Monaco-editor 学习文档"}],["meta",{"property":"og:title","content":"IDiffEditorViewState"}],["meta",{"property":"og:description","content":"interface 官网地址 (https://microsoft.github.io/monaco-editor/docs.html#interfaces/editor.IDiffEditorViewState.html) (可序列化)差异编辑器的视图状态 diff 编辑器的模型。 属性 Properties modified 类型: ICodeEd..."}],["meta",{"property":"og:type","content":"article"}],["meta",{"property":"og:locale","content":"zh-CN"}],["meta",{"property":"og:updated_time","content":"2023-06-16T20:04:45.000Z"}],["meta",{"property":"article:author","content":"aydk"}],["meta",{"property":"article:modified_time","content":"2023-06-16T20:04:45.000Z"}],["script",{"type":"application/ld+json"},"{\\"@context\\":\\"https://schema.org\\",\\"@type\\":\\"Article\\",\\"headline\\":\\"IDiffEditorViewState\\",\\"image\\":[\\"\\"],\\"dateModified\\":\\"2023-06-16T20:04:45.000Z\\",\\"author\\":[{\\"@type\\":\\"Person\\",\\"name\\":\\"aydk\\"}]}"]]},"headers":[{"level":2,"title":"属性 Properties","slug":"属性-properties","link":"#属性-properties","children":[{"level":3,"title":"modified","slug":"modified","link":"#modified","children":[]},{"level":3,"title":"original","slug":"original","link":"#original","children":[]}]}],"git":{"createdTime":1686945885000,"updatedTime":1686945885000,"contributors":[{"name":"xiaochaochao","email":"xiaochaochao","commits":1}]},"readingTime":{"minutes":0.2,"words":60},"filePathRelative":"editor/interfaces/IDiffEditorViewState.md","localizedDate":"2023年6月16日","autoDesc":true}');export{t as data};
diff --git a/assets/IDiffEditorViewState.html-bb94bf27.js b/assets/IDiffEditorViewState.html-bb94bf27.js
new file mode 100644
index 00000000..69505eb6
--- /dev/null
+++ b/assets/IDiffEditorViewState.html-bb94bf27.js
@@ -0,0 +1 @@
+import{_ as l}from"./plugin-vue_export-helper-c27b6911.js";import{r as n,o as a,c as s,a as e,b as t,d as i,w as r}from"./app-5f5ef0a9.js";const c={},_=e("h1",{id:"idiffeditorviewstate",tabindex:"-1"},[e("a",{class:"header-anchor",href:"#idiffeditorviewstate","aria-hidden":"true"},"#"),t(" IDiffEditorViewState")],-1),h=e("code",null,"interface",-1),f={href:"https://microsoft.github.io/monaco-editor/docs.html#interfaces/editor.IDiffEditorViewState.html",target:"_blank",rel:"noopener noreferrer"},u=e("p",null,"(可序列化)差异编辑器的视图状态",-1),m=e("p",null,"diff 编辑器的模型。",-1),p=e("h2",{id:"属性-properties",tabindex:"-1"},[e("a",{class:"header-anchor",href:"#属性-properties","aria-hidden":"true"},"#"),t(" 属性 Properties")],-1),w=e("h3",{id:"modified",tabindex:"-1"},[e("a",{class:"header-anchor",href:"#modified","aria-hidden":"true"},"#"),t(" modified")],-1),x=e("li",null,[t("默认值: "),e("code",null,"-")],-1),E=e("li",null,[t("可选项: "),e("code",null,"-")],-1),V=e("li",null,"描述: ``",-1),I=e("h3",{id:"original",tabindex:"-1"},[e("a",{class:"header-anchor",href:"#original","aria-hidden":"true"},"#"),t(" original")],-1),S=e("li",null,[t("默认值: "),e("code",null,"-")],-1),b=e("li",null,[t("可选项: "),e("code",null,"-")],-1),k=e("li",null,"描述: ``",-1);function C(g,v){const d=n("ExternalLinkIcon"),o=n("RouterLink");return a(),s("div",null,[_,e("p",null,[h,t(),e("a",f,[t("官网地址"),i(d)])]),u,m,p,w,e("ul",null,[e("li",null,[t("类型: "),i(o,{to:"/editor/interfaces/ICodeEditorViewState.html"},{default:r(()=>[t("ICodeEditorViewState")]),_:1})]),x,E,V]),I,e("ul",null,[e("li",null,[t("类型: "),i(o,{to:"/editor/interfaces/ICodeEditorViewState.html"},{default:r(()=>[t("ICodeEditorViewState")]),_:1})]),S,b,k])])}const B=l(c,[["render",C],["__file","IDiffEditorViewState.html.vue"]]);export{B as default};
diff --git a/assets/IDiffLineInformation.html-3cf8e85d.js b/assets/IDiffLineInformation.html-3cf8e85d.js
new file mode 100644
index 00000000..3339c2af
--- /dev/null
+++ b/assets/IDiffLineInformation.html-3cf8e85d.js
@@ -0,0 +1 @@
+const e=JSON.parse('{"key":"v-6c1007a3","path":"/editor/interfaces/IDiffLineInformation.html","title":"IDiffLineInformation","lang":"zh-CN","frontmatter":{"description":"interface 官网地址 (https://microsoft.github.io/monaco-editor/docs.html#interfaces/editor.IDiffLineInformation.html) 属性 Properties equivalentLineNumber 类型: number 只读 ; 默认值: -; 可选项: ...","head":[["meta",{"property":"og:url","content":"http://aydk.site/editor/interfaces/IDiffLineInformation.html"}],["meta",{"property":"og:site_name","content":"Monaco-editor 学习文档"}],["meta",{"property":"og:title","content":"IDiffLineInformation"}],["meta",{"property":"og:description","content":"interface 官网地址 (https://microsoft.github.io/monaco-editor/docs.html#interfaces/editor.IDiffLineInformation.html) 属性 Properties equivalentLineNumber 类型: number 只读 ; 默认值: -; 可选项: ..."}],["meta",{"property":"og:type","content":"article"}],["meta",{"property":"og:locale","content":"zh-CN"}],["meta",{"property":"og:updated_time","content":"2023-06-16T20:04:45.000Z"}],["meta",{"property":"article:author","content":"aydk"}],["meta",{"property":"article:modified_time","content":"2023-06-16T20:04:45.000Z"}],["script",{"type":"application/ld+json"},"{\\"@context\\":\\"https://schema.org\\",\\"@type\\":\\"Article\\",\\"headline\\":\\"IDiffLineInformation\\",\\"image\\":[\\"\\"],\\"dateModified\\":\\"2023-06-16T20:04:45.000Z\\",\\"author\\":[{\\"@type\\":\\"Person\\",\\"name\\":\\"aydk\\"}]}"]]},"headers":[{"level":2,"title":"属性 Properties","slug":"属性-properties","link":"#属性-properties","children":[{"level":3,"title":"equivalentLineNumber","slug":"equivalentlinenumber","link":"#equivalentlinenumber","children":[]}]}],"git":{"createdTime":1686945885000,"updatedTime":1686945885000,"contributors":[{"name":"xiaochaochao","email":"xiaochaochao","commits":1}]},"readingTime":{"minutes":0.09,"words":27},"filePathRelative":"editor/interfaces/IDiffLineInformation.md","localizedDate":"2023年6月16日","autoDesc":true}');export{e as data};
diff --git a/assets/IDiffLineInformation.html-688d5223.js b/assets/IDiffLineInformation.html-688d5223.js
new file mode 100644
index 00000000..8a428751
--- /dev/null
+++ b/assets/IDiffLineInformation.html-688d5223.js
@@ -0,0 +1 @@
+import{_ as o}from"./plugin-vue_export-helper-c27b6911.js";import{r,o as t,c as a,a as e,b as i,d as c,e as d}from"./app-5f5ef0a9.js";const l={},s=e("h1",{id:"idifflineinformation",tabindex:"-1"},[e("a",{class:"header-anchor",href:"#idifflineinformation","aria-hidden":"true"},"#"),i(" IDiffLineInformation")],-1),f=e("code",null,"interface",-1),h={href:"https://microsoft.github.io/monaco-editor/docs.html#interfaces/editor.IDiffLineInformation.html",target:"_blank",rel:"noopener noreferrer"},m=d(' 属性 Properties
equivalentLineNumber
- 类型:
number
只读
- 默认值:
-
- 可选项:
-
- 描述: ``
',3);function _(u,p){const n=r("ExternalLinkIcon");return t(),a("div",null,[s,e("p",null,[f,i(),e("a",h,[i("官网地址"),c(n)])]),m])}const x=o(l,[["render",_],["__file","IDiffLineInformation.html.vue"]]);export{x as default};
diff --git a/assets/IDiffNavigator.html-1b8e89e4.js b/assets/IDiffNavigator.html-1b8e89e4.js
new file mode 100644
index 00000000..37351e98
--- /dev/null
+++ b/assets/IDiffNavigator.html-1b8e89e4.js
@@ -0,0 +1 @@
+import{_ as a}from"./plugin-vue_export-helper-c27b6911.js";import{r as d,o as t,c as r,a as e,b as i,d as c,e as l}from"./app-5f5ef0a9.js";const n={},s=e("h1",{id:"idiffnavigator",tabindex:"-1"},[e("a",{class:"header-anchor",href:"#idiffnavigator","aria-hidden":"true"},"#"),i(" IDiffNavigator")],-1),h=e("code",null,"interface",-1),f={href:"https://microsoft.github.io/monaco-editor/docs.html#interfaces/editor.IDiffNavigator.html",target:"_blank",rel:"noopener noreferrer"},u=l('用于导航差异的 API。它允许您在两个文档之间进行导航
方法 Methods
canNavigate
- 语法:
canNavigate(): boolean
- 参数: ``
- 返回值:
boolean
- 描述:
是否允许导航
dispose
- 语法:
dispose(): boolean
- 参数: ``
- 返回值:
void
- 描述:
用于释放资源
next
- 语法:
next(): boolean
- 参数: ``
- 返回值:
void
- 描述:
导航到下一个差异
previous
- 语法:
previous(): boolean
- 参数: ``
- 返回值:
void
- 描述:
导航到上一个差异
',10);function _(p,v){const o=d("ExternalLinkIcon");return t(),r("div",null,[s,e("p",null,[h,i(),e("a",f,[i("官网地址"),c(o)])]),u])}const b=a(n,[["render",_],["__file","IDiffNavigator.html.vue"]]);export{b as default};
diff --git a/assets/IDiffNavigator.html-422d200f.js b/assets/IDiffNavigator.html-422d200f.js
new file mode 100644
index 00000000..21ff9cbf
--- /dev/null
+++ b/assets/IDiffNavigator.html-422d200f.js
@@ -0,0 +1 @@
+const t=JSON.parse('{"key":"v-5f508a78","path":"/editor/interfaces/IDiffNavigator.html","title":"IDiffNavigator","lang":"zh-CN","frontmatter":{"description":"interface 官网地址 (https://microsoft.github.io/monaco-editor/docs.html#interfaces/editor.IDiffNavigator.html) 用于导航差异的 API。它允许您在两个文档之间进行导航 方法 Methods canNavigate 语法: canNavigate(): ...","head":[["meta",{"property":"og:url","content":"http://aydk.site/editor/interfaces/IDiffNavigator.html"}],["meta",{"property":"og:site_name","content":"Monaco-editor 学习文档"}],["meta",{"property":"og:title","content":"IDiffNavigator"}],["meta",{"property":"og:description","content":"interface 官网地址 (https://microsoft.github.io/monaco-editor/docs.html#interfaces/editor.IDiffNavigator.html) 用于导航差异的 API。它允许您在两个文档之间进行导航 方法 Methods canNavigate 语法: canNavigate(): ..."}],["meta",{"property":"og:type","content":"article"}],["meta",{"property":"og:locale","content":"zh-CN"}],["meta",{"property":"og:updated_time","content":"2023-06-16T20:04:45.000Z"}],["meta",{"property":"article:author","content":"aydk"}],["meta",{"property":"article:modified_time","content":"2023-06-16T20:04:45.000Z"}],["script",{"type":"application/ld+json"},"{\\"@context\\":\\"https://schema.org\\",\\"@type\\":\\"Article\\",\\"headline\\":\\"IDiffNavigator\\",\\"image\\":[\\"\\"],\\"dateModified\\":\\"2023-06-16T20:04:45.000Z\\",\\"author\\":[{\\"@type\\":\\"Person\\",\\"name\\":\\"aydk\\"}]}"]]},"headers":[{"level":2,"title":"方法 Methods","slug":"方法-methods","link":"#方法-methods","children":[{"level":3,"title":"canNavigate","slug":"cannavigate","link":"#cannavigate","children":[]},{"level":3,"title":"dispose","slug":"dispose","link":"#dispose","children":[]},{"level":3,"title":"next","slug":"next","link":"#next","children":[]},{"level":3,"title":"previous","slug":"previous","link":"#previous","children":[]}]}],"git":{"createdTime":1686945885000,"updatedTime":1686945885000,"contributors":[{"name":"xiaochaochao","email":"xiaochaochao","commits":1}]},"readingTime":{"minutes":0.39,"words":116},"filePathRelative":"editor/interfaces/IDiffNavigator.md","localizedDate":"2023年6月16日","autoDesc":true}');export{t as data};
diff --git a/assets/IDiffNavigatorOptions.html-8077a934.js b/assets/IDiffNavigatorOptions.html-8077a934.js
new file mode 100644
index 00000000..613e8ce0
--- /dev/null
+++ b/assets/IDiffNavigatorOptions.html-8077a934.js
@@ -0,0 +1 @@
+const t=JSON.parse('{"key":"v-bf69ce60","path":"/editor/interfaces/IDiffNavigatorOptions.html","title":"IDiffNavigatorOptions","lang":"zh-CN","frontmatter":{"description":"interface 官网地址 (https://microsoft.github.io/monaco-editor/docs.html#interfaces/editor.IDiffNavigatorOptions.html) 属性 Properties alwaysRevealFirst? 类型: boolean 可选 `只读 ; 默认值: -`; ...","head":[["meta",{"property":"og:url","content":"http://aydk.site/editor/interfaces/IDiffNavigatorOptions.html"}],["meta",{"property":"og:site_name","content":"Monaco-editor 学习文档"}],["meta",{"property":"og:title","content":"IDiffNavigatorOptions"}],["meta",{"property":"og:description","content":"interface 官网地址 (https://microsoft.github.io/monaco-editor/docs.html#interfaces/editor.IDiffNavigatorOptions.html) 属性 Properties alwaysRevealFirst? 类型: boolean 可选 `只读 ; 默认值: -`; ..."}],["meta",{"property":"og:type","content":"article"}],["meta",{"property":"og:locale","content":"zh-CN"}],["meta",{"property":"og:updated_time","content":"2023-06-16T20:04:45.000Z"}],["meta",{"property":"article:author","content":"aydk"}],["meta",{"property":"article:modified_time","content":"2023-06-16T20:04:45.000Z"}],["script",{"type":"application/ld+json"},"{\\"@context\\":\\"https://schema.org\\",\\"@type\\":\\"Article\\",\\"headline\\":\\"IDiffNavigatorOptions\\",\\"image\\":[\\"\\"],\\"dateModified\\":\\"2023-06-16T20:04:45.000Z\\",\\"author\\":[{\\"@type\\":\\"Person\\",\\"name\\":\\"aydk\\"}]}"]]},"headers":[{"level":2,"title":"属性 Properties","slug":"属性-properties","link":"#属性-properties","children":[{"level":3,"title":"alwaysRevealFirst?","slug":"alwaysrevealfirst","link":"#alwaysrevealfirst","children":[]},{"level":3,"title":"followsCaret?","slug":"followscaret","link":"#followscaret","children":[]},{"level":3,"title":"ignoreCharChanges?","slug":"ignorecharchanges","link":"#ignorecharchanges","children":[]}]}],"git":{"createdTime":1686945885000,"updatedTime":1686945885000,"contributors":[{"name":"xiaochaochao","email":"xiaochaochao","commits":1}]},"readingTime":{"minutes":0.33,"words":99},"filePathRelative":"editor/interfaces/IDiffNavigatorOptions.md","localizedDate":"2023年6月16日","autoDesc":true}');export{t as data};
diff --git a/assets/IDiffNavigatorOptions.html-8c624878.js b/assets/IDiffNavigatorOptions.html-8c624878.js
new file mode 100644
index 00000000..f004efee
--- /dev/null
+++ b/assets/IDiffNavigatorOptions.html-8c624878.js
@@ -0,0 +1 @@
+import{_ as i}from"./plugin-vue_export-helper-c27b6911.js";import{r,o as c,c as d,a as e,b as o,d as t,e as l}from"./app-5f5ef0a9.js";const n={},s=e("h1",{id:"idiffnavigatoroptions",tabindex:"-1"},[e("a",{class:"header-anchor",href:"#idiffnavigatoroptions","aria-hidden":"true"},"#"),o(" IDiffNavigatorOptions")],-1),h=e("code",null,"interface",-1),f={href:"https://microsoft.github.io/monaco-editor/docs.html#interfaces/editor.IDiffNavigatorOptions.html",target:"_blank",rel:"noopener noreferrer"},_=l(' 属性 Properties
alwaysRevealFirst?
- 类型:
boolean
可选
只读
- 默认值:
-
- 可选项:
-
- 描述:
指示导航器是否应始终显示第一个差异
followsCaret?
- 类型:
boolean
可选
只读
- 默认值:
-
- 可选项:
-
- 描述:
指示导航器是否应始终跟随光标。
ignoreCharChanges?
- 类型:
boolean
可选
只读
- 默认值:
-
- 可选项:
-
- 描述:
忽略字符的改变
',7);function p(u,g){const a=r("ExternalLinkIcon");return c(),d("div",null,[s,e("p",null,[h,o(),e("a",f,[o("官网地址"),t(a)])]),_])}const b=i(n,[["render",p],["__file","IDiffNavigatorOptions.html.vue"]]);export{b as default};
diff --git a/assets/IDimension.html-04034a4d.js b/assets/IDimension.html-04034a4d.js
new file mode 100644
index 00000000..0c5cd148
--- /dev/null
+++ b/assets/IDimension.html-04034a4d.js
@@ -0,0 +1 @@
+import{_ as t}from"./plugin-vue_export-helper-c27b6911.js";import{r,o as n,c as a,a as e,b as i,d,e as c}from"./app-5f5ef0a9.js";const s={},h=e("h1",{id:"idimension",tabindex:"-1"},[e("a",{class:"header-anchor",href:"#idimension","aria-hidden":"true"},"#"),i(" IDimension")],-1),l=e("code",null,"interface",-1),_={href:"https://microsoft.github.io/monaco-editor/docs.html#interfaces/editor.IDimension.html",target:"_blank",rel:"noopener noreferrer"},m=c(' 属性 Properties
height
- 类型:
number
可选
- 默认值:
-
- 可选项:
-
- 描述: ``
width
- 类型:
number
可选
- 默认值:
-
- 可选项:
-
- 描述: ``
',5);function u(f,p){const o=r("ExternalLinkIcon");return n(),a("div",null,[h,e("p",null,[l,i(),e("a",_,[i("官网地址"),d(o)])]),m])}const I=t(s,[["render",u],["__file","IDimension.html.vue"]]);export{I as default};
diff --git a/assets/IDimension.html-586f6a27.js b/assets/IDimension.html-586f6a27.js
new file mode 100644
index 00000000..11bbfb5e
--- /dev/null
+++ b/assets/IDimension.html-586f6a27.js
@@ -0,0 +1 @@
+const e=JSON.parse('{"key":"v-3c2ee430","path":"/editor/interfaces/IDimension.html","title":"IDimension","lang":"zh-CN","frontmatter":{"description":"interface 官网地址 (https://microsoft.github.io/monaco-editor/docs.html#interfaces/editor.IDimension.html) 属性 Properties height 类型: number 可选; 默认值: -; 可选项: -; 描述: ; width 类型: number...","head":[["meta",{"property":"og:url","content":"http://aydk.site/editor/interfaces/IDimension.html"}],["meta",{"property":"og:site_name","content":"Monaco-editor 学习文档"}],["meta",{"property":"og:title","content":"IDimension"}],["meta",{"property":"og:description","content":"interface 官网地址 (https://microsoft.github.io/monaco-editor/docs.html#interfaces/editor.IDimension.html) 属性 Properties height 类型: number 可选; 默认值: -; 可选项: -; 描述: ; width 类型: number..."}],["meta",{"property":"og:type","content":"article"}],["meta",{"property":"og:locale","content":"zh-CN"}],["meta",{"property":"og:updated_time","content":"2023-06-16T20:04:45.000Z"}],["meta",{"property":"article:author","content":"aydk"}],["meta",{"property":"article:modified_time","content":"2023-06-16T20:04:45.000Z"}],["script",{"type":"application/ld+json"},"{\\"@context\\":\\"https://schema.org\\",\\"@type\\":\\"Article\\",\\"headline\\":\\"IDimension\\",\\"image\\":[\\"\\"],\\"dateModified\\":\\"2023-06-16T20:04:45.000Z\\",\\"author\\":[{\\"@type\\":\\"Person\\",\\"name\\":\\"aydk\\"}]}"]]},"headers":[{"level":2,"title":"属性 Properties","slug":"属性-properties","link":"#属性-properties","children":[{"level":3,"title":"height","slug":"height","link":"#height","children":[]},{"level":3,"title":"width","slug":"width","link":"#width","children":[]}]}],"git":{"createdTime":1686945885000,"updatedTime":1686945885000,"contributors":[{"name":"xiaochaochao","email":"xiaochaochao","commits":1}]},"readingTime":{"minutes":0.14,"words":41},"filePathRelative":"editor/interfaces/IDimension.md","localizedDate":"2023年6月16日","autoDesc":true}');export{e as data};
diff --git a/assets/IDisposable.html-80214a46.js b/assets/IDisposable.html-80214a46.js
new file mode 100644
index 00000000..b064e1ce
--- /dev/null
+++ b/assets/IDisposable.html-80214a46.js
@@ -0,0 +1 @@
+import{_ as r}from"./plugin-vue_export-helper-c27b6911.js";import{r as s,o as a,c as n,a as e,b as o,d as i}from"./app-5f5ef0a9.js";const c={},d=e("h1",{id:"idisposable",tabindex:"-1"},[e("a",{class:"header-anchor",href:"#idisposable","aria-hidden":"true"},"#"),o(" IDisposable")],-1),h=e("code",null,"interface",-1),l={href:"https://microsoft.github.io/monaco-editor/typedoc/interfaces/IDisposable.html",target:"_blank",rel:"noopener noreferrer"},_=e("h2",{id:"属性-properties",tabindex:"-1"},[e("a",{class:"header-anchor",href:"#属性-properties","aria-hidden":"true"},"#"),o(" 属性 Properties")],-1),p=e("h2",{id:"方法-methods",tabindex:"-1"},[e("a",{class:"header-anchor",href:"#方法-methods","aria-hidden":"true"},"#"),o(" 方法 Methods")],-1);function f(m,b){const t=s("ExternalLinkIcon");return a(),n("div",null,[d,e("p",null,[h,o(),e("a",l,[o("官网地址"),i(t)])]),_,p])}const I=r(c,[["render",f],["__file","IDisposable.html.vue"]]);export{I as default};
diff --git a/assets/IDisposable.html-b944bf26.js b/assets/IDisposable.html-b944bf26.js
new file mode 100644
index 00000000..4e9da90c
--- /dev/null
+++ b/assets/IDisposable.html-b944bf26.js
@@ -0,0 +1 @@
+const e=JSON.parse('{"key":"v-1a09595c","path":"/global/interfaces/IDisposable.html","title":"IDisposable","lang":"zh-CN","frontmatter":{"description":"interface 官网地址 (https://microsoft.github.io/monaco-editor/typedoc/interfaces/IDisposable.html) 属性 Properties 方法 Methods","head":[["meta",{"property":"og:url","content":"http://aydk.site/global/interfaces/IDisposable.html"}],["meta",{"property":"og:site_name","content":"Monaco-editor 学习文档"}],["meta",{"property":"og:title","content":"IDisposable"}],["meta",{"property":"og:description","content":"interface 官网地址 (https://microsoft.github.io/monaco-editor/typedoc/interfaces/IDisposable.html) 属性 Properties 方法 Methods"}],["meta",{"property":"og:type","content":"article"}],["meta",{"property":"og:locale","content":"zh-CN"}],["meta",{"property":"og:updated_time","content":"2023-06-16T20:04:45.000Z"}],["meta",{"property":"article:author","content":"aydk"}],["meta",{"property":"article:modified_time","content":"2023-06-16T20:04:45.000Z"}],["script",{"type":"application/ld+json"},"{\\"@context\\":\\"https://schema.org\\",\\"@type\\":\\"Article\\",\\"headline\\":\\"IDisposable\\",\\"image\\":[\\"\\"],\\"dateModified\\":\\"2023-06-16T20:04:45.000Z\\",\\"author\\":[{\\"@type\\":\\"Person\\",\\"name\\":\\"aydk\\"}]}"]]},"headers":[{"level":2,"title":"属性 Properties","slug":"属性-properties","link":"#属性-properties","children":[]},{"level":2,"title":"方法 Methods","slug":"方法-methods","link":"#方法-methods","children":[]}],"git":{"createdTime":1686945885000,"updatedTime":1686945885000,"contributors":[{"name":"xiaochaochao","email":"xiaochaochao","commits":1}]},"readingTime":{"minutes":0.05,"words":15},"filePathRelative":"global/interfaces/IDisposable.md","localizedDate":"2023年6月16日","autoDesc":true}');export{e as data};
diff --git a/assets/IDocComment.html-3adae08c.js b/assets/IDocComment.html-3adae08c.js
new file mode 100644
index 00000000..50ae6594
--- /dev/null
+++ b/assets/IDocComment.html-3adae08c.js
@@ -0,0 +1 @@
+import{_ as r}from"./plugin-vue_export-helper-c27b6911.js";import{r as n,o as a,c,a as e,b as o,d as s}from"./app-5f5ef0a9.js";const d={},i=e("h1",{id:"idoccomment",tabindex:"-1"},[e("a",{class:"header-anchor",href:"#idoccomment","aria-hidden":"true"},"#"),o(" IDocComment")],-1),h=e("code",null,"interface",-1),m={href:"https://microsoft.github.io/monaco-editor/docs.html#interfaces/languages.IDocComment.html",target:"_blank",rel:"noopener noreferrer"},_=e("h2",{id:"属性-properties",tabindex:"-1"},[e("a",{class:"header-anchor",href:"#属性-properties","aria-hidden":"true"},"#"),o(" 属性 Properties")],-1),l=e("h2",{id:"方法-methods",tabindex:"-1"},[e("a",{class:"header-anchor",href:"#方法-methods","aria-hidden":"true"},"#"),o(" 方法 Methods")],-1);function f(p,u){const t=n("ExternalLinkIcon");return a(),c("div",null,[i,e("p",null,[h,o(),e("a",m,[o("官网地址"),s(t)])]),_,l])}const I=r(d,[["render",f],["__file","IDocComment.html.vue"]]);export{I as default};
diff --git a/assets/IDocComment.html-6536705b.js b/assets/IDocComment.html-6536705b.js
new file mode 100644
index 00000000..279c9403
--- /dev/null
+++ b/assets/IDocComment.html-6536705b.js
@@ -0,0 +1 @@
+const e=JSON.parse('{"key":"v-072fba00","path":"/language/interfaces/IDocComment.html","title":"IDocComment","lang":"zh-CN","frontmatter":{"description":"interface 官网地址 (https://microsoft.github.io/monaco-editor/docs.html#interfaces/languages.IDocComment.html) 属性 Properties 方法 Methods","head":[["meta",{"property":"og:url","content":"http://aydk.site/language/interfaces/IDocComment.html"}],["meta",{"property":"og:site_name","content":"Monaco-editor 学习文档"}],["meta",{"property":"og:title","content":"IDocComment"}],["meta",{"property":"og:description","content":"interface 官网地址 (https://microsoft.github.io/monaco-editor/docs.html#interfaces/languages.IDocComment.html) 属性 Properties 方法 Methods"}],["meta",{"property":"og:type","content":"article"}],["meta",{"property":"og:locale","content":"zh-CN"}],["meta",{"property":"og:updated_time","content":"2023-06-16T19:55:24.000Z"}],["meta",{"property":"article:author","content":"aydk"}],["meta",{"property":"article:modified_time","content":"2023-06-16T19:55:24.000Z"}],["script",{"type":"application/ld+json"},"{\\"@context\\":\\"https://schema.org\\",\\"@type\\":\\"Article\\",\\"headline\\":\\"IDocComment\\",\\"image\\":[\\"\\"],\\"dateModified\\":\\"2023-06-16T19:55:24.000Z\\",\\"author\\":[{\\"@type\\":\\"Person\\",\\"name\\":\\"aydk\\"}]}"]]},"headers":[{"level":2,"title":"属性 Properties","slug":"属性-properties","link":"#属性-properties","children":[]},{"level":2,"title":"方法 Methods","slug":"方法-methods","link":"#方法-methods","children":[]}],"git":{"createdTime":1686945324000,"updatedTime":1686945324000,"contributors":[{"name":"xiaochaochao","email":"xiaochaochao","commits":1}]},"readingTime":{"minutes":0.05,"words":16},"filePathRelative":"language/interfaces/IDocComment.md","localizedDate":"2023年6月16日","autoDesc":true}');export{e as data};
diff --git a/assets/IDocumentDiff.html-c193c90b.js b/assets/IDocumentDiff.html-c193c90b.js
new file mode 100644
index 00000000..4951385f
--- /dev/null
+++ b/assets/IDocumentDiff.html-c193c90b.js
@@ -0,0 +1 @@
+import{_ as r}from"./plugin-vue_export-helper-c27b6911.js";import{r as o,o as c,c as d,a as e,b as t,d as a,w as l,e as s}from"./app-5f5ef0a9.js";const h={},u=e("h1",{id:"idocumentdiff",tabindex:"-1"},[e("a",{class:"header-anchor",href:"#idocumentdiff","aria-hidden":"true"},"#"),t(" IDocumentDiff")],-1),_=e("code",null,"interface",-1),f={href:"https://microsoft.github.io/monaco-editor/docs.html#interfaces/editor.IDocumentDiff.html",target:"_blank",rel:"noopener noreferrer"},m=e("h2",{id:"属性-properties",tabindex:"-1"},[e("a",{class:"header-anchor",href:"#属性-properties","aria-hidden":"true"},"#"),t(" 属性 Properties")],-1),p=e("h3",{id:"changes",tabindex:"-1"},[e("a",{class:"header-anchor",href:"#changes","aria-hidden":"true"},"#"),t(" changes")],-1),x=e("li",null,"说明:文本修改前后的映射关系",-1),b=s(' identical
- 类型:
boolean
- 说明: 如果为
true
,则两个文本模型是相同的(按字节)。
quitEarly
- 类型:
boolean
- 说明: 如果为
true
,则差异计算超时并且差异可能不准确。
',4);function g(D,k){const i=o("ExternalLinkIcon"),n=o("RouterLink");return c(),d("div",null,[u,e("p",null,[_,t(),e("a",f,[t("官网地址"),a(i)]),t(" 表示两个文本模型之间的差异")]),m,p,e("ul",null,[e("li",null,[t("类型:"),a(n,{to:"/editor/classes/LineRangeMapping.html"},{default:l(()=>[t("LineRangeMapping")]),_:1}),t("[]")]),x]),b])}const E=r(h,[["render",g],["__file","IDocumentDiff.html.vue"]]);export{E as default};
diff --git a/assets/IDocumentDiff.html-ff320b78.js b/assets/IDocumentDiff.html-ff320b78.js
new file mode 100644
index 00000000..ab66d37e
--- /dev/null
+++ b/assets/IDocumentDiff.html-ff320b78.js
@@ -0,0 +1 @@
+const e=JSON.parse('{"key":"v-349ca208","path":"/editor/interfaces/IDocumentDiff.html","title":"IDocumentDiff","lang":"zh-CN","frontmatter":{"description":"interface 官网地址 (https://microsoft.github.io/monaco-editor/docs.html#interfaces/editor.IDocumentDiff.html) 表示两个文本模型之间的差异 属性 Properties changes 类型:LineRangeMapping (../classes/Lin...","head":[["meta",{"property":"og:url","content":"http://aydk.site/editor/interfaces/IDocumentDiff.html"}],["meta",{"property":"og:site_name","content":"Monaco-editor 学习文档"}],["meta",{"property":"og:title","content":"IDocumentDiff"}],["meta",{"property":"og:description","content":"interface 官网地址 (https://microsoft.github.io/monaco-editor/docs.html#interfaces/editor.IDocumentDiff.html) 表示两个文本模型之间的差异 属性 Properties changes 类型:LineRangeMapping (../classes/Lin..."}],["meta",{"property":"og:type","content":"article"}],["meta",{"property":"og:locale","content":"zh-CN"}],["meta",{"property":"og:updated_time","content":"2023-06-16T20:04:45.000Z"}],["meta",{"property":"article:author","content":"aydk"}],["meta",{"property":"article:modified_time","content":"2023-06-16T20:04:45.000Z"}],["script",{"type":"application/ld+json"},"{\\"@context\\":\\"https://schema.org\\",\\"@type\\":\\"Article\\",\\"headline\\":\\"IDocumentDiff\\",\\"image\\":[\\"\\"],\\"dateModified\\":\\"2023-06-16T20:04:45.000Z\\",\\"author\\":[{\\"@type\\":\\"Person\\",\\"name\\":\\"aydk\\"}]}"]]},"headers":[{"level":2,"title":"属性 Properties","slug":"属性-properties","link":"#属性-properties","children":[{"level":3,"title":"changes","slug":"changes","link":"#changes","children":[]},{"level":3,"title":"identical","slug":"identical","link":"#identical","children":[]},{"level":3,"title":"quitEarly","slug":"quitearly","link":"#quitearly","children":[]}]}],"git":{"createdTime":1686945885000,"updatedTime":1686945885000,"contributors":[{"name":"xiaochaochao","email":"xiaochaochao","commits":1}]},"readingTime":{"minutes":0.31,"words":94},"filePathRelative":"editor/interfaces/IDocumentDiff.md","localizedDate":"2023年6月16日","autoDesc":true}');export{e as data};
diff --git a/assets/IDocumentDiffProvider.html-32e15002.js b/assets/IDocumentDiffProvider.html-32e15002.js
new file mode 100644
index 00000000..dd7c932a
--- /dev/null
+++ b/assets/IDocumentDiffProvider.html-32e15002.js
@@ -0,0 +1 @@
+import{_ as a}from"./plugin-vue_export-helper-c27b6911.js";import{r,o as l,c,a as e,b as o,d as t,w as n,e as f}from"./app-5f5ef0a9.js";const s={},h=e("h1",{id:"idocumentdiffprovider",tabindex:"-1"},[e("a",{class:"header-anchor",href:"#idocumentdiffprovider","aria-hidden":"true"},"#"),o(" IDocumentDiffProvider")],-1),u=e("code",null,"interface",-1),m={href:"https://microsoft.github.io/monaco-editor/docs.html#interfaces/editor.IDocumentDiffProvider.html",target:"_blank",rel:"noopener noreferrer"},_=f('一个文档对比提供程序用来计算两个文本模型之间的差异。
属性 Properties
onDidChange
- 类型IEvent
- 说明: 当 diff 算法的设置更改可能会改变 diff 计算的结果时触发。
方法 methods
computeDiff
',6),p=e("li",null,[o("用法:"),e("code",null,"computeDiff(original: ITextModel, modified: ITextModel, options: IDocumentDiffProviderOptions): Promise")],-1),D=e("li",null,"说明: 计算original和modified之间的差异,参数说明",-1);function I(x,v){const d=r("ExternalLinkIcon"),i=r("RouterLink");return l(),c("div",null,[h,e("p",null,[u,o(),e("a",m,[o("官网地址"),t(d)])]),_,e("ul",null,[p,e("li",null,[o("参数: "),e("ul",null,[e("li",null,[o("original "),t(i,{to:"/editor/interfaces/ITextModel.html"},{default:n(()=>[o("ITextModel")]),_:1})]),e("li",null,[o("modified "),t(i,{to:"/editor/interfaces/ITextModel.html"},{default:n(()=>[o("ITextModel")]),_:1})]),e("li",null,[o("options "),t(i,{to:"/editor/interfaces/IDocumentDiffProviderOptions.html"},{default:n(()=>[o("IDocumentDiffProviderOptions")]),_:1})])])]),e("li",null,[o("返回值:Promise<"),t(i,{to:"/editor/interfaces/IDocumentDiff.html"},{default:n(()=>[o("IDocumentDiff")]),_:1}),o(">")]),D])])}const g=a(s,[["render",I],["__file","IDocumentDiffProvider.html.vue"]]);export{g as default};
diff --git a/assets/IDocumentDiffProvider.html-864b11c7.js b/assets/IDocumentDiffProvider.html-864b11c7.js
new file mode 100644
index 00000000..97f7196e
--- /dev/null
+++ b/assets/IDocumentDiffProvider.html-864b11c7.js
@@ -0,0 +1 @@
+const e=JSON.parse('{"key":"v-3f35148b","path":"/editor/interfaces/IDocumentDiffProvider.html","title":"IDocumentDiffProvider","lang":"zh-CN","frontmatter":{"description":"interface 官网地址 (https://microsoft.github.io/monaco-editor/docs.html#interfaces/editor.IDocumentDiffProvider.html) 一个文档对比提供程序用来计算两个文本模型之间的差异。 属性 Properties onDidChange 类型IEvent ;...","head":[["meta",{"property":"og:url","content":"http://aydk.site/editor/interfaces/IDocumentDiffProvider.html"}],["meta",{"property":"og:site_name","content":"Monaco-editor 学习文档"}],["meta",{"property":"og:title","content":"IDocumentDiffProvider"}],["meta",{"property":"og:description","content":"interface 官网地址 (https://microsoft.github.io/monaco-editor/docs.html#interfaces/editor.IDocumentDiffProvider.html) 一个文档对比提供程序用来计算两个文本模型之间的差异。 属性 Properties onDidChange 类型IEvent ;..."}],["meta",{"property":"og:type","content":"article"}],["meta",{"property":"og:locale","content":"zh-CN"}],["meta",{"property":"og:updated_time","content":"2023-06-16T20:04:45.000Z"}],["meta",{"property":"article:author","content":"aydk"}],["meta",{"property":"article:modified_time","content":"2023-06-16T20:04:45.000Z"}],["script",{"type":"application/ld+json"},"{\\"@context\\":\\"https://schema.org\\",\\"@type\\":\\"Article\\",\\"headline\\":\\"IDocumentDiffProvider\\",\\"image\\":[\\"\\"],\\"dateModified\\":\\"2023-06-16T20:04:45.000Z\\",\\"author\\":[{\\"@type\\":\\"Person\\",\\"name\\":\\"aydk\\"}]}"]]},"headers":[{"level":2,"title":"属性 Properties","slug":"属性-properties","link":"#属性-properties","children":[{"level":3,"title":"onDidChange","slug":"ondidchange","link":"#ondidchange","children":[]}]},{"level":2,"title":"方法 methods","slug":"方法-methods","link":"#方法-methods","children":[{"level":3,"title":"computeDiff","slug":"computediff","link":"#computediff","children":[]}]}],"git":{"createdTime":1686945885000,"updatedTime":1686945885000,"contributors":[{"name":"xiaochaochao","email":"xiaochaochao","commits":1}]},"readingTime":{"minutes":0.38,"words":115},"filePathRelative":"editor/interfaces/IDocumentDiffProvider.md","localizedDate":"2023年6月16日","autoDesc":true}');export{e as data};
diff --git a/assets/IDocumentDiffProviderOptions.html-b66f0988.js b/assets/IDocumentDiffProviderOptions.html-b66f0988.js
new file mode 100644
index 00000000..b742b040
--- /dev/null
+++ b/assets/IDocumentDiffProviderOptions.html-b66f0988.js
@@ -0,0 +1 @@
+import{_ as a}from"./plugin-vue_export-helper-c27b6911.js";import{r as o,o as s,c,a as e,b as t,d as i,w as d}from"./app-5f5ef0a9.js";const l={},h=e("h1",{id:"idocumentdiffprovideroptions",tabindex:"-1"},[e("a",{class:"header-anchor",href:"#idocumentdiffprovideroptions","aria-hidden":"true"},"#"),t(" IDocumentDiffProviderOptions")],-1),m=e("code",null,"interface",-1),u={href:"https://microsoft.github.io/monaco-editor/docs.html#interfaces/editor.IDocumentDiffProviderOptions.html",target:"_blank",rel:"noopener noreferrer"},_=e("p",null,"示差异计算的配置选项",-1),p=e("h2",{id:"属性-properties",tabindex:"-1"},[e("a",{class:"header-anchor",href:"#属性-properties","aria-hidden":"true"},"#"),t(" 属性 Properties")],-1),f=e("h3",{id:"ignoretrimwhitespace",tabindex:"-1"},[e("a",{class:"header-anchor",href:"#ignoretrimwhitespace","aria-hidden":"true"},"#"),t(" ignoreTrimWhitespace")],-1),x=e("li",null,"说明:当设置为 true 时,diff 会忽略空白变化",-1),g=e("h3",{id:"maxcomputationtimems",tabindex:"-1"},[e("a",{class:"header-anchor",href:"#maxcomputationtimems","aria-hidden":"true"},"#"),t(" maxComputationTimeMs")],-1),v=e("ul",null,[e("li",null,[t("类型: "),e("code",null,"number")]),e("li",null,"说明: 如果差异计算花费的时间超过此值,则会抛出差异计算。")],-1);function b(D,k){const n=o("ExternalLinkIcon"),r=o("RouterLink");return s(),c("div",null,[h,e("p",null,[m,t(),e("a",u,[t("官网地址"),i(n)])]),_,p,f,e("ul",null,[e("li",null,[t("类型:"),i(r,{to:"/editor/classes/LineRangeMapping.html"},{default:d(()=>[t("LineRangeMapping")]),_:1}),t("[]")]),x]),g,v])}const P=a(l,[["render",b],["__file","IDocumentDiffProviderOptions.html.vue"]]);export{P as default};
diff --git a/assets/IDocumentDiffProviderOptions.html-fab6d84d.js b/assets/IDocumentDiffProviderOptions.html-fab6d84d.js
new file mode 100644
index 00000000..3b418825
--- /dev/null
+++ b/assets/IDocumentDiffProviderOptions.html-fab6d84d.js
@@ -0,0 +1 @@
+const e=JSON.parse('{"key":"v-37718129","path":"/editor/interfaces/IDocumentDiffProviderOptions.html","title":"IDocumentDiffProviderOptions","lang":"zh-CN","frontmatter":{"description":"interface 官网地址 (https://microsoft.github.io/monaco-editor/docs.html#interfaces/editor.IDocumentDiffProviderOptions.html) 示差异计算的配置选项 属性 Properties ignoreTrimWhitespace 类型:LineRan...","head":[["meta",{"property":"og:url","content":"http://aydk.site/editor/interfaces/IDocumentDiffProviderOptions.html"}],["meta",{"property":"og:site_name","content":"Monaco-editor 学习文档"}],["meta",{"property":"og:title","content":"IDocumentDiffProviderOptions"}],["meta",{"property":"og:description","content":"interface 官网地址 (https://microsoft.github.io/monaco-editor/docs.html#interfaces/editor.IDocumentDiffProviderOptions.html) 示差异计算的配置选项 属性 Properties ignoreTrimWhitespace 类型:LineRan..."}],["meta",{"property":"og:type","content":"article"}],["meta",{"property":"og:locale","content":"zh-CN"}],["meta",{"property":"og:updated_time","content":"2023-06-16T20:04:45.000Z"}],["meta",{"property":"article:author","content":"aydk"}],["meta",{"property":"article:modified_time","content":"2023-06-16T20:04:45.000Z"}],["script",{"type":"application/ld+json"},"{\\"@context\\":\\"https://schema.org\\",\\"@type\\":\\"Article\\",\\"headline\\":\\"IDocumentDiffProviderOptions\\",\\"image\\":[\\"\\"],\\"dateModified\\":\\"2023-06-16T20:04:45.000Z\\",\\"author\\":[{\\"@type\\":\\"Person\\",\\"name\\":\\"aydk\\"}]}"]]},"headers":[{"level":2,"title":"属性 Properties","slug":"属性-properties","link":"#属性-properties","children":[{"level":3,"title":"ignoreTrimWhitespace","slug":"ignoretrimwhitespace","link":"#ignoretrimwhitespace","children":[]},{"level":3,"title":"maxComputationTimeMs","slug":"maxcomputationtimems","link":"#maxcomputationtimems","children":[]}]}],"git":{"createdTime":1686945885000,"updatedTime":1686945885000,"contributors":[{"name":"xiaochaochao","email":"xiaochaochao","commits":1}]},"readingTime":{"minutes":0.24,"words":73},"filePathRelative":"editor/interfaces/IDocumentDiffProviderOptions.md","localizedDate":"2023年6月16日","autoDesc":true}');export{e as data};
diff --git a/assets/IDropIntoEditorOptions.html-553a4aba.js b/assets/IDropIntoEditorOptions.html-553a4aba.js
new file mode 100644
index 00000000..05b141ee
--- /dev/null
+++ b/assets/IDropIntoEditorOptions.html-553a4aba.js
@@ -0,0 +1 @@
+const t=JSON.parse('{"key":"v-399bacd4","path":"/editor/interfaces/IDropIntoEditorOptions.html","title":"IDropIntoEditorOptions","lang":"zh-CN","frontmatter":{"description":"interface 官网地址 (https://microsoft.github.io/monaco-editor/docs.html#interfaces/editor.IDropIntoEditorOptions.html) 属性 Properties enabled 类型: boolean 可选; 默认值: true; 可选项: -; 描述: 启...","head":[["meta",{"property":"og:url","content":"http://aydk.site/editor/interfaces/IDropIntoEditorOptions.html"}],["meta",{"property":"og:site_name","content":"Monaco-editor 学习文档"}],["meta",{"property":"og:title","content":"IDropIntoEditorOptions"}],["meta",{"property":"og:description","content":"interface 官网地址 (https://microsoft.github.io/monaco-editor/docs.html#interfaces/editor.IDropIntoEditorOptions.html) 属性 Properties enabled 类型: boolean 可选; 默认值: true; 可选项: -; 描述: 启..."}],["meta",{"property":"og:type","content":"article"}],["meta",{"property":"og:locale","content":"zh-CN"}],["meta",{"property":"og:updated_time","content":"2023-06-16T20:04:45.000Z"}],["meta",{"property":"article:author","content":"aydk"}],["meta",{"property":"article:modified_time","content":"2023-06-16T20:04:45.000Z"}],["script",{"type":"application/ld+json"},"{\\"@context\\":\\"https://schema.org\\",\\"@type\\":\\"Article\\",\\"headline\\":\\"IDropIntoEditorOptions\\",\\"image\\":[\\"\\"],\\"dateModified\\":\\"2023-06-16T20:04:45.000Z\\",\\"author\\":[{\\"@type\\":\\"Person\\",\\"name\\":\\"aydk\\"}]}"]]},"headers":[{"level":2,"title":"属性 Properties","slug":"属性-properties","link":"#属性-properties","children":[{"level":3,"title":"enabled","slug":"enabled","link":"#enabled","children":[]},{"level":3,"title":"showDropSelector","slug":"showdropselector","link":"#showdropselector","children":[]}]}],"git":{"createdTime":1686945885000,"updatedTime":1686945885000,"contributors":[{"name":"xiaochaochao","email":"xiaochaochao","commits":1}]},"readingTime":{"minutes":0.25,"words":74},"filePathRelative":"editor/interfaces/IDropIntoEditorOptions.md","localizedDate":"2023年6月16日","autoDesc":true}');export{t as data};
diff --git a/assets/IDropIntoEditorOptions.html-cae43b56.js b/assets/IDropIntoEditorOptions.html-cae43b56.js
new file mode 100644
index 00000000..9b7cc0b5
--- /dev/null
+++ b/assets/IDropIntoEditorOptions.html-cae43b56.js
@@ -0,0 +1 @@
+import{_ as t}from"./plugin-vue_export-helper-c27b6911.js";import{r as i,o as d,c as a,a as e,b as o,d as n,e as c}from"./app-5f5ef0a9.js";const l={},s=e("h1",{id:"idropintoeditoroptions",tabindex:"-1"},[e("a",{class:"header-anchor",href:"#idropintoeditoroptions","aria-hidden":"true"},"#"),o(" IDropIntoEditorOptions")],-1),h=e("code",null,"interface",-1),p={href:"https://microsoft.github.io/monaco-editor/docs.html#interfaces/editor.IDropIntoEditorOptions.html",target:"_blank",rel:"noopener noreferrer"},u=c(' 属性 Properties
enabled
- 类型:
boolean
可选
- 默认值:
true
- 可选项:
-
- 描述:
启用拖放到编辑器中。默认为true。
showDropSelector
- 类型:
enum
可选
- 默认值:
afterDrop
- 可选项:
"never" | "afterDrop"
- 描述:
控制放置后是否显示小部件。默认为“afterDrop”。
',5);function _(f,m){const r=i("ExternalLinkIcon");return d(),a("div",null,[s,e("p",null,[h,o(),e("a",p,[o("官网地址"),n(r)])]),u])}const I=t(l,[["render",_],["__file","IDropIntoEditorOptions.html.vue"]]);export{I as default};
diff --git a/assets/IEditOperationBuilder.html-460f53e4.js b/assets/IEditOperationBuilder.html-460f53e4.js
new file mode 100644
index 00000000..4a27cee3
--- /dev/null
+++ b/assets/IEditOperationBuilder.html-460f53e4.js
@@ -0,0 +1 @@
+const t=JSON.parse('{"key":"v-0339dc1e","path":"/editor/interfaces/IEditOperationBuilder.html","title":"IEditOperationBuilder","lang":"zh-CN","frontmatter":{"description":"interface 官网地址 (https://microsoft.github.io/monaco-editor/docs.html#interfaces/editor.IEditOperationBuilder.html) 用于命令编辑操作的构建器和工具 方法 Methods addEditOperation 语法: addEditOperatio...","head":[["meta",{"property":"og:url","content":"http://aydk.site/editor/interfaces/IEditOperationBuilder.html"}],["meta",{"property":"og:site_name","content":"Monaco-editor 学习文档"}],["meta",{"property":"og:title","content":"IEditOperationBuilder"}],["meta",{"property":"og:description","content":"interface 官网地址 (https://microsoft.github.io/monaco-editor/docs.html#interfaces/editor.IEditOperationBuilder.html) 用于命令编辑操作的构建器和工具 方法 Methods addEditOperation 语法: addEditOperatio..."}],["meta",{"property":"og:type","content":"article"}],["meta",{"property":"og:locale","content":"zh-CN"}],["meta",{"property":"og:updated_time","content":"2023-06-16T20:04:45.000Z"}],["meta",{"property":"article:author","content":"aydk"}],["meta",{"property":"article:modified_time","content":"2023-06-16T20:04:45.000Z"}],["script",{"type":"application/ld+json"},"{\\"@context\\":\\"https://schema.org\\",\\"@type\\":\\"Article\\",\\"headline\\":\\"IEditOperationBuilder\\",\\"image\\":[\\"\\"],\\"dateModified\\":\\"2023-06-16T20:04:45.000Z\\",\\"author\\":[{\\"@type\\":\\"Person\\",\\"name\\":\\"aydk\\"}]}"]]},"headers":[{"level":2,"title":"方法 Methods","slug":"方法-methods","link":"#方法-methods","children":[{"level":3,"title":"addEditOperation","slug":"addeditoperation","link":"#addeditoperation","children":[]},{"level":3,"title":"addTrackedEditOperation","slug":"addtrackededitoperation","link":"#addtrackededitoperation","children":[]},{"level":3,"title":"trackSelection","slug":"trackselection","link":"#trackselection","children":[]}]}],"git":{"createdTime":1686945885000,"updatedTime":1686945885000,"contributors":[{"name":"xiaochaochao","email":"xiaochaochao","commits":1}]},"readingTime":{"minutes":1.56,"words":467},"filePathRelative":"editor/interfaces/IEditOperationBuilder.md","localizedDate":"2023年6月16日","autoDesc":true}');export{t as data};
diff --git a/assets/IEditOperationBuilder.html-fbb6824e.js b/assets/IEditOperationBuilder.html-fbb6824e.js
new file mode 100644
index 00000000..a7165c70
--- /dev/null
+++ b/assets/IEditOperationBuilder.html-fbb6824e.js
@@ -0,0 +1 @@
+import{_ as a}from"./plugin-vue_export-helper-c27b6911.js";import{r as i,o as d,c as s,a as e,b as t,d as n,w as o}from"./app-5f5ef0a9.js";const c={},u=e("h1",{id:"ieditoperationbuilder",tabindex:"-1"},[e("a",{class:"header-anchor",href:"#ieditoperationbuilder","aria-hidden":"true"},"#"),t(" IEditOperationBuilder")],-1),_=e("code",null,"interface",-1),h={href:"https://microsoft.github.io/monaco-editor/docs.html#interfaces/editor.IEditOperationBuilder.html",target:"_blank",rel:"noopener noreferrer"},f=e("p",null,"用于命令编辑操作的构建器和工具",-1),p=e("h2",{id:"方法-methods",tabindex:"-1"},[e("a",{class:"header-anchor",href:"#方法-methods","aria-hidden":"true"},"#"),t(" 方法 Methods")],-1),g=e("h3",{id:"addeditoperation",tabindex:"-1"},[e("a",{class:"header-anchor",href:"#addeditoperation","aria-hidden":"true"},"#"),t(" addEditOperation")],-1),k=e("li",null,[t("语法: "),e("code",null,"addEditOperation(range: IRange, text: string | null, forceMoveMarkers?: boolean): void")],-1),m=e("li",null,[t("text: "),e("code",null,"string | null"),t(" - 要插入或替换的文本。如果为 null,则表示删除范围内的文本。")],-1),I=e("li",null,[t("forceMoveMarkers: "),e("code",null,"boolean"),t(" - 一个可选的布尔值,指示是否应强制移动与范围中的文本相关联的标记。")],-1),b=e("li",null,[t("返回值: "),e("code",null,"void")],-1),E=e("li",null,"描述:添加一个编辑操作,该操作将在编辑器的模型中指定的范围内插入、删除或替换文本。如果 forceMoveMarkers 为 true,则与范围中的文本相关联的标记也将被移动。",-1),x=e("h3",{id:"addtrackededitoperation",tabindex:"-1"},[e("a",{class:"header-anchor",href:"#addtrackededitoperation","aria-hidden":"true"},"#"),t(" addTrackedEditOperation")],-1),v=e("li",null,[t("语法: "),e("code",null,"addTrackedEditOperation(range: IRange, text: string | null, forceMoveMarkers?: boolean): IIdentifiedSingleEditOperation")],-1),O=e("li",null,[t("text: "),e("code",null,"string | null"),t(" - 要插入或替换的文本。如果为 null,则表示删除范围内的文本。")],-1),M=e("li",null,[t("forceMoveMarkers: "),e("code",null,"boolean"),t(" - 一个可选的布尔值,指示是否应强制移动与范围中的文本相关联的标记。")],-1),R=e("li",null,"描述:添加一个编辑操作,该操作将在编辑器的模型中指定的范围内插入、删除或替换文本。如果 forceMoveMarkers 为 true,则与范围中的文本相关联的标记也将被移动。此方法将返回一个标识符,该标识符可用于跟踪此编辑操作。",-1),S=e("h3",{id:"trackselection",tabindex:"-1"},[e("a",{class:"header-anchor",href:"#trackselection","aria-hidden":"true"},"#"),t(" trackSelection")],-1),B=e("li",null,[t("语法: "),e("code",null,"trackSelection(selection: ISelection, trackPreviousOnEmpty?: boolean): string")],-1),L=e("li",null,[t("trackPreviousOnEmpty: "),e("code",null,"boolean"),t(" - 一个可选的布尔值,指示当选择为空时是否应返回上一个跟踪的标识符。")],-1),y=e("li",null,[t("返回值: "),e("code",null,"string")],-1),N=e("li",null,"描述:跟踪给定选择的位置,并返回一个标识符,该标识符可用于跟踪此选择。如果 trackPreviousOnEmpty 为 true,则当选择为空时,将返回上一个跟踪的标识符。",-1);function P(T,V){const r=i("ExternalLinkIcon"),l=i("RouterLink");return d(),s("div",null,[u,e("p",null,[_,t(),e("a",h,[t("官网地址"),n(r)])]),f,p,g,e("ul",null,[k,e("li",null,[t("参数: "),e("ul",null,[e("li",null,[t("range:"),n(l,{to:"/global/interfaces/IRange.html"},{default:o(()=>[t("IRange")]),_:1}),t(" - 描述要编辑的文本范围。")]),m,I])]),b,E]),x,e("ul",null,[v,e("li",null,[t("参数: "),e("ul",null,[e("li",null,[t("range:"),n(l,{to:"/global/interfaces/IRange.html"},{default:o(()=>[t("IRange")]),_:1}),t(" - 描述要编辑的文本范围。")]),O,M])]),e("li",null,[t("返回值:"),n(l,{to:"/editor/interfaces/IIdentifiedSingleEditOperation.html"},{default:o(()=>[t("IIdentifiedSingleEditOperation")]),_:1})]),R]),S,e("ul",null,[B,e("li",null,[t("参数: "),e("ul",null,[e("li",null,[t("selection:"),n(l,{to:"/global/interfaces/ISelection.html"},{default:o(()=>[t("ISelection")]),_:1}),t(" - 要跟踪的选择。")]),L])]),y,N])])}const j=a(c,[["render",P],["__file","IEditOperationBuilder.html.vue"]]);export{j as default};
diff --git a/assets/IEditor.html-0a80407d.js b/assets/IEditor.html-0a80407d.js
new file mode 100644
index 00000000..6c55545c
--- /dev/null
+++ b/assets/IEditor.html-0a80407d.js
@@ -0,0 +1 @@
+import{_ as r}from"./plugin-vue_export-helper-c27b6911.js";import{r as s,o as u,c,a as l,b as e,d as o,w as t,e as i}from"./app-5f5ef0a9.js";const a={},h=l("h1",{id:"ieditor",tabindex:"-1"},[l("a",{class:"header-anchor",href:"#ieditor","aria-hidden":"true"},"#"),e(" IEditor")],-1),_=l("code",null,"interface",-1),p={href:"https://microsoft.github.io/monaco-editor/docs.html#interfaces/editor.IEditor.html",target:"_blank",rel:"noopener noreferrer"},f=l("p",null,"继承关系:",-1),m=l("h2",{id:"方法-methods",tabindex:"-1"},[l("a",{class:"header-anchor",href:"#方法-methods","aria-hidden":"true"},"#"),e(" 方法 Methods")],-1),v=l("h3",{id:"createdecorationscollection",tabindex:"-1"},[l("a",{class:"header-anchor",href:"#createdecorationscollection","aria-hidden":"true"},"#"),e(" createDecorationsCollection")],-1),g=l("code",null,"createDecorationsCollection(",-1),b=l("code",null,"):",-1),I=l("code",null,"可选",-1),y=l("li",null,[e("描述: "),l("code",null,"创建一个装饰集合。通过此集合添加的所有装饰都将获得编辑器的所有者ID(这意味着它们不会显示在其他编辑器中)。当编辑器的模型更改时,这些装饰将自动清除。")],-1),T=i(' dispose
- 语法:
dispose(): void
- 描述:
释放此小部件使用的所有资源。调用此方法后,小部件将不再被使用。
focus
- 语法:
focus(): void
- 描述:
聚焦到此小部件上。
getEditorType
- 语法:
getEditorType(): string
- 返回值:
string
- 描述:
获取此小部件所属的编辑器类型。
getId
- 语法:
getId(): string
- 返回值:
string
- 描述:
获取此小部件的唯一标识符。
getModel
',9),x=l("li",null,[e("语法: "),l("code",null,"getModel(): ITextModel | null")],-1),S=l("code",null,"null",-1),P=l("li",null,[e("描述: "),l("code",null,"获取此小部件的文本模型。")],-1),w=l("h3",{id:"getposition",tabindex:"-1"},[l("a",{class:"header-anchor",href:"#getposition","aria-hidden":"true"},"#"),e(" getPosition")],-1),N=l("li",null,[e("语法: "),l("code",null,"getPosition(): Position | null")],-1),L=l("code",null,"null",-1),C=l("li",null,[e("描述: "),l("code",null,"获取此小部件的当前位置。")],-1),E=l("h3",{id:"getselection",tabindex:"-1"},[l("a",{class:"header-anchor",href:"#getselection","aria-hidden":"true"},"#"),e(" getSelection")],-1),V=l("li",null,[e("语法: "),l("code",null,"getSelection(): Selection | null")],-1),D=l("code",null,"null",-1),R=l("li",null,[e("描述: "),l("code",null,"获取此小部件的当前选择。")],-1),M=l("h3",{id:"getselections",tabindex:"-1"},[l("a",{class:"header-anchor",href:"#getselections","aria-hidden":"true"},"#"),e(" getSelections")],-1),O=l("li",null,[e("语法: "),l("code",null,"getSelections(): Selection[] | null")],-1),k=l("code",null,"null",-1),A=l("li",null,[e("描述: "),l("code",null,"获取此小部件的当前选择集合。")],-1),F=l("h3",{id:"getsupportedactions",tabindex:"-1"},[l("a",{class:"header-anchor",href:"#getsupportedactions","aria-hidden":"true"},"#"),e(" getSupportedActions")],-1),B=l("li",null,[e("语法: "),l("code",null,"getSupportedActions(): IEditorAction[]")],-1),j=l("li",null,[e("描述: "),l("code",null,"获取此小部件支持的所有操作。")],-1),q=l("h3",{id:"getvisiblecolumnfromposition",tabindex:"-1"},[l("a",{class:"header-anchor",href:"#getvisiblecolumnfromposition","aria-hidden":"true"},"#"),e(" getVisibleColumnFromPosition")],-1),z=l("li",null,[e("语法: "),l("code",null,"getVisibleColumnFromPosition(position: IPosition): number")],-1),G=l("li",null,[e("返回值: "),l("code",null,"number")],-1),H=l("li",null,[e("描述: "),l("code",null,"获取指定位置的可见列。")],-1),J=i(' hasTextFocus
- 语法:
hasTextFocus(): boolean
- 返回值:
boolean
- 描述:
如果此小部件当前具有文本焦点,则返回 true。
layout
',3),K=l("li",null,[e("语法: "),l("code",null,"layout(dimension?: IDimension): void")],-1),Q=l("li",null,[e("描述: "),l("code",null,"指示编辑器重新测量其容器。调整编辑器容器大小时应调用此方法。 如果传入维度,则将使用传入的值。")],-1),U=l("h3",{id:"restoreviewstate",tabindex:"-1"},[l("a",{class:"header-anchor",href:"#restoreviewstate","aria-hidden":"true"},"#"),e(" restoreViewState")],-1),W=l("li",null,[e("语法: "),l("code",null,"restoreViewState(state: IDiffEditorViewState): void")],-1),X=l("li",null,[e("返回值: "),l("code",null,"void")],-1),Y=l("li",null,[e("描述: "),l("code",null,"还原编辑器的视图状态。")],-1),Z=l("h3",{id:"revealline",tabindex:"-1"},[l("a",{class:"header-anchor",href:"#revealline","aria-hidden":"true"},"#"),e(" revealLine")],-1),$=l("li",null,[e("语法: "),l("code",null,"revealLine(lineNumber: number, scrollType?: ScrollType): void")],-1),ll=l("li",null,"lineNumber:number",-1),el=l("code",null,"可选",-1),ol=l("li",null,[e("返回值: "),l("code",null,"void")],-1),nl=l("li",null,[e("描述: "),l("code",null,"将给定行滚动到视图中。")],-1),tl=l("h3",{id:"reveallineincenter",tabindex:"-1"},[l("a",{class:"header-anchor",href:"#reveallineincenter","aria-hidden":"true"},"#"),e(" revealLineInCenter")],-1),il=l("li",null,[e("语法: "),l("code",null,"revealLineInCenter(lineNumber: number, scrollType?: ScrollType): void")],-1),sl=l("li",null,"lineNumber:number",-1),dl=l("code",null,"可选",-1),rl=l("li",null,[e("返回值: "),l("code",null,"void")],-1),ul=l("li",null,[e("描述: "),l("code",null,"将给定行滚动到视图中心。")],-1),cl=l("h3",{id:"reveallineincenterifoutsideviewport",tabindex:"-1"},[l("a",{class:"header-anchor",href:"#reveallineincenterifoutsideviewport","aria-hidden":"true"},"#"),e(" revealLineInCenterIfOutsideViewport")],-1),al=l("li",null,[e("语法: "),l("code",null,"revealLineInCenterIfOutsideViewport(lineNumber: number, scrollType?: ScrollType): void")],-1),hl=l("li",null,"lineNumber:number",-1),_l=l("code",null,"可选",-1),pl=l("li",null,[e("返回值: "),l("code",null,"void")],-1),fl=l("li",null,[e("描述: "),l("code",null,"如果给定行在视口之外,则将其滚动到视图中心。")],-1),ml=l("h3",{id:"reveallineneartop",tabindex:"-1"},[l("a",{class:"header-anchor",href:"#reveallineneartop","aria-hidden":"true"},"#"),e(" revealLineNearTop")],-1),vl=l("li",null,[e("语法: "),l("code",null,"revealLineNearTop(lineNumber: number, scrollType?: ScrollType): void")],-1),gl=l("li",null,"lineNumber:number",-1),bl=l("code",null,"可选",-1),Il=l("li",null,[e("返回值: "),l("code",null,"void")],-1),yl=l("li",null,[e("描述: "),l("code",null,"将给定行滚动到视图的顶部。")],-1),Tl=l("h3",{id:"reveallines",tabindex:"-1"},[l("a",{class:"header-anchor",href:"#reveallines","aria-hidden":"true"},"#"),e(" revealLines")],-1),xl=l("li",null,[e("语法: "),l("code",null,"revealLines(startLineNumber: number, endLineNumber: number, scrollType?: ScrollType): void")],-1),Sl=l("li",null,"startLineNumber:number",-1),Pl=l("li",null,"endLineNumber:number",-1),wl=l("code",null,"可选",-1),Nl=l("li",null,[e("返回值: "),l("code",null,"void")],-1),Ll=l("li",null,[e("描述: "),l("code",null,"将给定行范围滚动到视图中。")],-1),Cl=l("h3",{id:"reveallinesincenter",tabindex:"-1"},[l("a",{class:"header-anchor",href:"#reveallinesincenter","aria-hidden":"true"},"#"),e(" revealLinesInCenter")],-1),El=l("li",null,[e("语法: "),l("code",null,"revealLinesInCenter(startLineNumber: number, endLineNumber: number, scrollType?: ScrollType): void")],-1),Vl=l("li",null,"startLineNumber:number",-1),Dl=l("li",null,"endLineNumber:number",-1),Rl=l("code",null,"可选",-1),Ml=l("li",null,[e("返回值: "),l("code",null,"void")],-1),Ol=l("li",null,[e("描述: "),l("code",null,"将给定行范围滚动到视图中心。")],-1),kl=l("h3",{id:"reveallinesincenterifoutsideviewport",tabindex:"-1"},[l("a",{class:"header-anchor",href:"#reveallinesincenterifoutsideviewport","aria-hidden":"true"},"#"),e(" revealLinesInCenterIfOutsideViewport")],-1),Al=l("li",null,[e("语法: "),l("code",null,"revealLinesInCenterIfOutsideViewport(startLineNumber: number, endLineNumber: number, scrollType?: ScrollType): void")],-1),Fl=l("li",null,"startLineNumber:number",-1),Bl=l("li",null,"endLineNumber:number",-1),jl=l("code",null,"可选",-1),ql=l("li",null,[e("返回值: "),l("code",null,"void")],-1),zl=l("li",null,[e("描述: "),l("code",null,"如果给定行范围在视口之外,则将其滚动到视图中心。")],-1),Gl=l("h3",{id:"reveallinesneartop",tabindex:"-1"},[l("a",{class:"header-anchor",href:"#reveallinesneartop","aria-hidden":"true"},"#"),e(" revealLinesNearTop")],-1),Hl=l("li",null,[e("语法: "),l("code",null,"revealLinesNearTop(startLineNumber: number, endLineNumber: number, scrollType?: ScrollType): void")],-1),Jl=l("li",null,"startLineNumber:number",-1),Kl=l("li",null,"endLineNumber:number",-1),Ql=l("code",null,"可选",-1),Ul=l("li",null,[e("返回值: "),l("code",null,"void")],-1),Wl=l("li",null,[e("描述: "),l("code",null,"将给定行范围滚动到视图的顶部。")],-1),Xl=l("h3",{id:"revealposition",tabindex:"-1"},[l("a",{class:"header-anchor",href:"#revealposition","aria-hidden":"true"},"#"),e(" revealPosition")],-1),Yl=l("li",null,[e("语法: "),l("code",null,"revealPosition(position: IPosition, scrollType?: ScrollType): void")],-1),Zl=l("code",null,"可选",-1),$l=l("li",null,[e("返回值: "),l("code",null,"void")],-1),le=l("li",null,[e("描述: "),l("code",null,"将给定位置滚动到视图中。")],-1),ee=l("h3",{id:"revealpositionincenter",tabindex:"-1"},[l("a",{class:"header-anchor",href:"#revealpositionincenter","aria-hidden":"true"},"#"),e(" revealPositionInCenter")],-1),oe=l("li",null,[e("语法: "),l("code",null,"revealPositionInCenter(position: IPosition, scrollType?: ScrollType): void")],-1),ne=l("code",null,"可选",-1),te=l("li",null,[e("返回值: "),l("code",null,"void")],-1),ie=l("li",null,[e("描述: "),l("code",null,"将给定位置滚动到视图中心。")],-1),se=l("h3",{id:"revealpositionincenterifoutsideviewport",tabindex:"-1"},[l("a",{class:"header-anchor",href:"#revealpositionincenterifoutsideviewport","aria-hidden":"true"},"#"),e(" revealPositionInCenterIfOutsideViewport")],-1),de=l("li",null,[e("语法: "),l("code",null,"revealPositionInCenterIfOutsideViewport(position: IPosition, scrollType?: ScrollType): void")],-1),re=l("code",null,"可选",-1),ue=l("li",null,[e("返回值: "),l("code",null,"void")],-1),ce=l("li",null,[e("描述: "),l("code",null,"如果给定位置在视口之外,则将其滚动到视图中心。")],-1),ae=l("h3",{id:"revealpositionneartop",tabindex:"-1"},[l("a",{class:"header-anchor",href:"#revealpositionneartop","aria-hidden":"true"},"#"),e(" revealPositionNearTop")],-1),he=l("li",null,[e("语法: "),l("code",null,"revealPositionNearTop(position: IPosition, scrollType?: ScrollType): void")],-1),_e=l("code",null,"可选",-1),pe=l("li",null,[e("返回值: "),l("code",null,"void")],-1),fe=l("li",null,[e("描述: "),l("code",null,"将给定位置滚动到视图的顶部。")],-1),me=l("h3",{id:"revealrange",tabindex:"-1"},[l("a",{class:"header-anchor",href:"#revealrange","aria-hidden":"true"},"#"),e(" revealRange")],-1),ve=l("li",null,[e("语法: "),l("code",null,"revealRange(range: IRange, scrollType?: ScrollType): void")],-1),ge=l("code",null,"可选",-1),be=l("li",null,[e("返回值: "),l("code",null,"void")],-1),Ie=l("li",null,[e("描述: "),l("code",null,"将给定范围滚动到视图中。")],-1),ye=l("h3",{id:"revealrangeattop",tabindex:"-1"},[l("a",{class:"header-anchor",href:"#revealrangeattop","aria-hidden":"true"},"#"),e(" revealRangeAtTop")],-1),Te=l("li",null,[e("语法: "),l("code",null,"revealRangeAtTop(range: IRange, scrollType?: ScrollType): void")],-1),xe=l("code",null,"可选",-1),Se=l("li",null,[e("返回值: "),l("code",null,"无")],-1),Pe=l("li",null,[e("描述: "),l("code",null,"将指定范围滚动到编辑器的顶部。如果revealVerticalInCenter为true,则将范围滚动到编辑器垂直中心。如果scrollType为Smooth,则使用平滑滚动。")],-1),we=l("h3",{id:"revealrangeincenter",tabindex:"-1"},[l("a",{class:"header-anchor",href:"#revealrangeincenter","aria-hidden":"true"},"#"),e(" revealRangeInCenter")],-1),Ne=l("li",null,[e("语法: "),l("code",null,"revealRangeInCenter(range: IRange, scrollType?: ScrollType): void")],-1),Le=l("code",null,"可选",-1),Ce=l("li",null,[e("返回值: "),l("code",null,"无")],-1),Ee=l("li",null,[e("描述: "),l("code",null,"将指定范围滚动到编辑器的中心。如果revealVerticalInCenter为true,则将范围滚动到编辑器垂直中心。如果scrollType为Smooth,则使用平滑滚动。")],-1),Ve=l("h3",{id:"revealrangeincenterifoutsideviewport",tabindex:"-1"},[l("a",{class:"header-anchor",href:"#revealrangeincenterifoutsideviewport","aria-hidden":"true"},"#"),e(" revealRangeInCenterIfOutsideViewport")],-1),De=l("li",null,[e("语法: "),l("code",null,"revealRangeInCenterIfOutsideViewport(range: IRange, scrollType?: ScrollType): void")],-1),Re=l("code",null,"可选",-1),Me=l("li",null,[e("返回值: "),l("code",null,"无")],-1),Oe=l("li",null,[e("描述: "),l("code",null,"如果指定的范围不在编辑器的视口中,则将其滚动到编辑器的中心。如果revealVerticalInCenter为true,则将范围滚动到编辑器垂直中心。如果scrollType为Smooth,则使用平滑滚动。")],-1),ke=l("h3",{id:"revealrangeneartop",tabindex:"-1"},[l("a",{class:"header-anchor",href:"#revealrangeneartop","aria-hidden":"true"},"#"),e(" revealRangeNearTop")],-1),Ae=l("li",null,[e("语法: "),l("code",null,"revealRangeNearTop(range: IRange, scrollType?: ScrollType): void")],-1),Fe=l("code",null,"可选",-1),Be=l("li",null,[e("返回值: "),l("code",null,"无")],-1),je=l("li",null,[e("描述: "),l("code",null,"将指定范围滚动到编辑器的顶部,如果可能的话,将其保持在视口的顶部。如果revealVerticalInCenter为true,则将范围滚动到编辑器垂直中心。如果scrollType为Smooth,则使用平滑滚动。")],-1),qe=l("h3",{id:"revealrangeneartopifoutsideviewport",tabindex:"-1"},[l("a",{class:"header-anchor",href:"#revealrangeneartopifoutsideviewport","aria-hidden":"true"},"#"),e(" revealRangeNearTopIfOutsideViewport")],-1),ze=l("li",null,[e("语法: "),l("code",null,"revealRangeNearTopIfOutsideViewport(range: IRange, scrollType?: ScrollType): void")],-1),Ge=l("li",null,[e("revealVerticalInCenter: "),l("code",null,"可选"),e(" boolean")],-1),He=l("code",null,"可选",-1),Je=l("li",null,[e("返回值: "),l("code",null,"无")],-1),Ke=l("li",null,[e("描述: "),l("code",null,"如果指定的范围不在编辑器的视口中,则将其滚动到编辑器的顶部,如果可能的话,将其保持在视口的顶部。如果revealVerticalInCenter为true,则将范围滚动到编辑器垂直中心。如果scrollType为Smooth,则使用平滑滚动。")],-1),Qe=l("h3",{id:"saveviewstate",tabindex:"-1"},[l("a",{class:"header-anchor",href:"#saveviewstate","aria-hidden":"true"},"#"),e(" saveViewState")],-1),Ue=l("li",null,[e("语法: "),l("code",null,"saveViewState(): IEditorViewState")],-1),We=l("li",null,[e("参数: "),l("code",null,"无")],-1),Xe=l("li",null,[e("描述: "),l("code",null,"返回当前编辑器的视图状态。")],-1),Ye=l("h3",{id:"setmodel",tabindex:"-1"},[l("a",{class:"header-anchor",href:"#setmodel","aria-hidden":"true"},"#"),e(" setModel")],-1),Ze=l("li",null,[e("语法: "),l("code",null,"setModel(model: IDiffEditorModel | null): void")],-1),$e=l("code",null,"null",-1),lo=l("li",null,[e("返回值: "),l("code",null,"无")],-1),eo=l("li",null,[e("描述: "),l("code",null,"设置附加到此编辑器的当前模型。 如果之前的模型是由编辑器通过选项文字对象中的值键创建的,它将被销毁。 否则,如果先前的模型是通过 setModel 设置的,或者选项文字对象中的模型键,则不会销毁先前的模型。 调用 setModel(null) 以简单地将当前模型与编辑器分离是安全的")],-1),oo=l("h3",{id:"setposition",tabindex:"-1"},[l("a",{class:"header-anchor",href:"#setposition","aria-hidden":"true"},"#"),e(" setPosition")],-1),no=l("li",null,[e("语法: "),l("code",null,"setPosition(position: IPosition, source?: string): void")],-1),to=l("li",null,[e("source: "),l("code",null,"string"),e(),l("code",null,"可选")],-1),io=l("li",null,[e("返回值: "),l("code",null,"无")],-1),so=l("li",null,[e("描述: "),l("code",null,"将编辑器的光标位置设置为指定的位置。")],-1),ro=l("h3",{id:"setselection",tabindex:"-1"},[l("a",{class:"header-anchor",href:"#setselection","aria-hidden":"true"},"#"),e(" setSelection")],-1),uo=l("li",null,[e("语法: "),l("code",null,"setSelection(selection: IRange, source?: string): void")],-1),co=l("li",null,[e("source: "),l("code",null,"string"),e(),l("code",null,"可选")],-1),ao=l("li",null,[e("返回值: "),l("code",null,"无")],-1),ho=l("li",null,[e("描述: "),l("code",null,"将编辑器的选择设置为指定的范围。")],-1),_o=l("h3",{id:"setselections",tabindex:"-1"},[l("a",{class:"header-anchor",href:"#setselections","aria-hidden":"true"},"#"),e(" setSelections")],-1),po=l("li",null,[e("语法: "),l("code",null,"setSelections(selections: ISelection[], source?: string): void")],-1),fo=l("li",null,[e("source: "),l("code",null,"string"),e(),l("code",null,"可选")],-1),mo=l("li",null,[e("返回值: "),l("code",null,"无")],-1),vo=l("li",null,[e("描述: "),l("code",null,"将编辑器的选择设置为指定的范围数组。")],-1),go=i(' trigger
- 语法:
trigger(source: string, handlerId: string, payload?: any): void
- 参数:
- source:
string
- handlerId:
string
- payload:
可选
any
- 返回值:
无
- 描述:
触发指定的命令。
updateOptions
',3),bo=l("li",null,[e("语法: "),l("code",null,"updateOptions(newOptions: IDiffEditorOptions): void")],-1),Io=l("li",null,[e("返回值: "),l("code",null,"无")],-1),yo=l("li",null,[e("描述: "),l("code",null,"更新编辑器的选项。")],-1);function To(xo,So){const d=s("ExternalLinkIcon"),n=s("RouterLink");return u(),c("div",null,[h,l("p",null,[_,e(),l("a",p,[e("官网地址"),o(d)])]),f,l("ul",null,[l("li",null,[e("IEditor "),l("ul",null,[l("li",null,[o(n,{to:"/editor/interfaces/ICodeEditor.html"},{default:t(()=>[e("ICodeEditor")]),_:1})]),l("li",null,[o(n,{to:"/editor/interfaces/IDiffEditor.html"},{default:t(()=>[e("IDiffEditor")]),_:1})])])])]),m,v,l("ul",null,[l("li",null,[e("语法: "),g,e("decorations?: "),o(n,{to:"/editor/interfaces/IModelDeltaDecoration.html"},{default:t(()=>[e("IModelDeltaDecoration")]),_:1}),e("[]"),b,e(),o(n,{to:"/editor/interfaces/IEditorDecorationsCollection.html"},{default:t(()=>[e("IEditorDecorationsCollection")]),_:1})]),l("li",null,[e("参数: "),o(n,{to:"/editor/interfaces/IModelDeltaDecoration.html"},{default:t(()=>[e("IModelDeltaDecoration")]),_:1}),e("[] "),I]),l("li",null,[e("返回值: "),o(n,{to:"/editor/interfaces/IEditorDecorationsCollection.html"},{default:t(()=>[e("IEditorDecorationsCollection")]),_:1})]),y]),T,l("ul",null,[x,l("li",null,[e("返回值: "),o(n,{to:"/editor/interfaces/ITextModel.html"},{default:t(()=>[e("ITextModel")]),_:1}),e(" | "),S]),P]),w,l("ul",null,[N,l("li",null,[e("返回值: "),o(n,{to:"/global/classes/Position.html"},{default:t(()=>[e(" Position")]),_:1}),e(" | "),L]),C]),E,l("ul",null,[V,l("li",null,[e("返回值: "),o(n,{to:"/global/classes/Selection.html"},{default:t(()=>[e("Selection")]),_:1}),e(" | "),D]),R]),M,l("ul",null,[O,l("li",null,[e("返回值: "),o(n,{to:"/global/classes/Selection.html"},{default:t(()=>[e("Selection")]),_:1}),e("[] | "),k]),A]),F,l("ul",null,[B,l("li",null,[e("返回值: "),o(n,{to:"/editor/interfaces/IEditorAction.html"},{default:t(()=>[e("IEditorAction")]),_:1}),e("[]")]),j]),q,l("ul",null,[z,l("li",null,[e("参数: "),l("ul",null,[l("li",null,[e("position: "),o(n,{to:"/global/interfaces/IPosition.html"},{default:t(()=>[e("IPosition")]),_:1})])])]),G,H]),J,l("ul",null,[K,l("li",null,[e("参数: "),l("ul",null,[l("li",null,[e("dimension: "),o(n,{to:"/editor/interfaces/IDimension.html"},{default:t(()=>[e("IDimension")]),_:1})])])]),Q]),U,l("ul",null,[W,l("li",null,[e("参数: "),l("ul",null,[l("li",null,[e("state:"),o(n,{to:"/editor/interfaces/IDiffEditorViewState.html"},{default:t(()=>[e("IDiffEditorViewState")]),_:1})])])]),X,Y]),Z,l("ul",null,[$,l("li",null,[e("参数: "),l("ul",null,[ll,l("li",null,[e("scrollType: "),o(n,{to:"/editor/enumerations.html#scrolltype"},{default:t(()=>[e("scrollType")]),_:1}),e(),el])])]),ol,nl]),tl,l("ul",null,[il,l("li",null,[e("参数: "),l("ul",null,[sl,l("li",null,[e("scrollType: "),o(n,{to:"/editor/enumerations.html#scrolltype"},{default:t(()=>[e("scrollType")]),_:1}),e(),dl])])]),rl,ul]),cl,l("ul",null,[al,l("li",null,[e("参数: "),l("ul",null,[hl,l("li",null,[e("scrollType: "),o(n,{to:"/editor/enumerations.html#scrolltype"},{default:t(()=>[e("scrollType")]),_:1}),e(),_l])])]),pl,fl]),ml,l("ul",null,[vl,l("li",null,[e("参数: "),l("ul",null,[gl,l("li",null,[e("scrollType: "),o(n,{to:"/editor/enumerations.html#scrolltype"},{default:t(()=>[e("scrollType")]),_:1}),e(),bl])])]),Il,yl]),Tl,l("ul",null,[xl,l("li",null,[e("参数: "),l("ul",null,[Sl,Pl,l("li",null,[e("scrollType: "),o(n,{to:"/editor/enumerations.html#scrolltype"},{default:t(()=>[e("scrollType")]),_:1}),e(),wl])])]),Nl,Ll]),Cl,l("ul",null,[El,l("li",null,[e("参数: "),l("ul",null,[Vl,Dl,l("li",null,[e("scrollType: "),o(n,{to:"/editor/enumerations.html#scrolltype"},{default:t(()=>[e("scrollType")]),_:1}),e(),Rl])])]),Ml,Ol]),kl,l("ul",null,[Al,l("li",null,[e("参数: "),l("ul",null,[Fl,Bl,l("li",null,[e("scrollType: "),o(n,{to:"/editor/enumerations.html#scrolltype"},{default:t(()=>[e("scrollType")]),_:1}),e(),jl])])]),ql,zl]),Gl,l("ul",null,[Hl,l("li",null,[e("参数: "),l("ul",null,[Jl,Kl,l("li",null,[e("scrollType: "),o(n,{to:"/editor/enumerations.html#scrolltype"},{default:t(()=>[e("scrollType")]),_:1}),e(),Ql])])]),Ul,Wl]),Xl,l("ul",null,[Yl,l("li",null,[e("参数: "),l("ul",null,[l("li",null,[e("position:"),o(n,{to:"/global/interfaces/IPosition.html"},{default:t(()=>[e("IPosition")]),_:1})]),l("li",null,[e("scrollType: "),o(n,{to:"/editor/enumerations.html#scrolltype"},{default:t(()=>[e("scrollType")]),_:1}),e(),Zl])])]),$l,le]),ee,l("ul",null,[oe,l("li",null,[e("参数: "),l("ul",null,[l("li",null,[e("position:"),o(n,{to:"/global/interfaces/IPosition.html"},{default:t(()=>[e("IPosition")]),_:1})]),l("li",null,[e("scrollType: "),o(n,{to:"/editor/enumerations.html#scrolltype"},{default:t(()=>[e("scrollType")]),_:1}),e(),ne])])]),te,ie]),se,l("ul",null,[de,l("li",null,[e("参数: "),l("ul",null,[l("li",null,[e("position:"),o(n,{to:"/global/interfaces/IPosition.html"},{default:t(()=>[e("IPosition")]),_:1})]),l("li",null,[e("scrollType: "),o(n,{to:"/editor/enumerations.html#scrolltype"},{default:t(()=>[e("scrollType")]),_:1}),e(),re])])]),ue,ce]),ae,l("ul",null,[he,l("li",null,[e("参数: "),l("ul",null,[l("li",null,[e("position:"),o(n,{to:"/global/interfaces/IPosition.html"},{default:t(()=>[e("IPosition")]),_:1})]),l("li",null,[e("scrollType: "),o(n,{to:"/editor/enumerations.html#scrolltype"},{default:t(()=>[e("scrollType")]),_:1}),e(),_e])])]),pe,fe]),me,l("ul",null,[ve,l("li",null,[e("参数: "),l("ul",null,[l("li",null,[e("range:"),o(n,{to:"/global/interfaces/IRange.html"},{default:t(()=>[e("IPosition")]),_:1})]),l("li",null,[e("scrollType: "),o(n,{to:"/editor/enumerations.html#scrolltype"},{default:t(()=>[e("scrollType")]),_:1}),e(),ge])])]),be,Ie]),ye,l("ul",null,[Te,l("li",null,[e("参数: "),l("ul",null,[l("li",null,[e("range: "),o(n,{to:"/global/interfaces/IRange.html"},{default:t(()=>[e("IPosition")]),_:1})]),l("li",null,[e("scrollType: "),xe,e(),o(n,{to:"/editor/enumerations.html#scrolltype"},{default:t(()=>[e("scrollType")]),_:1})])])]),Se,Pe]),we,l("ul",null,[Ne,l("li",null,[e("参数: "),l("ul",null,[l("li",null,[e("range: "),o(n,{to:"/global/interfaces/IRange.html"},{default:t(()=>[e("IPosition")]),_:1})]),l("li",null,[e("scrollType: "),Le,e(),o(n,{to:"/editor/enumerations.html#scrolltype"},{default:t(()=>[e("scrollType")]),_:1})])])]),Ce,Ee]),Ve,l("ul",null,[De,l("li",null,[e("参数: "),l("ul",null,[l("li",null,[e("range: "),o(n,{to:"/global/interfaces/IRange.html"},{default:t(()=>[e("IPosition")]),_:1})]),l("li",null,[e("scrollType: "),Re,e(),o(n,{to:"/editor/enumerations.html#scrolltype"},{default:t(()=>[e("scrollType")]),_:1})])])]),Me,Oe]),ke,l("ul",null,[Ae,l("li",null,[e("参数: "),l("ul",null,[l("li",null,[e("range: "),o(n,{to:"/global/interfaces/IRange.html"},{default:t(()=>[e("IPosition")]),_:1})]),l("li",null,[e("scrollType: "),Fe,e(),o(n,{to:"/editor/enumerations.html#scrolltype"},{default:t(()=>[e("scrollType")]),_:1})])])]),Be,je]),qe,l("ul",null,[ze,l("li",null,[e("参数: "),l("ul",null,[l("li",null,[e("range: "),o(n,{to:"/global/interfaces/IRange.html"},{default:t(()=>[e("IPosition")]),_:1})]),Ge,l("li",null,[e("scrollType: "),He,e(),o(n,{to:"/editor/enumerations.html#scrolltype"},{default:t(()=>[e("scrollType")]),_:1})])])]),Je,Ke]),Qe,l("ul",null,[Ue,We,l("li",null,[e("返回值: "),o(n,{to:"/editor/aliase.html#ieditorviewstate"},{default:t(()=>[e("IEditorViewState")]),_:1})]),Xe]),Ye,l("ul",null,[Ze,l("li",null,[e("参数: "),l("ul",null,[l("li",null,[e("model: "),o(n,{to:"/editor/interfaces/IDiffEditorModel.html"},{default:t(()=>[e("IDiffEditorModel")]),_:1}),e(" 或 "),$e])])]),lo,eo]),oo,l("ul",null,[no,l("li",null,[e("参数: "),l("ul",null,[l("li",null,[e("position: "),o(n,{to:"/global/interfaces/IPosition.html"},{default:t(()=>[e("IPosition")]),_:1})]),to])]),io,so]),ro,l("ul",null,[uo,l("li",null,[e("参数: "),l("ul",null,[l("li",null,[e("selection: "),o(n,{to:"/global/interfaces/IRange.html"},{default:t(()=>[e("IPosition")]),_:1})]),co])]),ao,ho]),_o,l("ul",null,[po,l("li",null,[e("参数: "),l("ul",null,[l("li",null,[e("selections: "),o(n,{to:"/global/interfaces/ISelection.html"},{default:t(()=>[e("ISelection")]),_:1}),e("[]")]),fo])]),mo,vo]),go,l("ul",null,[bo,l("li",null,[e("参数: "),l("ul",null,[l("li",null,[e("newOptions: "),o(n,{to:"/editor/interfaces/IDiffEditorOptions.html"},{default:t(()=>[e("IDiffEditorOptions")]),_:1})])])]),Io,yo])])}const No=r(a,[["render",To],["__file","IEditor.html.vue"]]);export{No as default};
diff --git a/assets/IEditor.html-e414bca8.js b/assets/IEditor.html-e414bca8.js
new file mode 100644
index 00000000..cb3f6c96
--- /dev/null
+++ b/assets/IEditor.html-e414bca8.js
@@ -0,0 +1 @@
+const e=JSON.parse('{"key":"v-5f5e43af","path":"/editor/interfaces/IEditor.html","title":"IEditor","lang":"zh-CN","frontmatter":{"description":"interface 官网地址 (https://microsoft.github.io/monaco-editor/docs.html#interfaces/editor.IEditor.html) 继承关系: IEditor; ICodeEditor (ICodeEditor.md); IDiffEditor (IDiffEditor.md); 方法...","head":[["meta",{"property":"og:url","content":"http://aydk.site/editor/interfaces/IEditor.html"}],["meta",{"property":"og:site_name","content":"Monaco-editor 学习文档"}],["meta",{"property":"og:title","content":"IEditor"}],["meta",{"property":"og:description","content":"interface 官网地址 (https://microsoft.github.io/monaco-editor/docs.html#interfaces/editor.IEditor.html) 继承关系: IEditor; ICodeEditor (ICodeEditor.md); IDiffEditor (IDiffEditor.md); 方法..."}],["meta",{"property":"og:type","content":"article"}],["meta",{"property":"og:locale","content":"zh-CN"}],["meta",{"property":"og:updated_time","content":"2024-02-06T15:45:31.000Z"}],["meta",{"property":"article:author","content":"aydk"}],["meta",{"property":"article:modified_time","content":"2024-02-06T15:45:31.000Z"}],["script",{"type":"application/ld+json"},"{\\"@context\\":\\"https://schema.org\\",\\"@type\\":\\"Article\\",\\"headline\\":\\"IEditor\\",\\"image\\":[\\"\\"],\\"dateModified\\":\\"2024-02-06T15:45:31.000Z\\",\\"author\\":[{\\"@type\\":\\"Person\\",\\"name\\":\\"aydk\\"}]}"]]},"headers":[{"level":2,"title":"方法 Methods","slug":"方法-methods","link":"#方法-methods","children":[{"level":3,"title":"createDecorationsCollection","slug":"createdecorationscollection","link":"#createdecorationscollection","children":[]},{"level":3,"title":"dispose","slug":"dispose","link":"#dispose","children":[]},{"level":3,"title":"focus","slug":"focus","link":"#focus","children":[]},{"level":3,"title":"getEditorType","slug":"geteditortype","link":"#geteditortype","children":[]},{"level":3,"title":"getId","slug":"getid","link":"#getid","children":[]},{"level":3,"title":"getModel","slug":"getmodel","link":"#getmodel","children":[]},{"level":3,"title":"getPosition","slug":"getposition","link":"#getposition","children":[]},{"level":3,"title":"getSelection","slug":"getselection","link":"#getselection","children":[]},{"level":3,"title":"getSelections","slug":"getselections","link":"#getselections","children":[]},{"level":3,"title":"getSupportedActions","slug":"getsupportedactions","link":"#getsupportedactions","children":[]},{"level":3,"title":"getVisibleColumnFromPosition","slug":"getvisiblecolumnfromposition","link":"#getvisiblecolumnfromposition","children":[]},{"level":3,"title":"hasTextFocus","slug":"hastextfocus","link":"#hastextfocus","children":[]},{"level":3,"title":"layout","slug":"layout","link":"#layout","children":[]},{"level":3,"title":"restoreViewState","slug":"restoreviewstate","link":"#restoreviewstate","children":[]},{"level":3,"title":"revealLine","slug":"revealline","link":"#revealline","children":[]},{"level":3,"title":"revealLineInCenter","slug":"reveallineincenter","link":"#reveallineincenter","children":[]},{"level":3,"title":"revealLineInCenterIfOutsideViewport","slug":"reveallineincenterifoutsideviewport","link":"#reveallineincenterifoutsideviewport","children":[]},{"level":3,"title":"revealLineNearTop","slug":"reveallineneartop","link":"#reveallineneartop","children":[]},{"level":3,"title":"revealLines","slug":"reveallines","link":"#reveallines","children":[]},{"level":3,"title":"revealLinesInCenter","slug":"reveallinesincenter","link":"#reveallinesincenter","children":[]},{"level":3,"title":"revealLinesInCenterIfOutsideViewport","slug":"reveallinesincenterifoutsideviewport","link":"#reveallinesincenterifoutsideviewport","children":[]},{"level":3,"title":"revealLinesNearTop","slug":"reveallinesneartop","link":"#reveallinesneartop","children":[]},{"level":3,"title":"revealPosition","slug":"revealposition","link":"#revealposition","children":[]},{"level":3,"title":"revealPositionInCenter","slug":"revealpositionincenter","link":"#revealpositionincenter","children":[]},{"level":3,"title":"revealPositionInCenterIfOutsideViewport","slug":"revealpositionincenterifoutsideviewport","link":"#revealpositionincenterifoutsideviewport","children":[]},{"level":3,"title":"revealPositionNearTop","slug":"revealpositionneartop","link":"#revealpositionneartop","children":[]},{"level":3,"title":"revealRange","slug":"revealrange","link":"#revealrange","children":[]},{"level":3,"title":"revealRangeAtTop","slug":"revealrangeattop","link":"#revealrangeattop","children":[]},{"level":3,"title":"revealRangeInCenter","slug":"revealrangeincenter","link":"#revealrangeincenter","children":[]},{"level":3,"title":"revealRangeInCenterIfOutsideViewport","slug":"revealrangeincenterifoutsideviewport","link":"#revealrangeincenterifoutsideviewport","children":[]},{"level":3,"title":"revealRangeNearTop","slug":"revealrangeneartop","link":"#revealrangeneartop","children":[]},{"level":3,"title":"revealRangeNearTopIfOutsideViewport","slug":"revealrangeneartopifoutsideviewport","link":"#revealrangeneartopifoutsideviewport","children":[]},{"level":3,"title":"saveViewState","slug":"saveviewstate","link":"#saveviewstate","children":[]},{"level":3,"title":"setModel","slug":"setmodel","link":"#setmodel","children":[]},{"level":3,"title":"setPosition","slug":"setposition","link":"#setposition","children":[]},{"level":3,"title":"setSelection","slug":"setselection","link":"#setselection","children":[]},{"level":3,"title":"setSelections","slug":"setselections","link":"#setselections","children":[]},{"level":3,"title":"trigger","slug":"trigger","link":"#trigger","children":[]},{"level":3,"title":"updateOptions","slug":"updateoptions","link":"#updateoptions","children":[]}]}],"git":{"createdTime":1686945885000,"updatedTime":1707234331000,"contributors":[{"name":"xiaochaochao","email":"xiaochaochao","commits":2}]},"readingTime":{"minutes":5.88,"words":1763},"filePathRelative":"editor/interfaces/IEditor.md","localizedDate":"2023年6月16日","autoDesc":true}');export{e as data};
diff --git a/assets/IEditorAction.html-39c1ca80.js b/assets/IEditorAction.html-39c1ca80.js
new file mode 100644
index 00000000..c0864cc0
--- /dev/null
+++ b/assets/IEditorAction.html-39c1ca80.js
@@ -0,0 +1 @@
+import{_ as d}from"./plugin-vue_export-helper-c27b6911.js";import{r as a,o as r,c as l,a as e,b as i,d as t,e as c}from"./app-5f5ef0a9.js";const n={},s=e("h1",{id:"ieditoraction",tabindex:"-1"},[e("a",{class:"header-anchor",href:"#ieditoraction","aria-hidden":"true"},"#"),i(" IEditorAction")],-1),h=e("code",null,"interface",-1),u={href:"https://microsoft.github.io/monaco-editor/docs.html#interfaces/editor.IEditorAction.html",target:"_blank",rel:"noopener noreferrer"},p=c(' 属性 Properties
alias
- 类型:
string
可选
- 默认值:
-
- 可选项:
-
- 描述: ``
id
- 类型:
string
可选
- 默认值:
-
- 可选项:
-
- 描述: ``
label
- 类型:
string
可选
- 默认值:
-
- 可选项:
-
- 描述: ``
方法 Methods
isSupported
- 语法:
isSupported(): boolean
- 参数: ``
- 返回值:
boolean
- 描述: ``
run
- 语法:
run(args?: unknown): Promise<void>
- 参数: ``
- 返回值:
Promise<void>
- 描述: ``
',12);function _(f,m){const o=a("ExternalLinkIcon");return r(),l("div",null,[s,e("p",null,[h,i(),e("a",u,[i("官网地址"),t(o)])]),p])}const g=d(n,[["render",_],["__file","IEditorAction.html.vue"]]);export{g as default};
diff --git a/assets/IEditorAction.html-aa156110.js b/assets/IEditorAction.html-aa156110.js
new file mode 100644
index 00000000..d840d144
--- /dev/null
+++ b/assets/IEditorAction.html-aa156110.js
@@ -0,0 +1 @@
+const t=JSON.parse('{"key":"v-50e8e699","path":"/editor/interfaces/IEditorAction.html","title":"IEditorAction","lang":"zh-CN","frontmatter":{"description":"interface 官网地址 (https://microsoft.github.io/monaco-editor/docs.html#interfaces/editor.IEditorAction.html) 属性 Properties alias 类型: string 可选; 默认值: -; 可选项: -; 描述: ; id 类型: string ...","head":[["meta",{"property":"og:url","content":"http://aydk.site/editor/interfaces/IEditorAction.html"}],["meta",{"property":"og:site_name","content":"Monaco-editor 学习文档"}],["meta",{"property":"og:title","content":"IEditorAction"}],["meta",{"property":"og:description","content":"interface 官网地址 (https://microsoft.github.io/monaco-editor/docs.html#interfaces/editor.IEditorAction.html) 属性 Properties alias 类型: string 可选; 默认值: -; 可选项: -; 描述: ; id 类型: string ..."}],["meta",{"property":"og:type","content":"article"}],["meta",{"property":"og:locale","content":"zh-CN"}],["meta",{"property":"og:updated_time","content":"2023-06-16T20:04:45.000Z"}],["meta",{"property":"article:author","content":"aydk"}],["meta",{"property":"article:modified_time","content":"2023-06-16T20:04:45.000Z"}],["script",{"type":"application/ld+json"},"{\\"@context\\":\\"https://schema.org\\",\\"@type\\":\\"Article\\",\\"headline\\":\\"IEditorAction\\",\\"image\\":[\\"\\"],\\"dateModified\\":\\"2023-06-16T20:04:45.000Z\\",\\"author\\":[{\\"@type\\":\\"Person\\",\\"name\\":\\"aydk\\"}]}"]]},"headers":[{"level":2,"title":"属性 Properties","slug":"属性-properties","link":"#属性-properties","children":[{"level":3,"title":"alias","slug":"alias","link":"#alias","children":[]},{"level":3,"title":"id","slug":"id","link":"#id","children":[]},{"level":3,"title":"label","slug":"label","link":"#label","children":[]}]},{"level":2,"title":"方法 Methods","slug":"方法-methods","link":"#方法-methods","children":[{"level":3,"title":"isSupported","slug":"issupported","link":"#issupported","children":[]},{"level":3,"title":"run","slug":"run","link":"#run","children":[]}]}],"git":{"createdTime":1686945885000,"updatedTime":1686945885000,"contributors":[{"name":"xiaochaochao","email":"xiaochaochao","commits":1}]},"readingTime":{"minutes":0.29,"words":88},"filePathRelative":"editor/interfaces/IEditorAction.md","localizedDate":"2023年6月16日","autoDesc":true}');export{t as data};
diff --git a/assets/IEditorCommentsOptions.html-25fa0976.js b/assets/IEditorCommentsOptions.html-25fa0976.js
new file mode 100644
index 00000000..ffb80e72
--- /dev/null
+++ b/assets/IEditorCommentsOptions.html-25fa0976.js
@@ -0,0 +1 @@
+const t=JSON.parse('{"key":"v-59017b99","path":"/editor/interfaces/IEditorCommentsOptions.html","title":"IEditorCommentsOptions","lang":"zh-CN","frontmatter":{"description":"interface 官网地址 (https://microsoft.github.io/monaco-editor/docs.html#interfaces/editor.IEditorCommentsOptions.html) 属性 Properties ignoreEmptyLines? 类型: boolean 可选; 默认值: true; 可选项...","head":[["meta",{"property":"og:url","content":"http://aydk.site/editor/interfaces/IEditorCommentsOptions.html"}],["meta",{"property":"og:site_name","content":"Monaco-editor 学习文档"}],["meta",{"property":"og:title","content":"IEditorCommentsOptions"}],["meta",{"property":"og:description","content":"interface 官网地址 (https://microsoft.github.io/monaco-editor/docs.html#interfaces/editor.IEditorCommentsOptions.html) 属性 Properties ignoreEmptyLines? 类型: boolean 可选; 默认值: true; 可选项..."}],["meta",{"property":"og:type","content":"article"}],["meta",{"property":"og:locale","content":"zh-CN"}],["meta",{"property":"og:updated_time","content":"2023-06-16T20:04:45.000Z"}],["meta",{"property":"article:author","content":"aydk"}],["meta",{"property":"article:modified_time","content":"2023-06-16T20:04:45.000Z"}],["script",{"type":"application/ld+json"},"{\\"@context\\":\\"https://schema.org\\",\\"@type\\":\\"Article\\",\\"headline\\":\\"IEditorCommentsOptions\\",\\"image\\":[\\"\\"],\\"dateModified\\":\\"2023-06-16T20:04:45.000Z\\",\\"author\\":[{\\"@type\\":\\"Person\\",\\"name\\":\\"aydk\\"}]}"]]},"headers":[{"level":2,"title":"属性 Properties","slug":"属性-properties","link":"#属性-properties","children":[{"level":3,"title":"ignoreEmptyLines?","slug":"ignoreemptylines","link":"#ignoreemptylines","children":[]},{"level":3,"title":"insertSpace?","slug":"insertspace","link":"#insertspace","children":[]}]}],"git":{"createdTime":1686945885000,"updatedTime":1686945885000,"contributors":[{"name":"xiaochaochao","email":"xiaochaochao","commits":1}]},"readingTime":{"minutes":0.27,"words":82},"filePathRelative":"editor/interfaces/IEditorCommentsOptions.md","localizedDate":"2023年6月16日","autoDesc":true}');export{t as data};
diff --git a/assets/IEditorCommentsOptions.html-8625b48a.js b/assets/IEditorCommentsOptions.html-8625b48a.js
new file mode 100644
index 00000000..d538191e
--- /dev/null
+++ b/assets/IEditorCommentsOptions.html-8625b48a.js
@@ -0,0 +1 @@
+import{_ as i}from"./plugin-vue_export-helper-c27b6911.js";import{r,o as n,c,a as e,b as o,d as a,e as d}from"./app-5f5ef0a9.js";const s={},l=e("h1",{id:"ieditorcommentsoptions",tabindex:"-1"},[e("a",{class:"header-anchor",href:"#ieditorcommentsoptions","aria-hidden":"true"},"#"),o(" IEditorCommentsOptions")],-1),h=e("code",null,"interface",-1),m={href:"https://microsoft.github.io/monaco-editor/docs.html#interfaces/editor.IEditorCommentsOptions.html",target:"_blank",rel:"noopener noreferrer"},p=d(' 属性 Properties
ignoreEmptyLines?
- 类型:
boolean
可选
- 默认值:
true
- 可选项:
-
- 描述:
插入行注释时忽略空行。默认为true。
insertSpace?
- 类型:
boolean
可选
- 默认值:
true
- 可选项:
-
- 描述:
在行注释标记之后和块注释标记内插入一个空格。默认为true。
',5);function _(u,f){const t=r("ExternalLinkIcon");return n(),c("div",null,[l,e("p",null,[h,o(),e("a",m,[o("官网地址"),a(t)])]),p])}const E=i(s,[["render",_],["__file","IEditorCommentsOptions.html.vue"]]);export{E as default};
diff --git a/assets/IEditorConstructionOptions.html-2c15d5f0.js b/assets/IEditorConstructionOptions.html-2c15d5f0.js
new file mode 100644
index 00000000..224acf62
--- /dev/null
+++ b/assets/IEditorConstructionOptions.html-2c15d5f0.js
@@ -0,0 +1,5 @@
+import{_ as n}from"./plugin-vue_export-helper-c27b6911.js";import{r,o as t,c as s,a as e,b as o,d as i,w as l,e as c}from"./app-5f5ef0a9.js";const h={},u=e("h1",{id:"ieditorconstructionoptions",tabindex:"-1"},[e("a",{class:"header-anchor",href:"#ieditorconstructionoptions","aria-hidden":"true"},"#"),o(" IEditorConstructionOptions")],-1),p=e("code",null,"interface",-1),f={href:"https://microsoft.github.io/monaco-editor/docs.html#interfaces/editor.IEditorConstructionOptions.html",target:"_blank",rel:"noopener noreferrer"},b=e("p",null,"继承关系:",-1),g=c(` 属性 Properties
acceptSuggestionOnCommitCharacter
- 类型:
Bollean
可选
- 默认值:
true
- 可选项:
true | false
- 描述:
用于控制在输入时是否自动接受建议。如果启用了该设置,当您输入一个特定的字符时,编辑器将自动接受建议。如果禁用了该设置,则不会自动接受建议。 如果要启用 acceptSuggestionOnCommitCharacter设置,将其设置为 true。如果要禁用该设置,则将其设置为 false。如果您希望在输入特定字符时自动接受建议,则可以将其设置为一个字符或字符数组。例如,如果要在输入 . 或 : 时自动接受建议,则可以将其设置为 ['.', ':']。
acceptSuggestionOnEnter
- 类型:
String
可选
- 默认值:
on
- 可选项:
"on" | "off" | "smart"
- 描述:
用于控制在按下 Enter键时是否自动接受建议。如果启用了该设置,当您按下Enter键时,编辑器将自动接受建议。如果禁用了该设置,则不会自动接受建议。
accessibilityPageSize
- 类型:
number
可选
- 默认值:
-
- 可选项:
-
- 描述:
用于指定辅助功能分页大小。如果启用了该设置,并且用户使用辅助功能浏览器或屏幕阅读器浏览编辑器内容,则编辑器将按照指定的分页大小进行分页。如果禁用了该设置,则不会进行分页。如果要禁用该设置,则将其设置为 null。
accessibilitySupport
- 类型:
string
可选
- 默认值:
auto
- 可选项:
"on" | "off" | "auto"
- 描述:
用于启用或禁用辅助功能支持。如果启用了该设置,则编辑器将支持辅助功能浏览器和屏幕阅读器。如果禁用了该设置,则不会支持辅助功能。
ARIA元素
ARIA(Accessible Rich Internet Applications)是一组用于增强Web应用程序可访问性的技术。ARIA元素是一种特殊的HTML元素,用于描述Web应用程序中的交互元素和控件,以便辅助功能浏览器和屏幕阅读器可以正确地解释和呈现这些元素。
ARIA元素包括角色(role)、状态(state)和属性(property)。角色定义了元素的类型和功能,状态描述了元素的当前状态,属性提供了有关元素的其他信息。
例如,一个按钮可以使用 role="button" 属性来指定其角色,使用 aria-pressed="true" 属性来指定其状态,使用 aria-label="Click me" 属性来指定其标签文本。
使用ARIA元素可以使Web应用程序更易于使用和访问,特别是对于那些使用辅助功能浏览器和屏幕阅读器的用户。
ariaLabel
- 类型:
string
可选
- 默认值:
-
- 可选项:
-
- 描述:
用于指定编辑器的ARIA标签。如果启用了该设置,则编辑器将使用指定的ARIA标签来描述编辑器。如果禁用了该设置,则编辑器将使用默认的ARIA标签。如果要禁用该设置,则将其设置为 null。
autoClosingBrackets
- 类型:
EditorAutoClosingStrategy
可选
- 默认值:
-
- 可选项:
"always" | "languageDefined" | "beforeWhitespace" | "never"
- 描述:
用于控制在输入括号时是否自动闭合括号。如果启用了该设置,当您输入左括号时,编辑器将自动插入右括号。如果禁用了该设置,则不会自动插入右括号。
autoClosingDelete
- 类型:
EditorAutoClosingEditStrategy
可选
- 默认值:
-
- 可选项:
"always" | "auto" | "never"
- 描述:
用于控制在删除括号时是否同时删除相应的右括号。如果启用了该设置,当您删除一个左括号时,编辑器将自动删除相应的右括号。如果禁用了该设置,则不会自动删除右括号。
。
补充
如果您希望仅在删除特定类型的括号时同时删除相应的右括号,则可以将其设置为一个对象,该对象包含要自动删除右括号的括号类型。例如,如果要仅在删除圆括号时同时删除相应的右括号,则可以将其设置为 { brackets: false, parentheses: true, curlyBraces: false } 。
autoClosingOvertype
- 类型:
EditorAutoClosingEditStrategy
可选
- 默认值:
-
- 可选项:
"always" | "auto" | "never"
- 描述:
用于控制在覆盖模式下输入括号时是否自动闭合括号。如果启用了该设置,当您在覆盖模式下输入一个左括号时,编辑器将自动插入相应的右括号。如果禁用了该设置,则不会自动插入右括号。如果您希望仅在输入特定类型的括号时自动闭合括号,配置同autoClosingDelete
autoClosingQuotes
- 类型:
EditorAutoClosingStrategy
可选
- 默认值:
-
- 可选项:
"always" | "languageDefined" | "beforeWhitespace" | "never"
- 描述:
用于控制在输入引号时是否自动闭合引号。如果启用了该设置,当您输入一个引号时,编辑器将自动插入相应的另一个引号。如果禁用了该设置,则不会自动插入另一个引号。
补充
如果您希望仅在输入特定类型的引号时自动闭合引号,则可以将其设置为一个对象,该对象包含要自动闭合的引号类型。例如,如果要仅在输入双引号时自动闭合引号,则可以将其设置为 { languageDefined: false, mark: '"' }。
autoIndent
- 类型:
string
可选
- 默认值:
advanced
- 可选项:
"none" | "advanced" | "full" | "brackets" | "keep"
- 描述:
用于控制在输入新行时是否自动缩进。如果启用了该设置,当您在新行中输入内容时,编辑器将自动缩进到与上一行相同的缩进级别。如果禁用了该设置,则不会自动缩进。
每个取值的含义
"none":禁用自动缩进。不会自动缩进。
"advanced":启用高级自动缩进。编辑器将尝试根据上下文自动缩进,而不仅仅是复制上一行的缩进级别。这是默认值。
"full":启用完全自动缩进。编辑器将尝试根据上下文自动缩进,并在需要时自动调整缩进级别。这可能会导致缩进级别的不一致。
"brackets":启用基于括号的自动缩进。编辑器将尝试根据括号匹配自动缩进,并在需要时自动调整缩进级别。这可能会导致缩进级别的不一致。
"keep":保持缩进不变。编辑器将不会自动缩进,而是保留输入的缩进
autoSurround
- 类型:
string
可选
- 默认值:
advanced
- 可选项:
"languageDefined" | "quotes" | "brackets" | "never"
- 描述:
用于控制在选中文本并输入括号或引号时是否自动将文本包裹在括号或引号中。如果启用了该设置,当您选中文本并输入括号或引号时,编辑器将自动将文本包裹在括号或引号中。如果禁用了该设置,则不会自动包裹文本。
每个取值的含义
"languageDefined":根据语言定义自动添加括号或引号。
"quotes":自动添加引号。
"brackets":自动添加括号。
"never":不自动添加括号或引号。
automaticLayout
- 类型:
boolean
可选
- 默认值:
false
- 可选项:
-
- 描述:
用于控制编辑器是否自动调整其布局以适应其容器的大小。如果启用了该设置,当编辑器所在的容器大小发生变化时,编辑器将自动调整其布局以适应新的容器大小。如果禁用了该设置,则编辑器将保持其初始大小,不会自动调整布局。
bracketPairColorization
- 类型:
IBracketPairColorizationOptions
可选
- 默认值:
disable
- 可选项:
-
- 描述:
用于控制是否启用括号配对颜色。
IBracketPairColorizationOptions
"enabled":如果启用了该设置,当您将光标放在一个括号上时,编辑器将突出显示与该括号配对的另一个括号。如果禁用了该设置,则不会突出显示括号配对。
"independentColorPoolPerBracketType":用于控制是否为不同类型的括号使用独立的颜色池。如果启用了该设置,编辑器将为每种类型的括号(例如圆括号、方括号、花括号等)使用独立的颜色池,以确保每种类型的括号都有不同的突出显示颜色。如果禁用了该设置,则编辑器将使用相同的颜色池为所有类型的括号分配颜色。
codeActionsOnSaveTimeout
- 类型:
number
可选
- 默认值:
-
- 可选项:
-
- 描述:
用于控制在保存文件时执行代码操作的超时时间。如果启用了该设置,当您保存文件时,编辑器将等待指定的时间(以毫秒为单位),以便在执行代码操作之前等待其他可能的代码操作完成。如果禁用了该设置,则编辑器将立即执行代码操作。(以毫秒为单位)
codeLens
- 类型:
boolean
可选
- 默认值:
true
- 可选项:
-
- 描述:
用于控制是否启用代码镜头功能。如果启用了该设置,编辑器将在代码中显示代码镜头,这些代码镜头可以提供有关代码的其他信息,例如代码的引用、测试覆盖率等。如果禁用了该设置,则不会显示代码镜头。
codeLensFontFamily
- 类型:
string
可选
- 默认值:
editor font family
- 可选项:
-
- 描述:
用于控制代码镜头中文本的字体系列。如果启用了该设置,编辑器将使用指定的字体系列来呈现代码镜头中的文本。如果禁用了该设置,则编辑器将使用默认的字体系列。
codeLensFontSize
- 类型:
number
可选
- 默认值:
90% of the editor font size
- 可选项:
-
- 描述:
用于控制代码镜头中文本的字体大小。如果启用了该设置,编辑器将使用指定的字体大小来呈现代码镜头中的文本。如果禁用了该设置,则编辑器将使用默认的字体大小。
colorDecorators
- 类型:
boolean
可选
- 默认值:
-
- 可选项:
-
- 描述:
用于控制是否启用颜色装饰器。如果启用了该设置,编辑器将使用颜色装饰器来突出显示代码中的特定文本,例如变量、函数等。如果禁用了该设置,则不会使用颜色装饰器。
colorDecoratorsLimit
- 类型:
number
可选
- 默认值:
-
- 可选项:
-
- 描述:
用于控制颜色装饰器的最大数量。如果启用了该设置,编辑器将限制颜色装饰器的数量,以避免性能问题。如果禁用了该设置,则编辑器将不会限制颜色装饰器的数量。
columnSelection
- 类型:
boolean
可选
- 默认值:
false
- 可选项:
-
- 描述:
用于控制是否启用列选择模式。如果启用了该设置,编辑器将允许您选择文本的列而不是行。如果禁用了该设置,则编辑器将只允许您选择文本的行。
- 类型:
IEditorCommentsOptions
可选
- 默认值:
-
- 可选项:
-
- 描述:
用于控制是否启用注释功能。如果启用了该设置,编辑器将允许您在代码中添加注释。如果禁用了该设置,则不会允许添加注释。
IEditorCommentsOptions
"ignoreEmptyLines":用于控制是否忽略空行。如果启用了该设置,编辑器将忽略注释中的空行。如果禁用了该设置,则不会忽略空行。
"insertSpace":用于控制是否在注释标记后插入空格。如果启用了该设置,编辑器将在注释标记后插入一个空格。如果禁用了该设置,则不会插入空格。
- 类型:
boolean
可选
- 默认值:
true
- 可选项:
-
- 描述:
用于控制编辑器中右键菜单的内容和行为,如果启用了该设置,编辑器将在右键单击时显示上下文菜单。如果禁用了该设置,则不会显示上下文菜单。
monaco.editor.create(domElement, {
+ // ...
+ contextmenu: true, // 启用右键菜单
+});
+
注意
contextmenuItems、contextmenuCommands 最新版本已经不再支持
copyWithSyntaxHighlighting
- 类型:
boolean
可选
- 默认值:
-
- 可选项:
-
- 描述:
可以将编辑器中的文本复制到剪贴板,并保留语法高亮。
cursorBlinking
- 类型:
string
可选
- 默认值:
blink
- 可选项:
"blink" | "smooth" | "phase" | "expand" | "solid"
- 描述:
用于控制光标的闪烁方式
提示
"blink": 光标以常规速度闪烁。
"smooth": 光标以平滑的方式闪烁。
"phase": 光标以相位的方式闪烁。
"expand": 光标在插入字符时扩展,然后再缩小。
"solid": 光标不闪烁,而是一直显示为实心。
cursorSmoothCaretAnimation
- 类型:
boolean
可选
- 默认值:
false
- 可选项:
-
- 描述:
用于控制光标的平滑动画。如果启用了该设置,光标将以平滑的方式移动。如果禁用了该设置,则光标将以常规方式移动。
cursorStyle
- 类型:
string
可选
- 默认值:
'line'
- 可选项:
'line' | 'block' | 'underline'
- 描述:
用于控制光标的样式。可以选择 'line'、'block' 或 'underline' 中的一种。
cursorSurroundingLines
- 类型:
number
可选
- 默认值:
0
- 可选项:
-
- 描述:
用于控制光标周围的行数。如果设置为 0,则不会滚动视图。如果设置为 1,则将滚动视图以确保光标周围的一行可见。如果设置为 2,则将滚动视图以确保光标周围的两行可见,依此类推。
cursorSurroundingLinesStyle
- 类型:
string
可选
- 默认值:
'default'
- 可选项:
'default' | 'all'
- 描述:
用于控制光标周围行的样式。如果设置为 'default',则只有当前行的背景色会发生变化。如果设置为 'all',则所有周围行的背景色都会发生变化。
cursorWidth
- 类型:
number
可选
- 默认值:
0
- 可选项:
-
- 描述:
用于控制光标的宽度。如果设置为 0,则使用默认宽度。如果设置为大于 0 的值,则使用指定的宽度。
definitionLinkOpensInPeek
- 类型:
boolean
可选
- 默认值:
false
- 可选项:
-
- 描述:
用于控制定义链接的行为。如果启用了该设置,单击定义链接将在 Peek 视图中打开定义。如果禁用了该设置,则单击定义链接将在新窗口中打开定义。
dimension
- 类型:
IDimension
可选
- 默认值:
-
- 可选项:
-
- 描述:
编辑器的初始尺寸。
disableLayerHinting
- 类型:
boolean
可选
- 默认值:
false
- 可选项:
-
- 描述:
用于控制是否禁用图层提示。如果启用了该设置,编辑器将不会显示图层提示。如果禁用了该设置,则会显示图层提示。
disableMonospaceOptimizations
- 类型:
boolean
可选
- 默认值:
false
- 可选项:
-
- 描述:
用于控制是否禁用等宽字体优化。如果启用了该设置,编辑器将不会使用等宽字体优化。如果禁用了该设置,则会使用等宽字体优化。
domReadOnly
- 类型:
boolean
可选
- 默认值:
false
- 可选项:
-
- 描述:
用于控制是否将编辑器设置为只读模式。如果启用了该设置,编辑器将无法编辑。如果禁用了该设置,则可以编辑编辑器。
dragAndDrop
- 类型:
boolean
可选
- 默认值:
true
- 可选项:
-
- 描述:
用于控制是否启用拖放功能。如果启用了该设置,编辑器将支持拖放文件和文本。如果禁用了该设置,则不会支持拖放。
dropIntoEditor
- 类型:
boolean
可选
- 默认值:
false
- 可选项:
-
- 描述:
用于控制是否启用将文件拖放到编辑器中的功能。如果启用了该设置,编辑器将支持将文件拖放到编辑器中。如果禁用了该设置,则不会支持将文件拖放到编辑器中。
emptySelectionClipboard
- 类型:
boolean
可选
- 默认值:
true
- 可选项:
-
- 描述:
用于控制是否启用空选择剪贴板功能。如果启用了该设置,编辑器将支持将空选择复制到剪贴板中。如果禁用了该设置,则不会支持将空选择复制到剪贴板中。
experimentalWhitespaceRendering
- 类型:
boolean
可选
- 默认值:
false
- 可选项:
-
- 描述:
用于控制是否启用实验性的空格渲染功能。如果启用了该设置,编辑器将使用实验性的空格渲染功能来渲染空格。如果禁用了该设置,则不会使用实验性的空格渲染功能。
- 类型:
string
可选
- 默认值:
-
- 可选项:
-
- 描述:
用于控制编辑器的额外类名。可以使用该设置来自定义编辑器的样式。
- 类型:
number
可选
- 默认值:
5
- 可选项:
-
- 描述:
用于控制快速滚动的灵敏度。如果启用了该设置,编辑器将在快速滚动时更加灵敏。如果禁用了该设置,则在快速滚动时不会更加灵敏。
find
- 类型:
Object
可选
- 默认值:
false
- 可选项:
-
- 描述:
用于控制
- 类型:
bool
可选
- 默认值:
-
- 可选项:
-
- 描述:
用于控制overflowingContentWidgets的现实方式
`,95),m={class:"hint-container tip"},x=e("p",{class:"hint-container-title"},"注意",-1),y={href:"https://github.com/microsoft/monaco-editor/issues/480",target:"_blank",rel:"noopener noreferrer"},v=c(' folding
- 类型:
boolean
可选
- 默认值:
true
- 可选项:
-
- 描述:
用于控制是否启用代码折叠功能。如果启用了该设置,编辑器将允许折叠代码块。如果禁用了该设置,则不会显示折叠控件。
foldingHighlight
- 类型:
boolean
可选
- 默认值:
true
- 可选项:
-
- 描述:
用于控制是否突出显示折叠范围。如果启用了该设置,编辑器将使用颜色装饰器来突出显示折叠范围。如果禁用了该设置,则不会使用颜色装饰器。
foldingImportsByDefault
- 类型:
boolean
可选
- 默认值:
false
- 可选项:
-
- 描述:
用于控制是否默认折叠导入语句。如果启用了该设置,编辑器将默认折叠导入语句。如果禁用了该设置,则不会默认折叠导入语句。
foldingMaximumRegions
- 类型:
number
可选
- 默认值:
-
- 可选项:
-
- 描述:
用于控制最大折叠区域数。如果设置为 -1,则没有限制。如果设置为大于 0 的值,则最多允许折叠指定数量的区域。
foldingStrategy
- 类型:
string
可选
- 默认值:
'auto'
- 可选项:
'auto' | 'indentation'
- 描述:
用于控制折叠策略。可以选择 'auto' 或 'indentation' 中的一种。如果选择 'auto',编辑器将尝试自动检测最佳折叠策略。如果选择 'indentation',编辑器将使用缩进级别来确定折叠范围。
fontFamily
- 类型:
string
可选
- 默认值:
-
- 可选项:
-
- 描述:
用于控制编辑器的字体系列。可以设置多个字体系列,以便在第一个不可用时使用备用字体系列。
fontLigatures
- 类型:
boolean
可选
- 默认值:
false
- 可选项:
-
- 描述:
用于控制是否启用字体连字。如果启用了该设置,编辑器将使用字体连字来显示代码。如果禁用了该设置,则不会使用字体连字。
fontSize
- 类型:
number
可选
- 默认值:
-
- 可选项:
-
- 描述:
用于控制编辑器的字体大小。可以设置为任何数字值。
fontVariations
- 类型:
string
可选
- 默认值:
-
- 可选项:
-
- 描述:
用于控制编辑器的字体变体。可以设置多个字体变体,以便在第一个不可用时使用备用字体变体。
fontWeight
- 类型:
string
可选
- 默认值:
-
- 可选项:
-
- 描述:
用于控制编辑器的字体粗细。可以设置为 'normal'、'bold' 或任何数字值。
- 类型:
boolean
可选
- 默认值:
false
- 可选项:
-
- 描述:
用于控制是否在粘贴时自动格式化代码。如果启用了该设置,编辑器将在粘贴时自动格式化代码。如果禁用了该设置,则不会在粘贴时自动格式化代码。
- 类型:
boolean
可选
- 默认值:
false
- 可选项:
-
- 描述:
用于控制是否在输入时自动格式化代码。如果启用了该设置,编辑器将在输入时自动格式化代码。如果禁用了该设置,则不会在输入时自动格式化代码。
glyphMargin
- 类型:
boolean
可选
- 默认值:
true
- 可选项:
-
- 描述:
用于控制是否显示字形边距。如果启用了该设置,编辑器将在左侧显示字形边距。如果禁用了该设置,则不会显示字形边距。
gotoLocation
- 类型:
Object
可选
- 默认值:
-
- 可选项:
-
- 描述:
用于控制转到定义和查找所有引用的行为。
guides
- 类型:
Object
可选
- 默认值:
-
- 可选项:
-
- 描述:
用于控制代码缩进指南的行为。
hideCursorInOverviewRuler
- 类型:
boolean
可选
- 默认值:
false
- 可选项:
-
- 描述:
用于控制是否在概览标尺中隐藏光标。如果启用了该设置,编辑器将在概览标尺中隐藏光标。如果禁用了该设置,则不会在概览标尺中隐藏光标。
hover
',33),D=e("code",null,"可选",-1),q=e("li",null,[o("默认值: "),e("code",null,"-")],-1),w=e("li",null,[o("可选项: "),e("code",null,"-")],-1),C=e("li",null,[o("描述: "),e("code",null,"用于控制悬停提示的行为。")],-1),k=c(' inDiffEditor
- 类型:
boolean
可选
- 默认值:
false
- 可选项:
-
- 描述:
用于控制编辑器是否在差异编辑器中。如果启用了该设置,编辑器将在差异编辑器中。如果禁用了该设置,则不会在差异编辑器中。
inlayHints
- 类型:
Object
可选
- 默认值:
-
- 可选项:
-
- 描述:
用于控制内联提示的行为。
inlineSuggest
- 类型:
Object
可选
- 默认值:
-
- 可选项:
-
- 描述:
用于控制内联建议的行为。
letterSpacing
- 类型:
number
可选
- 默认值:
0
- 可选项:
-
- 描述:
用于控制编辑器的字母间距。可以设置为任何数字值。
lightbulb
- 类型:
Object
可选
- 默认值:
-
- 可选项:
-
- 描述:
用于控制灯泡提示的行为。
lineDecorationsWidth
- 类型:
number
可选
- 默认值:
1
- 可选项:
-
- 描述:
用于控制行装饰器的宽度。可以设置为任何数字值。
lineHeight
- 类型:
number
可选
- 默认值:
-
- 可选项:
-
- 描述:
用于控制编辑器的行高。可以设置为任何数字值。
lineNumbers
- 类型:
string
可选
- 默认值:
'on'
- 可选项:
'on' | 'off' | 'relative' | 'interval' | 'intervalRelative'
- 描述:
用于控制行号的显示方式。可以选择 'on'、'off'、'relative'、'interval' 或 'intervalRelative' 中的一种。
lineNumbersMinChars
- 类型:
number
可选
- 默认值:
5
- 可选项:
-
- 描述:
用于控制行号的最小字符数。可以设置为任何数字值。
linkedEditing
- 类型:
boolean
可选
- 默认值:
false
- 可选项:
-
- 描述:
用于控制是否启用链接编辑。如果启用了该设置,编辑器将在重命名符号时自动更新所有相关符号。如果禁用了该设置,则不会自动更新相关符号。
links
- 类型:
boolean
可选
- 默认值:
true
- 可选项:
-
- 描述:
用于控制是否启用链接。如果启用了该设置,编辑器将在代码中检测链接,并将其呈现为可单击的链接。如果禁用了该设置,则不会检测链接。
matchBrackets
- 类型:
boolean
可选
- 默认值:
true
- 可选项:
-
- 描述:
用于控制是否突出显示匹配的括号。如果启用了该设置,编辑器将使用颜色装饰器来突出显示匹配的括号。如果禁用了该设置,则不会使用颜色装饰器。
matchOnWordStartOnly
- 类型:
boolean
可选
- 默认值:
false
- 可选项:
-
- 描述:
用于控制是否仅在单词开头匹配。如果启用了该设置,编辑器将仅在单词开头匹配。如果禁用了该设置,则在单词中的任何位置都可以匹配。
minimap
',27),_=e("code",null,"可选",-1),E=e("li",null,[o("默认值: "),e("code",null,"-")],-1),O=e("li",null,[o("可选项: "),e("code",null,"-")],-1),S=e("li",null,[o("描述: "),e("code",null,"用于控制缩略图的行为。")],-1),I=c(' mouseStyle
- 类型:
string
可选
- 默认值:
'text'
- 可选项:
'text' | 'default' | 'copy'
- 描述:
用于控制鼠标样式。可以选择 'text'、'default' 或 'copy' 中的一种。
- 类型:
number
可选
- 默认值:
1
- 可选项:
-
- 描述:
用于控制鼠标滚轮滚动的灵敏度。可以设置为任何数字值。
mouseWheelZoom
- 类型:
boolean
可选
- 默认值:
false
- 可选项:
-
- 描述:
用于控制是否启用鼠标滚轮缩放。如果启用了该设置,编辑器将在使用鼠标滚轮时缩放。如果禁用了该设置,则不会缩放。
multiCursorLimit
- 类型:
number
可选
- 默认值:
-
- 可选项:
-
- 描述:
用于控制多光标的最大数量。可以设置为任何数字值。
multiCursorMergeOverlapping
- 类型:
boolean
可选
- 默认值:
true
- 可选项:
-
- 描述:
用于控制是否合并重叠的多光标。如果启用了该设置,编辑器将合并重叠的多光标。如果禁用了该设置,则不会合并重叠的多光标。
multiCursorModifier
- 类型:
string
可选
- 默认值:
'alt'
- 可选项:
'alt' | 'ctrl' | 'meta'
- 描述:
用于控制多光标的修改键。可以选择 'alt'、'ctrl' 或 'meta' 中的一种。
multiCursorPaste
- 类型:
string
可选
- 默认值:
'spread'
- 可选项:
'spread' | 'full'
- 描述:
用于控制多光标粘贴的行为。可以选择 'spread' 或 'full' 中的一种。
occurrencesHighlight
- 类型:
boolean
可选
- 默认值:
true
- 可选项:
-
- 描述:
用于控制是否突出显示所有出现。如果启用了该设置,编辑器将使用颜色装饰器来突出显示所有出现。如果禁用了该设置,则不会使用颜色装饰器。
- 类型:
Object
可选
- 默认值:
-
- 可选项:
-
- 描述:
用于设置溢出小部件的 DOM 节点。
overviewRulerBorder
- 类型:
boolean
可选
- 默认值:
true
- 可选项:
-
- 描述:
用于控制是否在概览标尺周围绘制边框。如果启用了该设置,编辑器将在概览标尺周围绘制边框。如果禁用了该设置,则不会绘制边框。
overviewRulerLanes
- 类型:
number
可选
- 默认值:
3
- 可选项:
-
- 描述:
用于控制概览标尺的宽度。可以设置为任何数字值。
padding
- 类型:
Object
可选
- 默认值:
-
- 可选项:
-
- 描述:
用于设置编辑器的填充。
parameterHints
- 类型:
Object
可选
- 默认值:
-
- 可选项:
-
- 描述:
用于控制参数提示的行为。
- 类型:
string
可选
- 默认值:
'editor'
- 可选项:
'editor' | 'tree'
- 描述:
用于控制查看小部件的默认焦点。可以选择 'editor' 或 'tree' 中的一种。
quickSuggestions
- 类型:
Object
可选
- 默认值:
true
- 可选项:
-
- 描述:
用于控制快速建议的行为。
quickSuggestionsDelay
- 类型:
number
可选
- 默认值:
10
- 可选项:
-
- 描述:
用于控制快速建议的延迟时间。可以设置为任何数字值。
readOnly
- 类型:
boolean
可选
- 默认值:
false
- 可选项:
-
- 描述:
用于控制编辑器是否为只读。如果启用了该设置,编辑器将为只读。如果禁用了该设置,则可以编辑。
renameOnType
- 类型:
boolean
可选
- 默认值:
false
- 可选项:
-
- 描述:
用于控制是否在输入时自动重命名符号。如果启用了该设置,编辑器将在输入时自动重命名符号。如果禁用了该设置,则不会自动重命名符号。
renderControlCharacters
- 类型:
boolean
可选
- 默认值:
false
- 可选项:
-
- 描述:
用于控制是否呈现控制字符。如果启用了该设置,编辑器将呈现控制字符。如果禁用了该设置,则不会呈现控制字符。
renderFinalNewline
- 类型:
boolean
可选
- 默认值:
true
- 可选项:
-
- 描述:
用于控制是否呈现最终换行符。如果启用了该设置,编辑器将呈现最终换行符。如果禁用了该设置,则不会呈现最终换行符。
renderLineHighlight
- 类型:
string
可选
- 默认值:
'line'
- 可选项:
'none' | 'gutter' | 'line' | 'all'
- 描述:
用于控制行高亮的行为。可以选择 'none'、'gutter'、'line' 或 'all' 中的一种。
renderLineHighlightOnlyWhenFocus
- 类型:
boolean
可选
- 默认值:
false
- 可选项:
-
- 描述:
用于控制是否仅在编辑器获得焦点时才突出显示行。如果启用了该设置,编辑器将仅在获得焦点时突出显示行。如果禁用了该设置,则始终突出显示行。
renderValidationDecorations
- 类型:
string
可选
- 默认值:
'on'
- 可选项:
'on' | 'off' | 'editable'
- 描述:
用于控制验证装饰的行为。可以选择 'on'、'off' 或 'editable' 中的一种。
renderWhitespace
- 类型:
string
可选
- 默认值:
'none'
- 可选项:
'none' | 'boundary' | 'all'
- 描述:
用于控制空格的呈现方式。可以选择 'none'、'boundary' 或 'all' 中的一种。
revealHorizontalRightPadding
- 类型:
number
可选
- 默认值:
0
- 可选项:
-
- 描述:
用于控制水平滚动时的右侧填充。可以设置为任何数字值。
roundedSelection
- 类型:
boolean
可选
- 默认值:
true
- 可选项:
-
- 描述:
用于控制是否使用圆角选择。如果启用了该设置,编辑器将使用圆角选择。如果禁用了该设置,则不会使用圆角选择。
rulers
- 类型:
Array
可选
- 默认值:
[]
- 可选项:
-
- 描述:
用于控制标尺的行为。
screenReaderAnnounceInlineSuggestion
- 类型:
string
可选
- 默认值:
'off'
- 可选项:
'off' | 'on' | 'auto'
- 描述:
用于控制屏幕阅读器是否应该在内联建议上进行注释。可以选择 'off'、'on' 或 'auto' 中的一种。
- 类型:
number
可选
- 默认值:
5
- 可选项:
-
- 描述:
用于控制水平滚动时的额外滚动量。可以设置为任何数字值。
- 类型:
boolean
可选
- 默认值:
true
- 可选项:
-
- 描述:
用于控制是否允许滚动超过最后一行。如果启用了该设置,编辑器将允许滚动超过最后一行。如果禁用了该设置,则不会滚动超过最后一行。
- 类型:
boolean
可选
- 默认值:
true
- 可选项:
-
- 描述:
用于控制是否优先滚动主轴。如果启用了该设置,编辑器将优先滚动主轴。如果禁用了该设置,则不会优先滚动主轴。
',63),A=e("code",null,"可选",-1),W=e("li",null,[o("默认值: "),e("code",null,"-")],-1),L=e("li",null,[o("可选项: "),e("code",null,"-")],-1),z=e("li",null,[o("描述: "),e("code",null,"用于设置滚动条的行为。配置如下")],-1),F=c(' selectOnLineNumbers
- 类型:
boolean
可选
- 默认值:
true
- 可选项:
-
- 描述:
用于控制是否在单击行号时选择整行。如果启用了该设置,编辑器将在单击行号时选择整行。如果禁用了该设置,则不会选择整行。
selectionClipboard
- 类型:
boolean
可选
- 默认值:
true
- 可选项:
-
- 描述:
用于控制是否将选择复制到剪贴板。如果启用了该设置,编辑器将将选择复制到剪贴板。如果禁用了该设置,则不会将选择复制到剪贴板。
selectionHighlight
- 类型:
boolean
可选
- 默认值:
true
- 可选项:
-
- 描述:
用于控制是否突出显示选定文本。如果启用了该设置,编辑器将突出显示选定文本。如果禁用了该设置,则不会突出显示选定文本。
showDeprecated
- 类型:
boolean
可选
- 默认值:
false
- 可选项:
-
- 描述:
用于控制是否显示已弃用的代码。如果启用了该设置,编辑器将显示已弃用的代码。如果禁用了该设置,则不会显示已弃用的代码。
showFoldingControls
- 类型:
string
可选
- 默认值:
'mouseover'
- 可选项:
'always' | 'mouseover'
- 描述:
用于控制折叠控件的显示方式。可以选择 'always' 或 'mouseover' 中的一种。
showUnused
- 类型:
boolean
可选
- 默认值:
true
- 可选项:
-
- 描述:
用于控制是否显示未使用的代码。如果启用了该设置,编辑器将显示未使用的代码。如果禁用了该设置,则不会显示未使用的代码。
smartSelect
- 类型:
boolean
可选
- 默认值:
true
- 可选项:
-
- 描述:
用于控制是否启用智能选择。如果启用了该设置,编辑器将使用智能算法来选择文本。如果禁用了该设置,则不会使用智能算法。
- 类型:
boolean
可选
- 默认值:
false
- 可选项:
-
- 描述:
用于控制是否启用平滑滚动。如果启用了该设置,编辑器将使用平滑滚动。如果禁用了该设置,则不会使用平滑滚动。
snippetSuggestions
- 类型:
string
可选
- 默认值:
'inline'
- 可选项:
'top' | 'bottom' | 'inline' | 'none'
- 描述:
用于控制代码段建议的显示位置。可以选择 'top'、'bottom'、'inline' 或 'none' 中的一种。
- 类型:
boolean
可选
- 默认值:
true
- 可选项:
-
- 描述:
用于控制是否启用粘性滚动。如果启用了该设置,编辑器将使用粘性滚动。如果禁用了该设置,则不会使用粘性滚动。
stickyTabStops
- 类型:
boolean
可选
- 默认值:
true
- 可选项:
-
- 描述:
用于控制是否启用粘性制表符。如果启用了该设置,编辑器将使用粘性制表符。如果禁用了该设置,则不会使用粘性制表符。
stopRenderingLineAfter
- 类型:
number
可选
- 默认值:
10000
- 可选项:
-
- 描述:
用于控制编辑器停止呈现行的数量。可以设置为任何数字值。
suggest
- 类型:
Object
可选
- 默认值:
-
- 可选项:
-
- 描述:
用于设置建议的行为。
suggestFontSize
- 类型:
number
可选
- 默认值:
-
- 可选项:
-
- 描述:
用于设置建议的字体大小。可以设置为任何数字值。
suggestLineHeight
- 类型:
number
可选
- 默认值:
-
- 可选项:
-
- 描述:
用于设置建议的行高。可以设置为任何数字值。
suggestOnTriggerCharacters
- 类型:
boolean
可选
- 默认值:
true
- 可选项:
-
- 描述:
用于控制是否在输入触发字符时显示建议。如果启用了该设置,编辑器将在输入触发字符时显示建议。如果禁用了该设置,则不会在输入触发字符时显示建议。
suggestSelection
- 类型:
string
可选
- 默认值:
'recentlyUsed'
- 可选项:
'first' | 'recentlyUsed' | 'recentlyUsedByPrefix'
- 描述:
用于控制建议列表中的默认选择。可以选择 'first'、'recentlyUsed' 或 'recentlyUsedByPrefix' 中的一种。
tabCompletion
- 类型:
string
可选
- 默认值:
'off'
- 可选项:
'on' | 'off' | 'onlySnippets'
- 描述:
用于控制制表符完成的行为。可以选择 'on'、'off' 或 'onlySnippets' 中的一种。
tabFocusMode
- 类型:
boolean
可选
- 默认值:
false
- 可选项:
-
- 描述:
用于控制是否启用制表符焦点模式。如果启用了该设置,编辑器将使用制表符焦点模式。如果禁用了该设置,则不会使用制表符焦点模式。
tabIndex
- 类型:
number
可选
- 默认值:
0
- 可选项:
-
- 描述:
用于设置编辑器的制表符索引。可以设置为任何数字值。
unfoldOnClickAfterEndOfLine
- 类型:
boolean
可选
- 默认值:
false
- 可选项:
-
- 描述:
用于控制是否在行末单击时展开代码。如果启用了该设置,编辑器将在行末单击时展开代码。如果禁用了该设置,则不会在行末单击时展开代码。
unicodeHighlight
- 类型:
boolean
可选
- 默认值:
true
- 可选项:
-
- 描述:
用于控制是否突出显示 Unicode 字符。如果启用了该设置,编辑器将突出显示 Unicode 字符。如果禁用了该设置,则不会突出显示 Unicode 字符。
unusualLineTerminators
- 类型:
string
可选
- 默认值:
'prompt'
- 可选项:
'off' | 'prompt' | 'auto'
- 描述:
用于控制是否在文件中检测到非常规行终止符时显示警告。可以选择 'off'、'prompt' 或 'auto' 中的一种。
useShadowDOM
- 类型:
boolean
可选
- 默认值:
false
- 可选项:
-
- 描述:
用于控制是否使用 Shadow DOM。如果启用了该设置,编辑器将使用 Shadow DOM。如果禁用了该设置,则不会使用 Shadow DOM。
useTabStops
- 类型:
boolean
可选
- 默认值:
true
- 可选项:
-
- 描述:
用于控制是否使用制表符停止。如果启用了该设置,编辑器将使用制表符停止。如果禁用了该设置,则不会使用制表符停止。
wordBreak
- 类型:
string
可选
- 默认值:
'default'
- 可选项:
'default' | 'none' | 'camelCase' | 'hyphenated'
- 描述:
用于控制单词如何断开。可以选择 'default'、'none'、'camelCase' 或 'hyphenated' 中的一种。
wordSeparators
- 类型:
string
可选
- 默认值:
'~!@#+%^&*()-=+[{]}\\|;:\\'",.<>/?'
- 可选项:
-
- 描述:
用于设置单词分隔符。可以设置为任何字符串值。
wordWrap
- 类型:
string
可选
- 默认值:
'off'
- 可选项:
'off' | 'on' | 'wordWrapColumn' | 'bounded'
- 描述:
用于控制文本如何换行。可以选择 'off'、'on'、'wordWrapColumn' 或 'bounded' 中的一种。
设置 Monaco Editor 中的单行最大长度,可以使用 wordWrap
选项和 wordWrapColumn
选项。
wordWrap
选项用于启用或禁用自动换行。如果禁用自动换行,则文本将在指定的列数内换行。wordWrapColumn
选项用于指定文本在哪个列数内换行。如果设置为0
,则禁用自动换行。
以下是一个示例代码,演示如何设置 Monaco Editor 中的单行最大长度:
codeconst editor = monaco.editor.create(document.getElementById("container"), {\n value: "Lorem ipsum dolor sit amet, consectetur adipiscing elit.",\n language: "javascript",\n wordWrap: "on",\n wordWrapColumn: 80\n});\n
在上面的示例中,wordWrap
选项设置为 on
,这意味着编辑器将在指定的列数(wordWrapColumn
选项)处换行。在这个例子中,wordWrapColumn
被设置为 80
,这意味着编辑器将在第 80 个字符处换行。 您可以根据需要调整 wordWrapColum
选项的值来设置单行最大长度。
wordWrapBreakAfterCharacters
- 类型:
string
可选
- 默认值: `' \\t})]?|&,;'``
- 可选项:
-
- 描述:
用于设置单词换行后的字符。可以设置为任何字符串值。
wordWrapBreakBeforeCharacters
- 类型:
string
可选
- 默认值: `'([{<'``
- 可选项:
-
- 描述:
用于设置单词换行前的字符。可以设置为任何字符串值。
wordWrapColumn
- 类型:
number
可选
- 默认值:
80
- 可选项:
-
- 描述:
用于设置文本的换行列。可以设置为任何数字值。
wordWrapOverride1
- 类型:
Function
可选
- 默认值:
-
- 可选项:
-
- 描述:
用于设置文本的自定义换行逻辑。可以设置为任何函数。
wordWrapOverride2
- 类型:
Function
可选
- 默认值:
-
- 可选项:
-
- 描述:
用于设置文本的自定义换行逻辑。可以设置为任何函数。
wrappingIndent
- 类型:
string
可选
- 默认值:
'none'
- 可选项:
'none' | 'same' | 'indent'
- 描述:
用于控制换行后的缩进。可以选择 'none'、'same' 或 'indent' 中的一种。
wrappingStrategy
- 类型:
string
可选
- 默认值:
'simple'
- 可选项:
'simple' | 'advanced'
- 描述:
用于控制文本的换行策略。可以选择 'simple' 或 'advanced' 中的一种。
',75);function B(R,M){const a=r("ExternalLinkIcon"),d=r("RouterLink");return t(),s("div",null,[u,e("p",null,[p,o(),e("a",f,[o("官网地址"),i(a)])]),b,e("ul",null,[e("li",null,[i(d,{to:"/editor/interfaces/IEditorOption.html"},{default:l(()=>[o("IEditorOptions")]),_:1}),e("ul",null,[e("li",null,[o("IEditorConstructionOptions "),e("ul",null,[e("li",null,[i(d,{to:"/editor/interfaces/IStandaloneEditorConstructionOptions.html"},{default:l(()=>[o("IStandaloneEditorConstructionOptions")]),_:1})])])])])])]),g,e("div",m,[x,e("p",null,[o("官方关于hover的演示样式,没有设置这个属性,但是此版本会发现hover的位置不符合预期,查看样式发现官方的是overflowingWidgets,当前版本的是overflowingContentWidgets,参考了"),e("a",y,[o("官方的issue"),i(a)]),o(" 加上此选项才正常")])]),v,e("ul",null,[e("li",null,[o("类型: "),i(d,{to:"/editor/interfaces/IEditorHoverOptions.html"},{default:l(()=>[o("editor.IEditorHoverOptions")]),_:1}),o(),D]),q,w,C]),k,e("ul",null,[e("li",null,[o("类型: "),i(d,{to:"/editor/interfaces/IEditorMinimapOptions.html"},{default:l(()=>[o("editor.IEditorMinimapOptions")]),_:1}),o(),_]),E,O,S]),I,e("ul",null,[e("li",null,[o("类型: "),i(d,{to:"/editor/interfaces/IEditorScrollbarOptions.html"},{default:l(()=>[o("IEditorScrollbarOptions")]),_:1}),o(),A]),W,L,z]),F])}const P=n(h,[["render",B],["__file","IEditorConstructionOptions.html.vue"]]);export{P as default};
diff --git a/assets/IEditorConstructionOptions.html-435a04b5.js b/assets/IEditorConstructionOptions.html-435a04b5.js
new file mode 100644
index 00000000..d3016df1
--- /dev/null
+++ b/assets/IEditorConstructionOptions.html-435a04b5.js
@@ -0,0 +1 @@
+const e=JSON.parse('{"key":"v-6c26f5f6","path":"/editor/interfaces/IEditorConstructionOptions.html","title":"IEditorConstructionOptions","lang":"zh-CN","frontmatter":{"description":"interface 官网地址 (https://microsoft.github.io/monaco-editor/docs.html#interfaces/editor.IEditorConstructionOptions.html) 继承关系: IEditorOptions (IEditorOption.md); IEditorConstructi...","head":[["meta",{"property":"og:url","content":"http://aydk.site/editor/interfaces/IEditorConstructionOptions.html"}],["meta",{"property":"og:site_name","content":"Monaco-editor 学习文档"}],["meta",{"property":"og:title","content":"IEditorConstructionOptions"}],["meta",{"property":"og:description","content":"interface 官网地址 (https://microsoft.github.io/monaco-editor/docs.html#interfaces/editor.IEditorConstructionOptions.html) 继承关系: IEditorOptions (IEditorOption.md); IEditorConstructi..."}],["meta",{"property":"og:type","content":"article"}],["meta",{"property":"og:locale","content":"zh-CN"}],["meta",{"property":"og:updated_time","content":"2023-06-16T20:04:45.000Z"}],["meta",{"property":"article:author","content":"aydk"}],["meta",{"property":"article:modified_time","content":"2023-06-16T20:04:45.000Z"}],["script",{"type":"application/ld+json"},"{\\"@context\\":\\"https://schema.org\\",\\"@type\\":\\"Article\\",\\"headline\\":\\"IEditorConstructionOptions\\",\\"image\\":[\\"\\"],\\"dateModified\\":\\"2023-06-16T20:04:45.000Z\\",\\"author\\":[{\\"@type\\":\\"Person\\",\\"name\\":\\"aydk\\"}]}"]]},"headers":[{"level":2,"title":"属性 Properties","slug":"属性-properties","link":"#属性-properties","children":[]},{"level":2,"title":"acceptSuggestionOnEnter","slug":"acceptsuggestiononenter","link":"#acceptsuggestiononenter","children":[]},{"level":2,"title":"accessibilityPageSize","slug":"accessibilitypagesize","link":"#accessibilitypagesize","children":[]},{"level":2,"title":"accessibilitySupport","slug":"accessibilitysupport","link":"#accessibilitysupport","children":[]},{"level":2,"title":"ariaLabel","slug":"arialabel","link":"#arialabel","children":[]},{"level":2,"title":"autoClosingBrackets","slug":"autoclosingbrackets","link":"#autoclosingbrackets","children":[]},{"level":2,"title":"autoClosingDelete","slug":"autoclosingdelete","link":"#autoclosingdelete","children":[]},{"level":2,"title":"autoClosingOvertype","slug":"autoclosingovertype","link":"#autoclosingovertype","children":[]},{"level":2,"title":"autoClosingQuotes","slug":"autoclosingquotes","link":"#autoclosingquotes","children":[]},{"level":2,"title":"autoIndent","slug":"autoindent","link":"#autoindent","children":[]},{"level":2,"title":"autoSurround","slug":"autosurround","link":"#autosurround","children":[]},{"level":2,"title":"automaticLayout","slug":"automaticlayout","link":"#automaticlayout","children":[]},{"level":2,"title":"bracketPairColorization","slug":"bracketpaircolorization","link":"#bracketpaircolorization","children":[]},{"level":2,"title":"codeActionsOnSaveTimeout","slug":"codeactionsonsavetimeout","link":"#codeactionsonsavetimeout","children":[]},{"level":2,"title":"codeLens","slug":"codelens","link":"#codelens","children":[]},{"level":2,"title":"codeLensFontFamily","slug":"codelensfontfamily","link":"#codelensfontfamily","children":[]},{"level":2,"title":"codeLensFontSize","slug":"codelensfontsize","link":"#codelensfontsize","children":[]},{"level":2,"title":"colorDecorators","slug":"colordecorators","link":"#colordecorators","children":[]},{"level":2,"title":"colorDecoratorsLimit","slug":"colordecoratorslimit","link":"#colordecoratorslimit","children":[]},{"level":2,"title":"columnSelection","slug":"columnselection","link":"#columnselection","children":[]},{"level":2,"title":"comments","slug":"comments","link":"#comments","children":[]},{"level":2,"title":"contextmenu","slug":"contextmenu","link":"#contextmenu","children":[]},{"level":2,"title":"copyWithSyntaxHighlighting","slug":"copywithsyntaxhighlighting","link":"#copywithsyntaxhighlighting","children":[]},{"level":2,"title":"cursorBlinking","slug":"cursorblinking","link":"#cursorblinking","children":[]},{"level":2,"title":"cursorSmoothCaretAnimation","slug":"cursorsmoothcaretanimation","link":"#cursorsmoothcaretanimation","children":[]},{"level":2,"title":"cursorStyle","slug":"cursorstyle","link":"#cursorstyle","children":[]},{"level":2,"title":"cursorSurroundingLines","slug":"cursorsurroundinglines","link":"#cursorsurroundinglines","children":[]},{"level":2,"title":"cursorSurroundingLinesStyle","slug":"cursorsurroundinglinesstyle","link":"#cursorsurroundinglinesstyle","children":[]},{"level":2,"title":"cursorWidth","slug":"cursorwidth","link":"#cursorwidth","children":[]},{"level":2,"title":"definitionLinkOpensInPeek","slug":"definitionlinkopensinpeek","link":"#definitionlinkopensinpeek","children":[]},{"level":2,"title":"dimension","slug":"dimension","link":"#dimension","children":[]},{"level":2,"title":"disableLayerHinting","slug":"disablelayerhinting","link":"#disablelayerhinting","children":[]},{"level":2,"title":"disableMonospaceOptimizations","slug":"disablemonospaceoptimizations","link":"#disablemonospaceoptimizations","children":[]},{"level":2,"title":"domReadOnly","slug":"domreadonly","link":"#domreadonly","children":[]},{"level":2,"title":"dragAndDrop","slug":"draganddrop","link":"#draganddrop","children":[]},{"level":2,"title":"dropIntoEditor","slug":"dropintoeditor","link":"#dropintoeditor","children":[]},{"level":2,"title":"emptySelectionClipboard","slug":"emptyselectionclipboard","link":"#emptyselectionclipboard","children":[]},{"level":2,"title":"experimentalWhitespaceRendering","slug":"experimentalwhitespacerendering","link":"#experimentalwhitespacerendering","children":[]},{"level":2,"title":"extraEditorClassName","slug":"extraeditorclassname","link":"#extraeditorclassname","children":[]},{"level":2,"title":"fastScrollSensitivity","slug":"fastscrollsensitivity","link":"#fastscrollsensitivity","children":[]},{"level":2,"title":"find","slug":"find","link":"#find","children":[]},{"level":2,"title":"fixedOverflowWidgets","slug":"fixedoverflowwidgets","link":"#fixedoverflowwidgets","children":[]},{"level":2,"title":"folding","slug":"folding","link":"#folding","children":[]},{"level":2,"title":"foldingHighlight","slug":"foldinghighlight","link":"#foldinghighlight","children":[]},{"level":2,"title":"foldingImportsByDefault","slug":"foldingimportsbydefault","link":"#foldingimportsbydefault","children":[]},{"level":2,"title":"foldingMaximumRegions","slug":"foldingmaximumregions","link":"#foldingmaximumregions","children":[]},{"level":2,"title":"foldingStrategy","slug":"foldingstrategy","link":"#foldingstrategy","children":[]},{"level":2,"title":"fontFamily","slug":"fontfamily","link":"#fontfamily","children":[]},{"level":2,"title":"fontLigatures","slug":"fontligatures","link":"#fontligatures","children":[]},{"level":2,"title":"fontSize","slug":"fontsize","link":"#fontsize","children":[]},{"level":2,"title":"fontVariations","slug":"fontvariations","link":"#fontvariations","children":[]},{"level":2,"title":"fontWeight","slug":"fontweight","link":"#fontweight","children":[]},{"level":2,"title":"formatOnPaste","slug":"formatonpaste","link":"#formatonpaste","children":[]},{"level":2,"title":"formatOnType","slug":"formatontype","link":"#formatontype","children":[]},{"level":2,"title":"glyphMargin","slug":"glyphmargin","link":"#glyphmargin","children":[]},{"level":2,"title":"gotoLocation","slug":"gotolocation","link":"#gotolocation","children":[]},{"level":2,"title":"guides","slug":"guides","link":"#guides","children":[]},{"level":2,"title":"hideCursorInOverviewRuler","slug":"hidecursorinoverviewruler","link":"#hidecursorinoverviewruler","children":[]},{"level":2,"title":"hover","slug":"hover","link":"#hover","children":[]},{"level":2,"title":"inDiffEditor","slug":"indiffeditor","link":"#indiffeditor","children":[]},{"level":2,"title":"inlayHints","slug":"inlayhints","link":"#inlayhints","children":[]},{"level":2,"title":"inlineSuggest","slug":"inlinesuggest","link":"#inlinesuggest","children":[]},{"level":2,"title":"letterSpacing","slug":"letterspacing","link":"#letterspacing","children":[]},{"level":2,"title":"lightbulb","slug":"lightbulb","link":"#lightbulb","children":[]},{"level":2,"title":"lineDecorationsWidth","slug":"linedecorationswidth","link":"#linedecorationswidth","children":[]},{"level":2,"title":"lineHeight","slug":"lineheight","link":"#lineheight","children":[]},{"level":2,"title":"lineNumbers","slug":"linenumbers","link":"#linenumbers","children":[]},{"level":2,"title":"lineNumbersMinChars","slug":"linenumbersminchars","link":"#linenumbersminchars","children":[]},{"level":2,"title":"linkedEditing","slug":"linkedediting","link":"#linkedediting","children":[]},{"level":2,"title":"links","slug":"links","link":"#links","children":[]},{"level":2,"title":"matchBrackets","slug":"matchbrackets","link":"#matchbrackets","children":[]},{"level":2,"title":"matchOnWordStartOnly","slug":"matchonwordstartonly","link":"#matchonwordstartonly","children":[]},{"level":2,"title":"minimap","slug":"minimap","link":"#minimap","children":[]},{"level":2,"title":"mouseStyle","slug":"mousestyle","link":"#mousestyle","children":[]},{"level":2,"title":"mouseWheelScrollSensitivity","slug":"mousewheelscrollsensitivity","link":"#mousewheelscrollsensitivity","children":[]},{"level":2,"title":"mouseWheelZoom","slug":"mousewheelzoom","link":"#mousewheelzoom","children":[]},{"level":2,"title":"multiCursorLimit","slug":"multicursorlimit","link":"#multicursorlimit","children":[]},{"level":2,"title":"multiCursorMergeOverlapping","slug":"multicursormergeoverlapping","link":"#multicursormergeoverlapping","children":[]},{"level":2,"title":"multiCursorModifier","slug":"multicursormodifier","link":"#multicursormodifier","children":[]},{"level":2,"title":"multiCursorPaste","slug":"multicursorpaste","link":"#multicursorpaste","children":[]},{"level":2,"title":"occurrencesHighlight","slug":"occurrenceshighlight","link":"#occurrenceshighlight","children":[]},{"level":2,"title":"overflowWidgetsDomNode","slug":"overflowwidgetsdomnode","link":"#overflowwidgetsdomnode","children":[]},{"level":2,"title":"overviewRulerBorder","slug":"overviewrulerborder","link":"#overviewrulerborder","children":[]},{"level":2,"title":"overviewRulerLanes","slug":"overviewrulerlanes","link":"#overviewrulerlanes","children":[]},{"level":2,"title":"padding","slug":"padding","link":"#padding","children":[]},{"level":2,"title":"parameterHints","slug":"parameterhints","link":"#parameterhints","children":[]},{"level":2,"title":"peekWidgetDefaultFocus","slug":"peekwidgetdefaultfocus","link":"#peekwidgetdefaultfocus","children":[]},{"level":2,"title":"quickSuggestions","slug":"quicksuggestions","link":"#quicksuggestions","children":[]},{"level":2,"title":"quickSuggestionsDelay","slug":"quicksuggestionsdelay","link":"#quicksuggestionsdelay","children":[]},{"level":2,"title":"readOnly","slug":"readonly","link":"#readonly","children":[]},{"level":2,"title":"renameOnType","slug":"renameontype","link":"#renameontype","children":[]},{"level":2,"title":"renderControlCharacters","slug":"rendercontrolcharacters","link":"#rendercontrolcharacters","children":[]},{"level":2,"title":"renderFinalNewline","slug":"renderfinalnewline","link":"#renderfinalnewline","children":[]},{"level":2,"title":"renderLineHighlight","slug":"renderlinehighlight","link":"#renderlinehighlight","children":[]},{"level":2,"title":"renderLineHighlightOnlyWhenFocus","slug":"renderlinehighlightonlywhenfocus","link":"#renderlinehighlightonlywhenfocus","children":[]},{"level":2,"title":"renderValidationDecorations","slug":"rendervalidationdecorations","link":"#rendervalidationdecorations","children":[]},{"level":2,"title":"renderWhitespace","slug":"renderwhitespace","link":"#renderwhitespace","children":[]},{"level":2,"title":"revealHorizontalRightPadding","slug":"revealhorizontalrightpadding","link":"#revealhorizontalrightpadding","children":[]},{"level":2,"title":"roundedSelection","slug":"roundedselection","link":"#roundedselection","children":[]},{"level":2,"title":"rulers","slug":"rulers","link":"#rulers","children":[]},{"level":2,"title":"screenReaderAnnounceInlineSuggestion","slug":"screenreaderannounceinlinesuggestion","link":"#screenreaderannounceinlinesuggestion","children":[]},{"level":2,"title":"scrollBeyondLastColumn","slug":"scrollbeyondlastcolumn","link":"#scrollbeyondlastcolumn","children":[]},{"level":2,"title":"scrollBeyondLastLine","slug":"scrollbeyondlastline","link":"#scrollbeyondlastline","children":[]},{"level":2,"title":"scrollPredominantAxis","slug":"scrollpredominantaxis","link":"#scrollpredominantaxis","children":[]},{"level":2,"title":"scrollbar","slug":"scrollbar","link":"#scrollbar","children":[]},{"level":2,"title":"selectOnLineNumbers","slug":"selectonlinenumbers","link":"#selectonlinenumbers","children":[]},{"level":2,"title":"selectionClipboard","slug":"selectionclipboard","link":"#selectionclipboard","children":[]},{"level":2,"title":"selectionHighlight","slug":"selectionhighlight","link":"#selectionhighlight","children":[]},{"level":2,"title":"showDeprecated","slug":"showdeprecated","link":"#showdeprecated","children":[]},{"level":2,"title":"showFoldingControls","slug":"showfoldingcontrols","link":"#showfoldingcontrols","children":[]},{"level":2,"title":"showUnused","slug":"showunused","link":"#showunused","children":[]},{"level":2,"title":"smartSelect","slug":"smartselect","link":"#smartselect","children":[]},{"level":2,"title":"smoothScrolling","slug":"smoothscrolling","link":"#smoothscrolling","children":[]},{"level":2,"title":"snippetSuggestions","slug":"snippetsuggestions","link":"#snippetsuggestions","children":[]},{"level":2,"title":"stickyScroll","slug":"stickyscroll","link":"#stickyscroll","children":[]},{"level":2,"title":"stickyTabStops","slug":"stickytabstops","link":"#stickytabstops","children":[]},{"level":2,"title":"stopRenderingLineAfter","slug":"stoprenderinglineafter","link":"#stoprenderinglineafter","children":[]},{"level":2,"title":"suggest","slug":"suggest","link":"#suggest","children":[]},{"level":2,"title":"suggestFontSize","slug":"suggestfontsize","link":"#suggestfontsize","children":[]},{"level":2,"title":"suggestLineHeight","slug":"suggestlineheight","link":"#suggestlineheight","children":[]},{"level":2,"title":"suggestOnTriggerCharacters","slug":"suggestontriggercharacters","link":"#suggestontriggercharacters","children":[]},{"level":2,"title":"suggestSelection","slug":"suggestselection","link":"#suggestselection","children":[]},{"level":2,"title":"tabCompletion","slug":"tabcompletion","link":"#tabcompletion","children":[]},{"level":2,"title":"tabFocusMode","slug":"tabfocusmode","link":"#tabfocusmode","children":[]},{"level":2,"title":"tabIndex","slug":"tabindex","link":"#tabindex","children":[]},{"level":2,"title":"unfoldOnClickAfterEndOfLine","slug":"unfoldonclickafterendofline","link":"#unfoldonclickafterendofline","children":[]},{"level":2,"title":"unicodeHighlight","slug":"unicodehighlight","link":"#unicodehighlight","children":[]},{"level":2,"title":"unusualLineTerminators","slug":"unusuallineterminators","link":"#unusuallineterminators","children":[]},{"level":2,"title":"useShadowDOM","slug":"useshadowdom","link":"#useshadowdom","children":[]},{"level":2,"title":"useTabStops","slug":"usetabstops","link":"#usetabstops","children":[]},{"level":2,"title":"wordBreak","slug":"wordbreak","link":"#wordbreak","children":[]},{"level":2,"title":"wordSeparators","slug":"wordseparators","link":"#wordseparators","children":[]},{"level":2,"title":"wordWrap","slug":"wordwrap","link":"#wordwrap","children":[]},{"level":2,"title":"wordWrapBreakAfterCharacters","slug":"wordwrapbreakaftercharacters","link":"#wordwrapbreakaftercharacters","children":[]},{"level":2,"title":"wordWrapBreakBeforeCharacters","slug":"wordwrapbreakbeforecharacters","link":"#wordwrapbreakbeforecharacters","children":[]},{"level":2,"title":"wordWrapColumn","slug":"wordwrapcolumn","link":"#wordwrapcolumn","children":[]},{"level":2,"title":"wordWrapOverride1","slug":"wordwrapoverride1","link":"#wordwrapoverride1","children":[]},{"level":2,"title":"wordWrapOverride2","slug":"wordwrapoverride2","link":"#wordwrapoverride2","children":[]},{"level":2,"title":"wrappingIndent","slug":"wrappingindent","link":"#wrappingindent","children":[]},{"level":2,"title":"wrappingStrategy","slug":"wrappingstrategy","link":"#wrappingstrategy","children":[]}],"git":{"createdTime":1686945885000,"updatedTime":1686945885000,"contributors":[{"name":"xiaochaochao","email":"xiaochaochao","commits":1}]},"readingTime":{"minutes":31.57,"words":9472},"filePathRelative":"editor/interfaces/IEditorConstructionOptions.md","localizedDate":"2023年6月16日","autoDesc":true}');export{e as data};
diff --git a/assets/IEditorContribution.html-397b25fb.js b/assets/IEditorContribution.html-397b25fb.js
new file mode 100644
index 00000000..c1f3ec64
--- /dev/null
+++ b/assets/IEditorContribution.html-397b25fb.js
@@ -0,0 +1 @@
+const t=JSON.parse('{"key":"v-5027587f","path":"/editor/interfaces/IEditorContribution.html","title":"IEditorContribution","lang":"zh-CN","frontmatter":{"description":"interface 官网地址 (https://microsoft.github.io/monaco-editor/docs.html#interfaces/editor.IEditorContribution.html) 每次创建新编辑器时都会创建编辑器贡献,并在编辑器被处置时被处置。 方法 Methods dispose 语法: dispose()...","head":[["meta",{"property":"og:url","content":"http://aydk.site/editor/interfaces/IEditorContribution.html"}],["meta",{"property":"og:site_name","content":"Monaco-editor 学习文档"}],["meta",{"property":"og:title","content":"IEditorContribution"}],["meta",{"property":"og:description","content":"interface 官网地址 (https://microsoft.github.io/monaco-editor/docs.html#interfaces/editor.IEditorContribution.html) 每次创建新编辑器时都会创建编辑器贡献,并在编辑器被处置时被处置。 方法 Methods dispose 语法: dispose()..."}],["meta",{"property":"og:type","content":"article"}],["meta",{"property":"og:locale","content":"zh-CN"}],["meta",{"property":"og:updated_time","content":"2023-06-16T20:04:45.000Z"}],["meta",{"property":"article:author","content":"aydk"}],["meta",{"property":"article:modified_time","content":"2023-06-16T20:04:45.000Z"}],["script",{"type":"application/ld+json"},"{\\"@context\\":\\"https://schema.org\\",\\"@type\\":\\"Article\\",\\"headline\\":\\"IEditorContribution\\",\\"image\\":[\\"\\"],\\"dateModified\\":\\"2023-06-16T20:04:45.000Z\\",\\"author\\":[{\\"@type\\":\\"Person\\",\\"name\\":\\"aydk\\"}]}"]]},"headers":[{"level":2,"title":"方法 Methods","slug":"方法-methods","link":"#方法-methods","children":[{"level":3,"title":"dispose","slug":"dispose","link":"#dispose","children":[]},{"level":3,"title":"restoreViewState?","slug":"restoreviewstate","link":"#restoreviewstate","children":[]},{"level":3,"title":"saveViewState?","slug":"saveviewstate","link":"#saveviewstate","children":[]}]}],"git":{"createdTime":1686945885000,"updatedTime":1686945885000,"contributors":[{"name":"xiaochaochao","email":"xiaochaochao","commits":1}]},"readingTime":{"minutes":0.32,"words":97},"filePathRelative":"editor/interfaces/IEditorContribution.md","localizedDate":"2023年6月16日","autoDesc":true}');export{t as data};
diff --git a/assets/IEditorContribution.html-400b701c.js b/assets/IEditorContribution.html-400b701c.js
new file mode 100644
index 00000000..2a6f5f42
--- /dev/null
+++ b/assets/IEditorContribution.html-400b701c.js
@@ -0,0 +1 @@
+import{_ as i}from"./plugin-vue_export-helper-c27b6911.js";import{r as a,o as r,c as d,a as e,b as t,d as n,e as s}from"./app-5f5ef0a9.js";const c={},l=e("h1",{id:"ieditorcontribution",tabindex:"-1"},[e("a",{class:"header-anchor",href:"#ieditorcontribution","aria-hidden":"true"},"#"),t(" IEditorContribution")],-1),h=e("code",null,"interface",-1),u={href:"https://microsoft.github.io/monaco-editor/docs.html#interfaces/editor.IEditorContribution.html",target:"_blank",rel:"noopener noreferrer"},_=s(' 方法 Methods
dispose
- 语法:
dispose(): void
- 参数: ``
- 返回值:
-
- 描述: ``
restoreViewState?
- 语法:
restoreViewState(state: any): void
- 参数:
state: any
- 返回值:
void
- 描述:
恢复视图状态。
saveViewState?
- 语法:
saveViewState(): any
- 参数: ``
- 返回值:
any
- 描述:
存储视图状态
',7);function f(m,b){const o=a("ExternalLinkIcon");return r(),d("div",null,[l,e("p",null,[h,t(),e("a",u,[t("官网地址"),n(o)]),t(" 每次创建新编辑器时都会创建编辑器贡献,并在编辑器被处置时被处置。")]),_])}const x=i(c,[["render",f],["__file","IEditorContribution.html.vue"]]);export{x as default};
diff --git a/assets/IEditorDecorationsCollection.html-4e38d23d.js b/assets/IEditorDecorationsCollection.html-4e38d23d.js
new file mode 100644
index 00000000..a533ac4c
--- /dev/null
+++ b/assets/IEditorDecorationsCollection.html-4e38d23d.js
@@ -0,0 +1 @@
+const e=JSON.parse('{"key":"v-682d9bc2","path":"/editor/interfaces/IEditorDecorationsCollection.html","title":"IEditorDecorationsCollection","lang":"zh-CN","frontmatter":{"description":"interface 官网地址 (https://microsoft.github.io/monaco-editor/docs.html#interfaces/editor.IEditorDecorationsCollection.html) 装饰品的集合 属性 Properties length 类型: number 可选; 默认值: -; 可选项: ...","head":[["meta",{"property":"og:url","content":"http://aydk.site/editor/interfaces/IEditorDecorationsCollection.html"}],["meta",{"property":"og:site_name","content":"Monaco-editor 学习文档"}],["meta",{"property":"og:title","content":"IEditorDecorationsCollection"}],["meta",{"property":"og:description","content":"interface 官网地址 (https://microsoft.github.io/monaco-editor/docs.html#interfaces/editor.IEditorDecorationsCollection.html) 装饰品的集合 属性 Properties length 类型: number 可选; 默认值: -; 可选项: ..."}],["meta",{"property":"og:type","content":"article"}],["meta",{"property":"og:locale","content":"zh-CN"}],["meta",{"property":"og:updated_time","content":"2023-06-16T20:04:45.000Z"}],["meta",{"property":"article:author","content":"aydk"}],["meta",{"property":"article:modified_time","content":"2023-06-16T20:04:45.000Z"}],["script",{"type":"application/ld+json"},"{\\"@context\\":\\"https://schema.org\\",\\"@type\\":\\"Article\\",\\"headline\\":\\"IEditorDecorationsCollection\\",\\"image\\":[\\"\\"],\\"dateModified\\":\\"2023-06-16T20:04:45.000Z\\",\\"author\\":[{\\"@type\\":\\"Person\\",\\"name\\":\\"aydk\\"}]}"]]},"headers":[{"level":2,"title":"属性 Properties","slug":"属性-properties","link":"#属性-properties","children":[{"level":3,"title":"length","slug":"length","link":"#length","children":[]},{"level":3,"title":"onDidChange","slug":"ondidchange","link":"#ondidchange","children":[]}]},{"level":2,"title":"方法 Methods","slug":"方法-methods","link":"#方法-methods","children":[{"level":3,"title":"clear","slug":"clear","link":"#clear","children":[]},{"level":3,"title":"getRange","slug":"getrange","link":"#getrange","children":[]},{"level":3,"title":"getRanges","slug":"getranges","link":"#getranges","children":[]},{"level":3,"title":"has","slug":"has","link":"#has","children":[]},{"level":3,"title":"set","slug":"set","link":"#set","children":[]}]}],"git":{"createdTime":1686945885000,"updatedTime":1686945885000,"contributors":[{"name":"xiaochaochao","email":"xiaochaochao","commits":1}]},"readingTime":{"minutes":0.74,"words":223},"filePathRelative":"editor/interfaces/IEditorDecorationsCollection.md","localizedDate":"2023年6月16日","autoDesc":true}');export{e as data};
diff --git a/assets/IEditorDecorationsCollection.html-f75203ae.js b/assets/IEditorDecorationsCollection.html-f75203ae.js
new file mode 100644
index 00000000..402d85d6
--- /dev/null
+++ b/assets/IEditorDecorationsCollection.html-f75203ae.js
@@ -0,0 +1 @@
+import{_ as c}from"./plugin-vue_export-helper-c27b6911.js";import{r as i,o as r,c as s,a as e,b as l,d as o,w as t,e as a}from"./app-5f5ef0a9.js";const h={},u=e("h1",{id:"ieditordecorationscollection",tabindex:"-1"},[e("a",{class:"header-anchor",href:"#ieditordecorationscollection","aria-hidden":"true"},"#"),l(" IEditorDecorationsCollection")],-1),_=e("code",null,"interface",-1),g={href:"https://microsoft.github.io/monaco-editor/docs.html#interfaces/editor.IEditorDecorationsCollection.html",target:"_blank",rel:"noopener noreferrer"},f=a(' 属性 Properties
length
- 类型:
number
可选
- 默认值:
-
- 可选项:
-
- 描述:
获取装饰计数。
onDidChange
',4),m=e("code",null,"可选",-1),b=e("li",null,[l("默认值: "),e("code",null,"-")],-1),x=e("li",null,[l("可选项: "),e("code",null,"-")],-1),D=e("li",null,[l("描述: "),e("code",null,"当编辑器中的装饰发生变化时发出的事件,但变化不是由我们设置或清除集合引起的。")],-1),p=a(' 方法 Methods
clear
- 语法:
clear(): void
- 参数: ``
- 返回值:
-
- 描述:
删除所有以前的装饰。
getRange
',4),I=e("li",null,[l("语法: "),e("code",null,"getRange(index: number): Range")],-1),R=e("li",null,[l("参数: "),e("ul",null,[e("li",null,[l("index: "),e("code",null,"number")])])],-1),E=e("li",null,[l("描述: "),e("code",null,"获取装饰的范围。")],-1),C=e("h3",{id:"getranges",tabindex:"-1"},[e("a",{class:"header-anchor",href:"#getranges","aria-hidden":"true"},"#"),l(" getRanges")],-1),M=e("li",null,[l("语法: "),e("code",null,"getRanges(): Range[]")],-1),k=e("li",null,"参数: ``",-1),v=e("li",null,[l("描述: "),e("code",null,"获取装饰品的所有范围。")],-1),w=e("h3",{id:"has",tabindex:"-1"},[e("a",{class:"header-anchor",href:"#has","aria-hidden":"true"},"#"),l(" has")],-1),L=e("li",null,[l("语法: "),e("code",null,"has(decoration: IModelDecoration): boolean")],-1),N=e("li",null,[l("返回值: "),e("code",null,"boolean")],-1),V=e("li",null,[l("描述: "),e("code",null,"确定装饰是否在此集合中。")],-1),B=e("h3",{id:"set",tabindex:"-1"},[e("a",{class:"header-anchor",href:"#set","aria-hidden":"true"},"#"),l(" set")],-1),y=e("li",null,[l("语法: "),e("code",null,"set(newDecorations: readonly IModelDeltaDecoration[]): string[]")],-1),P=e("li",null,[l("返回值: "),e("code",null,"string[]")],-1),S=e("li",null,[l("描述: "),e("code",null,"用 newDecorations 替换所有以前的装饰。")],-1);function T(j,q){const d=i("ExternalLinkIcon"),n=i("RouterLink");return r(),s("div",null,[u,e("p",null,[_,l(),e("a",g,[l("官网地址"),o(d)]),l(" 装饰品的集合")]),f,e("ul",null,[e("li",null,[l("类型: IEvent"),o(n,{to:"/editor/interfaces/IModelDecorationsChangedEvent.html"},{default:t(()=>[l("IModelDecorationsChangedEvent")]),_:1}),l(),m]),b,x,D]),p,e("ul",null,[I,R,e("li",null,[l("返回值: "),o(n,{to:"/global/classes/Range.html"},{default:t(()=>[l("Range")]),_:1})]),E]),C,e("ul",null,[M,k,e("li",null,[l("返回值: "),o(n,{to:"/global/classes/Range.html"},{default:t(()=>[l("Range")]),_:1})]),v]),w,e("ul",null,[L,e("li",null,[l("参数: "),e("ul",null,[e("li",null,[l("decoration: "),o(n,{to:"/editor/interfaces/IModelDecoration.html"},{default:t(()=>[l("IModelDecoration")]),_:1})])])]),N,V]),B,e("ul",null,[y,e("li",null,[l("参数: "),e("ul",null,[e("li",null,[l("newDecorations: "),o(n,{to:"/editor/interfaces/IModelDeltaDecoration.html"},{default:t(()=>[l("IModelDeltaDecoration")]),_:1}),l("[]")])])]),P,S])])}const F=c(h,[["render",T],["__file","IEditorDecorationsCollection.html.vue"]]);export{F as default};
diff --git a/assets/IEditorFindOptions.html-7e4caa5c.js b/assets/IEditorFindOptions.html-7e4caa5c.js
new file mode 100644
index 00000000..c23cd08d
--- /dev/null
+++ b/assets/IEditorFindOptions.html-7e4caa5c.js
@@ -0,0 +1 @@
+import{_ as a}from"./plugin-vue_export-helper-c27b6911.js";import{r as t,o as r,c as n,a as e,b as o,d,e as l}from"./app-5f5ef0a9.js";const c={},s=e("h1",{id:"ieditorfindoptions",tabindex:"-1"},[e("a",{class:"header-anchor",href:"#ieditorfindoptions","aria-hidden":"true"},"#"),o(" IEditorFindOptions")],-1),h=e("code",null,"interface",-1),u={href:"https://microsoft.github.io/monaco-editor/docs.html#interfaces/editor.IEditorFindOptions.html",target:"_blank",rel:"noopener noreferrer"},p=l(' 属性 Properties
参数 Properties
- 类型
boolean
- 说明 是否在编辑器的顶部增加额外的空格
autoFindInSelection?
- 类型
enum
- 可选项
"always" | "never" | "multiline"
- 说明 控制是否在编辑器中打开“在选择中查找”标志
cursorMoveOnType?
- 类型
boolean
- 说明 控制光标是否应在键入时移动以查找匹配项
loop?
- 类型
boolean
- 说明 控制搜索结果和差异结果是否在找不到更多匹配项时自动从头(或尾)重新开始
seedSearchStringFromSelection?
- 类型
enum
- 可选项
"always" | "never" | "selection"
- 说明 控制我们是否使用当前选中的字符串作为查找的初始值。
',12);function f(_,m){const i=t("ExternalLinkIcon");return r(),n("div",null,[s,e("p",null,[h,o(),e("a",u,[o("官网地址"),d(i)])]),p])}const q=a(c,[["render",f],["__file","IEditorFindOptions.html.vue"]]);export{q as default};
diff --git a/assets/IEditorFindOptions.html-85156053.js b/assets/IEditorFindOptions.html-85156053.js
new file mode 100644
index 00000000..c7ddbf8d
--- /dev/null
+++ b/assets/IEditorFindOptions.html-85156053.js
@@ -0,0 +1 @@
+const e=JSON.parse('{"key":"v-41bc2e44","path":"/editor/interfaces/IEditorFindOptions.html","title":"IEditorFindOptions","lang":"zh-CN","frontmatter":{"description":"interface 官网地址 (https://microsoft.github.io/monaco-editor/docs.html#interfaces/editor.IEditorFindOptions.html) 属性 Properties 参数 Properties addExtraSpaceOnTop 类型 boolean ; 说明 是否在...","head":[["meta",{"property":"og:url","content":"http://aydk.site/editor/interfaces/IEditorFindOptions.html"}],["meta",{"property":"og:site_name","content":"Monaco-editor 学习文档"}],["meta",{"property":"og:title","content":"IEditorFindOptions"}],["meta",{"property":"og:description","content":"interface 官网地址 (https://microsoft.github.io/monaco-editor/docs.html#interfaces/editor.IEditorFindOptions.html) 属性 Properties 参数 Properties addExtraSpaceOnTop 类型 boolean ; 说明 是否在..."}],["meta",{"property":"og:type","content":"article"}],["meta",{"property":"og:locale","content":"zh-CN"}],["meta",{"property":"og:updated_time","content":"2023-06-16T20:04:45.000Z"}],["meta",{"property":"article:author","content":"aydk"}],["meta",{"property":"article:modified_time","content":"2023-06-16T20:04:45.000Z"}],["script",{"type":"application/ld+json"},"{\\"@context\\":\\"https://schema.org\\",\\"@type\\":\\"Article\\",\\"headline\\":\\"IEditorFindOptions\\",\\"image\\":[\\"\\"],\\"dateModified\\":\\"2023-06-16T20:04:45.000Z\\",\\"author\\":[{\\"@type\\":\\"Person\\",\\"name\\":\\"aydk\\"}]}"]]},"headers":[{"level":2,"title":"属性 Properties","slug":"属性-properties","link":"#属性-properties","children":[]},{"level":2,"title":"参数 Properties","slug":"参数-properties","link":"#参数-properties","children":[{"level":3,"title":"addExtraSpaceOnTop","slug":"addextraspaceontop","link":"#addextraspaceontop","children":[]},{"level":3,"title":"autoFindInSelection?","slug":"autofindinselection","link":"#autofindinselection","children":[]},{"level":3,"title":"cursorMoveOnType?","slug":"cursormoveontype","link":"#cursormoveontype","children":[]},{"level":3,"title":"loop?","slug":"loop","link":"#loop","children":[]},{"level":3,"title":"seedSearchStringFromSelection?","slug":"seedsearchstringfromselection","link":"#seedsearchstringfromselection","children":[]}]}],"git":{"createdTime":1686945885000,"updatedTime":1686945885000,"contributors":[{"name":"xiaochaochao","email":"xiaochaochao","commits":1}]},"readingTime":{"minutes":0.56,"words":169},"filePathRelative":"editor/interfaces/IEditorFindOptions.md","localizedDate":"2023年6月16日","autoDesc":true}');export{e as data};
diff --git a/assets/IEditorHoverOptions.html-26086a00.js b/assets/IEditorHoverOptions.html-26086a00.js
new file mode 100644
index 00000000..3acebc5c
--- /dev/null
+++ b/assets/IEditorHoverOptions.html-26086a00.js
@@ -0,0 +1 @@
+import{_ as a}from"./plugin-vue_export-helper-c27b6911.js";import{r as i,o as t,c as d,a as e,b as o,d as l,e as n}from"./app-5f5ef0a9.js";const c={},s=e("h1",{id:"ieditorhoveroptions",tabindex:"-1"},[e("a",{class:"header-anchor",href:"#ieditorhoveroptions","aria-hidden":"true"},"#"),o(" IEditorHoverOptions")],-1),h=e("code",null,"interface",-1),u={href:"https://microsoft.github.io/monaco-editor/docs.html#interfaces/editor.IEditorHoverOptions.html",target:"_blank",rel:"noopener noreferrer"},_=n(' 属性 Properties
above?
- 类型
boolean
- 默认值
false
- 说明 hover的内容是否一定一直在行的上方
delay?
- 类型
number
- 默认值
300
- 说明 hover延迟出现的时间,默认值是300ms
enabled?
- 类型
boolean
- 默认值
true
- 说明 是否开启
sticky?
- 类型
boolean
- 默认值
true
- 说明 表示hover的内容是否可点击和选择
',9);function p(f,b){const r=i("ExternalLinkIcon");return t(),d("div",null,[s,e("p",null,[h,o(),e("a",u,[o("官网地址"),l(r)]),o(" 鼠标hover相关的配置")]),_])}const x=a(c,[["render",p],["__file","IEditorHoverOptions.html.vue"]]);export{x as default};
diff --git a/assets/IEditorHoverOptions.html-3eac9c75.js b/assets/IEditorHoverOptions.html-3eac9c75.js
new file mode 100644
index 00000000..7b52454c
--- /dev/null
+++ b/assets/IEditorHoverOptions.html-3eac9c75.js
@@ -0,0 +1 @@
+const e=JSON.parse('{"key":"v-7b09fbe6","path":"/editor/interfaces/IEditorHoverOptions.html","title":"IEditorHoverOptions","lang":"zh-CN","frontmatter":{"description":"interface 官网地址 (https://microsoft.github.io/monaco-editor/docs.html#interfaces/editor.IEditorHoverOptions.html) 鼠标hover相关的配置 属性 Properties above? 类型 boolean ; 默认值 false; 说明 hove...","head":[["meta",{"property":"og:url","content":"http://aydk.site/editor/interfaces/IEditorHoverOptions.html"}],["meta",{"property":"og:site_name","content":"Monaco-editor 学习文档"}],["meta",{"property":"og:title","content":"IEditorHoverOptions"}],["meta",{"property":"og:description","content":"interface 官网地址 (https://microsoft.github.io/monaco-editor/docs.html#interfaces/editor.IEditorHoverOptions.html) 鼠标hover相关的配置 属性 Properties above? 类型 boolean ; 默认值 false; 说明 hove..."}],["meta",{"property":"og:type","content":"article"}],["meta",{"property":"og:locale","content":"zh-CN"}],["meta",{"property":"og:updated_time","content":"2023-06-16T20:04:45.000Z"}],["meta",{"property":"article:author","content":"aydk"}],["meta",{"property":"article:modified_time","content":"2023-06-16T20:04:45.000Z"}],["script",{"type":"application/ld+json"},"{\\"@context\\":\\"https://schema.org\\",\\"@type\\":\\"Article\\",\\"headline\\":\\"IEditorHoverOptions\\",\\"image\\":[\\"\\"],\\"dateModified\\":\\"2023-06-16T20:04:45.000Z\\",\\"author\\":[{\\"@type\\":\\"Person\\",\\"name\\":\\"aydk\\"}]}"]]},"headers":[{"level":2,"title":"属性 Properties","slug":"属性-properties","link":"#属性-properties","children":[{"level":3,"title":"above?","slug":"above","link":"#above","children":[]},{"level":3,"title":"delay?","slug":"delay","link":"#delay","children":[]},{"level":3,"title":"enabled?","slug":"enabled","link":"#enabled","children":[]},{"level":3,"title":"sticky?","slug":"sticky","link":"#sticky","children":[]}]}],"git":{"createdTime":1686945885000,"updatedTime":1686945885000,"contributors":[{"name":"xiaochaochao","email":"xiaochaochao","commits":1}]},"readingTime":{"minutes":0.36,"words":107},"filePathRelative":"editor/interfaces/IEditorHoverOptions.md","localizedDate":"2023年6月16日","autoDesc":true}');export{e as data};
diff --git a/assets/IEditorInlayHintsOptions.html-462da72e.js b/assets/IEditorInlayHintsOptions.html-462da72e.js
new file mode 100644
index 00000000..9f245363
--- /dev/null
+++ b/assets/IEditorInlayHintsOptions.html-462da72e.js
@@ -0,0 +1 @@
+import{_ as t}from"./plugin-vue_export-helper-c27b6911.js";import{r as n,o as a,c as d,a as e,b as i,d as r,e as l}from"./app-5f5ef0a9.js";const s={},c=e("h1",{id:"ieditorinlayhintsoptions",tabindex:"-1"},[e("a",{class:"header-anchor",href:"#ieditorinlayhintsoptions","aria-hidden":"true"},"#"),i(" IEditorInlayHintsOptions")],-1),h=e("code",null,"interface",-1),f={href:"https://microsoft.github.io/monaco-editor/docs.html#interfaces/editor.IEditorInlayHintsOptions.html",target:"_blank",rel:"noopener noreferrer"},u=l(' 属性 Properties
enabled?
- 类型
enum
- 默认值
on
- 可选项
"on" | "off" | "offUnlessPressed" | "onUnlessPressed"
- 说明 是否允许配置行内提示
fontFamily?
- 类型
string
- 默认值
编辑器的字体
- 说明 行内提示的字体样式,默认为编辑器字体。
fontSize?
- 类型
number
- 可选项
editor font 90%
- 说明 行内提示的字体大小,默认为编辑器字体大小的 90%。
padding?
- 类型
boolean
- 默认值
false
- 说明 设置行内提示的padding
',9);function p(_,m){const o=n("ExternalLinkIcon");return a(),d("div",null,[c,e("p",null,[h,i(),e("a",f,[i("官网地址"),r(o)]),i(" 编辑器 editor inlayHints的配置")]),u])}const y=t(s,[["render",p],["__file","IEditorInlayHintsOptions.html.vue"]]);export{y as default};
diff --git a/assets/IEditorInlayHintsOptions.html-a23aae4e.js b/assets/IEditorInlayHintsOptions.html-a23aae4e.js
new file mode 100644
index 00000000..d864cefc
--- /dev/null
+++ b/assets/IEditorInlayHintsOptions.html-a23aae4e.js
@@ -0,0 +1 @@
+const t=JSON.parse('{"key":"v-e757955c","path":"/editor/interfaces/IEditorInlayHintsOptions.html","title":"IEditorInlayHintsOptions","lang":"zh-CN","frontmatter":{"description":"interface 官网地址 (https://microsoft.github.io/monaco-editor/docs.html#interfaces/editor.IEditorInlayHintsOptions.html) 编辑器 editor inlayHints的配置 属性 Properties enabled? 类型 enum ; 默认...","head":[["meta",{"property":"og:url","content":"http://aydk.site/editor/interfaces/IEditorInlayHintsOptions.html"}],["meta",{"property":"og:site_name","content":"Monaco-editor 学习文档"}],["meta",{"property":"og:title","content":"IEditorInlayHintsOptions"}],["meta",{"property":"og:description","content":"interface 官网地址 (https://microsoft.github.io/monaco-editor/docs.html#interfaces/editor.IEditorInlayHintsOptions.html) 编辑器 editor inlayHints的配置 属性 Properties enabled? 类型 enum ; 默认..."}],["meta",{"property":"og:type","content":"article"}],["meta",{"property":"og:locale","content":"zh-CN"}],["meta",{"property":"og:updated_time","content":"2023-06-16T20:04:45.000Z"}],["meta",{"property":"article:author","content":"aydk"}],["meta",{"property":"article:modified_time","content":"2023-06-16T20:04:45.000Z"}],["script",{"type":"application/ld+json"},"{\\"@context\\":\\"https://schema.org\\",\\"@type\\":\\"Article\\",\\"headline\\":\\"IEditorInlayHintsOptions\\",\\"image\\":[\\"\\"],\\"dateModified\\":\\"2023-06-16T20:04:45.000Z\\",\\"author\\":[{\\"@type\\":\\"Person\\",\\"name\\":\\"aydk\\"}]}"]]},"headers":[{"level":2,"title":"属性 Properties","slug":"属性-properties","link":"#属性-properties","children":[{"level":3,"title":"enabled?","slug":"enabled","link":"#enabled","children":[]},{"level":3,"title":"fontFamily?","slug":"fontfamily","link":"#fontfamily","children":[]},{"level":3,"title":"fontSize?","slug":"fontsize","link":"#fontsize","children":[]},{"level":3,"title":"padding?","slug":"padding","link":"#padding","children":[]}]}],"git":{"createdTime":1686945885000,"updatedTime":1686945885000,"contributors":[{"name":"xiaochaochao","email":"xiaochaochao","commits":1}]},"readingTime":{"minutes":0.44,"words":131},"filePathRelative":"editor/interfaces/IEditorInlayHintsOptions.md","localizedDate":"2023年6月16日","autoDesc":true}');export{t as data};
diff --git a/assets/IEditorLightbulbOptions.html-4790d690.js b/assets/IEditorLightbulbOptions.html-4790d690.js
new file mode 100644
index 00000000..55e48d79
--- /dev/null
+++ b/assets/IEditorLightbulbOptions.html-4790d690.js
@@ -0,0 +1 @@
+import{_ as i}from"./plugin-vue_export-helper-c27b6911.js";import{r,o as a,c as n,a as e,b as t,d,e as c}from"./app-5f5ef0a9.js";const l={},s=e("h1",{id:"ieditorlightbulboptions",tabindex:"-1"},[e("a",{class:"header-anchor",href:"#ieditorlightbulboptions","aria-hidden":"true"},"#"),t(" IEditorLightbulbOptions")],-1),h=e("code",null,"interface",-1),b={href:"https://microsoft.github.io/monaco-editor/docs.html#interfaces/editor.IEditorLightbulbOptions.html",target:"_blank",rel:"noopener noreferrer"},_=c(' 属性 Properties
enabled?
- 类型:
可选
- 默认值:
true
- 可选项:
-
- 描述:
指定是否启用灯泡代码的action
',3);function p(u,f){const o=r("ExternalLinkIcon");return a(),n("div",null,[s,e("p",null,[h,t(),e("a",b,[t("官网地址"),d(o)]),t(" 配置编辑器 lightbulb的配置")]),_])}const x=i(l,[["render",p],["__file","IEditorLightbulbOptions.html.vue"]]);export{x as default};
diff --git a/assets/IEditorLightbulbOptions.html-4b22256b.js b/assets/IEditorLightbulbOptions.html-4b22256b.js
new file mode 100644
index 00000000..a481539b
--- /dev/null
+++ b/assets/IEditorLightbulbOptions.html-4b22256b.js
@@ -0,0 +1 @@
+const t=JSON.parse('{"key":"v-a0e88720","path":"/editor/interfaces/IEditorLightbulbOptions.html","title":"IEditorLightbulbOptions","lang":"zh-CN","frontmatter":{"description":"interface 官网地址 (https://microsoft.github.io/monaco-editor/docs.html#interfaces/editor.IEditorLightbulbOptions.html) 配置编辑器 lightbulb的配置 属性 Properties enabled? 类型: 可选; 默认值: true; ...","head":[["meta",{"property":"og:url","content":"http://aydk.site/editor/interfaces/IEditorLightbulbOptions.html"}],["meta",{"property":"og:site_name","content":"Monaco-editor 学习文档"}],["meta",{"property":"og:title","content":"IEditorLightbulbOptions"}],["meta",{"property":"og:description","content":"interface 官网地址 (https://microsoft.github.io/monaco-editor/docs.html#interfaces/editor.IEditorLightbulbOptions.html) 配置编辑器 lightbulb的配置 属性 Properties enabled? 类型: 可选; 默认值: true; ..."}],["meta",{"property":"og:type","content":"article"}],["meta",{"property":"og:locale","content":"zh-CN"}],["meta",{"property":"og:updated_time","content":"2023-06-16T20:04:45.000Z"}],["meta",{"property":"article:author","content":"aydk"}],["meta",{"property":"article:modified_time","content":"2023-06-16T20:04:45.000Z"}],["script",{"type":"application/ld+json"},"{\\"@context\\":\\"https://schema.org\\",\\"@type\\":\\"Article\\",\\"headline\\":\\"IEditorLightbulbOptions\\",\\"image\\":[\\"\\"],\\"dateModified\\":\\"2023-06-16T20:04:45.000Z\\",\\"author\\":[{\\"@type\\":\\"Person\\",\\"name\\":\\"aydk\\"}]}"]]},"headers":[{"level":2,"title":"属性 Properties","slug":"属性-properties","link":"#属性-properties","children":[{"level":3,"title":"enabled?","slug":"enabled","link":"#enabled","children":[]}]}],"git":{"createdTime":1686945885000,"updatedTime":1686945885000,"contributors":[{"name":"xiaochaochao","email":"xiaochaochao","commits":1}]},"readingTime":{"minutes":0.16,"words":48},"filePathRelative":"editor/interfaces/IEditorLightbulbOptions.md","localizedDate":"2023年6月16日","autoDesc":true}');export{t as data};
diff --git a/assets/IEditorMinimapOptions.html-560e3bb5.js b/assets/IEditorMinimapOptions.html-560e3bb5.js
new file mode 100644
index 00000000..f704d39e
--- /dev/null
+++ b/assets/IEditorMinimapOptions.html-560e3bb5.js
@@ -0,0 +1 @@
+import{_ as d}from"./plugin-vue_export-helper-c27b6911.js";import{r as a,o as c,c as l,a as e,b as o,d as r,e as t}from"./app-5f5ef0a9.js";const n={},h=e("h1",{id:"ieditorminimapoptions",tabindex:"-1"},[e("a",{class:"header-anchor",href:"#ieditorminimapoptions","aria-hidden":"true"},"#"),o(" IEditorMinimapOptions")],-1),s=e("code",null,"interface",-1),u={href:"https://microsoft.github.io/monaco-editor/docs.html#interfaces/editor.IEditorMinimapOptions.html",target:"_blank",rel:"noopener noreferrer"},m=t(' 参数 Properties
autohide?
- 类型:
boolean
可选
- 默认值:
-
- 可选项:
-
- 描述:
控制minimap的渲染方式,意思为自动隐藏,当设置为false时,没有效果一直可见,设置为true时,默认不可见,鼠标悬浮时可见
enabled?
- 类型:
boolean
可选
- 默认值:
true
- 可选项:
-
- 描述:
一个布尔值,指示是否启用缩略图。默认为 true
maxColumn?
- 类型:
number
可选
- 默认值:
120
- 可选项:
-
- 描述:
渲染的最大列数,默认是120
renderCharacters?
- 类型:
boolean
可选
- 默认值:
true
- 可选项:
-
- 描述:
一个布尔值,指示是否在缩略图中显示字符。默认为 true 。当为true时,缩略图展示的和内容一致的字符串,否则展示的只是颜色和内容一致的色块
scale?
- 类型:
number
可选
- 默认值:
1
- 可选项:
-
- 描述:
字体的放大倍数,默认是1
showSlider?
- 类型:
enum
可选
- 默认值:
mouseover
- 可选项:
"always" | "mouseover"
- 描述:
指示是否显示缩略图上的滑块。默认为'mouseover' ,表示仅在鼠标悬停在缩略图上时显示滑块。如果设置为 true ,则始终显示滑块。如果设置为 false ,则不显示滑块。
side?
- 类型:
enum
可选
- 默认值:
right
- 可选项:
"right" | "left"
- 描述:
指示缩略图的位置。可以是 left 或 right 。默认为 right 。
size?
- 类型:
enum
可选
- 默认值:
actual
- 可选项:
-
- 描述:
"proportional" | "fill" | "fit"
',17);function p(f,_){const i=a("ExternalLinkIcon");return c(),l("div",null,[h,e("p",null,[s,o(),e("a",u,[o("官网地址"),r(i)]),o(" minimap的配置参数")]),m])}const q=d(n,[["render",p],["__file","IEditorMinimapOptions.html.vue"]]);export{q as default};
diff --git a/assets/IEditorMinimapOptions.html-6ab78c26.js b/assets/IEditorMinimapOptions.html-6ab78c26.js
new file mode 100644
index 00000000..9842c72d
--- /dev/null
+++ b/assets/IEditorMinimapOptions.html-6ab78c26.js
@@ -0,0 +1 @@
+const e=JSON.parse('{"key":"v-1892db76","path":"/editor/interfaces/IEditorMinimapOptions.html","title":"IEditorMinimapOptions","lang":"zh-CN","frontmatter":{"description":"interface 官网地址 (https://microsoft.github.io/monaco-editor/docs.html#interfaces/editor.IEditorMinimapOptions.html) minimap的配置参数 参数 Properties autohide? 类型: boolean 可选; 默认值: -; 可选...","head":[["meta",{"property":"og:url","content":"http://aydk.site/editor/interfaces/IEditorMinimapOptions.html"}],["meta",{"property":"og:site_name","content":"Monaco-editor 学习文档"}],["meta",{"property":"og:title","content":"IEditorMinimapOptions"}],["meta",{"property":"og:description","content":"interface 官网地址 (https://microsoft.github.io/monaco-editor/docs.html#interfaces/editor.IEditorMinimapOptions.html) minimap的配置参数 参数 Properties autohide? 类型: boolean 可选; 默认值: -; 可选..."}],["meta",{"property":"og:type","content":"article"}],["meta",{"property":"og:locale","content":"zh-CN"}],["meta",{"property":"og:updated_time","content":"2023-06-19T16:24:33.000Z"}],["meta",{"property":"article:author","content":"aydk"}],["meta",{"property":"article:modified_time","content":"2023-06-19T16:24:33.000Z"}],["script",{"type":"application/ld+json"},"{\\"@context\\":\\"https://schema.org\\",\\"@type\\":\\"Article\\",\\"headline\\":\\"IEditorMinimapOptions\\",\\"image\\":[\\"\\"],\\"dateModified\\":\\"2023-06-19T16:24:33.000Z\\",\\"author\\":[{\\"@type\\":\\"Person\\",\\"name\\":\\"aydk\\"}]}"]]},"headers":[{"level":2,"title":"参数 Properties","slug":"参数-properties","link":"#参数-properties","children":[{"level":3,"title":"autohide?","slug":"autohide","link":"#autohide","children":[]},{"level":3,"title":"enabled?","slug":"enabled","link":"#enabled","children":[]},{"level":3,"title":"maxColumn?","slug":"maxcolumn","link":"#maxcolumn","children":[]},{"level":3,"title":"renderCharacters?","slug":"rendercharacters","link":"#rendercharacters","children":[]},{"level":3,"title":"scale?","slug":"scale","link":"#scale","children":[]},{"level":3,"title":"showSlider?","slug":"showslider","link":"#showslider","children":[]},{"level":3,"title":"side?","slug":"side","link":"#side","children":[]},{"level":3,"title":"size?","slug":"size","link":"#size","children":[]}]}],"git":{"createdTime":1686945885000,"updatedTime":1687191873000,"contributors":[{"name":"xiaochaochao","email":"xiaochaochao","commits":2}]},"readingTime":{"minutes":1.22,"words":367},"filePathRelative":"editor/interfaces/IEditorMinimapOptions.md","localizedDate":"2023年6月16日","autoDesc":true}');export{e as data};
diff --git a/assets/IEditorMouseEvent.html-1c0daf73.js b/assets/IEditorMouseEvent.html-1c0daf73.js
new file mode 100644
index 00000000..14f6e117
--- /dev/null
+++ b/assets/IEditorMouseEvent.html-1c0daf73.js
@@ -0,0 +1 @@
+const e=JSON.parse('{"key":"v-a65d578c","path":"/editor/interfaces/IEditorMouseEvent.html","title":"IEditorMouseEvent","lang":"zh-CN","frontmatter":{"description":"interface 官网地址 (https://microsoft.github.io/monaco-editor/docs.html#interfaces/editor.IEditorMouseEvent.html) 属性 Properties event 类型:IMouseEvent (../../global/interfaces/IMouseE...","head":[["meta",{"property":"og:url","content":"http://aydk.site/editor/interfaces/IEditorMouseEvent.html"}],["meta",{"property":"og:site_name","content":"Monaco-editor 学习文档"}],["meta",{"property":"og:title","content":"IEditorMouseEvent"}],["meta",{"property":"og:description","content":"interface 官网地址 (https://microsoft.github.io/monaco-editor/docs.html#interfaces/editor.IEditorMouseEvent.html) 属性 Properties event 类型:IMouseEvent (../../global/interfaces/IMouseE..."}],["meta",{"property":"og:type","content":"article"}],["meta",{"property":"og:locale","content":"zh-CN"}],["meta",{"property":"og:updated_time","content":"2023-06-16T20:04:45.000Z"}],["meta",{"property":"article:author","content":"aydk"}],["meta",{"property":"article:modified_time","content":"2023-06-16T20:04:45.000Z"}],["script",{"type":"application/ld+json"},"{\\"@context\\":\\"https://schema.org\\",\\"@type\\":\\"Article\\",\\"headline\\":\\"IEditorMouseEvent\\",\\"image\\":[\\"\\"],\\"dateModified\\":\\"2023-06-16T20:04:45.000Z\\",\\"author\\":[{\\"@type\\":\\"Person\\",\\"name\\":\\"aydk\\"}]}"]]},"headers":[{"level":2,"title":"属性 Properties","slug":"属性-properties","link":"#属性-properties","children":[{"level":3,"title":"event","slug":"event","link":"#event","children":[]},{"level":3,"title":"target","slug":"target","link":"#target","children":[]}]}],"git":{"createdTime":1686945885000,"updatedTime":1686945885000,"contributors":[{"name":"xiaochaochao","email":"xiaochaochao","commits":1}]},"readingTime":{"minutes":0.26,"words":79},"filePathRelative":"editor/interfaces/IEditorMouseEvent.md","localizedDate":"2023年6月16日","autoDesc":true}');export{e as data};
diff --git a/assets/IEditorMouseEvent.html-5b10fc1e.js b/assets/IEditorMouseEvent.html-5b10fc1e.js
new file mode 100644
index 00000000..ecf70e3e
--- /dev/null
+++ b/assets/IEditorMouseEvent.html-5b10fc1e.js
@@ -0,0 +1 @@
+import{_ as i}from"./plugin-vue_export-helper-c27b6911.js";import{r as l,o as a,c as d,a as e,b as t,d as o,w as r}from"./app-5f5ef0a9.js";const c={},_=e("h1",{id:"ieditormouseevent",tabindex:"-1"},[e("a",{class:"header-anchor",href:"#ieditormouseevent","aria-hidden":"true"},"#"),t(" IEditorMouseEvent")],-1),u=e("code",null,"interface",-1),h={href:"https://microsoft.github.io/monaco-editor/docs.html#interfaces/editor.IEditorMouseEvent.html",target:"_blank",rel:"noopener noreferrer"},f=e("h2",{id:"属性-properties",tabindex:"-1"},[e("a",{class:"header-anchor",href:"#属性-properties","aria-hidden":"true"},"#"),t(" 属性 Properties")],-1),m=e("h3",{id:"event",tabindex:"-1"},[e("a",{class:"header-anchor",href:"#event","aria-hidden":"true"},"#"),t(" event")],-1),p=e("code",null,"只读",-1),v=e("li",null,[t("默认值: "),e("code",null,"-")],-1),E=e("li",null,[t("可选项: "),e("code",null,"-")],-1),x=e("li",null,[t("描述: "),e("code",null,"鼠标事件。")],-1),I=e("h3",{id:"target",tabindex:"-1"},[e("a",{class:"header-anchor",href:"#target","aria-hidden":"true"},"#"),t(" target")],-1),b=e("code",null,"只读",-1),g=e("li",null,[t("默认值: "),e("code",null,"-")],-1),k=e("li",null,[t("可选项: "),e("code",null,"-")],-1),M=e("li",null,[t("描述: "),e("code",null,"事件的目标元素。在此处,目标元素指的是编辑器中与鼠标事件相关的元素。")],-1);function L(B,N){const s=l("ExternalLinkIcon"),n=l("RouterLink");return a(),d("div",null,[_,e("p",null,[u,t(),e("a",h,[t("官网地址"),o(s)])]),f,m,e("ul",null,[e("li",null,[t("类型:"),o(n,{to:"/global/interfaces/IMouseEvent.html"},{default:r(()=>[t("IMouseEvent")]),_:1}),t(", "),p]),v,E,x]),I,e("ul",null,[e("li",null,[t("类型: "),o(n,{to:"/editor/aliase.html#imousetarget"},{default:r(()=>[t("IMouseTarget")]),_:1}),t(" , "),b]),g,k,M])])}const C=i(c,[["render",L],["__file","IEditorMouseEvent.html.vue"]]);export{C as default};
diff --git a/assets/IEditorOption.html-7471be5d.js b/assets/IEditorOption.html-7471be5d.js
new file mode 100644
index 00000000..84668571
--- /dev/null
+++ b/assets/IEditorOption.html-7471be5d.js
@@ -0,0 +1 @@
+import{_ as d}from"./plugin-vue_export-helper-c27b6911.js";import{r as t,o as r,c as n,a as e,b as a,d as l,w as c,e as s}from"./app-5f5ef0a9.js";const h={},u=e("h1",{id:"ieditoroption",tabindex:"-1"},[e("a",{class:"header-anchor",href:"#ieditoroption","aria-hidden":"true"},"#"),a(" IEditorOption")],-1),p=e("code",null,"interface",-1),_={href:"https://microsoft.github.io/monaco-editor/docs.html#interfaces/editor.IEditorOption.html",target:"_blank",rel:"noopener noreferrer"},f=s(' 属性 Properties
defaultValue
id
name
方法 Methods
applyUpdate
',9),m=e("li",null,[a("语法: "),e("code",null,"applyUpdate(value: V, update: V): ApplyUpdateResult")],-1),x=e("li",null,[a("参数: "),e("ul",null,[e("li",null,"value: V"),e("li",null,"update: V")])],-1),V=e("li",null,[a("描述: "),e("code",null,"可能修改值")],-1);function b(k,v){const i=t("ExternalLinkIcon"),o=t("RouterLink");return r(),n("div",null,[u,e("p",null,[p,a(),e("a",_,[a("官网地址"),l(i)])]),f,e("ul",null,[m,x,e("li",null,[a("返回值: "),l(o,{to:"/editor/classes/ApplyUpdateResult.html"},{default:c(()=>[a("ApplyUpdateResult")]),_:1}),a("")]),V])])}const I=d(h,[["render",b],["__file","IEditorOption.html.vue"]]);export{I as default};
diff --git a/assets/IEditorOption.html-ad3d5e06.js b/assets/IEditorOption.html-ad3d5e06.js
new file mode 100644
index 00000000..34737596
--- /dev/null
+++ b/assets/IEditorOption.html-ad3d5e06.js
@@ -0,0 +1 @@
+const t=JSON.parse('{"key":"v-45b5288c","path":"/editor/interfaces/IEditorOption.html","title":"IEditorOption","lang":"zh-CN","frontmatter":{"description":"interface 官网地址 (https://microsoft.github.io/monaco-editor/docs.html#interfaces/editor.IEditorOption.html) 属性 Properties defaultValue 类型: 必选 ; 默认值: -; 可选项: -; 描述: ; id 类型: 只读 ; 默...","head":[["meta",{"property":"og:url","content":"http://aydk.site/editor/interfaces/IEditorOption.html"}],["meta",{"property":"og:site_name","content":"Monaco-editor 学习文档"}],["meta",{"property":"og:title","content":"IEditorOption"}],["meta",{"property":"og:description","content":"interface 官网地址 (https://microsoft.github.io/monaco-editor/docs.html#interfaces/editor.IEditorOption.html) 属性 Properties defaultValue 类型: 必选 ; 默认值: -; 可选项: -; 描述: ; id 类型: 只读 ; 默..."}],["meta",{"property":"og:type","content":"article"}],["meta",{"property":"og:locale","content":"zh-CN"}],["meta",{"property":"og:updated_time","content":"2023-06-16T20:30:26.000Z"}],["meta",{"property":"article:author","content":"aydk"}],["meta",{"property":"article:modified_time","content":"2023-06-16T20:30:26.000Z"}],["script",{"type":"application/ld+json"},"{\\"@context\\":\\"https://schema.org\\",\\"@type\\":\\"Article\\",\\"headline\\":\\"IEditorOption\\",\\"image\\":[\\"\\"],\\"dateModified\\":\\"2023-06-16T20:30:26.000Z\\",\\"author\\":[{\\"@type\\":\\"Person\\",\\"name\\":\\"aydk\\"}]}"]]},"headers":[{"level":2,"title":"属性 Properties","slug":"属性-properties","link":"#属性-properties","children":[{"level":3,"title":"defaultValue","slug":"defaultvalue","link":"#defaultvalue","children":[]},{"level":3,"title":"id","slug":"id","link":"#id","children":[]},{"level":3,"title":"name","slug":"name","link":"#name","children":[]}]},{"level":2,"title":"方法 Methods","slug":"方法-methods","link":"#方法-methods","children":[{"level":3,"title":"applyUpdate","slug":"applyupdate","link":"#applyupdate","children":[]}]}],"git":{"createdTime":1686945885000,"updatedTime":1686947426000,"contributors":[{"name":"xiaochaochao","email":"xiaochaochao","commits":2}]},"readingTime":{"minutes":0.28,"words":84},"filePathRelative":"editor/interfaces/IEditorOption.md","localizedDate":"2023年6月16日","autoDesc":true}');export{t as data};
diff --git a/assets/IEditorOptions.html-0adc2e0b.js b/assets/IEditorOptions.html-0adc2e0b.js
new file mode 100644
index 00000000..85eda825
--- /dev/null
+++ b/assets/IEditorOptions.html-0adc2e0b.js
@@ -0,0 +1 @@
+const e=JSON.parse('{"key":"v-3a0fc185","path":"/editor/interfaces/IEditorOptions.html","title":"IEditorOptions","lang":"zh-CN","frontmatter":{"description":"interface 官网地址 (https://microsoft.github.io/monaco-editor/docs.html#interfaces/editor.IEditorOptions.html) 继承关系: IEditorOptions (IEditorOptions.md); IEditorConstructionOptions; ...","head":[["meta",{"property":"og:url","content":"http://aydk.site/editor/interfaces/IEditorOptions.html"}],["meta",{"property":"og:site_name","content":"Monaco-editor 学习文档"}],["meta",{"property":"og:title","content":"IEditorOptions"}],["meta",{"property":"og:description","content":"interface 官网地址 (https://microsoft.github.io/monaco-editor/docs.html#interfaces/editor.IEditorOptions.html) 继承关系: IEditorOptions (IEditorOptions.md); IEditorConstructionOptions; ..."}],["meta",{"property":"og:type","content":"article"}],["meta",{"property":"og:locale","content":"zh-CN"}],["meta",{"property":"og:updated_time","content":"2023-06-16T20:04:45.000Z"}],["meta",{"property":"article:author","content":"aydk"}],["meta",{"property":"article:modified_time","content":"2023-06-16T20:04:45.000Z"}],["script",{"type":"application/ld+json"},"{\\"@context\\":\\"https://schema.org\\",\\"@type\\":\\"Article\\",\\"headline\\":\\"IEditorOptions\\",\\"image\\":[\\"\\"],\\"dateModified\\":\\"2023-06-16T20:04:45.000Z\\",\\"author\\":[{\\"@type\\":\\"Person\\",\\"name\\":\\"aydk\\"}]}"]]},"headers":[{"level":2,"title":"属性 Properties","slug":"属性-properties","link":"#属性-properties","children":[]},{"level":2,"title":"acceptSuggestionOnEnter","slug":"acceptsuggestiononenter","link":"#acceptsuggestiononenter","children":[]},{"level":2,"title":"accessibilityPageSize","slug":"accessibilitypagesize","link":"#accessibilitypagesize","children":[]},{"level":2,"title":"accessibilitySupport","slug":"accessibilitysupport","link":"#accessibilitysupport","children":[]},{"level":2,"title":"ariaLabel","slug":"arialabel","link":"#arialabel","children":[]},{"level":2,"title":"autoClosingBrackets","slug":"autoclosingbrackets","link":"#autoclosingbrackets","children":[]},{"level":2,"title":"autoClosingDelete","slug":"autoclosingdelete","link":"#autoclosingdelete","children":[]},{"level":2,"title":"autoClosingOvertype","slug":"autoclosingovertype","link":"#autoclosingovertype","children":[]},{"level":2,"title":"autoClosingQuotes","slug":"autoclosingquotes","link":"#autoclosingquotes","children":[]},{"level":2,"title":"autoIndent","slug":"autoindent","link":"#autoindent","children":[]},{"level":2,"title":"autoSurround","slug":"autosurround","link":"#autosurround","children":[]},{"level":2,"title":"automaticLayout","slug":"automaticlayout","link":"#automaticlayout","children":[]},{"level":2,"title":"bracketPairColorization","slug":"bracketpaircolorization","link":"#bracketpaircolorization","children":[]},{"level":2,"title":"codeActionsOnSaveTimeout","slug":"codeactionsonsavetimeout","link":"#codeactionsonsavetimeout","children":[]},{"level":2,"title":"codeLens","slug":"codelens","link":"#codelens","children":[]},{"level":2,"title":"codeLensFontFamily","slug":"codelensfontfamily","link":"#codelensfontfamily","children":[]},{"level":2,"title":"codeLensFontSize","slug":"codelensfontsize","link":"#codelensfontsize","children":[]},{"level":2,"title":"colorDecorators","slug":"colordecorators","link":"#colordecorators","children":[]},{"level":2,"title":"colorDecoratorsLimit","slug":"colordecoratorslimit","link":"#colordecoratorslimit","children":[]},{"level":2,"title":"columnSelection","slug":"columnselection","link":"#columnselection","children":[]},{"level":2,"title":"comments","slug":"comments","link":"#comments","children":[]},{"level":2,"title":"contextmenu","slug":"contextmenu","link":"#contextmenu","children":[]},{"level":2,"title":"copyWithSyntaxHighlighting","slug":"copywithsyntaxhighlighting","link":"#copywithsyntaxhighlighting","children":[]},{"level":2,"title":"cursorBlinking","slug":"cursorblinking","link":"#cursorblinking","children":[]},{"level":2,"title":"cursorSmoothCaretAnimation","slug":"cursorsmoothcaretanimation","link":"#cursorsmoothcaretanimation","children":[]},{"level":2,"title":"cursorStyle","slug":"cursorstyle","link":"#cursorstyle","children":[]},{"level":2,"title":"cursorSurroundingLines","slug":"cursorsurroundinglines","link":"#cursorsurroundinglines","children":[]},{"level":2,"title":"cursorSurroundingLinesStyle","slug":"cursorsurroundinglinesstyle","link":"#cursorsurroundinglinesstyle","children":[]},{"level":2,"title":"cursorWidth","slug":"cursorwidth","link":"#cursorwidth","children":[]},{"level":2,"title":"definitionLinkOpensInPeek","slug":"definitionlinkopensinpeek","link":"#definitionlinkopensinpeek","children":[]},{"level":2,"title":"disableLayerHinting","slug":"disablelayerhinting","link":"#disablelayerhinting","children":[]},{"level":2,"title":"disableMonospaceOptimizations","slug":"disablemonospaceoptimizations","link":"#disablemonospaceoptimizations","children":[]},{"level":2,"title":"domReadOnly","slug":"domreadonly","link":"#domreadonly","children":[]},{"level":2,"title":"dragAndDrop","slug":"draganddrop","link":"#draganddrop","children":[]},{"level":2,"title":"dropIntoEditor","slug":"dropintoeditor","link":"#dropintoeditor","children":[]},{"level":2,"title":"emptySelectionClipboard","slug":"emptyselectionclipboard","link":"#emptyselectionclipboard","children":[]},{"level":2,"title":"experimentalWhitespaceRendering","slug":"experimentalwhitespacerendering","link":"#experimentalwhitespacerendering","children":[]},{"level":2,"title":"extraEditorClassName","slug":"extraeditorclassname","link":"#extraeditorclassname","children":[]},{"level":2,"title":"fastScrollSensitivity","slug":"fastscrollsensitivity","link":"#fastscrollsensitivity","children":[]},{"level":2,"title":"find","slug":"find","link":"#find","children":[]},{"level":2,"title":"fixedOverflowWidgets","slug":"fixedoverflowwidgets","link":"#fixedoverflowwidgets","children":[]},{"level":2,"title":"folding","slug":"folding","link":"#folding","children":[]},{"level":2,"title":"foldingHighlight","slug":"foldinghighlight","link":"#foldinghighlight","children":[]},{"level":2,"title":"foldingImportsByDefault","slug":"foldingimportsbydefault","link":"#foldingimportsbydefault","children":[]},{"level":2,"title":"foldingMaximumRegions","slug":"foldingmaximumregions","link":"#foldingmaximumregions","children":[]},{"level":2,"title":"foldingStrategy","slug":"foldingstrategy","link":"#foldingstrategy","children":[]},{"level":2,"title":"fontFamily","slug":"fontfamily","link":"#fontfamily","children":[]},{"level":2,"title":"fontLigatures","slug":"fontligatures","link":"#fontligatures","children":[]},{"level":2,"title":"fontSize","slug":"fontsize","link":"#fontsize","children":[]},{"level":2,"title":"fontVariations","slug":"fontvariations","link":"#fontvariations","children":[]},{"level":2,"title":"fontWeight","slug":"fontweight","link":"#fontweight","children":[]},{"level":2,"title":"formatOnPaste","slug":"formatonpaste","link":"#formatonpaste","children":[]},{"level":2,"title":"formatOnType","slug":"formatontype","link":"#formatontype","children":[]},{"level":2,"title":"glyphMargin","slug":"glyphmargin","link":"#glyphmargin","children":[]},{"level":2,"title":"gotoLocation","slug":"gotolocation","link":"#gotolocation","children":[]},{"level":2,"title":"guides","slug":"guides","link":"#guides","children":[]},{"level":2,"title":"hideCursorInOverviewRuler","slug":"hidecursorinoverviewruler","link":"#hidecursorinoverviewruler","children":[]},{"level":2,"title":"hover","slug":"hover","link":"#hover","children":[]},{"level":2,"title":"inDiffEditor","slug":"indiffeditor","link":"#indiffeditor","children":[]},{"level":2,"title":"inlayHints","slug":"inlayhints","link":"#inlayhints","children":[]},{"level":2,"title":"inlineSuggest","slug":"inlinesuggest","link":"#inlinesuggest","children":[]},{"level":2,"title":"letterSpacing","slug":"letterspacing","link":"#letterspacing","children":[]},{"level":2,"title":"lightbulb","slug":"lightbulb","link":"#lightbulb","children":[]},{"level":2,"title":"lineDecorationsWidth","slug":"linedecorationswidth","link":"#linedecorationswidth","children":[]},{"level":2,"title":"lineHeight","slug":"lineheight","link":"#lineheight","children":[]},{"level":2,"title":"lineNumbers","slug":"linenumbers","link":"#linenumbers","children":[]},{"level":2,"title":"lineNumbersMinChars","slug":"linenumbersminchars","link":"#linenumbersminchars","children":[]},{"level":2,"title":"linkedEditing","slug":"linkedediting","link":"#linkedediting","children":[]},{"level":2,"title":"links","slug":"links","link":"#links","children":[]},{"level":2,"title":"matchBrackets","slug":"matchbrackets","link":"#matchbrackets","children":[]},{"level":2,"title":"matchOnWordStartOnly","slug":"matchonwordstartonly","link":"#matchonwordstartonly","children":[]},{"level":2,"title":"minimap","slug":"minimap","link":"#minimap","children":[]},{"level":2,"title":"mouseStyle","slug":"mousestyle","link":"#mousestyle","children":[]},{"level":2,"title":"mouseWheelScrollSensitivity","slug":"mousewheelscrollsensitivity","link":"#mousewheelscrollsensitivity","children":[]},{"level":2,"title":"mouseWheelZoom","slug":"mousewheelzoom","link":"#mousewheelzoom","children":[]},{"level":2,"title":"multiCursorLimit","slug":"multicursorlimit","link":"#multicursorlimit","children":[]},{"level":2,"title":"multiCursorMergeOverlapping","slug":"multicursormergeoverlapping","link":"#multicursormergeoverlapping","children":[]},{"level":2,"title":"multiCursorModifier","slug":"multicursormodifier","link":"#multicursormodifier","children":[]},{"level":2,"title":"multiCursorPaste","slug":"multicursorpaste","link":"#multicursorpaste","children":[]},{"level":2,"title":"occurrencesHighlight","slug":"occurrenceshighlight","link":"#occurrenceshighlight","children":[]},{"level":2,"title":"overviewRulerBorder","slug":"overviewrulerborder","link":"#overviewrulerborder","children":[]},{"level":2,"title":"overviewRulerLanes","slug":"overviewrulerlanes","link":"#overviewrulerlanes","children":[]},{"level":2,"title":"padding","slug":"padding","link":"#padding","children":[]},{"level":2,"title":"parameterHints","slug":"parameterhints","link":"#parameterhints","children":[]},{"level":2,"title":"peekWidgetDefaultFocus","slug":"peekwidgetdefaultfocus","link":"#peekwidgetdefaultfocus","children":[]},{"level":2,"title":"quickSuggestions","slug":"quicksuggestions","link":"#quicksuggestions","children":[]},{"level":2,"title":"quickSuggestionsDelay","slug":"quicksuggestionsdelay","link":"#quicksuggestionsdelay","children":[]},{"level":2,"title":"readOnly","slug":"readonly","link":"#readonly","children":[]},{"level":2,"title":"renameOnType","slug":"renameontype","link":"#renameontype","children":[]},{"level":2,"title":"renderControlCharacters","slug":"rendercontrolcharacters","link":"#rendercontrolcharacters","children":[]},{"level":2,"title":"renderFinalNewline","slug":"renderfinalnewline","link":"#renderfinalnewline","children":[]},{"level":2,"title":"renderLineHighlight","slug":"renderlinehighlight","link":"#renderlinehighlight","children":[]},{"level":2,"title":"renderLineHighlightOnlyWhenFocus","slug":"renderlinehighlightonlywhenfocus","link":"#renderlinehighlightonlywhenfocus","children":[]},{"level":2,"title":"renderValidationDecorations","slug":"rendervalidationdecorations","link":"#rendervalidationdecorations","children":[]},{"level":2,"title":"renderWhitespace","slug":"renderwhitespace","link":"#renderwhitespace","children":[]},{"level":2,"title":"revealHorizontalRightPadding","slug":"revealhorizontalrightpadding","link":"#revealhorizontalrightpadding","children":[]},{"level":2,"title":"roundedSelection","slug":"roundedselection","link":"#roundedselection","children":[]},{"level":2,"title":"rulers","slug":"rulers","link":"#rulers","children":[]},{"level":2,"title":"screenReaderAnnounceInlineSuggestion","slug":"screenreaderannounceinlinesuggestion","link":"#screenreaderannounceinlinesuggestion","children":[]},{"level":2,"title":"scrollBeyondLastColumn","slug":"scrollbeyondlastcolumn","link":"#scrollbeyondlastcolumn","children":[]},{"level":2,"title":"scrollBeyondLastLine","slug":"scrollbeyondlastline","link":"#scrollbeyondlastline","children":[]},{"level":2,"title":"scrollPredominantAxis","slug":"scrollpredominantaxis","link":"#scrollpredominantaxis","children":[]},{"level":2,"title":"scrollbar","slug":"scrollbar","link":"#scrollbar","children":[]},{"level":2,"title":"selectOnLineNumbers","slug":"selectonlinenumbers","link":"#selectonlinenumbers","children":[]},{"level":2,"title":"selectionClipboard","slug":"selectionclipboard","link":"#selectionclipboard","children":[]},{"level":2,"title":"selectionHighlight","slug":"selectionhighlight","link":"#selectionhighlight","children":[]},{"level":2,"title":"showDeprecated","slug":"showdeprecated","link":"#showdeprecated","children":[]},{"level":2,"title":"showFoldingControls","slug":"showfoldingcontrols","link":"#showfoldingcontrols","children":[]},{"level":2,"title":"showUnused","slug":"showunused","link":"#showunused","children":[]},{"level":2,"title":"smartSelect","slug":"smartselect","link":"#smartselect","children":[]},{"level":2,"title":"smoothScrolling","slug":"smoothscrolling","link":"#smoothscrolling","children":[]},{"level":2,"title":"snippetSuggestions","slug":"snippetsuggestions","link":"#snippetsuggestions","children":[]},{"level":2,"title":"stickyScroll","slug":"stickyscroll","link":"#stickyscroll","children":[]},{"level":2,"title":"stickyTabStops","slug":"stickytabstops","link":"#stickytabstops","children":[]},{"level":2,"title":"stopRenderingLineAfter","slug":"stoprenderinglineafter","link":"#stoprenderinglineafter","children":[]},{"level":2,"title":"suggest","slug":"suggest","link":"#suggest","children":[]},{"level":2,"title":"suggestFontSize","slug":"suggestfontsize","link":"#suggestfontsize","children":[]},{"level":2,"title":"suggestLineHeight","slug":"suggestlineheight","link":"#suggestlineheight","children":[]},{"level":2,"title":"suggestOnTriggerCharacters","slug":"suggestontriggercharacters","link":"#suggestontriggercharacters","children":[]},{"level":2,"title":"suggestSelection","slug":"suggestselection","link":"#suggestselection","children":[]},{"level":2,"title":"tabCompletion","slug":"tabcompletion","link":"#tabcompletion","children":[]},{"level":2,"title":"tabFocusMode","slug":"tabfocusmode","link":"#tabfocusmode","children":[]},{"level":2,"title":"tabIndex","slug":"tabindex","link":"#tabindex","children":[]},{"level":2,"title":"unfoldOnClickAfterEndOfLine","slug":"unfoldonclickafterendofline","link":"#unfoldonclickafterendofline","children":[]},{"level":2,"title":"unicodeHighlight","slug":"unicodehighlight","link":"#unicodehighlight","children":[]},{"level":2,"title":"unusualLineTerminators","slug":"unusuallineterminators","link":"#unusuallineterminators","children":[]},{"level":2,"title":"useShadowDOM","slug":"useshadowdom","link":"#useshadowdom","children":[]},{"level":2,"title":"useTabStops","slug":"usetabstops","link":"#usetabstops","children":[]},{"level":2,"title":"wordBreak","slug":"wordbreak","link":"#wordbreak","children":[]},{"level":2,"title":"wordSeparators","slug":"wordseparators","link":"#wordseparators","children":[]},{"level":2,"title":"wordWrap","slug":"wordwrap","link":"#wordwrap","children":[]},{"level":2,"title":"wordWrapBreakAfterCharacters","slug":"wordwrapbreakaftercharacters","link":"#wordwrapbreakaftercharacters","children":[]},{"level":2,"title":"wordWrapBreakBeforeCharacters","slug":"wordwrapbreakbeforecharacters","link":"#wordwrapbreakbeforecharacters","children":[]},{"level":2,"title":"wordWrapColumn","slug":"wordwrapcolumn","link":"#wordwrapcolumn","children":[]},{"level":2,"title":"wordWrapOverride1","slug":"wordwrapoverride1","link":"#wordwrapoverride1","children":[]},{"level":2,"title":"wordWrapOverride2","slug":"wordwrapoverride2","link":"#wordwrapoverride2","children":[]},{"level":2,"title":"wrappingIndent","slug":"wrappingindent","link":"#wrappingindent","children":[]},{"level":2,"title":"wrappingStrategy","slug":"wrappingstrategy","link":"#wrappingstrategy","children":[]}],"git":{"createdTime":1686945885000,"updatedTime":1686945885000,"contributors":[{"name":"xiaochaochao","email":"xiaochaochao","commits":1}]},"readingTime":{"minutes":31.41,"words":9423},"filePathRelative":"editor/interfaces/IEditorOptions.md","localizedDate":"2023年6月16日","autoDesc":true}');export{e as data};
diff --git a/assets/IEditorOptions.html-7a90e770.js b/assets/IEditorOptions.html-7a90e770.js
new file mode 100644
index 00000000..bfd32b8e
--- /dev/null
+++ b/assets/IEditorOptions.html-7a90e770.js
@@ -0,0 +1,5 @@
+import{_ as n}from"./plugin-vue_export-helper-c27b6911.js";import{r,o as t,c as s,a as e,b as o,d as i,w as l,e as c}from"./app-5f5ef0a9.js";const h={},u=e("h1",{id:"ieditoroptions",tabindex:"-1"},[e("a",{class:"header-anchor",href:"#ieditoroptions","aria-hidden":"true"},"#"),o(" IEditorOptions")],-1),p=e("code",null,"interface",-1),f={href:"https://microsoft.github.io/monaco-editor/docs.html#interfaces/editor.IEditorOptions.html",target:"_blank",rel:"noopener noreferrer"},b=e("p",null,"继承关系:",-1),g=c(` 属性 Properties
acceptSuggestionOnCommitCharacter
- 类型:
Bollean
可选
- 默认值:
true
- 可选项:
true | false
- 描述:
用于控制在输入时是否自动接受建议。如果启用了该设置,当您输入一个特定的字符时,编辑器将自动接受建议。如果禁用了该设置,则不会自动接受建议。 如果要启用 acceptSuggestionOnCommitCharacter设置,将其设置为 true。如果要禁用该设置,则将其设置为 false。如果您希望在输入特定字符时自动接受建议,则可以将其设置为一个字符或字符数组。例如,如果要在输入 . 或 : 时自动接受建议,则可以将其设置为 ['.', ':']。
acceptSuggestionOnEnter
- 类型:
String
可选
- 默认值:
on
- 可选项:
"on" | "off" | "smart"
- 描述:
用于控制在按下 Enter键时是否自动接受建议。如果启用了该设置,当您按下Enter键时,编辑器将自动接受建议。如果禁用了该设置,则不会自动接受建议。
accessibilityPageSize
- 类型:
number
可选
- 默认值:
-
- 可选项:
-
- 描述:
用于指定辅助功能分页大小。如果启用了该设置,并且用户使用辅助功能浏览器或屏幕阅读器浏览编辑器内容,则编辑器将按照指定的分页大小进行分页。如果禁用了该设置,则不会进行分页。如果要禁用该设置,则将其设置为 null。
accessibilitySupport
- 类型:
string
可选
- 默认值:
auto
- 可选项:
"on" | "off" | "auto"
- 描述:
用于启用或禁用辅助功能支持。如果启用了该设置,则编辑器将支持辅助功能浏览器和屏幕阅读器。如果禁用了该设置,则不会支持辅助功能。
ARIA元素
ARIA(Accessible Rich Internet Applications)是一组用于增强Web应用程序可访问性的技术。ARIA元素是一种特殊的HTML元素,用于描述Web应用程序中的交互元素和控件,以便辅助功能浏览器和屏幕阅读器可以正确地解释和呈现这些元素。
ARIA元素包括角色(role)、状态(state)和属性(property)。角色定义了元素的类型和功能,状态描述了元素的当前状态,属性提供了有关元素的其他信息。
例如,一个按钮可以使用 role="button" 属性来指定其角色,使用 aria-pressed="true" 属性来指定其状态,使用 aria-label="Click me" 属性来指定其标签文本。
使用ARIA元素可以使Web应用程序更易于使用和访问,特别是对于那些使用辅助功能浏览器和屏幕阅读器的用户。
ariaLabel
- 类型:
string
可选
- 默认值:
-
- 可选项:
-
- 描述:
用于指定编辑器的ARIA标签。如果启用了该设置,则编辑器将使用指定的ARIA标签来描述编辑器。如果禁用了该设置,则编辑器将使用默认的ARIA标签。如果要禁用该设置,则将其设置为 null。
autoClosingBrackets
- 类型:
EditorAutoClosingStrategy
可选
- 默认值:
-
- 可选项:
"always" | "languageDefined" | "beforeWhitespace" | "never"
- 描述:
用于控制在输入括号时是否自动闭合括号。如果启用了该设置,当您输入左括号时,编辑器将自动插入右括号。如果禁用了该设置,则不会自动插入右括号。
autoClosingDelete
- 类型:
EditorAutoClosingEditStrategy
可选
- 默认值:
-
- 可选项:
"always" | "auto" | "never"
- 描述:
用于控制在删除括号时是否同时删除相应的右括号。如果启用了该设置,当您删除一个左括号时,编辑器将自动删除相应的右括号。如果禁用了该设置,则不会自动删除右括号。
。
补充
如果您希望仅在删除特定类型的括号时同时删除相应的右括号,则可以将其设置为一个对象,该对象包含要自动删除右括号的括号类型。例如,如果要仅在删除圆括号时同时删除相应的右括号,则可以将其设置为 { brackets: false, parentheses: true, curlyBraces: false } 。
autoClosingOvertype
- 类型:
EditorAutoClosingEditStrategy
可选
- 默认值:
-
- 可选项:
"always" | "auto" | "never"
- 描述:
用于控制在覆盖模式下输入括号时是否自动闭合括号。如果启用了该设置,当您在覆盖模式下输入一个左括号时,编辑器将自动插入相应的右括号。如果禁用了该设置,则不会自动插入右括号。如果您希望仅在输入特定类型的括号时自动闭合括号,配置同autoClosingDelete
autoClosingQuotes
- 类型:
EditorAutoClosingStrategy
可选
- 默认值:
-
- 可选项:
"always" | "languageDefined" | "beforeWhitespace" | "never"
- 描述:
用于控制在输入引号时是否自动闭合引号。如果启用了该设置,当您输入一个引号时,编辑器将自动插入相应的另一个引号。如果禁用了该设置,则不会自动插入另一个引号。
补充
如果您希望仅在输入特定类型的引号时自动闭合引号,则可以将其设置为一个对象,该对象包含要自动闭合的引号类型。例如,如果要仅在输入双引号时自动闭合引号,则可以将其设置为 { languageDefined: false, mark: '"' }。
autoIndent
- 类型:
string
可选
- 默认值:
advanced
- 可选项:
"none" | "advanced" | "full" | "brackets" | "keep"
- 描述:
用于控制在输入新行时是否自动缩进。如果启用了该设置,当您在新行中输入内容时,编辑器将自动缩进到与上一行相同的缩进级别。如果禁用了该设置,则不会自动缩进。
每个取值的含义
"none":禁用自动缩进。不会自动缩进。
"advanced":启用高级自动缩进。编辑器将尝试根据上下文自动缩进,而不仅仅是复制上一行的缩进级别。这是默认值。
"full":启用完全自动缩进。编辑器将尝试根据上下文自动缩进,并在需要时自动调整缩进级别。这可能会导致缩进级别的不一致。
"brackets":启用基于括号的自动缩进。编辑器将尝试根据括号匹配自动缩进,并在需要时自动调整缩进级别。这可能会导致缩进级别的不一致。
"keep":保持缩进不变。编辑器将不会自动缩进,而是保留输入的缩进
autoSurround
- 类型:
string
可选
- 默认值:
advanced
- 可选项:
"languageDefined" | "quotes" | "brackets" | "never"
- 描述:
用于控制在选中文本并输入括号或引号时是否自动将文本包裹在括号或引号中。如果启用了该设置,当您选中文本并输入括号或引号时,编辑器将自动将文本包裹在括号或引号中。如果禁用了该设置,则不会自动包裹文本。
每个取值的含义
"languageDefined":根据语言定义自动添加括号或引号。
"quotes":自动添加引号。
"brackets":自动添加括号。
"never":不自动添加括号或引号。
automaticLayout
- 类型:
boolean
可选
- 默认值:
false
- 可选项:
-
- 描述:
用于控制编辑器是否自动调整其布局以适应其容器的大小。如果启用了该设置,当编辑器所在的容器大小发生变化时,编辑器将自动调整其布局以适应新的容器大小。如果禁用了该设置,则编辑器将保持其初始大小,不会自动调整布局。
bracketPairColorization
- 类型:
IBracketPairColorizationOptions
可选
- 默认值:
disable
- 可选项:
-
- 描述:
用于控制是否启用括号配对颜色。
IBracketPairColorizationOptions
"enabled":如果启用了该设置,当您将光标放在一个括号上时,编辑器将突出显示与该括号配对的另一个括号。如果禁用了该设置,则不会突出显示括号配对。
"independentColorPoolPerBracketType":用于控制是否为不同类型的括号使用独立的颜色池。如果启用了该设置,编辑器将为每种类型的括号(例如圆括号、方括号、花括号等)使用独立的颜色池,以确保每种类型的括号都有不同的突出显示颜色。如果禁用了该设置,则编辑器将使用相同的颜色池为所有类型的括号分配颜色。
codeActionsOnSaveTimeout
- 类型:
number
可选
- 默认值:
-
- 可选项:
-
- 描述:
用于控制在保存文件时执行代码操作的超时时间。如果启用了该设置,当您保存文件时,编辑器将等待指定的时间(以毫秒为单位),以便在执行代码操作之前等待其他可能的代码操作完成。如果禁用了该设置,则编辑器将立即执行代码操作。(以毫秒为单位)
codeLens
- 类型:
boolean
可选
- 默认值:
true
- 可选项:
-
- 描述:
用于控制是否启用代码镜头功能。如果启用了该设置,编辑器将在代码中显示代码镜头,这些代码镜头可以提供有关代码的其他信息,例如代码的引用、测试覆盖率等。如果禁用了该设置,则不会显示代码镜头。
codeLensFontFamily
- 类型:
string
可选
- 默认值:
editor font family
- 可选项:
-
- 描述:
用于控制代码镜头中文本的字体系列。如果启用了该设置,编辑器将使用指定的字体系列来呈现代码镜头中的文本。如果禁用了该设置,则编辑器将使用默认的字体系列。
codeLensFontSize
- 类型:
number
可选
- 默认值:
90% of the editor font size
- 可选项:
-
- 描述:
用于控制代码镜头中文本的字体大小。如果启用了该设置,编辑器将使用指定的字体大小来呈现代码镜头中的文本。如果禁用了该设置,则编辑器将使用默认的字体大小。
colorDecorators
- 类型:
boolean
可选
- 默认值:
-
- 可选项:
-
- 描述:
用于控制是否启用颜色装饰器。如果启用了该设置,编辑器将使用颜色装饰器来突出显示代码中的特定文本,例如变量、函数等。如果禁用了该设置,则不会使用颜色装饰器。
colorDecoratorsLimit
- 类型:
number
可选
- 默认值:
-
- 可选项:
-
- 描述:
用于控制颜色装饰器的最大数量。如果启用了该设置,编辑器将限制颜色装饰器的数量,以避免性能问题。如果禁用了该设置,则编辑器将不会限制颜色装饰器的数量。
columnSelection
- 类型:
boolean
可选
- 默认值:
false
- 可选项:
-
- 描述:
用于控制是否启用列选择模式。如果启用了该设置,编辑器将允许您选择文本的列而不是行。如果禁用了该设置,则编辑器将只允许您选择文本的行。
- 类型:
IEditorCommentsOptions
可选
- 默认值:
-
- 可选项:
-
- 描述:
用于控制是否启用注释功能。如果启用了该设置,编辑器将允许您在代码中添加注释。如果禁用了该设置,则不会允许添加注释。
IEditorCommentsOptions
"ignoreEmptyLines":用于控制是否忽略空行。如果启用了该设置,编辑器将忽略注释中的空行。如果禁用了该设置,则不会忽略空行。
"insertSpace":用于控制是否在注释标记后插入空格。如果启用了该设置,编辑器将在注释标记后插入一个空格。如果禁用了该设置,则不会插入空格。
- 类型:
boolean
可选
- 默认值:
true
- 可选项:
-
- 描述:
用于控制编辑器中右键菜单的内容和行为,如果启用了该设置,编辑器将在右键单击时显示上下文菜单。如果禁用了该设置,则不会显示上下文菜单。
monaco.editor.create(domElement, {
+ // ...
+ contextmenu: true, // 启用右键菜单
+});
+
注意
contextmenuItems、contextmenuCommands 最新版本已经不再支持
copyWithSyntaxHighlighting
- 类型:
boolean
可选
- 默认值:
-
- 可选项:
-
- 描述:
可以将编辑器中的文本复制到剪贴板,并保留语法高亮。
cursorBlinking
- 类型:
string
可选
- 默认值:
blink
- 可选项:
"blink" | "smooth" | "phase" | "expand" | "solid"
- 描述:
用于控制光标的闪烁方式
提示
"blink": 光标以常规速度闪烁。
"smooth": 光标以平滑的方式闪烁。
"phase": 光标以相位的方式闪烁。
"expand": 光标在插入字符时扩展,然后再缩小。
"solid": 光标不闪烁,而是一直显示为实心。
cursorSmoothCaretAnimation
- 类型:
boolean
可选
- 默认值:
false
- 可选项:
-
- 描述:
用于控制光标的平滑动画。如果启用了该设置,光标将以平滑的方式移动。如果禁用了该设置,则光标将以常规方式移动。
cursorStyle
- 类型:
string
可选
- 默认值:
'line'
- 可选项:
'line' | 'block' | 'underline'
- 描述:
用于控制光标的样式。可以选择 'line'、'block' 或 'underline' 中的一种。
cursorSurroundingLines
- 类型:
number
可选
- 默认值:
0
- 可选项:
-
- 描述:
用于控制光标周围的行数。如果设置为 0,则不会滚动视图。如果设置为 1,则将滚动视图以确保光标周围的一行可见。如果设置为 2,则将滚动视图以确保光标周围的两行可见,依此类推。
cursorSurroundingLinesStyle
- 类型:
string
可选
- 默认值:
'default'
- 可选项:
'default' | 'all'
- 描述:
用于控制光标周围行的样式。如果设置为 'default',则只有当前行的背景色会发生变化。如果设置为 'all',则所有周围行的背景色都会发生变化。
cursorWidth
- 类型:
number
可选
- 默认值:
0
- 可选项:
-
- 描述:
用于控制光标的宽度。如果设置为 0,则使用默认宽度。如果设置为大于 0 的值,则使用指定的宽度。
definitionLinkOpensInPeek
- 类型:
boolean
可选
- 默认值:
false
- 可选项:
-
- 描述:
用于控制定义链接的行为。如果启用了该设置,单击定义链接将在 Peek 视图中打开定义。如果禁用了该设置,则单击定义链接将在新窗口中打开定义。
disableLayerHinting
- 类型:
boolean
可选
- 默认值:
false
- 可选项:
-
- 描述:
用于控制是否禁用图层提示。如果启用了该设置,编辑器将不会显示图层提示。如果禁用了该设置,则会显示图层提示。
disableMonospaceOptimizations
- 类型:
boolean
可选
- 默认值:
false
- 可选项:
-
- 描述:
用于控制是否禁用等宽字体优化。如果启用了该设置,编辑器将不会使用等宽字体优化。如果禁用了该设置,则会使用等宽字体优化。
domReadOnly
- 类型:
boolean
可选
- 默认值:
false
- 可选项:
-
- 描述:
用于控制是否将编辑器设置为只读模式。如果启用了该设置,编辑器将无法编辑。如果禁用了该设置,则可以编辑编辑器。
dragAndDrop
- 类型:
boolean
可选
- 默认值:
true
- 可选项:
-
- 描述:
用于控制是否启用拖放功能。如果启用了该设置,编辑器将支持拖放文件和文本。如果禁用了该设置,则不会支持拖放。
dropIntoEditor
- 类型:
boolean
可选
- 默认值:
false
- 可选项:
-
- 描述:
用于控制是否启用将文件拖放到编辑器中的功能。如果启用了该设置,编辑器将支持将文件拖放到编辑器中。如果禁用了该设置,则不会支持将文件拖放到编辑器中。
emptySelectionClipboard
- 类型:
boolean
可选
- 默认值:
true
- 可选项:
-
- 描述:
用于控制是否启用空选择剪贴板功能。如果启用了该设置,编辑器将支持将空选择复制到剪贴板中。如果禁用了该设置,则不会支持将空选择复制到剪贴板中。
experimentalWhitespaceRendering
- 类型:
boolean
可选
- 默认值:
false
- 可选项:
-
- 描述:
用于控制是否启用实验性的空格渲染功能。如果启用了该设置,编辑器将使用实验性的空格渲染功能来渲染空格。如果禁用了该设置,则不会使用实验性的空格渲染功能。
- 类型:
string
可选
- 默认值:
-
- 可选项:
-
- 描述:
用于控制编辑器的额外类名。可以使用该设置来自定义编辑器的样式。
- 类型:
number
可选
- 默认值:
5
- 可选项:
-
- 描述:
用于控制快速滚动的灵敏度。如果启用了该设置,编辑器将在快速滚动时更加灵敏。如果禁用了该设置,则在快速滚动时不会更加灵敏。
find
- 类型:
Object
可选
- 默认值:
false
- 可选项:
-
- 描述:
用于控制
- 类型:
bool
可选
- 默认值:
-
- 可选项:
-
- 描述:
用于控制overflowingContentWidgets的现实方式
`,93),m={class:"hint-container tip"},x=e("p",{class:"hint-container-title"},"注意",-1),y={href:"https://github.com/microsoft/monaco-editor/issues/480",target:"_blank",rel:"noopener noreferrer"},v=c(' folding
- 类型:
boolean
可选
- 默认值:
true
- 可选项:
-
- 描述:
用于控制是否启用代码折叠功能。如果启用了该设置,编辑器将允许折叠代码块。如果禁用了该设置,则不会显示折叠控件。
foldingHighlight
- 类型:
boolean
可选
- 默认值:
true
- 可选项:
-
- 描述:
用于控制是否突出显示折叠范围。如果启用了该设置,编辑器将使用颜色装饰器来突出显示折叠范围。如果禁用了该设置,则不会使用颜色装饰器。
foldingImportsByDefault
- 类型:
boolean
可选
- 默认值:
false
- 可选项:
-
- 描述:
用于控制是否默认折叠导入语句。如果启用了该设置,编辑器将默认折叠导入语句。如果禁用了该设置,则不会默认折叠导入语句。
foldingMaximumRegions
- 类型:
number
可选
- 默认值:
-
- 可选项:
-
- 描述:
用于控制最大折叠区域数。如果设置为 -1,则没有限制。如果设置为大于 0 的值,则最多允许折叠指定数量的区域。
foldingStrategy
- 类型:
string
可选
- 默认值:
'auto'
- 可选项:
'auto' | 'indentation'
- 描述:
用于控制折叠策略。可以选择 'auto' 或 'indentation' 中的一种。如果选择 'auto',编辑器将尝试自动检测最佳折叠策略。如果选择 'indentation',编辑器将使用缩进级别来确定折叠范围。
fontFamily
- 类型:
string
可选
- 默认值:
-
- 可选项:
-
- 描述:
用于控制编辑器的字体系列。可以设置多个字体系列,以便在第一个不可用时使用备用字体系列。
fontLigatures
- 类型:
boolean
可选
- 默认值:
false
- 可选项:
-
- 描述:
用于控制是否启用字体连字。如果启用了该设置,编辑器将使用字体连字来显示代码。如果禁用了该设置,则不会使用字体连字。
fontSize
- 类型:
number
可选
- 默认值:
-
- 可选项:
-
- 描述:
用于控制编辑器的字体大小。可以设置为任何数字值。
fontVariations
- 类型:
string
可选
- 默认值:
-
- 可选项:
-
- 描述:
用于控制编辑器的字体变体。可以设置多个字体变体,以便在第一个不可用时使用备用字体变体。
fontWeight
- 类型:
string
可选
- 默认值:
-
- 可选项:
-
- 描述:
用于控制编辑器的字体粗细。可以设置为 'normal'、'bold' 或任何数字值。
- 类型:
boolean
可选
- 默认值:
false
- 可选项:
-
- 描述:
用于控制是否在粘贴时自动格式化代码。如果启用了该设置,编辑器将在粘贴时自动格式化代码。如果禁用了该设置,则不会在粘贴时自动格式化代码。
- 类型:
boolean
可选
- 默认值:
false
- 可选项:
-
- 描述:
用于控制是否在输入时自动格式化代码。如果启用了该设置,编辑器将在输入时自动格式化代码。如果禁用了该设置,则不会在输入时自动格式化代码。
glyphMargin
- 类型:
boolean
可选
- 默认值:
true
- 可选项:
-
- 描述:
用于控制是否显示字形边距。如果启用了该设置,编辑器将在左侧显示字形边距。如果禁用了该设置,则不会显示字形边距。
gotoLocation
- 类型:
Object
可选
- 默认值:
-
- 可选项:
-
- 描述:
用于控制转到定义和查找所有引用的行为。
guides
- 类型:
Object
可选
- 默认值:
-
- 可选项:
-
- 描述:
用于控制代码缩进指南的行为。
hideCursorInOverviewRuler
- 类型:
boolean
可选
- 默认值:
false
- 可选项:
-
- 描述:
用于控制是否在概览标尺中隐藏光标。如果启用了该设置,编辑器将在概览标尺中隐藏光标。如果禁用了该设置,则不会在概览标尺中隐藏光标。
hover
',33),q=e("code",null,"可选",-1),D=e("li",null,[o("默认值: "),e("code",null,"-")],-1),w=e("li",null,[o("可选项: "),e("code",null,"-")],-1),C=e("li",null,[o("描述: "),e("code",null,"用于控制悬停提示的行为。")],-1),k=c(' inDiffEditor
- 类型:
boolean
可选
- 默认值:
false
- 可选项:
-
- 描述:
用于控制编辑器是否在差异编辑器中。如果启用了该设置,编辑器将在差异编辑器中。如果禁用了该设置,则不会在差异编辑器中。
inlayHints
- 类型:
Object
可选
- 默认值:
-
- 可选项:
-
- 描述:
用于控制内联提示的行为。
inlineSuggest
- 类型:
Object
可选
- 默认值:
-
- 可选项:
-
- 描述:
用于控制内联建议的行为。
letterSpacing
- 类型:
number
可选
- 默认值:
0
- 可选项:
-
- 描述:
用于控制编辑器的字母间距。可以设置为任何数字值。
lightbulb
- 类型:
Object
可选
- 默认值:
-
- 可选项:
-
- 描述:
用于控制灯泡提示的行为。
lineDecorationsWidth
- 类型:
number
可选
- 默认值:
1
- 可选项:
-
- 描述:
用于控制行装饰器的宽度。可以设置为任何数字值。
lineHeight
- 类型:
number
可选
- 默认值:
-
- 可选项:
-
- 描述:
用于控制编辑器的行高。可以设置为任何数字值。
lineNumbers
- 类型:
string
可选
- 默认值:
'on'
- 可选项:
'on' | 'off' | 'relative' | 'interval' | 'intervalRelative'
- 描述:
用于控制行号的显示方式。可以选择 'on'、'off'、'relative'、'interval' 或 'intervalRelative' 中的一种。
lineNumbersMinChars
- 类型:
number
可选
- 默认值:
5
- 可选项:
-
- 描述:
用于控制行号的最小字符数。可以设置为任何数字值。
linkedEditing
- 类型:
boolean
可选
- 默认值:
false
- 可选项:
-
- 描述:
用于控制是否启用链接编辑。如果启用了该设置,编辑器将在重命名符号时自动更新所有相关符号。如果禁用了该设置,则不会自动更新相关符号。
links
- 类型:
boolean
可选
- 默认值:
true
- 可选项:
-
- 描述:
用于控制是否启用链接。如果启用了该设置,编辑器将在代码中检测链接,并将其呈现为可单击的链接。如果禁用了该设置,则不会检测链接。
matchBrackets
- 类型:
boolean
可选
- 默认值:
true
- 可选项:
-
- 描述:
用于控制是否突出显示匹配的括号。如果启用了该设置,编辑器将使用颜色装饰器来突出显示匹配的括号。如果禁用了该设置,则不会使用颜色装饰器。
matchOnWordStartOnly
- 类型:
boolean
可选
- 默认值:
false
- 可选项:
-
- 描述:
用于控制是否仅在单词开头匹配。如果启用了该设置,编辑器将仅在单词开头匹配。如果禁用了该设置,则在单词中的任何位置都可以匹配。
minimap
',27),_=e("code",null,"可选",-1),E=e("li",null,[o("默认值: "),e("code",null,"-")],-1),O=e("li",null,[o("可选项: "),e("code",null,"-")],-1),S=e("li",null,[o("描述: "),e("code",null,"用于控制缩略图的行为。")],-1),A=c(' mouseStyle
- 类型:
string
可选
- 默认值:
'text'
- 可选项:
'text' | 'default' | 'copy'
- 描述:
用于控制鼠标样式。可以选择 'text'、'default' 或 'copy' 中的一种。
- 类型:
number
可选
- 默认值:
1
- 可选项:
-
- 描述:
用于控制鼠标滚轮滚动的灵敏度。可以设置为任何数字值。
mouseWheelZoom
- 类型:
boolean
可选
- 默认值:
false
- 可选项:
-
- 描述:
用于控制是否启用鼠标滚轮缩放。如果启用了该设置,编辑器将在使用鼠标滚轮时缩放。如果禁用了该设置,则不会缩放。
multiCursorLimit
- 类型:
number
可选
- 默认值:
-
- 可选项:
-
- 描述:
用于控制多光标的最大数量。可以设置为任何数字值。
multiCursorMergeOverlapping
- 类型:
boolean
可选
- 默认值:
true
- 可选项:
-
- 描述:
用于控制是否合并重叠的多光标。如果启用了该设置,编辑器将合并重叠的多光标。如果禁用了该设置,则不会合并重叠的多光标。
multiCursorModifier
- 类型:
string
可选
- 默认值:
'alt'
- 可选项:
'alt' | 'ctrl' | 'meta'
- 描述:
用于控制多光标的修改键。可以选择 'alt'、'ctrl' 或 'meta' 中的一种。
multiCursorPaste
- 类型:
string
可选
- 默认值:
'spread'
- 可选项:
'spread' | 'full'
- 描述:
用于控制多光标粘贴的行为。可以选择 'spread' 或 'full' 中的一种。
occurrencesHighlight
- 类型:
boolean
可选
- 默认值:
true
- 可选项:
-
- 描述:
用于控制是否突出显示所有出现。如果启用了该设置,编辑器将使用颜色装饰器来突出显示所有出现。如果禁用了该设置,则不会使用颜色装饰器。
overviewRulerBorder
- 类型:
boolean
可选
- 默认值:
true
- 可选项:
-
- 描述:
用于控制是否在概览标尺周围绘制边框。如果启用了该设置,编辑器将在概览标尺周围绘制边框。如果禁用了该设置,则不会绘制边框。
overviewRulerLanes
- 类型:
number
可选
- 默认值:
3
- 可选项:
-
- 描述:
用于控制概览标尺的宽度。可以设置为任何数字值。
padding
- 类型:
Object
可选
- 默认值:
-
- 可选项:
-
- 描述:
用于设置编辑器的填充。
parameterHints
- 类型:
Object
可选
- 默认值:
-
- 可选项:
-
- 描述:
用于控制参数提示的行为。
- 类型:
string
可选
- 默认值:
'editor'
- 可选项:
'editor' | 'tree'
- 描述:
用于控制查看小部件的默认焦点。可以选择 'editor' 或 'tree' 中的一种。
quickSuggestions
- 类型:
Object
可选
- 默认值:
true
- 可选项:
-
- 描述:
用于控制快速建议的行为。
quickSuggestionsDelay
- 类型:
number
可选
- 默认值:
10
- 可选项:
-
- 描述:
用于控制快速建议的延迟时间。可以设置为任何数字值。
readOnly
- 类型:
boolean
可选
- 默认值:
false
- 可选项:
-
- 描述:
用于控制编辑器是否为只读。如果启用了该设置,编辑器将为只读。如果禁用了该设置,则可以编辑。
renameOnType
- 类型:
boolean
可选
- 默认值:
false
- 可选项:
-
- 描述:
用于控制是否在输入时自动重命名符号。如果启用了该设置,编辑器将在输入时自动重命名符号。如果禁用了该设置,则不会自动重命名符号。
renderControlCharacters
- 类型:
boolean
可选
- 默认值:
false
- 可选项:
-
- 描述:
用于控制是否呈现控制字符。如果启用了该设置,编辑器将呈现控制字符。如果禁用了该设置,则不会呈现控制字符。
renderFinalNewline
- 类型:
boolean
可选
- 默认值:
true
- 可选项:
-
- 描述:
用于控制是否呈现最终换行符。如果启用了该设置,编辑器将呈现最终换行符。如果禁用了该设置,则不会呈现最终换行符。
renderLineHighlight
- 类型:
string
可选
- 默认值:
'line'
- 可选项:
'none' | 'gutter' | 'line' | 'all'
- 描述:
用于控制行高亮的行为。可以选择 'none'、'gutter'、'line' 或 'all' 中的一种。
renderLineHighlightOnlyWhenFocus
- 类型:
boolean
可选
- 默认值:
false
- 可选项:
-
- 描述:
用于控制是否仅在编辑器获得焦点时才突出显示行。如果启用了该设置,编辑器将仅在获得焦点时突出显示行。如果禁用了该设置,则始终突出显示行。
renderValidationDecorations
- 类型:
string
可选
- 默认值:
'on'
- 可选项:
'on' | 'off' | 'editable'
- 描述:
用于控制验证装饰的行为。可以选择 'on'、'off' 或 'editable' 中的一种。
renderWhitespace
- 类型:
string
可选
- 默认值:
'none'
- 可选项:
'none' | 'boundary' | 'all'
- 描述:
用于控制空格的呈现方式。可以选择 'none'、'boundary' 或 'all' 中的一种。
revealHorizontalRightPadding
- 类型:
number
可选
- 默认值:
0
- 可选项:
-
- 描述:
用于控制水平滚动时的右侧填充。可以设置为任何数字值。
roundedSelection
- 类型:
boolean
可选
- 默认值:
true
- 可选项:
-
- 描述:
用于控制是否使用圆角选择。如果启用了该设置,编辑器将使用圆角选择。如果禁用了该设置,则不会使用圆角选择。
rulers
- 类型:
Array
可选
- 默认值:
[]
- 可选项:
-
- 描述:
用于控制标尺的行为。
screenReaderAnnounceInlineSuggestion
- 类型:
string
可选
- 默认值:
'off'
- 可选项:
'off' | 'on' | 'auto'
- 描述:
用于控制屏幕阅读器是否应该在内联建议上进行注释。可以选择 'off'、'on' 或 'auto' 中的一种。
- 类型:
number
可选
- 默认值:
5
- 可选项:
-
- 描述:
用于控制水平滚动时的额外滚动量。可以设置为任何数字值。
- 类型:
boolean
可选
- 默认值:
true
- 可选项:
-
- 描述:
用于控制是否允许滚动超过最后一行。如果启用了该设置,编辑器将允许滚动超过最后一行。如果禁用了该设置,则不会滚动超过最后一行。
- 类型:
boolean
可选
- 默认值:
true
- 可选项:
-
- 描述:
用于控制是否优先滚动主轴。如果启用了该设置,编辑器将优先滚动主轴。如果禁用了该设置,则不会优先滚动主轴。
',61),I=e("code",null,"可选",-1),W=e("li",null,[o("默认值: "),e("code",null,"-")],-1),L=e("li",null,[o("可选项: "),e("code",null,"-")],-1),z=e("li",null,[o("描述: "),e("code",null,"用于设置滚动条的行为。配置如下")],-1),F=c(' selectOnLineNumbers
- 类型:
boolean
可选
- 默认值:
true
- 可选项:
-
- 描述:
用于控制是否在单击行号时选择整行。如果启用了该设置,编辑器将在单击行号时选择整行。如果禁用了该设置,则不会选择整行。
selectionClipboard
- 类型:
boolean
可选
- 默认值:
true
- 可选项:
-
- 描述:
用于控制是否将选择复制到剪贴板。如果启用了该设置,编辑器将将选择复制到剪贴板。如果禁用了该设置,则不会将选择复制到剪贴板。
selectionHighlight
- 类型:
boolean
可选
- 默认值:
true
- 可选项:
-
- 描述:
用于控制是否突出显示选定文本。如果启用了该设置,编辑器将突出显示选定文本。如果禁用了该设置,则不会突出显示选定文本。
showDeprecated
- 类型:
boolean
可选
- 默认值:
false
- 可选项:
-
- 描述:
用于控制是否显示已弃用的代码。如果启用了该设置,编辑器将显示已弃用的代码。如果禁用了该设置,则不会显示已弃用的代码。
showFoldingControls
- 类型:
string
可选
- 默认值:
'mouseover'
- 可选项:
'always' | 'mouseover'
- 描述:
用于控制折叠控件的显示方式。可以选择 'always' 或 'mouseover' 中的一种。
showUnused
- 类型:
boolean
可选
- 默认值:
true
- 可选项:
-
- 描述:
用于控制是否显示未使用的代码。如果启用了该设置,编辑器将显示未使用的代码。如果禁用了该设置,则不会显示未使用的代码。
smartSelect
- 类型:
boolean
可选
- 默认值:
true
- 可选项:
-
- 描述:
用于控制是否启用智能选择。如果启用了该设置,编辑器将使用智能算法来选择文本。如果禁用了该设置,则不会使用智能算法。
- 类型:
boolean
可选
- 默认值:
false
- 可选项:
-
- 描述:
用于控制是否启用平滑滚动。如果启用了该设置,编辑器将使用平滑滚动。如果禁用了该设置,则不会使用平滑滚动。
snippetSuggestions
- 类型:
string
可选
- 默认值:
'inline'
- 可选项:
'top' | 'bottom' | 'inline' | 'none'
- 描述:
用于控制代码段建议的显示位置。可以选择 'top'、'bottom'、'inline' 或 'none' 中的一种。
- 类型:
boolean
可选
- 默认值:
true
- 可选项:
-
- 描述:
用于控制是否启用粘性滚动。如果启用了该设置,编辑器将使用粘性滚动。如果禁用了该设置,则不会使用粘性滚动。
stickyTabStops
- 类型:
boolean
可选
- 默认值:
true
- 可选项:
-
- 描述:
用于控制是否启用粘性制表符。如果启用了该设置,编辑器将使用粘性制表符。如果禁用了该设置,则不会使用粘性制表符。
stopRenderingLineAfter
- 类型:
number
可选
- 默认值:
10000
- 可选项:
-
- 描述:
用于控制编辑器停止呈现行的数量。可以设置为任何数字值。
suggest
- 类型:
Object
可选
- 默认值:
-
- 可选项:
-
- 描述:
用于设置建议的行为。
suggestFontSize
- 类型:
number
可选
- 默认值:
-
- 可选项:
-
- 描述:
用于设置建议的字体大小。可以设置为任何数字值。
suggestLineHeight
- 类型:
number
可选
- 默认值:
-
- 可选项:
-
- 描述:
用于设置建议的行高。可以设置为任何数字值。
suggestOnTriggerCharacters
- 类型:
boolean
可选
- 默认值:
true
- 可选项:
-
- 描述:
用于控制是否在输入触发字符时显示建议。如果启用了该设置,编辑器将在输入触发字符时显示建议。如果禁用了该设置,则不会在输入触发字符时显示建议。
suggestSelection
- 类型:
string
可选
- 默认值:
'recentlyUsed'
- 可选项:
'first' | 'recentlyUsed' | 'recentlyUsedByPrefix'
- 描述:
用于控制建议列表中的默认选择。可以选择 'first'、'recentlyUsed' 或 'recentlyUsedByPrefix' 中的一种。
tabCompletion
- 类型:
string
可选
- 默认值:
'off'
- 可选项:
'on' | 'off' | 'onlySnippets'
- 描述:
用于控制制表符完成的行为。可以选择 'on'、'off' 或 'onlySnippets' 中的一种。
tabFocusMode
- 类型:
boolean
可选
- 默认值:
false
- 可选项:
-
- 描述:
用于控制是否启用制表符焦点模式。如果启用了该设置,编辑器将使用制表符焦点模式。如果禁用了该设置,则不会使用制表符焦点模式。
tabIndex
- 类型:
number
可选
- 默认值:
0
- 可选项:
-
- 描述:
用于设置编辑器的制表符索引。可以设置为任何数字值。
unfoldOnClickAfterEndOfLine
- 类型:
boolean
可选
- 默认值:
false
- 可选项:
-
- 描述:
用于控制是否在行末单击时展开代码。如果启用了该设置,编辑器将在行末单击时展开代码。如果禁用了该设置,则不会在行末单击时展开代码。
unicodeHighlight
- 类型:
boolean
可选
- 默认值:
true
- 可选项:
-
- 描述:
用于控制是否突出显示 Unicode 字符。如果启用了该设置,编辑器将突出显示 Unicode 字符。如果禁用了该设置,则不会突出显示 Unicode 字符。
unusualLineTerminators
- 类型:
string
可选
- 默认值:
'prompt'
- 可选项:
'off' | 'prompt' | 'auto'
- 描述:
用于控制是否在文件中检测到非常规行终止符时显示警告。可以选择 'off'、'prompt' 或 'auto' 中的一种。
useShadowDOM
- 类型:
boolean
可选
- 默认值:
false
- 可选项:
-
- 描述:
用于控制是否使用 Shadow DOM。如果启用了该设置,编辑器将使用 Shadow DOM。如果禁用了该设置,则不会使用 Shadow DOM。
useTabStops
- 类型:
boolean
可选
- 默认值:
true
- 可选项:
-
- 描述:
用于控制是否使用制表符停止。如果启用了该设置,编辑器将使用制表符停止。如果禁用了该设置,则不会使用制表符停止。
wordBreak
- 类型:
string
可选
- 默认值:
'default'
- 可选项:
'default' | 'none' | 'camelCase' | 'hyphenated'
- 描述:
用于控制单词如何断开。可以选择 'default'、'none'、'camelCase' 或 'hyphenated' 中的一种。
wordSeparators
- 类型:
string
可选
- 默认值:
'~!@#+%^&*()-=+[{]}\\|;:\\'",.<>/?'
- 可选项:
-
- 描述:
用于设置单词分隔符。可以设置为任何字符串值。
wordWrap
- 类型:
string
可选
- 默认值:
'off'
- 可选项:
'off' | 'on' | 'wordWrapColumn' | 'bounded'
- 描述:
用于控制文本如何换行。可以选择 'off'、'on'、'wordWrapColumn' 或 'bounded' 中的一种。
设置 Monaco Editor 中的单行最大长度,可以使用 wordWrap
选项和 wordWrapColumn
选项。
wordWrap
选项用于启用或禁用自动换行。如果禁用自动换行,则文本将在指定的列数内换行。wordWrapColumn
选项用于指定文本在哪个列数内换行。如果设置为0
,则禁用自动换行。
以下是一个示例代码,演示如何设置 Monaco Editor 中的单行最大长度:
codeconst editor = monaco.editor.create(document.getElementById("container"), {\n value: "Lorem ipsum dolor sit amet, consectetur adipiscing elit.",\n language: "javascript",\n wordWrap: "on",\n wordWrapColumn: 80\n});\n
在上面的示例中,wordWrap
选项设置为 on
,这意味着编辑器将在指定的列数(wordWrapColumn
选项)处换行。在这个例子中,wordWrapColumn
被设置为 80
,这意味着编辑器将在第 80 个字符处换行。 您可以根据需要调整 wordWrapColum
选项的值来设置单行最大长度。
wordWrapBreakAfterCharacters
- 类型:
string
可选
- 默认值: `' \\t})]?|&,;'``
- 可选项:
-
- 描述:
用于设置单词换行后的字符。可以设置为任何字符串值。
wordWrapBreakBeforeCharacters
- 类型:
string
可选
- 默认值: `'([{<'``
- 可选项:
-
- 描述:
用于设置单词换行前的字符。可以设置为任何字符串值。
wordWrapColumn
- 类型:
number
可选
- 默认值:
80
- 可选项:
-
- 描述:
用于设置文本的换行列。可以设置为任何数字值。
wordWrapOverride1
- 类型:
Function
可选
- 默认值:
-
- 可选项:
-
- 描述:
用于设置文本的自定义换行逻辑。可以设置为任何函数。
wordWrapOverride2
- 类型:
Function
可选
- 默认值:
-
- 可选项:
-
- 描述:
用于设置文本的自定义换行逻辑。可以设置为任何函数。
wrappingIndent
- 类型:
string
可选
- 默认值:
'none'
- 可选项:
'none' | 'same' | 'indent'
- 描述:
用于控制换行后的缩进。可以选择 'none'、'same' 或 'indent' 中的一种。
wrappingStrategy
- 类型:
string
可选
- 默认值:
'simple'
- 可选项:
'simple' | 'advanced'
- 描述:
用于控制文本的换行策略。可以选择 'simple' 或 'advanced' 中的一种。
',75);function B(R,H){const a=r("ExternalLinkIcon"),d=r("RouterLink");return t(),s("div",null,[u,e("p",null,[p,o(),e("a",f,[o("官网地址"),i(a)])]),b,e("ul",null,[e("li",null,[i(d,{to:"/editor/interfaces/IEditorOptions.html"},{default:l(()=>[o("IEditorOptions")]),_:1}),e("ul",null,[e("li",null,[o("IEditorConstructionOptions "),e("ul",null,[e("li",null,[i(d,{to:"/editor/interfaces/IStandaloneEditorConstructionOptions.html"},{default:l(()=>[o("IStandaloneEditorConstructionOptions")]),_:1})])])])])])]),g,e("div",m,[x,e("p",null,[o("官方关于hover的演示样式,没有设置这个属性,但是此版本会发现hover的位置不符合预期,查看样式发现官方的是overflowingWidgets,当前版本的是overflowingContentWidgets,参考了"),e("a",y,[o("官方的issue"),i(a)]),o(" 加上此选项才正常")])]),v,e("ul",null,[e("li",null,[o("类型: "),i(d,{to:"/editor/interfaces/IEditorHoverOptions.html"},{default:l(()=>[o("editor.IEditorHoverOptions")]),_:1}),o(),q]),D,w,C]),k,e("ul",null,[e("li",null,[o("类型: "),i(d,{to:"/editor/interfaces/IEditorMinimapOptions.html"},{default:l(()=>[o("editor.IEditorMinimapOptions")]),_:1}),o(),_]),E,O,S]),A,e("ul",null,[e("li",null,[o("类型: "),i(d,{to:"/editor/interfaces/IEditorScrollbarOptions.html"},{default:l(()=>[o("IEditorScrollbarOptions")]),_:1}),o(),I]),W,L,z]),F])}const P=n(h,[["render",B],["__file","IEditorOptions.html.vue"]]);export{P as default};
diff --git a/assets/IEditorOverrideServices.html-d2aa8f48.js b/assets/IEditorOverrideServices.html-d2aa8f48.js
new file mode 100644
index 00000000..330888b1
--- /dev/null
+++ b/assets/IEditorOverrideServices.html-d2aa8f48.js
@@ -0,0 +1 @@
+const e=JSON.parse('{"key":"v-17404185","path":"/editor/interfaces/IEditorOverrideServices.html","title":"IEditorOverrideServices","lang":"zh-CN","frontmatter":{"description":"interface 官网地址 (https://microsoft.github.io/monaco-editor/docs.html#interfaces/editor.IEditorOverrideServices.html)","head":[["meta",{"property":"og:url","content":"http://aydk.site/editor/interfaces/IEditorOverrideServices.html"}],["meta",{"property":"og:site_name","content":"Monaco-editor 学习文档"}],["meta",{"property":"og:title","content":"IEditorOverrideServices"}],["meta",{"property":"og:description","content":"interface 官网地址 (https://microsoft.github.io/monaco-editor/docs.html#interfaces/editor.IEditorOverrideServices.html)"}],["meta",{"property":"og:type","content":"article"}],["meta",{"property":"og:locale","content":"zh-CN"}],["meta",{"property":"og:updated_time","content":"2023-06-16T20:04:45.000Z"}],["meta",{"property":"article:author","content":"aydk"}],["meta",{"property":"article:modified_time","content":"2023-06-16T20:04:45.000Z"}],["script",{"type":"application/ld+json"},"{\\"@context\\":\\"https://schema.org\\",\\"@type\\":\\"Article\\",\\"headline\\":\\"IEditorOverrideServices\\",\\"image\\":[\\"\\"],\\"dateModified\\":\\"2023-06-16T20:04:45.000Z\\",\\"author\\":[{\\"@type\\":\\"Person\\",\\"name\\":\\"aydk\\"}]}"]]},"headers":[],"git":{"createdTime":1686945885000,"updatedTime":1686945885000,"contributors":[{"name":"xiaochaochao","email":"xiaochaochao","commits":1}]},"readingTime":{"minutes":0.03,"words":10},"filePathRelative":"editor/interfaces/IEditorOverrideServices.md","localizedDate":"2023年6月16日","autoDesc":true}');export{e as data};
diff --git a/assets/IEditorOverrideServices.html-ff17dad8.js b/assets/IEditorOverrideServices.html-ff17dad8.js
new file mode 100644
index 00000000..10dab153
--- /dev/null
+++ b/assets/IEditorOverrideServices.html-ff17dad8.js
@@ -0,0 +1 @@
+import{_ as t}from"./plugin-vue_export-helper-c27b6911.js";import{r as i,o as c,c as n,a as e,b as r,d as s}from"./app-5f5ef0a9.js";const a={},d=e("h1",{id:"ieditoroverrideservices",tabindex:"-1"},[e("a",{class:"header-anchor",href:"#ieditoroverrideservices","aria-hidden":"true"},"#"),r(" IEditorOverrideServices")],-1),l=e("code",null,"interface",-1),_={href:"https://microsoft.github.io/monaco-editor/docs.html#interfaces/editor.IEditorOverrideServices.html",target:"_blank",rel:"noopener noreferrer"};function h(v,f){const o=i("ExternalLinkIcon");return c(),n("div",null,[d,e("p",null,[l,r(),e("a",_,[r("官网地址"),s(o)])])])}const u=t(a,[["render",h],["__file","IEditorOverrideServices.html.vue"]]);export{u as default};
diff --git a/assets/IEditorPaddingOptions.html-cb49a508.js b/assets/IEditorPaddingOptions.html-cb49a508.js
new file mode 100644
index 00000000..69160d95
--- /dev/null
+++ b/assets/IEditorPaddingOptions.html-cb49a508.js
@@ -0,0 +1 @@
+const t=JSON.parse('{"key":"v-7cc147e2","path":"/editor/interfaces/IEditorPaddingOptions.html","title":"IEditorPaddingOptions","lang":"zh-CN","frontmatter":{"description":"interface 官网地址 (https://microsoft.github.io/monaco-editor/docs.html#interfaces/editor.IEditorPaddingOptions.html) 关于edito padding的配置 属性 Properties bottom? 类型: number 可选; 默认值: -;...","head":[["meta",{"property":"og:url","content":"http://aydk.site/editor/interfaces/IEditorPaddingOptions.html"}],["meta",{"property":"og:site_name","content":"Monaco-editor 学习文档"}],["meta",{"property":"og:title","content":"IEditorPaddingOptions"}],["meta",{"property":"og:description","content":"interface 官网地址 (https://microsoft.github.io/monaco-editor/docs.html#interfaces/editor.IEditorPaddingOptions.html) 关于edito padding的配置 属性 Properties bottom? 类型: number 可选; 默认值: -;..."}],["meta",{"property":"og:type","content":"article"}],["meta",{"property":"og:locale","content":"zh-CN"}],["meta",{"property":"og:updated_time","content":"2023-06-16T20:04:45.000Z"}],["meta",{"property":"article:author","content":"aydk"}],["meta",{"property":"article:modified_time","content":"2023-06-16T20:04:45.000Z"}],["script",{"type":"application/ld+json"},"{\\"@context\\":\\"https://schema.org\\",\\"@type\\":\\"Article\\",\\"headline\\":\\"IEditorPaddingOptions\\",\\"image\\":[\\"\\"],\\"dateModified\\":\\"2023-06-16T20:04:45.000Z\\",\\"author\\":[{\\"@type\\":\\"Person\\",\\"name\\":\\"aydk\\"}]}"]]},"headers":[{"level":2,"title":"属性 Properties","slug":"属性-properties","link":"#属性-properties","children":[{"level":3,"title":"bottom?","slug":"bottom","link":"#bottom","children":[]},{"level":3,"title":"top?","slug":"top","link":"#top","children":[]}]}],"git":{"createdTime":1686945885000,"updatedTime":1686945885000,"contributors":[{"name":"xiaochaochao","email":"xiaochaochao","commits":1}]},"readingTime":{"minutes":0.23,"words":68},"filePathRelative":"editor/interfaces/IEditorPaddingOptions.md","localizedDate":"2023年6月16日","autoDesc":true}');export{t as data};
diff --git a/assets/IEditorPaddingOptions.html-fcc1550a.js b/assets/IEditorPaddingOptions.html-fcc1550a.js
new file mode 100644
index 00000000..def5ea89
--- /dev/null
+++ b/assets/IEditorPaddingOptions.html-fcc1550a.js
@@ -0,0 +1 @@
+import{_ as d}from"./plugin-vue_export-helper-c27b6911.js";import{r as i,o as r,c as a,a as e,b as o,d as n,e as c}from"./app-5f5ef0a9.js";const s={},l=e("h1",{id:"ieditorpaddingoptions",tabindex:"-1"},[e("a",{class:"header-anchor",href:"#ieditorpaddingoptions","aria-hidden":"true"},"#"),o(" IEditorPaddingOptions")],-1),h=e("code",null,"interface",-1),p={href:"https://microsoft.github.io/monaco-editor/docs.html#interfaces/editor.IEditorPaddingOptions.html",target:"_blank",rel:"noopener noreferrer"},_=c(' 属性 Properties
bottom?
- 类型:
number
可选
- 默认值:
-
- 可选项:
-
- 描述:
最下面一行和editor的间距
top?
- 类型:
number
可选
- 默认值:
-
- 可选项:
-
- 描述:
最上面一行和editor的间距
',5);function m(u,f){const t=i("ExternalLinkIcon");return r(),a("div",null,[l,e("p",null,[h,o(),e("a",p,[o("官网地址"),n(t)]),o(" 关于edito padding的配置")]),_])}const g=d(s,[["render",m],["__file","IEditorPaddingOptions.html.vue"]]);export{g as default};
diff --git a/assets/IEditorParameterHintOptions.html-57cd3f7c.js b/assets/IEditorParameterHintOptions.html-57cd3f7c.js
new file mode 100644
index 00000000..3335de3a
--- /dev/null
+++ b/assets/IEditorParameterHintOptions.html-57cd3f7c.js
@@ -0,0 +1 @@
+import{_ as r}from"./plugin-vue_export-helper-c27b6911.js";import{r as a,o as i,c,a as e,b as o,d,e as n}from"./app-5f5ef0a9.js";const l={},s=e("h1",{id:"ieditorparameterhintoptions",tabindex:"-1"},[e("a",{class:"header-anchor",href:"#ieditorparameterhintoptions","aria-hidden":"true"},"#"),o(" IEditorParameterHintOptions")],-1),h=e("code",null,"interface",-1),p={href:"https://microsoft.github.io/monaco-editor/docs.html#interfaces/editor.IEditorParameterHintOptions.html",target:"_blank",rel:"noopener noreferrer"},_=n(' 参数 Properties
cycle?
- 类型:
boolean
可选
- 默认值:
false
- 可选项:
-
- 描述:
一个布尔值,指定是否循环显示参数提示。默认值为 false 。
enabled?
- 类型:
boolean
可选
- 默认值:
true
- 可选项:
-
- 描述:
指定是否启用参数提示。默认值为 true 。
',5);function m(f,u){const t=a("ExternalLinkIcon");return i(),c("div",null,[s,e("p",null,[h,o(),e("a",p,[o("官网地址"),d(t)]),o(" 参数提示的选项对象")]),_])}const E=r(l,[["render",m],["__file","IEditorParameterHintOptions.html.vue"]]);export{E as default};
diff --git a/assets/IEditorParameterHintOptions.html-aa53b9b0.js b/assets/IEditorParameterHintOptions.html-aa53b9b0.js
new file mode 100644
index 00000000..f157de17
--- /dev/null
+++ b/assets/IEditorParameterHintOptions.html-aa53b9b0.js
@@ -0,0 +1 @@
+const e=JSON.parse('{"key":"v-eda022be","path":"/editor/interfaces/IEditorParameterHintOptions.html","title":"IEditorParameterHintOptions","lang":"zh-CN","frontmatter":{"description":"interface 官网地址 (https://microsoft.github.io/monaco-editor/docs.html#interfaces/editor.IEditorParameterHintOptions.html) 参数提示的选项对象 参数 Properties cycle? 类型: boolean 可选; 默认值: false...","head":[["meta",{"property":"og:url","content":"http://aydk.site/editor/interfaces/IEditorParameterHintOptions.html"}],["meta",{"property":"og:site_name","content":"Monaco-editor 学习文档"}],["meta",{"property":"og:title","content":"IEditorParameterHintOptions"}],["meta",{"property":"og:description","content":"interface 官网地址 (https://microsoft.github.io/monaco-editor/docs.html#interfaces/editor.IEditorParameterHintOptions.html) 参数提示的选项对象 参数 Properties cycle? 类型: boolean 可选; 默认值: false..."}],["meta",{"property":"og:type","content":"article"}],["meta",{"property":"og:locale","content":"zh-CN"}],["meta",{"property":"og:updated_time","content":"2023-06-16T20:04:45.000Z"}],["meta",{"property":"article:author","content":"aydk"}],["meta",{"property":"article:modified_time","content":"2023-06-16T20:04:45.000Z"}],["script",{"type":"application/ld+json"},"{\\"@context\\":\\"https://schema.org\\",\\"@type\\":\\"Article\\",\\"headline\\":\\"IEditorParameterHintOptions\\",\\"image\\":[\\"\\"],\\"dateModified\\":\\"2023-06-16T20:04:45.000Z\\",\\"author\\":[{\\"@type\\":\\"Person\\",\\"name\\":\\"aydk\\"}]}"]]},"headers":[{"level":2,"title":"参数 Properties","slug":"参数-properties","link":"#参数-properties","children":[{"level":3,"title":"cycle?","slug":"cycle","link":"#cycle","children":[]},{"level":3,"title":"enabled?","slug":"enabled","link":"#enabled","children":[]}]}],"git":{"createdTime":1686945885000,"updatedTime":1686945885000,"contributors":[{"name":"xiaochaochao","email":"xiaochaochao","commits":1}]},"readingTime":{"minutes":0.3,"words":89},"filePathRelative":"editor/interfaces/IEditorParameterHintOptions.md","localizedDate":"2023年6月16日","autoDesc":true}');export{e as data};
diff --git a/assets/IEditorScrollbarOptions.html-58d0f945.js b/assets/IEditorScrollbarOptions.html-58d0f945.js
new file mode 100644
index 00000000..957c632e
--- /dev/null
+++ b/assets/IEditorScrollbarOptions.html-58d0f945.js
@@ -0,0 +1 @@
+const e=JSON.parse('{"key":"v-b9fb3612","path":"/editor/interfaces/IEditorScrollbarOptions.html","title":"IEditorScrollbarOptions","lang":"zh-CN","frontmatter":{"description":"interface 官网地址 (https://microsoft.github.io/monaco-editor/docs.html#interfaces/editor.BracketPairColorizationOptions.html) 参数 Properties alwaysConsumeMouseWheel? 类型: boolean 可选;...","head":[["meta",{"property":"og:url","content":"http://aydk.site/editor/interfaces/IEditorScrollbarOptions.html"}],["meta",{"property":"og:site_name","content":"Monaco-editor 学习文档"}],["meta",{"property":"og:title","content":"IEditorScrollbarOptions"}],["meta",{"property":"og:description","content":"interface 官网地址 (https://microsoft.github.io/monaco-editor/docs.html#interfaces/editor.BracketPairColorizationOptions.html) 参数 Properties alwaysConsumeMouseWheel? 类型: boolean 可选;..."}],["meta",{"property":"og:type","content":"article"}],["meta",{"property":"og:locale","content":"zh-CN"}],["meta",{"property":"og:updated_time","content":"2023-06-16T20:04:45.000Z"}],["meta",{"property":"article:author","content":"aydk"}],["meta",{"property":"article:modified_time","content":"2023-06-16T20:04:45.000Z"}],["script",{"type":"application/ld+json"},"{\\"@context\\":\\"https://schema.org\\",\\"@type\\":\\"Article\\",\\"headline\\":\\"IEditorScrollbarOptions\\",\\"image\\":[\\"\\"],\\"dateModified\\":\\"2023-06-16T20:04:45.000Z\\",\\"author\\":[{\\"@type\\":\\"Person\\",\\"name\\":\\"aydk\\"}]}"]]},"headers":[{"level":2,"title":"参数 Properties","slug":"参数-properties","link":"#参数-properties","children":[{"level":3,"title":"alwaysConsumeMouseWheel?","slug":"alwaysconsumemousewheel","link":"#alwaysconsumemousewheel","children":[]},{"level":3,"title":"arrowSize?","slug":"arrowsize","link":"#arrowsize","children":[]},{"level":3,"title":"handleMouseWheel?","slug":"handlemousewheel","link":"#handlemousewheel","children":[]},{"level":3,"title":"horizontal?","slug":"horizontal","link":"#horizontal","children":[]},{"level":3,"title":"horizontalHasArrows?","slug":"horizontalhasarrows","link":"#horizontalhasarrows","children":[]},{"level":3,"title":"horizontalScrollbarSize?","slug":"horizontalscrollbarsize","link":"#horizontalscrollbarsize","children":[]},{"level":3,"title":"horizontalSliderSize?","slug":"horizontalslidersize","link":"#horizontalslidersize","children":[]},{"level":3,"title":"scrollByPage?","slug":"scrollbypage","link":"#scrollbypage","children":[]},{"level":3,"title":"useShadows?","slug":"useshadows","link":"#useshadows","children":[]},{"level":3,"title":"vertical?","slug":"vertical","link":"#vertical","children":[]},{"level":3,"title":"verticalHasArrows?","slug":"verticalhasarrows","link":"#verticalhasarrows","children":[]},{"level":3,"title":"verticalScrollbarSize?","slug":"verticalscrollbarsize","link":"#verticalscrollbarsize","children":[]},{"level":3,"title":"verticalSliderSize?","slug":"verticalslidersize","link":"#verticalslidersize","children":[]}]}],"git":{"createdTime":1686945885000,"updatedTime":1686945885000,"contributors":[{"name":"xiaochaochao","email":"xiaochaochao","commits":1}]},"readingTime":{"minutes":1.94,"words":583},"filePathRelative":"editor/interfaces/IEditorScrollbarOptions.md","localizedDate":"2023年6月16日","autoDesc":true}');export{e as data};
diff --git a/assets/IEditorScrollbarOptions.html-8b71be0d.js b/assets/IEditorScrollbarOptions.html-8b71be0d.js
new file mode 100644
index 00000000..8af72ab6
--- /dev/null
+++ b/assets/IEditorScrollbarOptions.html-8b71be0d.js
@@ -0,0 +1 @@
+import{_ as d}from"./plugin-vue_export-helper-c27b6911.js";import{r as l,o as a,c,a as e,b as o,d as r,e as t}from"./app-5f5ef0a9.js";const s={},h=e("h1",{id:"ieditorscrollbaroptions",tabindex:"-1"},[e("a",{class:"header-anchor",href:"#ieditorscrollbaroptions","aria-hidden":"true"},"#"),o(" IEditorScrollbarOptions")],-1),n=e("code",null,"interface",-1),u={href:"https://microsoft.github.io/monaco-editor/docs.html#interfaces/editor.BracketPairColorizationOptions.html",target:"_blank",rel:"noopener noreferrer"},b=t(' 参数 Properties
alwaysConsumeMouseWheel?
- 类型:
boolean
可选
- 默认值:
true
- 可选项:
-
- 描述:
始终使用鼠标滚轮事件(始终在浏览器事件上调用 preventDefault() 和 stopPropagation())。默认为true。注意:此选项无法使用 updateOptions() 更新。
arrowSize?
- 类型:
number
可选
- 默认值:
11
- 可选项:
-
- 描述:
指定箭头按钮的大小。默认值为 11 ,注意:此选项无法使用 updateOptions() 更新。
handleMouseWheel?
- 类型:
boolean
可选
- 默认值:
true
- 可选项:
-
- 描述:
指示滚动条是否响应鼠标滚轮事件。默认值为 true 。
horizontal?
- 类型:
enum
可选
- 默认值:
auto
- 可选项:
"auto" | "visible" | "hidden"
- 描述:
渲染水平滚动条的方式,默认是auto。
horizontalHasArrows?
- 类型:
boolean
可选
- 默认值:
false
- 可选项:
-
- 描述:
指示水平滚动条是否具有箭头按钮。默认值为 false 。 注意:此选项无法使用 updateOptions() 更新。
- 类型:
number
可选
- 默认值:
10
- 可选项:
-
- 描述:
水平滚动滑块(注意和下面的区分)的高度,默认是
10,单位是px。
horizontalSliderSize?
- 类型:
number
可选
- 默认值:
10
- 可选项:
-
- 描述:
水平滚动条滚动条的高度,默认和滑块一致,注意:此选项无法使用 updateOptions() 更新。
scrollByPage?
- 类型:
boolean
可选
- 默认值:
false
- 可选项:
-
- 描述:
单击滚动条时,页面时按照页面的大小往下跳动还是直接跳动到点击的位置,默认是false,表示直接跳到点击位置
useShadows?
- 类型:
boolean
可选
- 默认值:
true
- 可选项:
-
- 描述:
滚动条是否应使用阴影来指示滚动位置。默认值为 true 。 注意:此选项无法使用 updateOptions() 更新。
vertical?
- 类型:
enum
可选
- 默认值:
auto
- 可选项:
"auto" | "visible" | "hidden"
- 描述:
渲染垂直滚动条的方式,默认是auto。
verticalHasArrows?
- 类型:
boolean
可选
- 默认值:
false
- 可选项:
-
- 描述:
指示垂直滚动条是否具有箭头按钮。默认值为 false 。 注意:此选项无法使用 updateOptions() 更新。
- 类型:
number
可选
- 默认值:
10
- 可选项:
-
- 描述:
垂直滚动滑块(注意和下面的区分)的宽度,默认是
10,单位是px。
verticalSliderSize?
- 类型:
number
可选
- 默认值:
10
- 可选项:
-
- 描述:
水垂直滚动条滚动条的高度,默认和滑块一致,注意:此选项无法使用 updateOptions() 更新。
',27);function p(f,m){const i=l("ExternalLinkIcon");return a(),c("div",null,[h,e("p",null,[n,o(),e("a",u,[o("官网地址"),r(i)])]),b])}const _=d(s,[["render",p],["__file","IEditorScrollbarOptions.html.vue"]]);export{_ as default};
diff --git a/assets/IEditorStickyScrollOptions.html-446a71fe.js b/assets/IEditorStickyScrollOptions.html-446a71fe.js
new file mode 100644
index 00000000..e881173a
--- /dev/null
+++ b/assets/IEditorStickyScrollOptions.html-446a71fe.js
@@ -0,0 +1 @@
+const t=JSON.parse('{"key":"v-6a0557bb","path":"/editor/interfaces/IEditorStickyScrollOptions.html","title":"IEditorStickyScrollOptions","lang":"zh-CN","frontmatter":{"description":"interface 官网地址 (https://microsoft.github.io/monaco-editor/docs.html#interfaces/editor.IEditorStickyScrollOptions.html) 属性 Properties defaultModel? 类型: enum 可选; 默认值: -; 可选项: \\"out...","head":[["meta",{"property":"og:url","content":"http://aydk.site/editor/interfaces/IEditorStickyScrollOptions.html"}],["meta",{"property":"og:site_name","content":"Monaco-editor 学习文档"}],["meta",{"property":"og:title","content":"IEditorStickyScrollOptions"}],["meta",{"property":"og:description","content":"interface 官网地址 (https://microsoft.github.io/monaco-editor/docs.html#interfaces/editor.IEditorStickyScrollOptions.html) 属性 Properties defaultModel? 类型: enum 可选; 默认值: -; 可选项: \\"out..."}],["meta",{"property":"og:type","content":"article"}],["meta",{"property":"og:locale","content":"zh-CN"}],["meta",{"property":"og:updated_time","content":"2023-06-16T20:04:45.000Z"}],["meta",{"property":"article:author","content":"aydk"}],["meta",{"property":"article:modified_time","content":"2023-06-16T20:04:45.000Z"}],["script",{"type":"application/ld+json"},"{\\"@context\\":\\"https://schema.org\\",\\"@type\\":\\"Article\\",\\"headline\\":\\"IEditorStickyScrollOptions\\",\\"image\\":[\\"\\"],\\"dateModified\\":\\"2023-06-16T20:04:45.000Z\\",\\"author\\":[{\\"@type\\":\\"Person\\",\\"name\\":\\"aydk\\"}]}"]]},"headers":[{"level":2,"title":"属性 Properties","slug":"属性-properties","link":"#属性-properties","children":[{"level":3,"title":"defaultModel?","slug":"defaultmodel","link":"#defaultmodel","children":[]},{"level":3,"title":"enabled?","slug":"enabled","link":"#enabled","children":[]},{"level":3,"title":"maxLineCount?","slug":"maxlinecount","link":"#maxlinecount","children":[]}]}],"git":{"createdTime":1686945885000,"updatedTime":1686945885000,"contributors":[{"name":"xiaochaochao","email":"xiaochaochao","commits":1}]},"readingTime":{"minutes":0.31,"words":92},"filePathRelative":"editor/interfaces/IEditorStickyScrollOptions.md","localizedDate":"2023年6月16日","autoDesc":true}');export{t as data};
diff --git a/assets/IEditorStickyScrollOptions.html-4f8c132d.js b/assets/IEditorStickyScrollOptions.html-4f8c132d.js
new file mode 100644
index 00000000..3ffd6193
--- /dev/null
+++ b/assets/IEditorStickyScrollOptions.html-4f8c132d.js
@@ -0,0 +1 @@
+import{_ as d}from"./plugin-vue_export-helper-c27b6911.js";import{r as t,o as c,c as l,a as e,b as o,d as r,e as a}from"./app-5f5ef0a9.js";const n={},s=e("h1",{id:"ieditorstickyscrolloptions",tabindex:"-1"},[e("a",{class:"header-anchor",href:"#ieditorstickyscrolloptions","aria-hidden":"true"},"#"),o(" IEditorStickyScrollOptions")],-1),h=e("code",null,"interface",-1),u={href:"https://microsoft.github.io/monaco-editor/docs.html#interfaces/editor.IEditorStickyScrollOptions.html",target:"_blank",rel:"noopener noreferrer"},_=a(' 属性 Properties
defaultModel?
- 类型:
enum
可选
- 默认值:
-
- 可选项:
"outlineModel" | "foldingProviderModel" | "indentationModel"
- 描述:
默认情况下为粘性滚动选择的模型
enabled?
- 类型:
boolean
可选
- 默认值:
-
- 可选项:
-
- 描述:
指定是否允许粘性滚动
maxLineCount?
- 类型:
number
可选
- 默认值:
-
- 可选项:
-
- 描述:
显示的最大粘性行数
',7);function f(m,p){const i=t("ExternalLinkIcon");return c(),l("div",null,[s,e("p",null,[h,o(),e("a",u,[o("官网地址"),r(i)])]),_])}const k=d(n,[["render",f],["__file","IEditorStickyScrollOptions.html.vue"]]);export{k as default};
diff --git a/assets/IEditorZoom.html-9fd24b39.js b/assets/IEditorZoom.html-9fd24b39.js
new file mode 100644
index 00000000..66e5ed61
--- /dev/null
+++ b/assets/IEditorZoom.html-9fd24b39.js
@@ -0,0 +1 @@
+import{_ as r}from"./plugin-vue_export-helper-c27b6911.js";import{r as t,o as d,c as l,a as e,b as o,d as a,e as n}from"./app-5f5ef0a9.js";const c={},h=e("h1",{id:"ieditorzoom",tabindex:"-1"},[e("a",{class:"header-anchor",href:"#ieditorzoom","aria-hidden":"true"},"#"),o(" IEditorZoom")],-1),s=e("code",null,"interface",-1),m={href:"https://microsoft.github.io/monaco-editor/docs.html#interfaces/editor.IEditorZoom.html",target:"_blank",rel:"noopener noreferrer"},u=n(' 属性 Properties
onDidChangeZoomLevel
- 类型:
IEvent<number>
可选
- 默认值:
-
- 可选项:
-
- 描述: ``
方法 Methods
getZoomLevel
- 语法:
getZoomLevel(): number
- 参数: ``
- 返回值:
number
- 描述: ``
setZoomLevel
- 语法:
setZoomLevel(zoomLevel: number): void
- 参数:
- 返回值:
-
- 描述: ``
',8);function _(f,v){const i=t("ExternalLinkIcon");return d(),l("div",null,[h,e("p",null,[s,o(),e("a",m,[o("官网地址"),a(i)])]),u])}const x=r(c,[["render",_],["__file","IEditorZoom.html.vue"]]);export{x as default};
diff --git a/assets/IEditorZoom.html-a1e42622.js b/assets/IEditorZoom.html-a1e42622.js
new file mode 100644
index 00000000..53621506
--- /dev/null
+++ b/assets/IEditorZoom.html-a1e42622.js
@@ -0,0 +1 @@
+const e=JSON.parse('{"key":"v-fd4b5ec8","path":"/editor/interfaces/IEditorZoom.html","title":"IEditorZoom","lang":"zh-CN","frontmatter":{"description":"interface 官网地址 (https://microsoft.github.io/monaco-editor/docs.html#interfaces/editor.IEditorZoom.html) 属性 Properties onDidChangeZoomLevel 类型: IEvent `可选; 默认值: -`; 可选项: -; 描述: ;...","head":[["meta",{"property":"og:url","content":"http://aydk.site/editor/interfaces/IEditorZoom.html"}],["meta",{"property":"og:site_name","content":"Monaco-editor 学习文档"}],["meta",{"property":"og:title","content":"IEditorZoom"}],["meta",{"property":"og:description","content":"interface 官网地址 (https://microsoft.github.io/monaco-editor/docs.html#interfaces/editor.IEditorZoom.html) 属性 Properties onDidChangeZoomLevel 类型: IEvent `可选; 默认值: -`; 可选项: -; 描述: ;..."}],["meta",{"property":"og:type","content":"article"}],["meta",{"property":"og:locale","content":"zh-CN"}],["meta",{"property":"og:updated_time","content":"2023-06-16T20:04:45.000Z"}],["meta",{"property":"article:author","content":"aydk"}],["meta",{"property":"article:modified_time","content":"2023-06-16T20:04:45.000Z"}],["script",{"type":"application/ld+json"},"{\\"@context\\":\\"https://schema.org\\",\\"@type\\":\\"Article\\",\\"headline\\":\\"IEditorZoom\\",\\"image\\":[\\"\\"],\\"dateModified\\":\\"2023-06-16T20:04:45.000Z\\",\\"author\\":[{\\"@type\\":\\"Person\\",\\"name\\":\\"aydk\\"}]}"]]},"headers":[{"level":2,"title":"属性 Properties","slug":"属性-properties","link":"#属性-properties","children":[{"level":3,"title":"onDidChangeZoomLevel","slug":"ondidchangezoomlevel","link":"#ondidchangezoomlevel","children":[]}]},{"level":2,"title":"方法 Methods","slug":"方法-methods","link":"#方法-methods","children":[{"level":3,"title":"getZoomLevel","slug":"getzoomlevel","link":"#getzoomlevel","children":[]},{"level":3,"title":"setZoomLevel","slug":"setzoomlevel","link":"#setzoomlevel","children":[]}]}],"git":{"createdTime":1686945885000,"updatedTime":1686945885000,"contributors":[{"name":"xiaochaochao","email":"xiaochaochao","commits":1}]},"readingTime":{"minutes":0.2,"words":60},"filePathRelative":"editor/interfaces/IEditorZoom.md","localizedDate":"2023年6月16日","autoDesc":true}');export{e as data};
diff --git a/assets/IEncodedLineTokens.html-987eb92f.js b/assets/IEncodedLineTokens.html-987eb92f.js
new file mode 100644
index 00000000..6a2afdd7
--- /dev/null
+++ b/assets/IEncodedLineTokens.html-987eb92f.js
@@ -0,0 +1 @@
+import{_ as t}from"./plugin-vue_export-helper-c27b6911.js";import{r,o as s,c as a,a as e,b as o,d}from"./app-5f5ef0a9.js";const c={},i=e("h1",{id:"iencodedlinetokens",tabindex:"-1"},[e("a",{class:"header-anchor",href:"#iencodedlinetokens","aria-hidden":"true"},"#"),o(" IEncodedLineTokens")],-1),h=e("code",null,"interface",-1),l={href:"https://microsoft.github.io/monaco-editor/docs.html#interfaces/languages.IEncodedLineTokens.html",target:"_blank",rel:"noopener noreferrer"},_=e("h2",{id:"属性-properties",tabindex:"-1"},[e("a",{class:"header-anchor",href:"#属性-properties","aria-hidden":"true"},"#"),o(" 属性 Properties")],-1),f=e("h2",{id:"方法-methods",tabindex:"-1"},[e("a",{class:"header-anchor",href:"#方法-methods","aria-hidden":"true"},"#"),o(" 方法 Methods")],-1);function m(p,u){const n=r("ExternalLinkIcon");return s(),a("div",null,[i,e("p",null,[h,o(),e("a",l,[o("官网地址"),d(n)])]),_,f])}const E=t(c,[["render",m],["__file","IEncodedLineTokens.html.vue"]]);export{E as default};
diff --git a/assets/IEncodedLineTokens.html-d01bbfb7.js b/assets/IEncodedLineTokens.html-d01bbfb7.js
new file mode 100644
index 00000000..9a911ed2
--- /dev/null
+++ b/assets/IEncodedLineTokens.html-d01bbfb7.js
@@ -0,0 +1 @@
+const e=JSON.parse('{"key":"v-70776c6f","path":"/language/interfaces/IEncodedLineTokens.html","title":"IEncodedLineTokens","lang":"zh-CN","frontmatter":{"description":"interface 官网地址 (https://microsoft.github.io/monaco-editor/docs.html#interfaces/languages.IEncodedLineTokens.html) 属性 Properties 方法 Methods","head":[["meta",{"property":"og:url","content":"http://aydk.site/language/interfaces/IEncodedLineTokens.html"}],["meta",{"property":"og:site_name","content":"Monaco-editor 学习文档"}],["meta",{"property":"og:title","content":"IEncodedLineTokens"}],["meta",{"property":"og:description","content":"interface 官网地址 (https://microsoft.github.io/monaco-editor/docs.html#interfaces/languages.IEncodedLineTokens.html) 属性 Properties 方法 Methods"}],["meta",{"property":"og:type","content":"article"}],["meta",{"property":"og:locale","content":"zh-CN"}],["meta",{"property":"og:updated_time","content":"2023-06-16T19:55:24.000Z"}],["meta",{"property":"article:author","content":"aydk"}],["meta",{"property":"article:modified_time","content":"2023-06-16T19:55:24.000Z"}],["script",{"type":"application/ld+json"},"{\\"@context\\":\\"https://schema.org\\",\\"@type\\":\\"Article\\",\\"headline\\":\\"IEncodedLineTokens\\",\\"image\\":[\\"\\"],\\"dateModified\\":\\"2023-06-16T19:55:24.000Z\\",\\"author\\":[{\\"@type\\":\\"Person\\",\\"name\\":\\"aydk\\"}]}"]]},"headers":[{"level":2,"title":"属性 Properties","slug":"属性-properties","link":"#属性-properties","children":[]},{"level":2,"title":"方法 Methods","slug":"方法-methods","link":"#方法-methods","children":[]}],"git":{"createdTime":1686945324000,"updatedTime":1686945324000,"contributors":[{"name":"xiaochaochao","email":"xiaochaochao","commits":1}]},"readingTime":{"minutes":0.05,"words":16},"filePathRelative":"language/interfaces/IEncodedLineTokens.md","localizedDate":"2023年6月16日","autoDesc":true}');export{e as data};
diff --git a/assets/IEvent.html-70419826.js b/assets/IEvent.html-70419826.js
new file mode 100644
index 00000000..ab84dd22
--- /dev/null
+++ b/assets/IEvent.html-70419826.js
@@ -0,0 +1 @@
+const e=JSON.parse('{"key":"v-21de0706","path":"/global/interfaces/IEvent.html","title":"","lang":"zh-CN","frontmatter":{"description":"","head":[["meta",{"property":"og:url","content":"http://aydk.site/global/interfaces/IEvent.html"}],["meta",{"property":"og:site_name","content":"Monaco-editor 学习文档"}],["meta",{"property":"og:type","content":"article"}],["meta",{"property":"og:locale","content":"zh-CN"}],["meta",{"property":"og:updated_time","content":"2023-06-22T17:20:55.000Z"}],["meta",{"property":"article:author","content":"aydk"}],["meta",{"property":"article:modified_time","content":"2023-06-22T17:20:55.000Z"}],["script",{"type":"application/ld+json"},"{\\"@context\\":\\"https://schema.org\\",\\"@type\\":\\"Article\\",\\"headline\\":\\"\\",\\"image\\":[\\"\\"],\\"dateModified\\":\\"2023-06-22T17:20:55.000Z\\",\\"author\\":[{\\"@type\\":\\"Person\\",\\"name\\":\\"aydk\\"}]}"]]},"headers":[],"git":{"createdTime":1687454455000,"updatedTime":1687454455000,"contributors":[{"name":"xiaochaochao","email":"xiaochaochao","commits":1}]},"readingTime":{"minutes":0,"words":0},"filePathRelative":"global/interfaces/IEvent.md","localizedDate":"2023年6月22日","autoDesc":true}');export{e as data};
diff --git a/assets/IEvent.html-a92275dd.js b/assets/IEvent.html-a92275dd.js
new file mode 100644
index 00000000..7d7a3a90
--- /dev/null
+++ b/assets/IEvent.html-a92275dd.js
@@ -0,0 +1 @@
+import{_ as e}from"./plugin-vue_export-helper-c27b6911.js";import{o as t,c}from"./app-5f5ef0a9.js";const o={};function r(n,_){return t(),c("div")}const f=e(o,[["render",r],["__file","IEvent.html.vue"]]);export{f as default};
diff --git a/assets/IExpandedMonarchLanguageAction.html-55c2ee46.js b/assets/IExpandedMonarchLanguageAction.html-55c2ee46.js
new file mode 100644
index 00000000..0bd62a2a
--- /dev/null
+++ b/assets/IExpandedMonarchLanguageAction.html-55c2ee46.js
@@ -0,0 +1 @@
+import{_ as o}from"./plugin-vue_export-helper-c27b6911.js";import{r as t,o as r,c,a as e,b as a,d}from"./app-5f5ef0a9.js";const s={},i=e("h1",{id:"iexpandedmonarchlanguageaction",tabindex:"-1"},[e("a",{class:"header-anchor",href:"#iexpandedmonarchlanguageaction","aria-hidden":"true"},"#"),a(" IExpandedMonarchLanguageAction")],-1),h=e("code",null,"interface",-1),l={href:"https://microsoft.github.io/monaco-editor/docs.html#interfaces/languages.IExpandedMonarchLanguageAction.html",target:"_blank",rel:"noopener noreferrer"},_=e("h2",{id:"属性-properties",tabindex:"-1"},[e("a",{class:"header-anchor",href:"#属性-properties","aria-hidden":"true"},"#"),a(" 属性 Properties")],-1),p=e("h2",{id:"方法-methods",tabindex:"-1"},[e("a",{class:"header-anchor",href:"#方法-methods","aria-hidden":"true"},"#"),a(" 方法 Methods")],-1);function m(u,f){const n=t("ExternalLinkIcon");return r(),c("div",null,[i,e("p",null,[h,a(),e("a",l,[a("官网地址"),d(n)])]),_,p])}const E=o(s,[["render",m],["__file","IExpandedMonarchLanguageAction.html.vue"]]);export{E as default};
diff --git a/assets/IExpandedMonarchLanguageAction.html-ea049aec.js b/assets/IExpandedMonarchLanguageAction.html-ea049aec.js
new file mode 100644
index 00000000..bda9a574
--- /dev/null
+++ b/assets/IExpandedMonarchLanguageAction.html-ea049aec.js
@@ -0,0 +1 @@
+const e=JSON.parse('{"key":"v-356df398","path":"/language/interfaces/IExpandedMonarchLanguageAction.html","title":"IExpandedMonarchLanguageAction","lang":"zh-CN","frontmatter":{"description":"interface 官网地址 (https://microsoft.github.io/monaco-editor/docs.html#interfaces/languages.IExpandedMonarchLanguageAction.html) 属性 Properties 方法 Methods","head":[["meta",{"property":"og:url","content":"http://aydk.site/language/interfaces/IExpandedMonarchLanguageAction.html"}],["meta",{"property":"og:site_name","content":"Monaco-editor 学习文档"}],["meta",{"property":"og:title","content":"IExpandedMonarchLanguageAction"}],["meta",{"property":"og:description","content":"interface 官网地址 (https://microsoft.github.io/monaco-editor/docs.html#interfaces/languages.IExpandedMonarchLanguageAction.html) 属性 Properties 方法 Methods"}],["meta",{"property":"og:type","content":"article"}],["meta",{"property":"og:locale","content":"zh-CN"}],["meta",{"property":"og:updated_time","content":"2023-06-16T19:55:24.000Z"}],["meta",{"property":"article:author","content":"aydk"}],["meta",{"property":"article:modified_time","content":"2023-06-16T19:55:24.000Z"}],["script",{"type":"application/ld+json"},"{\\"@context\\":\\"https://schema.org\\",\\"@type\\":\\"Article\\",\\"headline\\":\\"IExpandedMonarchLanguageAction\\",\\"image\\":[\\"\\"],\\"dateModified\\":\\"2023-06-16T19:55:24.000Z\\",\\"author\\":[{\\"@type\\":\\"Person\\",\\"name\\":\\"aydk\\"}]}"]]},"headers":[{"level":2,"title":"属性 Properties","slug":"属性-properties","link":"#属性-properties","children":[]},{"level":2,"title":"方法 Methods","slug":"方法-methods","link":"#方法-methods","children":[]}],"git":{"createdTime":1686945324000,"updatedTime":1686945324000,"contributors":[{"name":"xiaochaochao","email":"xiaochaochao","commits":1}]},"readingTime":{"minutes":0.05,"words":16},"filePathRelative":"language/interfaces/IExpandedMonarchLanguageAction.md","localizedDate":"2023年6月16日","autoDesc":true}');export{e as data};
diff --git a/assets/IExpandedMonarchLanguageRule.html-0c5270b5.js b/assets/IExpandedMonarchLanguageRule.html-0c5270b5.js
new file mode 100644
index 00000000..27d6c622
--- /dev/null
+++ b/assets/IExpandedMonarchLanguageRule.html-0c5270b5.js
@@ -0,0 +1 @@
+const e=JSON.parse('{"key":"v-73adb96e","path":"/language/interfaces/IExpandedMonarchLanguageRule.html","title":"IExpandedMonarchLanguageRule","lang":"zh-CN","frontmatter":{"description":"interface 官网地址 (https://microsoft.github.io/monaco-editor/docs.html#interfaces/languages.IExpandedMonarchLanguageRule.html) 属性 Properties 方法 Methods","head":[["meta",{"property":"og:url","content":"http://aydk.site/language/interfaces/IExpandedMonarchLanguageRule.html"}],["meta",{"property":"og:site_name","content":"Monaco-editor 学习文档"}],["meta",{"property":"og:title","content":"IExpandedMonarchLanguageRule"}],["meta",{"property":"og:description","content":"interface 官网地址 (https://microsoft.github.io/monaco-editor/docs.html#interfaces/languages.IExpandedMonarchLanguageRule.html) 属性 Properties 方法 Methods"}],["meta",{"property":"og:type","content":"article"}],["meta",{"property":"og:locale","content":"zh-CN"}],["meta",{"property":"og:updated_time","content":"2023-06-16T19:55:24.000Z"}],["meta",{"property":"article:author","content":"aydk"}],["meta",{"property":"article:modified_time","content":"2023-06-16T19:55:24.000Z"}],["script",{"type":"application/ld+json"},"{\\"@context\\":\\"https://schema.org\\",\\"@type\\":\\"Article\\",\\"headline\\":\\"IExpandedMonarchLanguageRule\\",\\"image\\":[\\"\\"],\\"dateModified\\":\\"2023-06-16T19:55:24.000Z\\",\\"author\\":[{\\"@type\\":\\"Person\\",\\"name\\":\\"aydk\\"}]}"]]},"headers":[{"level":2,"title":"属性 Properties","slug":"属性-properties","link":"#属性-properties","children":[]},{"level":2,"title":"方法 Methods","slug":"方法-methods","link":"#方法-methods","children":[]}],"git":{"createdTime":1686945324000,"updatedTime":1686945324000,"contributors":[{"name":"xiaochaochao","email":"xiaochaochao","commits":1}]},"readingTime":{"minutes":0.05,"words":16},"filePathRelative":"language/interfaces/IExpandedMonarchLanguageRule.md","localizedDate":"2023年6月16日","autoDesc":true}');export{e as data};
diff --git a/assets/IExpandedMonarchLanguageRule.html-b0717ff6.js b/assets/IExpandedMonarchLanguageRule.html-b0717ff6.js
new file mode 100644
index 00000000..4f2925e2
--- /dev/null
+++ b/assets/IExpandedMonarchLanguageRule.html-b0717ff6.js
@@ -0,0 +1 @@
+import{_ as r}from"./plugin-vue_export-helper-c27b6911.js";import{r as o,o as t,c as d,a as e,b as a,d as c}from"./app-5f5ef0a9.js";const s={},h=e("h1",{id:"iexpandedmonarchlanguagerule",tabindex:"-1"},[e("a",{class:"header-anchor",href:"#iexpandedmonarchlanguagerule","aria-hidden":"true"},"#"),a(" IExpandedMonarchLanguageRule")],-1),i=e("code",null,"interface",-1),l={href:"https://microsoft.github.io/monaco-editor/docs.html#interfaces/languages.IExpandedMonarchLanguageRule.html",target:"_blank",rel:"noopener noreferrer"},_=e("h2",{id:"属性-properties",tabindex:"-1"},[e("a",{class:"header-anchor",href:"#属性-properties","aria-hidden":"true"},"#"),a(" 属性 Properties")],-1),u=e("h2",{id:"方法-methods",tabindex:"-1"},[e("a",{class:"header-anchor",href:"#方法-methods","aria-hidden":"true"},"#"),a(" 方法 Methods")],-1);function p(m,f){const n=o("ExternalLinkIcon");return t(),d("div",null,[h,e("p",null,[i,a(),e("a",l,[a("官网地址"),c(n)])]),_,u])}const E=r(s,[["render",p],["__file","IExpandedMonarchLanguageRule.html.vue"]]);export{E as default};
diff --git a/assets/IGlobalEditorOptions.html-ccf7d77c.js b/assets/IGlobalEditorOptions.html-ccf7d77c.js
new file mode 100644
index 00000000..82213238
--- /dev/null
+++ b/assets/IGlobalEditorOptions.html-ccf7d77c.js
@@ -0,0 +1 @@
+const e=JSON.parse('{"key":"v-24bd6cc8","path":"/editor/interfaces/IGlobalEditorOptions.html","title":"IGlobalEditorOptions","lang":"zh-CN","frontmatter":{"description":"interface 官网地址 (https://microsoft.github.io/monaco-editor/docs.html#interfaces/editor.BracketPairColorizationOptions.html) 属性 Properties autoDetectHighContrast 类型: boolean 可选 ; ...","head":[["meta",{"property":"og:url","content":"http://aydk.site/editor/interfaces/IGlobalEditorOptions.html"}],["meta",{"property":"og:site_name","content":"Monaco-editor 学习文档"}],["meta",{"property":"og:title","content":"IGlobalEditorOptions"}],["meta",{"property":"og:description","content":"interface 官网地址 (https://microsoft.github.io/monaco-editor/docs.html#interfaces/editor.BracketPairColorizationOptions.html) 属性 Properties autoDetectHighContrast 类型: boolean 可选 ; ..."}],["meta",{"property":"og:type","content":"article"}],["meta",{"property":"og:locale","content":"zh-CN"}],["meta",{"property":"og:updated_time","content":"2023-06-16T20:04:45.000Z"}],["meta",{"property":"article:author","content":"aydk"}],["meta",{"property":"article:modified_time","content":"2023-06-16T20:04:45.000Z"}],["script",{"type":"application/ld+json"},"{\\"@context\\":\\"https://schema.org\\",\\"@type\\":\\"Article\\",\\"headline\\":\\"IGlobalEditorOptions\\",\\"image\\":[\\"\\"],\\"dateModified\\":\\"2023-06-16T20:04:45.000Z\\",\\"author\\":[{\\"@type\\":\\"Person\\",\\"name\\":\\"aydk\\"}]}"]]},"headers":[{"level":2,"title":"属性 Properties","slug":"属性-properties","link":"#属性-properties","children":[{"level":3,"title":"autoDetectHighContrast","slug":"autodetecthighcontrast","link":"#autodetecthighcontrast","children":[]},{"level":3,"title":"detectIndentation","slug":"detectindentation","link":"#detectindentation","children":[]},{"level":3,"title":"insertSpaces","slug":"insertspaces","link":"#insertspaces","children":[]},{"level":3,"title":"largeFileOptimizations","slug":"largefileoptimizations","link":"#largefileoptimizations","children":[]},{"level":3,"title":"maxTokenizationLineLength","slug":"maxtokenizationlinelength","link":"#maxtokenizationlinelength","children":[]},{"level":3,"title":"semanticHighlighting.enabled","slug":"semantichighlighting-enabled","link":"#semantichighlighting-enabled","children":[]},{"level":3,"title":"stablePeek","slug":"stablepeek","link":"#stablepeek","children":[]},{"level":3,"title":"tabSize","slug":"tabsize","link":"#tabsize","children":[]},{"level":3,"title":"theme","slug":"theme","link":"#theme","children":[]},{"level":3,"title":"trimAutoWhitespace","slug":"trimautowhitespace","link":"#trimautowhitespace","children":[]},{"level":3,"title":"wordBasedSuggestions","slug":"wordbasedsuggestions","link":"#wordbasedsuggestions","children":[]},{"level":3,"title":"wordBasedSuggestionsOnlySameLanguage","slug":"wordbasedsuggestionsonlysamelanguage","link":"#wordbasedsuggestionsonlysamelanguage","children":[]}]}],"git":{"createdTime":1686945885000,"updatedTime":1686945885000,"contributors":[{"name":"xiaochaochao","email":"xiaochaochao","commits":1}]},"readingTime":{"minutes":2.6,"words":781},"filePathRelative":"editor/interfaces/IGlobalEditorOptions.md","localizedDate":"2023年6月16日","autoDesc":true}');export{e as data};
diff --git a/assets/IGlobalEditorOptions.html-ed1e3d8e.js b/assets/IGlobalEditorOptions.html-ed1e3d8e.js
new file mode 100644
index 00000000..80403371
--- /dev/null
+++ b/assets/IGlobalEditorOptions.html-ed1e3d8e.js
@@ -0,0 +1 @@
+import{_ as a}from"./plugin-vue_export-helper-c27b6911.js";import{r as d,o as l,c as t,a as e,b as i,d as c,e as r}from"./app-5f5ef0a9.js";const n={},s=e("h1",{id:"iglobaleditoroptions",tabindex:"-1"},[e("a",{class:"header-anchor",href:"#iglobaleditoroptions","aria-hidden":"true"},"#"),i(" IGlobalEditorOptions")],-1),h=e("code",null,"interface",-1),u={href:"https://microsoft.github.io/monaco-editor/docs.html#interfaces/editor.BracketPairColorizationOptions.html",target:"_blank",rel:"noopener noreferrer"},b=r(' 属性 Properties
autoDetectHighContrast
- 类型:
boolean
可选
- 默认值:
-
- 可选项:
-
- 描述:如果启用,编辑器将自动检测操作系统是否正在使用高对比度主题,并在检测到时自动更改为高对比度主题。默认为 true。
detectIndentation
- 类型:
boolean
可选
- 默认值:
true
- 可选项:
-
- 描述:如果启用,编辑器将自动检测文档中使用的缩进,并在下次打开该文档时使用相同的缩进。如果禁用,则编辑器将始终使用 tab 字符作为缩进。
insertSpaces
- 类型:
boolean
可选
- 默认值:
true
- 可选项:
-
- 描述:如果启用,编辑器将使用空格而不是 tab 字符进行缩进。如果禁用,则编辑器将始终使用 tab 字符作为缩进。
largeFileOptimizations
- 类型:
boolean
可选
- 默认值:
true
- 可选项:
-
- 描述:如果启用,编辑器将在处理大文件时应用优化。如果禁用,则编辑器可能会在处理大文件时变得缓慢或不稳定。
maxTokenizationLineLength
- 类型:
number
可选
- 默认值:
20000
- 可选项:
-
- 描述:指定编辑器在标记化行时使用的最大行长度。如果行的长度超过此值,则编辑器将不会对该行进行标记化。这可以提高性能,但可能会导致某些语言的语法高亮显示不正确。
semanticHighlighting.enabled
- 类型:
boolean
可选
- 默认值:
true
- 可选项:
-
- 描述:如果启用,编辑器将使用语义高亮显示来突出显示代码中的符号。如果禁用,则编辑器将使用语法高亮显示。
stablePeek
- 类型:
boolean
可选
- 默认值:
true
- 可选项:
-
- 描述:如果启用,编辑器将在查看定义等操作期间尝试保持打开的编辑器不变。如果禁用,则编辑器可能会在查看定义等操作期间打开新的编辑器。
tabSize
- 类型:
number
可选
- 默认值:
4
- 可选项:
-
- 描述:指定编辑器在进行缩进时使用的空格数。如果 insertSpaces 为 false,则此设置无效。
theme
- 类型:
string
可选
- 默认值:
"vs"
- 可选项:
"vs"
, "vs-dark"
, "hc-black"
- 描述:指定编辑器使用的主题。可以是 "vs"(明亮主题),"vs-dark"(暗黑主题)或 "hc-black"(高对比度主题)。
trimAutoWhitespace
- 类型:
boolean
可选
- 默认值:
true
- 可选项:
-
- 描述:如果启用,则编辑器将在保存文件时删除行末尾的自动插入空格。如果禁用,则编辑器将保留这些空格。
wordBasedSuggestions
- 类型:
boolean
可选
- 默认值:
true
- 可选项:
-
- 描述:如果启用,则编辑器将根据当前文档中的单词提供代码建议。如果禁用,则编辑器将仅根据语言中的关键字提供建议。
wordBasedSuggestionsOnlySameLanguage
- 类型:
boolean
可选
- 默认值:
false
- 可选项:
-
- 描述:如果启用,则编辑器将仅根据当前文档中的单词提供与当前文档的语言相同的代码建议。如果禁用,则编辑器将根据当前文档中的单词提供所有可用的代码建议。
',25);function g(m,p){const o=d("ExternalLinkIcon");return l(),t("div",null,[s,e("p",null,[h,i(),e("a",u,[i("官网地址"),c(o)])]),b])}const _=a(n,[["render",g],["__file","IGlobalEditorOptions.html.vue"]]);export{_ as default};
diff --git a/assets/IGotoLocationOptions.html-6e95a670.js b/assets/IGotoLocationOptions.html-6e95a670.js
new file mode 100644
index 00000000..b9411037
--- /dev/null
+++ b/assets/IGotoLocationOptions.html-6e95a670.js
@@ -0,0 +1 @@
+import{_ as c}from"./plugin-vue_export-helper-c27b6911.js";import{r as a,o as r,c as s,a as e,b as l,d as i,w as t,e as n}from"./app-5f5ef0a9.js";const h={},u=e("h1",{id:"igotolocationoptions",tabindex:"-1"},[e("a",{class:"header-anchor",href:"#igotolocationoptions","aria-hidden":"true"},"#"),l(" IGotoLocationOptions")],-1),m=e("code",null,"interface",-1),_={href:"https://microsoft.github.io/monaco-editor/docs.html#interfaces/editor.IGotoLocationOptions.html",target:"_blank",rel:"noopener noreferrer"},f=n(' 属性 Properties
alternativeDeclarationCommand
- 类型:
字符串
可选
- 默认值:
-
- 可选项:
-
- 描述:用于在编辑器中查找当前光标所在的单词的替代声明。这个命令通常用于在代码中查找函数、变量、类等的声明,以便进行编辑或参考。
alternativeDefinitionCommand
- 类型:
字符串
可选
- 默认值:
-
- 可选项:
-
- 描述:用于在编辑器中查找当前光标所在的单词的替代定义。这个命令通常用于在代码中查找函数、变量、类等的定义,以便进行编辑或参考。。
alternativeImplementationCommand
- 类型:
字符串
可选
- 默认值:
-
- 可选项:
-
- 描述:定义此选项将覆盖默认实现命令,并在转到实现时使用。如果未指定,则使用默认命令。
alternativeReferenceCommand
- 类型:
字符串
可选
- 默认值:
-
- 可选项:
-
- 描述:定义此选项将覆盖默认引用命令,并在转到引用时使用。如果未指定,则使用默认命令。
alternativeTypeDefinitionCommand
- 类型:
字符串
可选
- 默认值:
-
- 可选项:
-
- 描述:定义此选项将覆盖默认类型定义命令,并在转到类型定义时使用。如果未指定,则使用默认命令。
multiple
',12),p=e("code",null,"可选",-1),v=e("li",null,[l("默认值: "),e("code",null,"false")],-1),x=e("li",null,[l("可选项: "),e("code",null,"true"),l(" , "),e("code",null,"false")],-1),b=e("li",null,"描述:定义此选项将覆盖默认多个命令,并在转到多个结果时使用。如果未指定,则使用默认命令。",-1),g=e("h3",{id:"multipledeclarations",tabindex:"-1"},[e("a",{class:"header-anchor",href:"#multipledeclarations","aria-hidden":"true"},"#"),l(" multipleDeclarations")],-1),L=e("code",null,"可选",-1),G=e("li",null,[l("默认值: "),e("code",null,"false")],-1),T=e("li",null,[l("可选项: "),e("code",null,"true"),l(" , "),e("code",null,"false")],-1),V=e("li",null,"描述:定义此选项将覆盖默认多个声明命令,并在转到多个声明时使用。如果未指定,则使用默认命令。",-1),y=e("h3",{id:"multipledefinitions",tabindex:"-1"},[e("a",{class:"header-anchor",href:"#multipledefinitions","aria-hidden":"true"},"#"),l(" multipleDefinitions")],-1),C=e("code",null,"可选",-1),D=e("li",null,[l("默认值: "),e("code",null,"false")],-1),I=e("li",null,[l("可选项: "),e("code",null,"true"),l(" , "),e("code",null,"false")],-1),k=e("li",null,"描述:定义此选项将覆盖默认多个定义命令,并在转到多个定义时使用。如果未指定,则使用默认命令。",-1),R=e("h3",{id:"multipleimplementations",tabindex:"-1"},[e("a",{class:"header-anchor",href:"#multipleimplementations","aria-hidden":"true"},"#"),l(" multipleImplementations")],-1),O=e("code",null,"可选",-1),N=e("li",null,[l("默认值: "),e("code",null,"false")],-1),B=e("li",null,[l("可选项: "),e("code",null,"true"),l(" , "),e("code",null,"false")],-1),E=e("li",null,"描述:定义此选项将覆盖默认多个实现命令,并在转到多个实现时使用。如果未指定,则使用默认命令。",-1),w=e("h3",{id:"multiplereferences",tabindex:"-1"},[e("a",{class:"header-anchor",href:"#multiplereferences","aria-hidden":"true"},"#"),l(" multipleReferences")],-1),P=e("code",null,"可选",-1),M=e("li",null,[l("默认值: "),e("code",null,"false")],-1),S=e("li",null,[l("可选项: "),e("code",null,"true"),l(" , "),e("code",null,"false")],-1),j=e("li",null,"描述:定义此选项将覆盖默认多个引用命令,并在转到多个引用时使用。如果未指定,则使用默认命令。",-1),q=e("h3",{id:"multipletypedefinitions",tabindex:"-1"},[e("a",{class:"header-anchor",href:"#multipletypedefinitions","aria-hidden":"true"},"#"),l(" multipleTypeDefinitions")],-1),z=e("code",null,"可选",-1),A=e("li",null,[l("默认值: "),e("code",null,"false")],-1),F=e("li",null,[l("可选项: "),e("code",null,"true"),l(" , "),e("code",null,"false")],-1),H=e("li",null,"描述:定义此选项将覆盖默认多个类型定义命令,并在转到多个类型定义时使用。如果未指定,则使用默认命令。",-1),J=n(' 方法 Methods
IGotoLocationOptions
interface
跳转的配置选项
参数 Properties
alternativeDeclarationCommand?
alternativeDefinitionCommand?
alternativeImplementationCommand?
alternativeReferenceCommand?
alternativeTypeDefinitionCommand?
multiple?
',15),K=e("li",null,"说明",-1),Q=e("h3",{id:"multipledeclarations-1",tabindex:"-1"},[e("a",{class:"header-anchor",href:"#multipledeclarations-1","aria-hidden":"true"},"#"),l(" multipleDeclarations?")],-1),U=e("li",null,"说明",-1),W=e("h3",{id:"multipledefinitions-1",tabindex:"-1"},[e("a",{class:"header-anchor",href:"#multipledefinitions-1","aria-hidden":"true"},"#"),l(" multipleDefinitions?")],-1),X=e("li",null,"说明",-1),Y=e("h3",{id:"multipleimplementations-1",tabindex:"-1"},[e("a",{class:"header-anchor",href:"#multipleimplementations-1","aria-hidden":"true"},"#"),l(" multipleImplementations?")],-1),Z=e("li",null,"说明",-1),$=e("h3",{id:"multiplereferences-1",tabindex:"-1"},[e("a",{class:"header-anchor",href:"#multiplereferences-1","aria-hidden":"true"},"#"),l(" multipleReferences?")],-1),ee=e("li",null,"说明",-1),le=e("h3",{id:"multipletypedefinitions-1",tabindex:"-1"},[e("a",{class:"header-anchor",href:"#multipletypedefinitions-1","aria-hidden":"true"},"#"),l(" multipleTypeDefinitions?")],-1),ie=e("li",null,"说明",-1);function oe(te,ae){const d=a("ExternalLinkIcon"),o=a("RouterLink");return r(),s("div",null,[u,e("p",null,[m,l(),e("a",_,[l("官网地址"),i(d)])]),f,e("ul",null,[e("li",null,[l("类型:"),i(o,{to:"/editor/aliase.html#gotolocationvalues"},{default:t(()=>[l("GoToLocationValues")]),_:1}),l(),p]),v,x,b]),g,e("ul",null,[e("li",null,[l("类型: "),i(o,{to:"/editor/aliase.html#gotolocationvalues"},{default:t(()=>[l("GoToLocationValues")]),_:1}),l(),L]),G,T,V]),y,e("ul",null,[e("li",null,[l("类型:"),i(o,{to:"/editor/aliase.html#gotolocationvalues"},{default:t(()=>[l("GoToLocationValues")]),_:1}),l(),C]),D,I,k]),R,e("ul",null,[e("li",null,[l("类型: "),i(o,{to:"/editor/aliase.html#gotolocationvalues"},{default:t(()=>[l("GoToLocationValues")]),_:1}),l(),O]),N,B,E]),w,e("ul",null,[e("li",null,[l("类型: "),i(o,{to:"/editor/aliase.html#gotolocationvalues"},{default:t(()=>[l("GoToLocationValues")]),_:1}),l(),P]),M,S,j]),q,e("ul",null,[e("li",null,[l("类型: "),i(o,{to:"/editor/aliase.html#gotolocationvalues"},{default:t(()=>[l("GoToLocationValues")]),_:1}),l(),z]),A,F,H]),J,e("ul",null,[e("li",null,[l("类型 "),i(o,{to:"/editor/aliase.html#gotolocationvalues"},{default:t(()=>[l("GoToLocationValues")]),_:1})]),K]),Q,e("ul",null,[e("li",null,[l("类型 "),i(o,{to:"/editor/aliase.html#gotolocationvalues"},{default:t(()=>[l("GoToLocationValues")]),_:1})]),U]),W,e("ul",null,[e("li",null,[l("类型 "),i(o,{to:"/editor/aliase.html#gotolocationvalues"},{default:t(()=>[l("GoToLocationValues")]),_:1})]),X]),Y,e("ul",null,[e("li",null,[l("类型 "),i(o,{to:"/editor/aliase.html#gotolocationvalues"},{default:t(()=>[l("GoToLocationValues")]),_:1})]),Z]),$,e("ul",null,[e("li",null,[l("类型 "),i(o,{to:"/editor/aliase.html#gotolocationvalues"},{default:t(()=>[l("GoToLocationValues")]),_:1})]),ee]),le,e("ul",null,[e("li",null,[l("类型 "),i(o,{to:"/editor/aliase.html#gotolocationvalues"},{default:t(()=>[l("GoToLocationValues")]),_:1})]),ie])])}const ce=c(h,[["render",oe],["__file","IGotoLocationOptions.html.vue"]]);export{ce as default};
diff --git a/assets/IGotoLocationOptions.html-a03037a7.js b/assets/IGotoLocationOptions.html-a03037a7.js
new file mode 100644
index 00000000..c10b679e
--- /dev/null
+++ b/assets/IGotoLocationOptions.html-a03037a7.js
@@ -0,0 +1 @@
+const e=JSON.parse('{"key":"v-3b5cafe0","path":"/editor/interfaces/IGotoLocationOptions.html","title":"IGotoLocationOptions","lang":"zh-CN","frontmatter":{"description":"interface 官网地址 (https://microsoft.github.io/monaco-editor/docs.html#interfaces/editor.IGotoLocationOptions.html) 属性 Properties alternativeDeclarationCommand 类型: 字符串 `可选 ; 默认值: -...","head":[["meta",{"property":"og:url","content":"http://aydk.site/editor/interfaces/IGotoLocationOptions.html"}],["meta",{"property":"og:site_name","content":"Monaco-editor 学习文档"}],["meta",{"property":"og:title","content":"IGotoLocationOptions"}],["meta",{"property":"og:description","content":"interface 官网地址 (https://microsoft.github.io/monaco-editor/docs.html#interfaces/editor.IGotoLocationOptions.html) 属性 Properties alternativeDeclarationCommand 类型: 字符串 `可选 ; 默认值: -..."}],["meta",{"property":"og:type","content":"article"}],["meta",{"property":"og:locale","content":"zh-CN"}],["meta",{"property":"og:updated_time","content":"2023-06-16T20:04:45.000Z"}],["meta",{"property":"article:author","content":"aydk"}],["meta",{"property":"article:modified_time","content":"2023-06-16T20:04:45.000Z"}],["script",{"type":"application/ld+json"},"{\\"@context\\":\\"https://schema.org\\",\\"@type\\":\\"Article\\",\\"headline\\":\\"IGotoLocationOptions\\",\\"image\\":[\\"\\"],\\"dateModified\\":\\"2023-06-16T20:04:45.000Z\\",\\"author\\":[{\\"@type\\":\\"Person\\",\\"name\\":\\"aydk\\"}]}"]]},"headers":[{"level":2,"title":"属性 Properties","slug":"属性-properties","link":"#属性-properties","children":[{"level":3,"title":"alternativeDeclarationCommand","slug":"alternativedeclarationcommand","link":"#alternativedeclarationcommand","children":[]},{"level":3,"title":"alternativeDefinitionCommand","slug":"alternativedefinitioncommand","link":"#alternativedefinitioncommand","children":[]},{"level":3,"title":"alternativeImplementationCommand","slug":"alternativeimplementationcommand","link":"#alternativeimplementationcommand","children":[]},{"level":3,"title":"alternativeReferenceCommand","slug":"alternativereferencecommand","link":"#alternativereferencecommand","children":[]},{"level":3,"title":"alternativeTypeDefinitionCommand","slug":"alternativetypedefinitioncommand","link":"#alternativetypedefinitioncommand","children":[]},{"level":3,"title":"multiple","slug":"multiple","link":"#multiple","children":[]},{"level":3,"title":"multipleDeclarations","slug":"multipledeclarations","link":"#multipledeclarations","children":[]},{"level":3,"title":"multipleDefinitions","slug":"multipledefinitions","link":"#multipledefinitions","children":[]},{"level":3,"title":"multipleImplementations","slug":"multipleimplementations","link":"#multipleimplementations","children":[]},{"level":3,"title":"multipleReferences","slug":"multiplereferences","link":"#multiplereferences","children":[]},{"level":3,"title":"multipleTypeDefinitions","slug":"multipletypedefinitions","link":"#multipletypedefinitions","children":[]}]},{"level":2,"title":"方法 Methods","slug":"方法-methods","link":"#方法-methods","children":[]},{"level":2,"title":"参数 Properties","slug":"参数-properties","link":"#参数-properties","children":[{"level":3,"title":"alternativeDeclarationCommand?","slug":"alternativedeclarationcommand-1","link":"#alternativedeclarationcommand-1","children":[]},{"level":3,"title":"alternativeDefinitionCommand?","slug":"alternativedefinitioncommand-1","link":"#alternativedefinitioncommand-1","children":[]},{"level":3,"title":"alternativeImplementationCommand?","slug":"alternativeimplementationcommand-1","link":"#alternativeimplementationcommand-1","children":[]},{"level":3,"title":"alternativeReferenceCommand?","slug":"alternativereferencecommand-1","link":"#alternativereferencecommand-1","children":[]},{"level":3,"title":"alternativeTypeDefinitionCommand?","slug":"alternativetypedefinitioncommand-1","link":"#alternativetypedefinitioncommand-1","children":[]},{"level":3,"title":"multiple?","slug":"multiple-1","link":"#multiple-1","children":[]},{"level":3,"title":"multipleDeclarations?","slug":"multipledeclarations-1","link":"#multipledeclarations-1","children":[]},{"level":3,"title":"multipleDefinitions?","slug":"multipledefinitions-1","link":"#multipledefinitions-1","children":[]},{"level":3,"title":"multipleImplementations?","slug":"multipleimplementations-1","link":"#multipleimplementations-1","children":[]},{"level":3,"title":"multipleReferences?","slug":"multiplereferences-1","link":"#multiplereferences-1","children":[]},{"level":3,"title":"multipleTypeDefinitions?","slug":"multipletypedefinitions-1","link":"#multipletypedefinitions-1","children":[]}]}],"git":{"createdTime":1686945885000,"updatedTime":1686945885000,"contributors":[{"name":"xiaochaochao","email":"xiaochaochao","commits":1}]},"readingTime":{"minutes":2.52,"words":755},"filePathRelative":"editor/interfaces/IGotoLocationOptions.md","localizedDate":"2023年6月16日","autoDesc":true}');export{e as data};
diff --git a/assets/IGuidesOptions.html-59caa422.js b/assets/IGuidesOptions.html-59caa422.js
new file mode 100644
index 00000000..ab5f07c7
--- /dev/null
+++ b/assets/IGuidesOptions.html-59caa422.js
@@ -0,0 +1 @@
+import{_ as a}from"./plugin-vue_export-helper-c27b6911.js";import{r as t,o as c,c as d,a as e,b as i,d as r,e as l}from"./app-5f5ef0a9.js";const n={},h=e("h1",{id:"iguidesoptions",tabindex:"-1"},[e("a",{class:"header-anchor",href:"#iguidesoptions","aria-hidden":"true"},"#"),i(" IGuidesOptions")],-1),s=e("code",null,"interface",-1),u={href:"https://microsoft.github.io/monaco-editor/docs.html#interfaces/editor.IGuidesOptions.html",target:"_blank",rel:"noopener noreferrer"},p=l(' 属性 Properties
bracketPairs
- 类型:
boolean | "active"
可选
- 默认值:
-
- 可选项:
-
- 描述:
启用括号对指南的渲染。。默认情况下,false
bracketPairsHorizontal
- 类型:
boolean | "active"
可选
- 默认值:
-
- 可选项:
-
- 描述:
启用垂直括号对指南的渲染。默认为active
highlightActiveBracketPair
- 类型:
boolean
可选
- 默认值:
true
- 可选项:
-
- 描述:
如果为 true,则在编辑器中突出显示活动括号对。
highlightActiveIndentation
- 类型:
boolean
| "always" 可选
- 默认值:
true
- 可选项:
-
- 描述:
如果为 true,则在编辑器中突出显示活动缩进。
indentation
- 类型:
boolean
可选
- 默认值:
true
- 可选项:
-
- 描述:
启用缩进指南的渲染
',11);function b(_,f){const o=t("ExternalLinkIcon");return c(),d("div",null,[h,e("p",null,[s,i(),e("a",u,[i("官网地址"),r(o)])]),p])}const m=a(n,[["render",b],["__file","IGuidesOptions.html.vue"]]);export{m as default};
diff --git a/assets/IGuidesOptions.html-a18bf831.js b/assets/IGuidesOptions.html-a18bf831.js
new file mode 100644
index 00000000..3ec12a0b
--- /dev/null
+++ b/assets/IGuidesOptions.html-a18bf831.js
@@ -0,0 +1 @@
+const t=JSON.parse('{"key":"v-c6c473e2","path":"/editor/interfaces/IGuidesOptions.html","title":"IGuidesOptions","lang":"zh-CN","frontmatter":{"description":"interface 官网地址 (https://microsoft.github.io/monaco-editor/docs.html#interfaces/editor.IGuidesOptions.html) 属性 Properties ### bracketPairs 类型: boolean | \\"active\\" 可选 ; 默认值: - ; 可选...","head":[["meta",{"property":"og:url","content":"http://aydk.site/editor/interfaces/IGuidesOptions.html"}],["meta",{"property":"og:site_name","content":"Monaco-editor 学习文档"}],["meta",{"property":"og:title","content":"IGuidesOptions"}],["meta",{"property":"og:description","content":"interface 官网地址 (https://microsoft.github.io/monaco-editor/docs.html#interfaces/editor.IGuidesOptions.html) 属性 Properties ### bracketPairs 类型: boolean | \\"active\\" 可选 ; 默认值: - ; 可选..."}],["meta",{"property":"og:type","content":"article"}],["meta",{"property":"og:locale","content":"zh-CN"}],["meta",{"property":"og:updated_time","content":"2023-06-16T20:04:45.000Z"}],["meta",{"property":"article:author","content":"aydk"}],["meta",{"property":"article:modified_time","content":"2023-06-16T20:04:45.000Z"}],["script",{"type":"application/ld+json"},"{\\"@context\\":\\"https://schema.org\\",\\"@type\\":\\"Article\\",\\"headline\\":\\"IGuidesOptions\\",\\"image\\":[\\"\\"],\\"dateModified\\":\\"2023-06-16T20:04:45.000Z\\",\\"author\\":[{\\"@type\\":\\"Person\\",\\"name\\":\\"aydk\\"}]}"]]},"headers":[{"level":2,"title":"属性 Properties","slug":"属性-properties","link":"#属性-properties","children":[{"level":3,"title":"bracketPairs","slug":"bracketpairs","link":"#bracketpairs","children":[]},{"level":3,"title":"bracketPairsHorizontal","slug":"bracketpairshorizontal","link":"#bracketpairshorizontal","children":[]},{"level":3,"title":"highlightActiveBracketPair","slug":"highlightactivebracketpair","link":"#highlightactivebracketpair","children":[]},{"level":3,"title":"highlightActiveIndentation","slug":"highlightactiveindentation","link":"#highlightactiveindentation","children":[]},{"level":3,"title":"indentation","slug":"indentation","link":"#indentation","children":[]}]}],"git":{"createdTime":1686945885000,"updatedTime":1686945885000,"contributors":[{"name":"xiaochaochao","email":"xiaochaochao","commits":1}]},"readingTime":{"minutes":0.56,"words":167},"filePathRelative":"editor/interfaces/IGuidesOptions.md","localizedDate":"2023年6月16日","autoDesc":true}');export{t as data};
diff --git a/assets/IIdentifiedSingleEditOperation.html-977fa728.js b/assets/IIdentifiedSingleEditOperation.html-977fa728.js
new file mode 100644
index 00000000..448b3d27
--- /dev/null
+++ b/assets/IIdentifiedSingleEditOperation.html-977fa728.js
@@ -0,0 +1 @@
+import{_ as a}from"./plugin-vue_export-helper-c27b6911.js";import{r as i,o as l,c,a as e,b as o,d as t,w as s,e as n}from"./app-5f5ef0a9.js";const h={},_=e("h1",{id:"iidentifiedsingleeditoperation",tabindex:"-1"},[e("a",{class:"header-anchor",href:"#iidentifiedsingleeditoperation","aria-hidden":"true"},"#"),o(" IIdentifiedSingleEditOperation")],-1),u=e("code",null,"interface",-1),f={href:"https://microsoft.github.io/monaco-editor/docs.html#interfaces/editor.IIdentifiedSingleEditOperation.html",target:"_blank",rel:"noopener noreferrer"},p=n(' 属性 Properties
forceMoveMarkers?
- 类型:
boolean
可选
- 默认值:
-
- 可选项:
-
- 描述:
这表明此操作具有“插入”语义。即 forceMoveMarkers = true => 如果范围折叠,该位置的所有标记都将被移动。
range
',4),m=e("code",null,"可选",-1),g=e("li",null,[o("默认值: "),e("code",null,"-")],-1),x=e("li",null,[o("可选项: "),e("code",null,"-")],-1),I=e("li",null,[o("描述: "),e("code",null,"要替换的范围。这可以为空以模拟简单的插入。")],-1),k=n(' text
- 类型:
string
可选
- 默认值:
-
- 可选项:
-
- 描述:
要替换为的文本。这可以为 null 以模拟简单的删除。
',2);function b(v,E){const r=i("ExternalLinkIcon"),d=i("RouterLink");return l(),c("div",null,[_,e("p",null,[u,o(),e("a",f,[o("官网地址"),t(r)])]),p,e("ul",null,[e("li",null,[o("类型: "),t(d,{to:"/global/interfaces/IRange.html"},{default:s(()=>[o("IRange")]),_:1}),o(),m]),g,x,I]),k])}const M=a(h,[["render",b],["__file","IIdentifiedSingleEditOperation.html.vue"]]);export{M as default};
diff --git a/assets/IIdentifiedSingleEditOperation.html-e9989b45.js b/assets/IIdentifiedSingleEditOperation.html-e9989b45.js
new file mode 100644
index 00000000..301a3f75
--- /dev/null
+++ b/assets/IIdentifiedSingleEditOperation.html-e9989b45.js
@@ -0,0 +1 @@
+const e=JSON.parse('{"key":"v-b8dff9c8","path":"/editor/interfaces/IIdentifiedSingleEditOperation.html","title":"IIdentifiedSingleEditOperation","lang":"zh-CN","frontmatter":{"description":"interface 官网地址 (https://microsoft.github.io/monaco-editor/docs.html#interfaces/editor.IIdentifiedSingleEditOperation.html) 属性 Properties forceMoveMarkers? 类型: boolean 可选; 默认值: -...","head":[["meta",{"property":"og:url","content":"http://aydk.site/editor/interfaces/IIdentifiedSingleEditOperation.html"}],["meta",{"property":"og:site_name","content":"Monaco-editor 学习文档"}],["meta",{"property":"og:title","content":"IIdentifiedSingleEditOperation"}],["meta",{"property":"og:description","content":"interface 官网地址 (https://microsoft.github.io/monaco-editor/docs.html#interfaces/editor.IIdentifiedSingleEditOperation.html) 属性 Properties forceMoveMarkers? 类型: boolean 可选; 默认值: -..."}],["meta",{"property":"og:type","content":"article"}],["meta",{"property":"og:locale","content":"zh-CN"}],["meta",{"property":"og:updated_time","content":"2023-06-16T20:04:45.000Z"}],["meta",{"property":"article:author","content":"aydk"}],["meta",{"property":"article:modified_time","content":"2023-06-16T20:04:45.000Z"}],["script",{"type":"application/ld+json"},"{\\"@context\\":\\"https://schema.org\\",\\"@type\\":\\"Article\\",\\"headline\\":\\"IIdentifiedSingleEditOperation\\",\\"image\\":[\\"\\"],\\"dateModified\\":\\"2023-06-16T20:04:45.000Z\\",\\"author\\":[{\\"@type\\":\\"Person\\",\\"name\\":\\"aydk\\"}]}"]]},"headers":[{"level":2,"title":"属性 Properties","slug":"属性-properties","link":"#属性-properties","children":[{"level":3,"title":"forceMoveMarkers?","slug":"forcemovemarkers","link":"#forcemovemarkers","children":[]},{"level":3,"title":"range","slug":"range","link":"#range","children":[]},{"level":3,"title":"text","slug":"text","link":"#text","children":[]}]}],"git":{"createdTime":1686945885000,"updatedTime":1686945885000,"contributors":[{"name":"xiaochaochao","email":"xiaochaochao","commits":1}]},"readingTime":{"minutes":0.43,"words":129},"filePathRelative":"editor/interfaces/IIdentifiedSingleEditOperation.md","localizedDate":"2023年6月16日","autoDesc":true}');export{e as data};
diff --git a/assets/IInlineSuggestOptions.html-96d05bec.js b/assets/IInlineSuggestOptions.html-96d05bec.js
new file mode 100644
index 00000000..034b127b
--- /dev/null
+++ b/assets/IInlineSuggestOptions.html-96d05bec.js
@@ -0,0 +1 @@
+const e=JSON.parse('{"key":"v-263d9e29","path":"/editor/interfaces/IInlineSuggestOptions.html","title":"IInlineSuggestOptions","lang":"zh-CN","frontmatter":{"description":"interface 官网地址 (https://microsoft.github.io/monaco-editor/docs.html#interfaces/editor.IInlineSuggestOptions.html) 属性 Properties enabled? 类型: boolean 可选; 默认值: -; 可选项: -; 描述: 指定是否...","head":[["meta",{"property":"og:url","content":"http://aydk.site/editor/interfaces/IInlineSuggestOptions.html"}],["meta",{"property":"og:site_name","content":"Monaco-editor 学习文档"}],["meta",{"property":"og:title","content":"IInlineSuggestOptions"}],["meta",{"property":"og:description","content":"interface 官网地址 (https://microsoft.github.io/monaco-editor/docs.html#interfaces/editor.IInlineSuggestOptions.html) 属性 Properties enabled? 类型: boolean 可选; 默认值: -; 可选项: -; 描述: 指定是否..."}],["meta",{"property":"og:type","content":"article"}],["meta",{"property":"og:locale","content":"zh-CN"}],["meta",{"property":"og:updated_time","content":"2023-06-16T20:04:45.000Z"}],["meta",{"property":"article:author","content":"aydk"}],["meta",{"property":"article:modified_time","content":"2023-06-16T20:04:45.000Z"}],["script",{"type":"application/ld+json"},"{\\"@context\\":\\"https://schema.org\\",\\"@type\\":\\"Article\\",\\"headline\\":\\"IInlineSuggestOptions\\",\\"image\\":[\\"\\"],\\"dateModified\\":\\"2023-06-16T20:04:45.000Z\\",\\"author\\":[{\\"@type\\":\\"Person\\",\\"name\\":\\"aydk\\"}]}"]]},"headers":[{"level":2,"title":"属性 Properties","slug":"属性-properties","link":"#属性-properties","children":[{"level":3,"title":"enabled?","slug":"enabled","link":"#enabled","children":[]},{"level":3,"title":"keepOnBlur?","slug":"keeponblur","link":"#keeponblur","children":[]},{"level":3,"title":"mode?","slug":"mode","link":"#mode","children":[]},{"level":3,"title":"showToolbar?","slug":"showtoolbar","link":"#showtoolbar","children":[]},{"level":3,"title":"suppressSuggestions?","slug":"suppresssuggestions","link":"#suppresssuggestions","children":[]}]}],"git":{"createdTime":1686945885000,"updatedTime":1686945885000,"contributors":[{"name":"xiaochaochao","email":"xiaochaochao","commits":1}]},"readingTime":{"minutes":0.49,"words":146},"filePathRelative":"editor/interfaces/IInlineSuggestOptions.md","localizedDate":"2023年6月16日","autoDesc":true}');export{e as data};
diff --git a/assets/IInlineSuggestOptions.html-de593f9d.js b/assets/IInlineSuggestOptions.html-de593f9d.js
new file mode 100644
index 00000000..16716f02
--- /dev/null
+++ b/assets/IInlineSuggestOptions.html-de593f9d.js
@@ -0,0 +1 @@
+import{_ as d}from"./plugin-vue_export-helper-c27b6911.js";import{r as t,o as l,c as a,a as e,b as o,d as r,e as c}from"./app-5f5ef0a9.js";const n={},s=e("h1",{id:"iinlinesuggestoptions",tabindex:"-1"},[e("a",{class:"header-anchor",href:"#iinlinesuggestoptions","aria-hidden":"true"},"#"),o(" IInlineSuggestOptions")],-1),u=e("code",null,"interface",-1),h={href:"https://microsoft.github.io/monaco-editor/docs.html#interfaces/editor.IInlineSuggestOptions.html",target:"_blank",rel:"noopener noreferrer"},p=c(' 属性 Properties
enabled?
- 类型:
boolean
可选
- 默认值:
-
- 可选项:
-
- 描述:
指定是否启用内联建议。默认值为 true
keepOnBlur?
- 类型:
boolean
可选
- 默认值:
-
- 可选项:
-
- 描述:
指定失去焦点的时候是否保留內联建议不消失
mode?
- 类型:
enum
可选
- 默认值:
prefix
- 可选项:
"prefix" | "subword" | "subwordSmart"
- 描述:
指定内联建议的模式。可能的值有"prefix" 和 "subwordPrefix" 。默认值为 "prefix" 。
- 类型:
enum
可选
- 默认值:
-
- 可选项:
"always" | "onHover"
- 描述: ``
suppressSuggestions?
- 类型:
boolean
可选
- 默认值:
-
- 可选项:
-
- 描述: ``
',11);function f(b,_){const i=t("ExternalLinkIcon");return l(),a("div",null,[s,e("p",null,[u,o(),e("a",h,[o("官网地址"),r(i)])]),p])}const x=d(n,[["render",f],["__file","IInlineSuggestOptions.html.vue"]]);export{x as default};
diff --git a/assets/IKeybindingRule.html-7330c2db.js b/assets/IKeybindingRule.html-7330c2db.js
new file mode 100644
index 00000000..0a1452c8
--- /dev/null
+++ b/assets/IKeybindingRule.html-7330c2db.js
@@ -0,0 +1 @@
+const e=JSON.parse('{"key":"v-12ee13da","path":"/editor/interfaces/IKeybindingRule.html","title":"IKeybindingRule","lang":"zh-CN","frontmatter":{"description":"interface 官网地址 (https://microsoft.github.io/monaco-editor/docs.html#interfaces/editor.IKeybindingRule.html) 属性 Properties command 类型: string 可选 ; 默认值: - ; 可选项: - ; 描述: 命令的名称。如果提...","head":[["meta",{"property":"og:url","content":"http://aydk.site/editor/interfaces/IKeybindingRule.html"}],["meta",{"property":"og:site_name","content":"Monaco-editor 学习文档"}],["meta",{"property":"og:title","content":"IKeybindingRule"}],["meta",{"property":"og:description","content":"interface 官网地址 (https://microsoft.github.io/monaco-editor/docs.html#interfaces/editor.IKeybindingRule.html) 属性 Properties command 类型: string 可选 ; 默认值: - ; 可选项: - ; 描述: 命令的名称。如果提..."}],["meta",{"property":"og:type","content":"article"}],["meta",{"property":"og:locale","content":"zh-CN"}],["meta",{"property":"og:updated_time","content":"2023-06-16T20:04:45.000Z"}],["meta",{"property":"article:author","content":"aydk"}],["meta",{"property":"article:modified_time","content":"2023-06-16T20:04:45.000Z"}],["script",{"type":"application/ld+json"},"{\\"@context\\":\\"https://schema.org\\",\\"@type\\":\\"Article\\",\\"headline\\":\\"IKeybindingRule\\",\\"image\\":[\\"\\"],\\"dateModified\\":\\"2023-06-16T20:04:45.000Z\\",\\"author\\":[{\\"@type\\":\\"Person\\",\\"name\\":\\"aydk\\"}]}"]]},"headers":[{"level":2,"title":"属性 Properties","slug":"属性-properties","link":"#属性-properties","children":[{"level":3,"title":"command","slug":"command","link":"#command","children":[]},{"level":3,"title":"commandArgs","slug":"commandargs","link":"#commandargs","children":[]},{"level":3,"title":"keybinding","slug":"keybinding","link":"#keybinding","children":[]},{"level":3,"title":"when","slug":"when","link":"#when","children":[]}]}],"git":{"createdTime":1686945885000,"updatedTime":1686945885000,"contributors":[{"name":"xiaochaochao","email":"xiaochaochao","commits":1}]},"readingTime":{"minutes":0.65,"words":194},"filePathRelative":"editor/interfaces/IKeybindingRule.md","localizedDate":"2023年6月16日","autoDesc":true}');export{e as data};
diff --git a/assets/IKeybindingRule.html-ada0877d.js b/assets/IKeybindingRule.html-ada0877d.js
new file mode 100644
index 00000000..1ca08ba4
--- /dev/null
+++ b/assets/IKeybindingRule.html-ada0877d.js
@@ -0,0 +1 @@
+import{_ as o}from"./plugin-vue_export-helper-c27b6911.js";import{r as c,o as a,c as n,a as e,b as i,d as r,e as l}from"./app-5f5ef0a9.js";const t={},h=e("h1",{id:"ikeybindingrule",tabindex:"-1"},[e("a",{class:"header-anchor",href:"#ikeybindingrule","aria-hidden":"true"},"#"),i(" IKeybindingRule")],-1),s=e("code",null,"interface",-1),u={href:"https://microsoft.github.io/monaco-editor/docs.html#interfaces/editor.IKeybindingRule.html",target:"_blank",rel:"noopener noreferrer"},m=l(' 属性 Properties
command
- 类型:
string
可选
- 默认值:
-
- 可选项:
-
- 描述:
命令的名称。如果提供了该属性,则必须与其他规则中的命令名称相同才能触发此规则。
commandArgs
- 类型:
any
可选
- 默认值:
-
- 可选项:
-
- 描述:
传递给命令的参数。如果提供了该属性,则必须与其他规则中的命令参数相同才能触发此规则。
keybinding
- 类型:
number
- 默认值:
-
- 可选项:
-
- 描述:
表示按键的虚拟键代码。
when
- 类型:
string
可选
- 默认值:
-
- 可选项:
-
- 描述:
定义何时应触发此规则的条件。如果提供了该属性,则必须与其他规则中的条件相同才能触发此规则。
',9);function _(b,f){const d=c("ExternalLinkIcon");return a(),n("div",null,[h,e("p",null,[s,i(),e("a",u,[i("官网地址"),r(d)])]),m])}const x=o(t,[["render",_],["__file","IKeybindingRule.html.vue"]]);export{x as default};
diff --git a/assets/IKeyboardEvent.html-07ff7c3a.js b/assets/IKeyboardEvent.html-07ff7c3a.js
new file mode 100644
index 00000000..4f79eba9
--- /dev/null
+++ b/assets/IKeyboardEvent.html-07ff7c3a.js
@@ -0,0 +1 @@
+const e=JSON.parse('{"key":"v-c4632966","path":"/global/interfaces/IKeyboardEvent.html","title":"IKeyboardEvent","lang":"zh-CN","frontmatter":{"description":"interface 官网地址 (https://microsoft.github.io/monaco-editor/typedoc/interfaces/IKeyboardEvent.html) 参数 Properties 待补充","head":[["meta",{"property":"og:url","content":"http://aydk.site/global/interfaces/IKeyboardEvent.html"}],["meta",{"property":"og:site_name","content":"Monaco-editor 学习文档"}],["meta",{"property":"og:title","content":"IKeyboardEvent"}],["meta",{"property":"og:description","content":"interface 官网地址 (https://microsoft.github.io/monaco-editor/typedoc/interfaces/IKeyboardEvent.html) 参数 Properties 待补充"}],["meta",{"property":"og:type","content":"article"}],["meta",{"property":"og:locale","content":"zh-CN"}],["meta",{"property":"og:updated_time","content":"2023-12-17T17:13:50.000Z"}],["meta",{"property":"article:author","content":"aydk"}],["meta",{"property":"article:modified_time","content":"2023-12-17T17:13:50.000Z"}],["script",{"type":"application/ld+json"},"{\\"@context\\":\\"https://schema.org\\",\\"@type\\":\\"Article\\",\\"headline\\":\\"IKeyboardEvent\\",\\"image\\":[\\"\\"],\\"dateModified\\":\\"2023-12-17T17:13:50.000Z\\",\\"author\\":[{\\"@type\\":\\"Person\\",\\"name\\":\\"aydk\\"}]}"]]},"headers":[{"level":2,"title":"参数 Properties","slug":"参数-properties","link":"#参数-properties","children":[]}],"git":{"createdTime":1702833230000,"updatedTime":1702833230000,"contributors":[{"name":"xiaochaochao","email":"xiaochaochao","commits":1}]},"readingTime":{"minutes":0.05,"words":15},"filePathRelative":"global/interfaces/IKeyboardEvent.md","localizedDate":"2023年12月17日","autoDesc":true}');export{e as data};
diff --git a/assets/IKeyboardEvent.html-a5665e11.js b/assets/IKeyboardEvent.html-a5665e11.js
new file mode 100644
index 00000000..66b9b220
--- /dev/null
+++ b/assets/IKeyboardEvent.html-a5665e11.js
@@ -0,0 +1 @@
+import{_ as r}from"./plugin-vue_export-helper-c27b6911.js";import{r as n,o as a,c as s,a as e,b as t,d as c}from"./app-5f5ef0a9.js";const d={},i=e("h1",{id:"ikeyboardevent",tabindex:"-1"},[e("a",{class:"header-anchor",href:"#ikeyboardevent","aria-hidden":"true"},"#"),t(" IKeyboardEvent")],-1),_=e("code",null,"interface",-1),l={href:"https://microsoft.github.io/monaco-editor/typedoc/interfaces/IKeyboardEvent.html",target:"_blank",rel:"noopener noreferrer"},h=e("h2",{id:"参数-properties",tabindex:"-1"},[e("a",{class:"header-anchor",href:"#参数-properties","aria-hidden":"true"},"#"),t(" 参数 Properties")],-1),p=e("p",null,"待补充",-1);function f(m,b){const o=n("ExternalLinkIcon");return a(),s("div",null,[i,e("p",null,[_,t(),e("a",l,[t("官网地址"),c(o)])]),h,p])}const x=r(d,[["render",f],["__file","IKeyboardEvent.html.vue"]]);export{x as default};
diff --git a/assets/ILanguageExtensionPoint.html-1e5f0973.js b/assets/ILanguageExtensionPoint.html-1e5f0973.js
new file mode 100644
index 00000000..0836970b
--- /dev/null
+++ b/assets/ILanguageExtensionPoint.html-1e5f0973.js
@@ -0,0 +1,22 @@
+import{_ as p}from"./plugin-vue_export-helper-c27b6911.js";import{r as a,o as i,c as t,a as s,b as n,d as l,w as r,e}from"./app-5f5ef0a9.js";const D={},d=s("h1",{id:"ilanguageextensionpoint",tabindex:"-1"},[s("a",{class:"header-anchor",href:"#ilanguageextensionpoint","aria-hidden":"true"},"#"),n(" ILanguageExtensionPoint")],-1),y=s("code",null,"interface",-1),u={href:"https://microsoft.github.io/monaco-editor/docs.html#interfaces/languages.ILanguageExtensionPoint.html",target:"_blank",rel:"noopener noreferrer"},h=e(' 属性 Properties
aliases?
- 类型:
string
[] 可选
- 默认值:
-
- 可选项:
-
- 描述:
字符串数组,可选。该语言的别名。
configuration?
',4),C=s("code",null,"可选",-1),m=s("li",null,[n("默认值: "),s("code",null,"-")],-1),E=s("li",null,[n("可选项: "),s("code",null,"-")],-1),v=s("li",null,[n("描述: "),s("code",null,"对象,可选。该语言的配置信息。")],-1),g=e(` extensions?
- 类型:
string
[] 可选
- 默认值:
-
- 可选项:
-
- 描述: \`\`
filenamePatterns?
- 类型:
string
[] 可选
- 默认值:
-
- 可选项:
-
- 描述:
字符串数组,可选。文件名模式数组。
filenames?
- 类型:
string
[] 可选
- 默认值:
-
- 可选项:
-
- 描述: \`\`
firstLine?
- 类型:
string
可选
- 默认值:
-
- 可选项:
-
- 描述:
字符串数组,可选。该语言的第一行文本。
id
- 类型:
string
必选
- 默认值:
-
- 可选项:
-
- 描述:
字符串,必需。语言 ID。
mimetypes?
- 类型:
string
[] 可选
- 默认值:
-
- 可选项:
-
- 描述:
字符串数组,可选。该语言的 MIME 类型。
import { ILanguageExtensionPoint } from 'monaco-editor';
+ const myLanguage: ILanguageExtensionPoint = {
+ id: 'mySpecialLanguage',
+ extensions: ['.msl'],
+ aliases: ['My Special Language', 'mySL'],
+ mimetypes: ['text/x-my-special-language'],
+ filenamePatterns: ['*.mySL', '*.msl'],
+ firstLine: ['// My Special Language'],
+ configuration: {
+ comments: {
+ lineComment: '//',
+ blockComment: ['/*', '*/'],
+ },
+ brackets: [['{', '}'], ['[', ']'], ['(', ')']],
+ autoClosingPairs: [
+ { open: '{', close: '}' },
+ { open: '[', close: ']' },
+ { open: '(', close: ')' },
+ ],
+ },
+};
+
`,13);function b(f,_){const o=a("ExternalLinkIcon"),c=a("RouterLink");return i(),t("div",null,[d,s("p",null,[y,n(),s("a",u,[n("官网地址"),l(o)])]),h,s("ul",null,[s("li",null,[n("类型: "),l(c,{to:"/global/classes/Url.html"},{default:r(()=>[n("Url")]),_:1}),n(),C]),m,E,v]),g])}const L=p(D,[["render",b],["__file","ILanguageExtensionPoint.html.vue"]]);export{L as default};
diff --git a/assets/ILanguageExtensionPoint.html-6df805ab.js b/assets/ILanguageExtensionPoint.html-6df805ab.js
new file mode 100644
index 00000000..7e755f11
--- /dev/null
+++ b/assets/ILanguageExtensionPoint.html-6df805ab.js
@@ -0,0 +1 @@
+const e=JSON.parse('{"key":"v-7cab833e","path":"/language/interfaces/ILanguageExtensionPoint.html","title":"ILanguageExtensionPoint","lang":"zh-CN","frontmatter":{"description":"interface 官网地址 (https://microsoft.github.io/monaco-editor/docs.html#interfaces/languages.ILanguageExtensionPoint.html) 属性 Properties aliases? 类型: string[] 可选; 默认值: -; 可选项: -; 描述...","head":[["meta",{"property":"og:url","content":"http://aydk.site/language/interfaces/ILanguageExtensionPoint.html"}],["meta",{"property":"og:site_name","content":"Monaco-editor 学习文档"}],["meta",{"property":"og:title","content":"ILanguageExtensionPoint"}],["meta",{"property":"og:description","content":"interface 官网地址 (https://microsoft.github.io/monaco-editor/docs.html#interfaces/languages.ILanguageExtensionPoint.html) 属性 Properties aliases? 类型: string[] 可选; 默认值: -; 可选项: -; 描述..."}],["meta",{"property":"og:type","content":"article"}],["meta",{"property":"og:locale","content":"zh-CN"}],["meta",{"property":"og:updated_time","content":"2023-06-19T16:24:33.000Z"}],["meta",{"property":"article:author","content":"aydk"}],["meta",{"property":"article:modified_time","content":"2023-06-19T16:24:33.000Z"}],["script",{"type":"application/ld+json"},"{\\"@context\\":\\"https://schema.org\\",\\"@type\\":\\"Article\\",\\"headline\\":\\"ILanguageExtensionPoint\\",\\"image\\":[\\"\\"],\\"dateModified\\":\\"2023-06-19T16:24:33.000Z\\",\\"author\\":[{\\"@type\\":\\"Person\\",\\"name\\":\\"aydk\\"}]}"]]},"headers":[{"level":2,"title":"属性 Properties","slug":"属性-properties","link":"#属性-properties","children":[{"level":3,"title":"aliases?","slug":"aliases","link":"#aliases","children":[]},{"level":3,"title":"configuration?","slug":"configuration","link":"#configuration","children":[]},{"level":3,"title":"extensions?","slug":"extensions","link":"#extensions","children":[]},{"level":3,"title":"filenamePatterns?","slug":"filenamepatterns","link":"#filenamepatterns","children":[]},{"level":3,"title":"filenames?","slug":"filenames","link":"#filenames","children":[]},{"level":3,"title":"firstLine?","slug":"firstline","link":"#firstline","children":[]},{"level":3,"title":"id","slug":"id","link":"#id","children":[]},{"level":3,"title":"mimetypes?","slug":"mimetypes","link":"#mimetypes","children":[]}]}],"git":{"createdTime":1686945324000,"updatedTime":1687191873000,"contributors":[{"name":"xiaochaochao","email":"xiaochaochao","commits":2}]},"readingTime":{"minutes":0.83,"words":249},"filePathRelative":"language/interfaces/ILanguageExtensionPoint.md","localizedDate":"2023年6月16日","autoDesc":true}');export{e as data};
diff --git a/assets/ILineChange.html-5c104bf7.js b/assets/ILineChange.html-5c104bf7.js
new file mode 100644
index 00000000..1067ebff
--- /dev/null
+++ b/assets/ILineChange.html-5c104bf7.js
@@ -0,0 +1 @@
+import{_ as r}from"./plugin-vue_export-helper-c27b6911.js";import{r as n,o as l,c,a as e,b as i,d as o,w as t,e as h}from"./app-5f5ef0a9.js";const s={},u=e("h1",{id:"ilinechange",tabindex:"-1"},[e("a",{class:"header-anchor",href:"#ilinechange","aria-hidden":"true"},"#"),i(" ILineChange")],-1),m=e("code",null,"interface",-1),_={href:"https://microsoft.github.io/monaco-editor/docs.html#interfaces/editor.ILineChange.html",target:"_blank",rel:"noopener noreferrer"},f=e("h2",{id:"属性-properties",tabindex:"-1"},[e("a",{class:"header-anchor",href:"#属性-properties","aria-hidden":"true"},"#"),i(" 属性 Properties")],-1),b=e("h3",{id:"charchanges",tabindex:"-1"},[e("a",{class:"header-anchor",href:"#charchanges","aria-hidden":"true"},"#"),i(" charChanges")],-1),g=e("code",null,"只读",-1),p=e("li",null,[i("默认值: "),e("code",null,"-")],-1),x=e("li",null,[i("可选项: "),e("code",null,"-")],-1),L=e("li",null,[i("描述: "),e("code",null,"表示在此行中进行的字符更改的数组。每个字符更改都包含更改前后的字符范围和更改后的文本。")],-1),C=h(' modifiedEndLineNumber
- 类型:
number
只读
- 默认值:
-
- 可选项:
-
- 描述:
表示修改后的文本结束行号。
modifiedStartLineNumber
- 类型:
number
只读
- 默认值:
-
- 可选项:
-
- 描述:
表示修改后的文本起始行号。
originalEndLineNumber
- 类型:
number
只读
- 默认值:
-
- 可选项:
-
- 描述:
表示修改前的文本结束行号。
originalStartLineNumber
- 类型:
number
只读
- 默认值:
-
- 可选项:
-
- 描述:
表示修改前的文本起始行号。
',8);function I(N,k){const d=n("ExternalLinkIcon"),a=n("RouterLink");return l(),c("div",null,[u,e("p",null,[m,i(),e("a",_,[i("官网地址"),o(d)])]),f,b,e("ul",null,[e("li",null,[i("类型:"),o(a,{to:"/editor/interfaces/ICharChange.html"},{default:t(()=>[i("ICharChange")]),_:1}),i("[] "),g]),p,x,L]),C])}const v=r(s,[["render",I],["__file","ILineChange.html.vue"]]);export{v as default};
diff --git a/assets/ILineChange.html-ebe06c89.js b/assets/ILineChange.html-ebe06c89.js
new file mode 100644
index 00000000..91d17796
--- /dev/null
+++ b/assets/ILineChange.html-ebe06c89.js
@@ -0,0 +1 @@
+const e=JSON.parse('{"key":"v-63cdb138","path":"/editor/interfaces/ILineChange.html","title":"ILineChange","lang":"zh-CN","frontmatter":{"description":"interface 官网地址 (https://microsoft.github.io/monaco-editor/docs.html#interfaces/editor.ILineChange.html) 属性 Properties charChanges 类型:ICharChange (ICharChange.md)[] 只读 ; 默认值: - ;...","head":[["meta",{"property":"og:url","content":"http://aydk.site/editor/interfaces/ILineChange.html"}],["meta",{"property":"og:site_name","content":"Monaco-editor 学习文档"}],["meta",{"property":"og:title","content":"ILineChange"}],["meta",{"property":"og:description","content":"interface 官网地址 (https://microsoft.github.io/monaco-editor/docs.html#interfaces/editor.ILineChange.html) 属性 Properties charChanges 类型:ICharChange (ICharChange.md)[] 只读 ; 默认值: - ;..."}],["meta",{"property":"og:type","content":"article"}],["meta",{"property":"og:locale","content":"zh-CN"}],["meta",{"property":"og:updated_time","content":"2023-06-16T20:04:45.000Z"}],["meta",{"property":"article:author","content":"aydk"}],["meta",{"property":"article:modified_time","content":"2023-06-16T20:04:45.000Z"}],["script",{"type":"application/ld+json"},"{\\"@context\\":\\"https://schema.org\\",\\"@type\\":\\"Article\\",\\"headline\\":\\"ILineChange\\",\\"image\\":[\\"\\"],\\"dateModified\\":\\"2023-06-16T20:04:45.000Z\\",\\"author\\":[{\\"@type\\":\\"Person\\",\\"name\\":\\"aydk\\"}]}"]]},"headers":[{"level":2,"title":"属性 Properties","slug":"属性-properties","link":"#属性-properties","children":[{"level":3,"title":"charChanges","slug":"charchanges","link":"#charchanges","children":[]},{"level":3,"title":"modifiedEndLineNumber","slug":"modifiedendlinenumber","link":"#modifiedendlinenumber","children":[]},{"level":3,"title":"modifiedStartLineNumber","slug":"modifiedstartlinenumber","link":"#modifiedstartlinenumber","children":[]},{"level":3,"title":"originalEndLineNumber","slug":"originalendlinenumber","link":"#originalendlinenumber","children":[]},{"level":3,"title":"originalStartLineNumber","slug":"originalstartlinenumber","link":"#originalstartlinenumber","children":[]}]}],"git":{"createdTime":1686945885000,"updatedTime":1686945885000,"contributors":[{"name":"xiaochaochao","email":"xiaochaochao","commits":1}]},"readingTime":{"minutes":0.58,"words":173},"filePathRelative":"editor/interfaces/ILineChange.md","localizedDate":"2023年6月16日","autoDesc":true}');export{e as data};
diff --git a/assets/ILineTokens.html-00bd88f3.js b/assets/ILineTokens.html-00bd88f3.js
new file mode 100644
index 00000000..afd7a034
--- /dev/null
+++ b/assets/ILineTokens.html-00bd88f3.js
@@ -0,0 +1 @@
+const e=JSON.parse('{"key":"v-60ff6a8e","path":"/language/interfaces/ILineTokens.html","title":"ILineTokens","lang":"zh-CN","frontmatter":{"description":"interface 官网地址 (https://microsoft.github.io/monaco-editor/docs.html#interfaces/languages.ILineTokens.html) 属性 Properties 方法 Methods","head":[["meta",{"property":"og:url","content":"http://aydk.site/language/interfaces/ILineTokens.html"}],["meta",{"property":"og:site_name","content":"Monaco-editor 学习文档"}],["meta",{"property":"og:title","content":"ILineTokens"}],["meta",{"property":"og:description","content":"interface 官网地址 (https://microsoft.github.io/monaco-editor/docs.html#interfaces/languages.ILineTokens.html) 属性 Properties 方法 Methods"}],["meta",{"property":"og:type","content":"article"}],["meta",{"property":"og:locale","content":"zh-CN"}],["meta",{"property":"og:updated_time","content":"2023-06-16T19:55:24.000Z"}],["meta",{"property":"article:author","content":"aydk"}],["meta",{"property":"article:modified_time","content":"2023-06-16T19:55:24.000Z"}],["script",{"type":"application/ld+json"},"{\\"@context\\":\\"https://schema.org\\",\\"@type\\":\\"Article\\",\\"headline\\":\\"ILineTokens\\",\\"image\\":[\\"\\"],\\"dateModified\\":\\"2023-06-16T19:55:24.000Z\\",\\"author\\":[{\\"@type\\":\\"Person\\",\\"name\\":\\"aydk\\"}]}"]]},"headers":[{"level":2,"title":"属性 Properties","slug":"属性-properties","link":"#属性-properties","children":[]},{"level":2,"title":"方法 Methods","slug":"方法-methods","link":"#方法-methods","children":[]}],"git":{"createdTime":1686945324000,"updatedTime":1686945324000,"contributors":[{"name":"xiaochaochao","email":"xiaochaochao","commits":1}]},"readingTime":{"minutes":0.05,"words":16},"filePathRelative":"language/interfaces/ILineTokens.md","localizedDate":"2023年6月16日","autoDesc":true}');export{e as data};
diff --git a/assets/ILineTokens.html-8b2736bc.js b/assets/ILineTokens.html-8b2736bc.js
new file mode 100644
index 00000000..c7f04662
--- /dev/null
+++ b/assets/ILineTokens.html-8b2736bc.js
@@ -0,0 +1 @@
+import{_ as t}from"./plugin-vue_export-helper-c27b6911.js";import{r,o as s,c as a,a as e,b as o,d as i}from"./app-5f5ef0a9.js";const c={},d=e("h1",{id:"ilinetokens",tabindex:"-1"},[e("a",{class:"header-anchor",href:"#ilinetokens","aria-hidden":"true"},"#"),o(" ILineTokens")],-1),h=e("code",null,"interface",-1),l={href:"https://microsoft.github.io/monaco-editor/docs.html#interfaces/languages.ILineTokens.html",target:"_blank",rel:"noopener noreferrer"},_=e("h2",{id:"属性-properties",tabindex:"-1"},[e("a",{class:"header-anchor",href:"#属性-properties","aria-hidden":"true"},"#"),o(" 属性 Properties")],-1),f=e("h2",{id:"方法-methods",tabindex:"-1"},[e("a",{class:"header-anchor",href:"#方法-methods","aria-hidden":"true"},"#"),o(" 方法 Methods")],-1);function m(p,u){const n=r("ExternalLinkIcon");return s(),a("div",null,[d,e("p",null,[h,o(),e("a",l,[o("官网地址"),i(n)])]),_,f])}const b=t(c,[["render",m],["__file","ILineTokens.html.vue"]]);export{b as default};
diff --git a/assets/ILink.html-a0d9cbca.js b/assets/ILink.html-a0d9cbca.js
new file mode 100644
index 00000000..759d0e92
--- /dev/null
+++ b/assets/ILink.html-a0d9cbca.js
@@ -0,0 +1 @@
+import{_ as r}from"./plugin-vue_export-helper-c27b6911.js";import{r as n,o as a,c as s,a as e,b as t,d as i}from"./app-5f5ef0a9.js";const c={},d=e("h1",{id:"ilink",tabindex:"-1"},[e("a",{class:"header-anchor",href:"#ilink","aria-hidden":"true"},"#"),t(" ILink")],-1),h=e("code",null,"interface",-1),l={href:"https://microsoft.github.io/monaco-editor/docs.html#interfaces/languages.ILink.html",target:"_blank",rel:"noopener noreferrer"},_=e("h2",{id:"属性-properties",tabindex:"-1"},[e("a",{class:"header-anchor",href:"#属性-properties","aria-hidden":"true"},"#"),t(" 属性 Properties")],-1),f=e("h2",{id:"方法-methods",tabindex:"-1"},[e("a",{class:"header-anchor",href:"#方法-methods","aria-hidden":"true"},"#"),t(" 方法 Methods")],-1);function m(p,u){const o=n("ExternalLinkIcon");return a(),s("div",null,[d,e("p",null,[h,t(),e("a",l,[t("官网地址"),i(o)])]),_,f])}const b=r(c,[["render",m],["__file","ILink.html.vue"]]);export{b as default};
diff --git a/assets/ILink.html-e14a1d07.js b/assets/ILink.html-e14a1d07.js
new file mode 100644
index 00000000..aa5b3586
--- /dev/null
+++ b/assets/ILink.html-e14a1d07.js
@@ -0,0 +1 @@
+const e=JSON.parse('{"key":"v-3f59d76d","path":"/language/interfaces/ILink.html","title":"ILink","lang":"zh-CN","frontmatter":{"description":"interface 官网地址 (https://microsoft.github.io/monaco-editor/docs.html#interfaces/languages.ILink.html) 属性 Properties 方法 Methods","head":[["meta",{"property":"og:url","content":"http://aydk.site/language/interfaces/ILink.html"}],["meta",{"property":"og:site_name","content":"Monaco-editor 学习文档"}],["meta",{"property":"og:title","content":"ILink"}],["meta",{"property":"og:description","content":"interface 官网地址 (https://microsoft.github.io/monaco-editor/docs.html#interfaces/languages.ILink.html) 属性 Properties 方法 Methods"}],["meta",{"property":"og:type","content":"article"}],["meta",{"property":"og:locale","content":"zh-CN"}],["meta",{"property":"og:updated_time","content":"2023-06-16T19:55:24.000Z"}],["meta",{"property":"article:author","content":"aydk"}],["meta",{"property":"article:modified_time","content":"2023-06-16T19:55:24.000Z"}],["script",{"type":"application/ld+json"},"{\\"@context\\":\\"https://schema.org\\",\\"@type\\":\\"Article\\",\\"headline\\":\\"ILink\\",\\"image\\":[\\"\\"],\\"dateModified\\":\\"2023-06-16T19:55:24.000Z\\",\\"author\\":[{\\"@type\\":\\"Person\\",\\"name\\":\\"aydk\\"}]}"]]},"headers":[{"level":2,"title":"属性 Properties","slug":"属性-properties","link":"#属性-properties","children":[]},{"level":2,"title":"方法 Methods","slug":"方法-methods","link":"#方法-methods","children":[]}],"git":{"createdTime":1686945324000,"updatedTime":1686945324000,"contributors":[{"name":"xiaochaochao","email":"xiaochaochao","commits":1}]},"readingTime":{"minutes":0.05,"words":16},"filePathRelative":"language/interfaces/ILink.md","localizedDate":"2023年6月16日","autoDesc":true}');export{e as data};
diff --git a/assets/ILinkOpener.html-33e309e6.js b/assets/ILinkOpener.html-33e309e6.js
new file mode 100644
index 00000000..ce46532c
--- /dev/null
+++ b/assets/ILinkOpener.html-33e309e6.js
@@ -0,0 +1 @@
+import{_ as i}from"./plugin-vue_export-helper-c27b6911.js";import{r as o,o as s,c as a,a as e,b as n,d as t,w as c}from"./app-5f5ef0a9.js";const d={},h=e("h1",{id:"ilinkopener",tabindex:"-1"},[e("a",{class:"header-anchor",href:"#ilinkopener","aria-hidden":"true"},"#"),n(" ILinkOpener")],-1),_=e("code",null,"interface",-1),u={href:"https://microsoft.github.io/monaco-editor/docs.html#interfaces/editor.ILinkOpener.html",target:"_blank",rel:"noopener noreferrer"},p=e("h2",{id:"方法-methods",tabindex:"-1"},[e("a",{class:"header-anchor",href:"#方法-methods","aria-hidden":"true"},"#"),n(" 方法 Methods")],-1),m=e("h3",{id:"open",tabindex:"-1"},[e("a",{class:"header-anchor",href:"#open","aria-hidden":"true"},"#"),n(" open")],-1),f=e("li",null,[n("语法: "),e("code",null,"open(resource: Uri): boolean | Promise")],-1),k=e("li",null,[n("返回值: "),e("code",null,"-")],-1),x=e("li",null,[n("描述: "),e("code",null,"打开链接")],-1);function b(L,I){const r=o("ExternalLinkIcon"),l=o("RouterLink");return s(),a("div",null,[h,e("p",null,[_,n(),e("a",u,[n("官网地址"),t(r)])]),p,m,e("ul",null,[f,e("li",null,[n("参数: "),e("ul",null,[e("li",null,[n("resource: "),t(l,{to:"/global/classes/Url.html"},{default:c(()=>[n("Uri")]),_:1})])])]),k,x])])}const v=i(d,[["render",b],["__file","ILinkOpener.html.vue"]]);export{v as default};
diff --git a/assets/ILinkOpener.html-758c1039.js b/assets/ILinkOpener.html-758c1039.js
new file mode 100644
index 00000000..860e2c56
--- /dev/null
+++ b/assets/ILinkOpener.html-758c1039.js
@@ -0,0 +1 @@
+const e=JSON.parse('{"key":"v-2c6fc10b","path":"/editor/interfaces/ILinkOpener.html","title":"ILinkOpener","lang":"zh-CN","frontmatter":{"description":"interface 官网地址 (https://microsoft.github.io/monaco-editor/docs.html#interfaces/editor.ILinkOpener.html) 方法 Methods open 语法: open(resource: Uri): boolean | Promise; 参数: ; resourc...","head":[["meta",{"property":"og:url","content":"http://aydk.site/editor/interfaces/ILinkOpener.html"}],["meta",{"property":"og:site_name","content":"Monaco-editor 学习文档"}],["meta",{"property":"og:title","content":"ILinkOpener"}],["meta",{"property":"og:description","content":"interface 官网地址 (https://microsoft.github.io/monaco-editor/docs.html#interfaces/editor.ILinkOpener.html) 方法 Methods open 语法: open(resource: Uri): boolean | Promise; 参数: ; resourc..."}],["meta",{"property":"og:type","content":"article"}],["meta",{"property":"og:locale","content":"zh-CN"}],["meta",{"property":"og:updated_time","content":"2023-06-16T20:04:45.000Z"}],["meta",{"property":"article:author","content":"aydk"}],["meta",{"property":"article:modified_time","content":"2023-06-16T20:04:45.000Z"}],["script",{"type":"application/ld+json"},"{\\"@context\\":\\"https://schema.org\\",\\"@type\\":\\"Article\\",\\"headline\\":\\"ILinkOpener\\",\\"image\\":[\\"\\"],\\"dateModified\\":\\"2023-06-16T20:04:45.000Z\\",\\"author\\":[{\\"@type\\":\\"Person\\",\\"name\\":\\"aydk\\"}]}"]]},"headers":[{"level":2,"title":"方法 Methods","slug":"方法-methods","link":"#方法-methods","children":[{"level":3,"title":"open","slug":"open","link":"#open","children":[]}]}],"git":{"createdTime":1686945885000,"updatedTime":1686945885000,"contributors":[{"name":"xiaochaochao","email":"xiaochaochao","commits":1}]},"readingTime":{"minutes":0.12,"words":36},"filePathRelative":"editor/interfaces/ILinkOpener.md","localizedDate":"2023年6月16日","autoDesc":true}');export{e as data};
diff --git a/assets/ILinksList.html-8981fc59.js b/assets/ILinksList.html-8981fc59.js
new file mode 100644
index 00000000..397174ea
--- /dev/null
+++ b/assets/ILinksList.html-8981fc59.js
@@ -0,0 +1 @@
+import{_ as o}from"./plugin-vue_export-helper-c27b6911.js";import{r,o as n,c as a,a as e,b as t,d as i}from"./app-5f5ef0a9.js";const c={},d=e("h1",{id:"ilinkslist",tabindex:"-1"},[e("a",{class:"header-anchor",href:"#ilinkslist","aria-hidden":"true"},"#"),t(" ILinksList")],-1),h=e("code",null,"interface",-1),l={href:"https://microsoft.github.io/monaco-editor/docs.html#interfaces/languages.ILinksList.html",target:"_blank",rel:"noopener noreferrer"},_=e("h2",{id:"属性-properties",tabindex:"-1"},[e("a",{class:"header-anchor",href:"#属性-properties","aria-hidden":"true"},"#"),t(" 属性 Properties")],-1),f=e("h2",{id:"方法-methods",tabindex:"-1"},[e("a",{class:"header-anchor",href:"#方法-methods","aria-hidden":"true"},"#"),t(" 方法 Methods")],-1);function m(p,u){const s=r("ExternalLinkIcon");return n(),a("div",null,[d,e("p",null,[h,t(),e("a",l,[t("官网地址"),i(s)])]),_,f])}const x=o(c,[["render",m],["__file","ILinksList.html.vue"]]);export{x as default};
diff --git a/assets/ILinksList.html-d4feaedf.js b/assets/ILinksList.html-d4feaedf.js
new file mode 100644
index 00000000..7cb4e49c
--- /dev/null
+++ b/assets/ILinksList.html-d4feaedf.js
@@ -0,0 +1 @@
+const t=JSON.parse('{"key":"v-f8c6cc98","path":"/language/interfaces/ILinksList.html","title":"ILinksList","lang":"zh-CN","frontmatter":{"description":"interface 官网地址 (https://microsoft.github.io/monaco-editor/docs.html#interfaces/languages.ILinksList.html) 属性 Properties 方法 Methods","head":[["meta",{"property":"og:url","content":"http://aydk.site/language/interfaces/ILinksList.html"}],["meta",{"property":"og:site_name","content":"Monaco-editor 学习文档"}],["meta",{"property":"og:title","content":"ILinksList"}],["meta",{"property":"og:description","content":"interface 官网地址 (https://microsoft.github.io/monaco-editor/docs.html#interfaces/languages.ILinksList.html) 属性 Properties 方法 Methods"}],["meta",{"property":"og:type","content":"article"}],["meta",{"property":"og:locale","content":"zh-CN"}],["meta",{"property":"og:updated_time","content":"2023-06-16T19:55:24.000Z"}],["meta",{"property":"article:author","content":"aydk"}],["meta",{"property":"article:modified_time","content":"2023-06-16T19:55:24.000Z"}],["script",{"type":"application/ld+json"},"{\\"@context\\":\\"https://schema.org\\",\\"@type\\":\\"Article\\",\\"headline\\":\\"ILinksList\\",\\"image\\":[\\"\\"],\\"dateModified\\":\\"2023-06-16T19:55:24.000Z\\",\\"author\\":[{\\"@type\\":\\"Person\\",\\"name\\":\\"aydk\\"}]}"]]},"headers":[{"level":2,"title":"属性 Properties","slug":"属性-properties","link":"#属性-properties","children":[]},{"level":2,"title":"方法 Methods","slug":"方法-methods","link":"#方法-methods","children":[]}],"git":{"createdTime":1686945324000,"updatedTime":1686945324000,"contributors":[{"name":"xiaochaochao","email":"xiaochaochao","commits":1}]},"readingTime":{"minutes":0.05,"words":16},"filePathRelative":"language/interfaces/ILinksList.md","localizedDate":"2023年6月16日","autoDesc":true}');export{t as data};
diff --git a/assets/IMarkdownString.html-5f8254f1.js b/assets/IMarkdownString.html-5f8254f1.js
new file mode 100644
index 00000000..9c3577d8
--- /dev/null
+++ b/assets/IMarkdownString.html-5f8254f1.js
@@ -0,0 +1 @@
+const t=JSON.parse('{"key":"v-5573f8e8","path":"/global/classes/IMarkdownString.html","title":"","lang":"zh-CN","frontmatter":{"description":"class 官网地址 (https://microsoft.github.io/monaco-editor/typedoc/classes/Position.html) 构造方法 Constructors 语法: ; 参数: ; 返回值: -; 属性 Properties 方法 Methods","head":[["meta",{"property":"og:url","content":"http://aydk.site/global/classes/IMarkdownString.html"}],["meta",{"property":"og:site_name","content":"Monaco-editor 学习文档"}],["meta",{"property":"og:description","content":"class 官网地址 (https://microsoft.github.io/monaco-editor/typedoc/classes/Position.html) 构造方法 Constructors 语法: ; 参数: ; 返回值: -; 属性 Properties 方法 Methods"}],["meta",{"property":"og:type","content":"article"}],["meta",{"property":"og:locale","content":"zh-CN"}],["meta",{"property":"og:updated_time","content":"2023-06-16T20:04:45.000Z"}],["meta",{"property":"article:author","content":"aydk"}],["meta",{"property":"article:modified_time","content":"2023-06-16T20:04:45.000Z"}],["script",{"type":"application/ld+json"},"{\\"@context\\":\\"https://schema.org\\",\\"@type\\":\\"Article\\",\\"headline\\":\\"\\",\\"image\\":[\\"\\"],\\"dateModified\\":\\"2023-06-16T20:04:45.000Z\\",\\"author\\":[{\\"@type\\":\\"Person\\",\\"name\\":\\"aydk\\"}]}"]]},"headers":[{"level":2,"title":"构造方法 Constructors","slug":"构造方法-constructors","link":"#构造方法-constructors","children":[]},{"level":2,"title":"属性 Properties","slug":"属性-properties","link":"#属性-properties","children":[]},{"level":2,"title":"方法 Methods","slug":"方法-methods","link":"#方法-methods","children":[]}],"git":{"createdTime":1686945885000,"updatedTime":1686945885000,"contributors":[{"name":"xiaochaochao","email":"xiaochaochao","commits":1}]},"readingTime":{"minutes":0.09,"words":26},"filePathRelative":"global/classes/IMarkdownString.md","localizedDate":"2023年6月16日","autoDesc":true}');export{t as data};
diff --git a/assets/IMarkdownString.html-e24bf60a.js b/assets/IMarkdownString.html-e24bf60a.js
new file mode 100644
index 00000000..6306d9ac
--- /dev/null
+++ b/assets/IMarkdownString.html-e24bf60a.js
@@ -0,0 +1 @@
+import{_ as t}from"./plugin-vue_export-helper-c27b6911.js";import{r as a,o as n,c as s,a as e,b as r,d as c,e as i}from"./app-5f5ef0a9.js";const d={},h=e("h1",{id:"",tabindex:"-1"},[e("a",{class:"header-anchor",href:"#","aria-hidden":"true"},"#")],-1),l=e("code",null,"class",-1),_={href:"https://microsoft.github.io/monaco-editor/typedoc/classes/Position.html",target:"_blank",rel:"noopener noreferrer"},u=i(' 构造方法 Constructors
属性 Properties
方法 Methods
',4);function p(f,m){const o=a("ExternalLinkIcon");return n(),s("div",null,[h,e("p",null,[l,r(),e("a",_,[r("官网地址"),c(o)])]),u])}const k=t(d,[["render",p],["__file","IMarkdownString.html.vue"]]);export{k as default};
diff --git a/assets/IMarker.html-7c9f53c6.js b/assets/IMarker.html-7c9f53c6.js
new file mode 100644
index 00000000..bcefd707
--- /dev/null
+++ b/assets/IMarker.html-7c9f53c6.js
@@ -0,0 +1 @@
+const e=JSON.parse('{"key":"v-afb2edfc","path":"/editor/interfaces/IMarker.html","title":"IMarker","lang":"zh-CN","frontmatter":{"description":"interface 官网地址 (https://microsoft.github.io/monaco-editor/docs.html#interfaces/editor.IMarker.html) 属性 Properties code 类型: string ; 默认值: - ; 可选项: 可选 ; 描述: 表示标记的错误代码。通常是与错误相关的唯一标...","head":[["meta",{"property":"og:url","content":"http://aydk.site/editor/interfaces/IMarker.html"}],["meta",{"property":"og:site_name","content":"Monaco-editor 学习文档"}],["meta",{"property":"og:title","content":"IMarker"}],["meta",{"property":"og:description","content":"interface 官网地址 (https://microsoft.github.io/monaco-editor/docs.html#interfaces/editor.IMarker.html) 属性 Properties code 类型: string ; 默认值: - ; 可选项: 可选 ; 描述: 表示标记的错误代码。通常是与错误相关的唯一标..."}],["meta",{"property":"og:type","content":"article"}],["meta",{"property":"og:locale","content":"zh-CN"}],["meta",{"property":"og:updated_time","content":"2023-06-16T20:04:45.000Z"}],["meta",{"property":"article:author","content":"aydk"}],["meta",{"property":"article:modified_time","content":"2023-06-16T20:04:45.000Z"}],["script",{"type":"application/ld+json"},"{\\"@context\\":\\"https://schema.org\\",\\"@type\\":\\"Article\\",\\"headline\\":\\"IMarker\\",\\"image\\":[\\"\\"],\\"dateModified\\":\\"2023-06-16T20:04:45.000Z\\",\\"author\\":[{\\"@type\\":\\"Person\\",\\"name\\":\\"aydk\\"}]}"]]},"headers":[{"level":2,"title":"属性 Properties","slug":"属性-properties","link":"#属性-properties","children":[{"level":3,"title":"code","slug":"code","link":"#code","children":[]},{"level":3,"title":"endColumn","slug":"endcolumn","link":"#endcolumn","children":[]},{"level":3,"title":"endLineNumber","slug":"endlinenumber","link":"#endlinenumber","children":[]},{"level":3,"title":"message","slug":"message","link":"#message","children":[]},{"level":3,"title":"modelVersionId","slug":"modelversionid","link":"#modelversionid","children":[]},{"level":3,"title":"owner","slug":"owner","link":"#owner","children":[]},{"level":3,"title":"relatedInformation","slug":"relatedinformation","link":"#relatedinformation","children":[]},{"level":3,"title":"resource","slug":"resource","link":"#resource","children":[]},{"level":3,"title":"severity","slug":"severity","link":"#severity","children":[]},{"level":3,"title":"source","slug":"source","link":"#source","children":[]},{"level":3,"title":"startColumn","slug":"startcolumn","link":"#startcolumn","children":[]},{"level":3,"title":"startLineNumber","slug":"startlinenumber","link":"#startlinenumber","children":[]},{"level":3,"title":"tags","slug":"tags","link":"#tags","children":[]}]}],"git":{"createdTime":1686945885000,"updatedTime":1686945885000,"contributors":[{"name":"xiaochaochao","email":"xiaochaochao","commits":1}]},"readingTime":{"minutes":1.36,"words":408},"filePathRelative":"editor/interfaces/IMarker.md","localizedDate":"2023年6月16日","autoDesc":true}');export{e as data};
diff --git a/assets/IMarker.html-8b2d72a6.js b/assets/IMarker.html-8b2d72a6.js
new file mode 100644
index 00000000..fd517d8f
--- /dev/null
+++ b/assets/IMarker.html-8b2d72a6.js
@@ -0,0 +1 @@
+import{_ as c}from"./plugin-vue_export-helper-c27b6911.js";import{r,o as t,c as s,a as e,b as l,d as o,w as d,e as a}from"./app-5f5ef0a9.js";const h={},u=e("h1",{id:"imarker",tabindex:"-1"},[e("a",{class:"header-anchor",href:"#imarker","aria-hidden":"true"},"#"),l(" IMarker")],-1),_=e("code",null,"interface",-1),m={href:"https://microsoft.github.io/monaco-editor/docs.html#interfaces/editor.IMarker.html",target:"_blank",rel:"noopener noreferrer"},f=a(' 属性 Properties
code
- 类型:
string
- 默认值:
-
- 可选项:
可选
- 描述:
表示标记的错误代码。通常是与错误相关的唯一标识符。
endColumn
- 类型:
number
- 默认值:
-
- 可选项:
必需
- 描述:
表示标记结束的列号。
endLineNumber
- 类型:
number
- 默认值:
-
- 可选项:
必需
- 描述:
表示标记结束的行号。
message
- 类型:
string
- 默认值:
-
- 可选项:
必需
- 描述:
表示标记的错误消息。
modelVersionId
- 类型:
number
- 默认值:
-
- 可选项:
可选
- 描述:
与标记关联的模型版本号。
owner
- 类型:
string
- 默认值:
-
- 可选项:
必需
- 描述:
标记的所有者。通常是与错误相关的插件或第三方库的名称。
',14),b=e("li",null,[l("默认值: "),e("code",null,"-")],-1),x=e("li",null,[l("可选项: "),e("code",null,"可选")],-1),g=e("li",null,[l("描述: "),e("code",null,"与标记关联的其他信息。通常是一些上下文信息,如与错误相关的其他文件的位置。")],-1),k=e("h3",{id:"resource",tabindex:"-1"},[e("a",{class:"header-anchor",href:"#resource","aria-hidden":"true"},"#"),l(" resource")],-1),p=e("li",null,[l("默认值: "),e("code",null,"-")],-1),I=e("li",null,[l("可选项: "),e("code",null,"必需")],-1),v=e("li",null,[l("描述: "),e("code",null,"标记所属的资源。")],-1),L=e("h3",{id:"severity",tabindex:"-1"},[e("a",{class:"header-anchor",href:"#severity","aria-hidden":"true"},"#"),l(" severity")],-1),M=e("li",null,[l("默认值: "),e("code",null,"-")],-1),N=e("li",null,[l("可选项: "),e("code",null,"必需")],-1),w=e("li",null,[l("描述: "),e("code",null,"标记的严重程度。")],-1),y=a(' source
- 类型:
string
- 默认值:
-
- 可选项:
可选
- 描述:
标记的来源。通常是与错误相关的插件或第三方库的名称。
startColumn
- 类型:
number
- 默认值:
-
- 可选项:
必需
- 描述:
表示标记开始的列号。
startLineNumber
- 类型:
number
- 默认值:
-
- 可选项:
必需
- 描述:
表示标记开始的行号。
',7),V=e("li",null,[l("默认值: "),e("code",null,"-")],-1),C=e("li",null,[l("可选项: "),e("code",null,"可选")],-1),R=e("li",null,[l("描述: "),e("code",null,"标记的标签。通常是与标记相关的一些元数据,如“未使用的变量”或“过时的API”。")],-1);function B(E,P){const n=r("ExternalLinkIcon"),i=r("RouterLink");return t(),s("div",null,[u,e("p",null,[_,l(),e("a",m,[l("官网地址"),o(n)])]),f,e("ul",null,[e("li",null,[l("类型:"),o(i,{to:"/editor/interfaces/IRelatedInformation.html"},{default:d(()=>[l("IRelatedInformation")]),_:1}),l("[]")]),b,x,g]),k,e("ul",null,[e("li",null,[l("类型: "),o(i,{to:"/global/classes/Url.html"},{default:d(()=>[l("Uri")]),_:1})]),p,I,v]),L,e("ul",null,[e("li",null,[l("类型: "),o(i,{to:"/global/enumerations.html#markerseverity"},{default:d(()=>[l("MarkerSeverity")]),_:1})]),M,N,w]),y,e("ul",null,[e("li",null,[l("类型: "),o(i,{to:"/global/enumerations.html#markertag"},{default:d(()=>[l("MarkerTag")]),_:1}),l("[]")]),V,C,R])])}const U=c(h,[["render",B],["__file","IMarker.html.vue"]]);export{U as default};
diff --git a/assets/IMarkerData.html-ba6eb426.js b/assets/IMarkerData.html-ba6eb426.js
new file mode 100644
index 00000000..7cc99483
--- /dev/null
+++ b/assets/IMarkerData.html-ba6eb426.js
@@ -0,0 +1 @@
+const e=JSON.parse('{"key":"v-7edcb6f8","path":"/editor/interfaces/IMarkerData.html","title":"IMarkerData","lang":"zh-CN","frontmatter":{"description":"interface 官网地址 (https://microsoft.github.io/monaco-editor/docs.html#interfaces/editor.IMarkerData.html) 定义问题/警告/等的结构。 属性 Properties code 类型: string ; 默认值: - ; 可选项: 可选 ; 描述: 表示标记...","head":[["meta",{"property":"og:url","content":"http://aydk.site/editor/interfaces/IMarkerData.html"}],["meta",{"property":"og:site_name","content":"Monaco-editor 学习文档"}],["meta",{"property":"og:title","content":"IMarkerData"}],["meta",{"property":"og:description","content":"interface 官网地址 (https://microsoft.github.io/monaco-editor/docs.html#interfaces/editor.IMarkerData.html) 定义问题/警告/等的结构。 属性 Properties code 类型: string ; 默认值: - ; 可选项: 可选 ; 描述: 表示标记..."}],["meta",{"property":"og:type","content":"article"}],["meta",{"property":"og:locale","content":"zh-CN"}],["meta",{"property":"og:updated_time","content":"2023-06-16T20:04:45.000Z"}],["meta",{"property":"article:author","content":"aydk"}],["meta",{"property":"article:modified_time","content":"2023-06-16T20:04:45.000Z"}],["script",{"type":"application/ld+json"},"{\\"@context\\":\\"https://schema.org\\",\\"@type\\":\\"Article\\",\\"headline\\":\\"IMarkerData\\",\\"image\\":[\\"\\"],\\"dateModified\\":\\"2023-06-16T20:04:45.000Z\\",\\"author\\":[{\\"@type\\":\\"Person\\",\\"name\\":\\"aydk\\"}]}"]]},"headers":[{"level":2,"title":"属性 Properties","slug":"属性-properties","link":"#属性-properties","children":[{"level":3,"title":"code","slug":"code","link":"#code","children":[]},{"level":3,"title":"endColumn","slug":"endcolumn","link":"#endcolumn","children":[]},{"level":3,"title":"endLineNumber","slug":"endlinenumber","link":"#endlinenumber","children":[]},{"level":3,"title":"message","slug":"message","link":"#message","children":[]},{"level":3,"title":"modelVersionId","slug":"modelversionid","link":"#modelversionid","children":[]},{"level":3,"title":"relatedInformation","slug":"relatedinformation","link":"#relatedinformation","children":[]},{"level":3,"title":"severity","slug":"severity","link":"#severity","children":[]},{"level":3,"title":"source","slug":"source","link":"#source","children":[]},{"level":3,"title":"startColumn","slug":"startcolumn","link":"#startcolumn","children":[]},{"level":3,"title":"startLineNumber","slug":"startlinenumber","link":"#startlinenumber","children":[]},{"level":3,"title":"tags","slug":"tags","link":"#tags","children":[]}]}],"git":{"createdTime":1686945885000,"updatedTime":1686945885000,"contributors":[{"name":"xiaochaochao","email":"xiaochaochao","commits":1}]},"readingTime":{"minutes":1.2,"words":359},"filePathRelative":"editor/interfaces/IMarkerData.md","localizedDate":"2023年6月16日","autoDesc":true}');export{e as data};
diff --git a/assets/IMarkerData.html-c5bcbdaf.js b/assets/IMarkerData.html-c5bcbdaf.js
new file mode 100644
index 00000000..643a1942
--- /dev/null
+++ b/assets/IMarkerData.html-c5bcbdaf.js
@@ -0,0 +1 @@
+import{_ as t}from"./plugin-vue_export-helper-c27b6911.js";import{r as a,o as c,c as s,a as e,b as l,d as i,w as d,e as r}from"./app-5f5ef0a9.js";const h={},u=e("h1",{id:"imarkerdata",tabindex:"-1"},[e("a",{class:"header-anchor",href:"#imarkerdata","aria-hidden":"true"},"#"),l(" IMarkerData")],-1),m=e("code",null,"interface",-1),_={href:"https://microsoft.github.io/monaco-editor/docs.html#interfaces/editor.IMarkerData.html",target:"_blank",rel:"noopener noreferrer"},f=r(' 属性 Properties
code
- 类型:
string
- 默认值:
-
- 可选项:
可选
- 描述:
表示标记的错误代码。通常是与错误相关的唯一标识符。
endColumn
- 类型:
number
- 默认值:
-
- 可选项:
必需
- 描述:
表示标记结束的列号。
endLineNumber
- 类型:
number
- 默认值:
-
- 可选项:
必需
- 描述:
表示标记结束的行号。
message
- 类型:
string
- 默认值:
-
- 可选项:
必需
- 描述:
表示标记的错误消息。
modelVersionId
- 类型:
number
- 默认值:
-
- 可选项:
可选
- 描述:
与标记关联的模型版本号。
',12),b=e("li",null,[l("默认值: "),e("code",null,"-")],-1),x=e("li",null,[l("可选项: "),e("code",null,"可选")],-1),k=e("li",null,[l("描述: "),e("code",null,"与标记关联的其他信息。通常是一些上下文信息,如与错误相关的其他文件的位置。")],-1),p=e("h3",{id:"severity",tabindex:"-1"},[e("a",{class:"header-anchor",href:"#severity","aria-hidden":"true"},"#"),l(" severity")],-1),g=e("li",null,[l("默认值: "),e("code",null,"-")],-1),I=e("li",null,[l("可选项: "),e("code",null,"必需")],-1),v=e("li",null,[l("描述: "),e("code",null,"标记的严重程度。")],-1),L=r(' source
- 类型:
string
- 默认值:
-
- 可选项:
可选
- 描述:
标记的来源。通常是与错误相关的插件或第三方库的名称。
startColumn
- 类型:
number
- 默认值:
-
- 可选项:
必需
- 描述:
表示标记开始的列号。
startLineNumber
- 类型:
number
- 默认值:
-
- 可选项:
必需
- 描述:
表示标记开始的行号。
',7),M=e("li",null,[l("默认值: "),e("code",null,"-")],-1),N=e("li",null,[l("可选项: "),e("code",null,"可选")],-1),y=e("li",null,[l("描述: "),e("code",null,"标记的标签。通常是与标记相关的一些元数据,如“未使用的变量”或“过时的API”。")],-1);function V(C,D){const n=a("ExternalLinkIcon"),o=a("RouterLink");return c(),s("div",null,[u,e("p",null,[m,l(),e("a",_,[l("官网地址"),i(n)]),l(" 定义问题/警告/等的结构。")]),f,e("ul",null,[e("li",null,[l("类型:"),i(o,{to:"/editor/interfaces/IRelatedInformation.html"},{default:d(()=>[l("IRelatedInformation")]),_:1}),l("[]")]),b,x,k]),p,e("ul",null,[e("li",null,[l("类型: "),i(o,{to:"/global/enumerations.html#markerseverity"},{default:d(()=>[l("MarkerSeverity")]),_:1})]),g,I,v]),L,e("ul",null,[e("li",null,[l("类型: "),i(o,{to:"/global/enumerations.html#markertag"},{default:d(()=>[l("MarkerTag")]),_:1}),l("[]")]),M,N,y])])}const E=t(h,[["render",V],["__file","IMarkerData.html.vue"]]);export{E as default};
diff --git a/assets/IMirrorModel.html-809bff30.js b/assets/IMirrorModel.html-809bff30.js
new file mode 100644
index 00000000..a1322254
--- /dev/null
+++ b/assets/IMirrorModel.html-809bff30.js
@@ -0,0 +1 @@
+import{_ as t}from"./plugin-vue_export-helper-c27b6911.js";import{r as a,o as n,c as i,a as e,b as r,d as s}from"./app-5f5ef0a9.js";const d={},c=e("h1",{id:"imirrormodel",tabindex:"-1"},[e("a",{class:"header-anchor",href:"#imirrormodel","aria-hidden":"true"},"#"),r(" IMirrorModel")],-1),h=e("code",null,"interface",-1),l={href:"https://microsoft.github.io/monaco-editor/docs.html#interfaces/worker.IMirrorModel.html",target:"_blank",rel:"noopener noreferrer"},_=e("h2",{id:"属性-properties",tabindex:"-1"},[e("a",{class:"header-anchor",href:"#属性-properties","aria-hidden":"true"},"#"),r(" 属性 Properties")],-1),m=e("h2",{id:"方法-methods",tabindex:"-1"},[e("a",{class:"header-anchor",href:"#方法-methods","aria-hidden":"true"},"#"),r(" 方法 Methods")],-1);function f(p,u){const o=a("ExternalLinkIcon");return n(),i("div",null,[c,e("p",null,[h,r(),e("a",l,[r("官网地址"),s(o)])]),_,m])}const b=t(d,[["render",f],["__file","IMirrorModel.html.vue"]]);export{b as default};
diff --git a/assets/IMirrorModel.html-c8ed3593.js b/assets/IMirrorModel.html-c8ed3593.js
new file mode 100644
index 00000000..12db57c6
--- /dev/null
+++ b/assets/IMirrorModel.html-c8ed3593.js
@@ -0,0 +1 @@
+const e=JSON.parse('{"key":"v-19f085bb","path":"/worker/interfaces/IMirrorModel.html","title":"IMirrorModel","lang":"zh-CN","frontmatter":{"description":"interface 官网地址 (https://microsoft.github.io/monaco-editor/docs.html#interfaces/worker.IMirrorModel.html) 属性 Properties 方法 Methods","head":[["meta",{"property":"og:url","content":"http://aydk.site/worker/interfaces/IMirrorModel.html"}],["meta",{"property":"og:site_name","content":"Monaco-editor 学习文档"}],["meta",{"property":"og:title","content":"IMirrorModel"}],["meta",{"property":"og:description","content":"interface 官网地址 (https://microsoft.github.io/monaco-editor/docs.html#interfaces/worker.IMirrorModel.html) 属性 Properties 方法 Methods"}],["meta",{"property":"og:type","content":"article"}],["meta",{"property":"og:locale","content":"zh-CN"}],["meta",{"property":"og:updated_time","content":"2023-06-16T20:04:45.000Z"}],["meta",{"property":"article:author","content":"aydk"}],["meta",{"property":"article:modified_time","content":"2023-06-16T20:04:45.000Z"}],["script",{"type":"application/ld+json"},"{\\"@context\\":\\"https://schema.org\\",\\"@type\\":\\"Article\\",\\"headline\\":\\"IMirrorModel\\",\\"image\\":[\\"\\"],\\"dateModified\\":\\"2023-06-16T20:04:45.000Z\\",\\"author\\":[{\\"@type\\":\\"Person\\",\\"name\\":\\"aydk\\"}]}"]]},"headers":[{"level":2,"title":"属性 Properties","slug":"属性-properties","link":"#属性-properties","children":[]},{"level":2,"title":"方法 Methods","slug":"方法-methods","link":"#方法-methods","children":[]}],"git":{"createdTime":1686945885000,"updatedTime":1686945885000,"contributors":[{"name":"xiaochaochao","email":"xiaochaochao","commits":1}]},"readingTime":{"minutes":0.05,"words":16},"filePathRelative":"worker/interfaces/IMirrorModel.md","localizedDate":"2023年6月16日","autoDesc":true}');export{e as data};
diff --git a/assets/IMirrorTextModel.html-05d142c6.js b/assets/IMirrorTextModel.html-05d142c6.js
new file mode 100644
index 00000000..340e4e82
--- /dev/null
+++ b/assets/IMirrorTextModel.html-05d142c6.js
@@ -0,0 +1 @@
+const e=JSON.parse('{"key":"v-ff92b570","path":"/worker/interfaces/IMirrorTextModel.html","title":"IMirrorTextModel","lang":"zh-CN","frontmatter":{"description":"interface 官网地址 (https://microsoft.github.io/monaco-editor/docs.html#interfaces/worker.IMirrorTextModel.html) 属性 Properties 方法 Methods","head":[["meta",{"property":"og:url","content":"http://aydk.site/worker/interfaces/IMirrorTextModel.html"}],["meta",{"property":"og:site_name","content":"Monaco-editor 学习文档"}],["meta",{"property":"og:title","content":"IMirrorTextModel"}],["meta",{"property":"og:description","content":"interface 官网地址 (https://microsoft.github.io/monaco-editor/docs.html#interfaces/worker.IMirrorTextModel.html) 属性 Properties 方法 Methods"}],["meta",{"property":"og:type","content":"article"}],["meta",{"property":"og:locale","content":"zh-CN"}],["meta",{"property":"og:updated_time","content":"2023-06-16T20:04:45.000Z"}],["meta",{"property":"article:author","content":"aydk"}],["meta",{"property":"article:modified_time","content":"2023-06-16T20:04:45.000Z"}],["script",{"type":"application/ld+json"},"{\\"@context\\":\\"https://schema.org\\",\\"@type\\":\\"Article\\",\\"headline\\":\\"IMirrorTextModel\\",\\"image\\":[\\"\\"],\\"dateModified\\":\\"2023-06-16T20:04:45.000Z\\",\\"author\\":[{\\"@type\\":\\"Person\\",\\"name\\":\\"aydk\\"}]}"]]},"headers":[{"level":2,"title":"属性 Properties","slug":"属性-properties","link":"#属性-properties","children":[]},{"level":2,"title":"方法 Methods","slug":"方法-methods","link":"#方法-methods","children":[]}],"git":{"createdTime":1686945885000,"updatedTime":1686945885000,"contributors":[{"name":"xiaochaochao","email":"xiaochaochao","commits":1}]},"readingTime":{"minutes":0.05,"words":16},"filePathRelative":"worker/interfaces/IMirrorTextModel.md","localizedDate":"2023年6月16日","autoDesc":true}');export{e as data};
diff --git a/assets/IMirrorTextModel.html-5225ce00.js b/assets/IMirrorTextModel.html-5225ce00.js
new file mode 100644
index 00000000..32f368f2
--- /dev/null
+++ b/assets/IMirrorTextModel.html-5225ce00.js
@@ -0,0 +1 @@
+import{_ as t}from"./plugin-vue_export-helper-c27b6911.js";import{r as a,o as n,c as i,a as e,b as r,d as s}from"./app-5f5ef0a9.js";const d={},c=e("h1",{id:"imirrortextmodel",tabindex:"-1"},[e("a",{class:"header-anchor",href:"#imirrortextmodel","aria-hidden":"true"},"#"),r(" IMirrorTextModel")],-1),h=e("code",null,"interface",-1),l={href:"https://microsoft.github.io/monaco-editor/docs.html#interfaces/worker.IMirrorTextModel.html",target:"_blank",rel:"noopener noreferrer"},_=e("h2",{id:"属性-properties",tabindex:"-1"},[e("a",{class:"header-anchor",href:"#属性-properties","aria-hidden":"true"},"#"),r(" 属性 Properties")],-1),m=e("h2",{id:"方法-methods",tabindex:"-1"},[e("a",{class:"header-anchor",href:"#方法-methods","aria-hidden":"true"},"#"),r(" 方法 Methods")],-1);function f(p,x){const o=a("ExternalLinkIcon");return n(),i("div",null,[c,e("p",null,[h,r(),e("a",l,[r("官网地址"),s(o)])]),_,m])}const b=t(d,[["render",f],["__file","IMirrorTextModel.html.vue"]]);export{b as default};
diff --git a/assets/IModelChangedEvent.html-148260a8.js b/assets/IModelChangedEvent.html-148260a8.js
new file mode 100644
index 00000000..543b6d44
--- /dev/null
+++ b/assets/IModelChangedEvent.html-148260a8.js
@@ -0,0 +1 @@
+const e=JSON.parse('{"key":"v-2f57fc27","path":"/editor/interfaces/IModelChangedEvent.html","title":"IModelChangedEvent","lang":"zh-CN","frontmatter":{"description":"interface 官网地址 (https://microsoft.github.io/monaco-editor/docs.html#interfaces/editor.IModelChangedEvent.html) 属性 Properties newModelUrl 类型: Url (../../global/classes/Url.md) 只读...","head":[["meta",{"property":"og:url","content":"http://aydk.site/editor/interfaces/IModelChangedEvent.html"}],["meta",{"property":"og:site_name","content":"Monaco-editor 学习文档"}],["meta",{"property":"og:title","content":"IModelChangedEvent"}],["meta",{"property":"og:description","content":"interface 官网地址 (https://microsoft.github.io/monaco-editor/docs.html#interfaces/editor.IModelChangedEvent.html) 属性 Properties newModelUrl 类型: Url (../../global/classes/Url.md) 只读..."}],["meta",{"property":"og:type","content":"article"}],["meta",{"property":"og:locale","content":"zh-CN"}],["meta",{"property":"og:updated_time","content":"2023-06-16T20:04:45.000Z"}],["meta",{"property":"article:author","content":"aydk"}],["meta",{"property":"article:modified_time","content":"2023-06-16T20:04:45.000Z"}],["script",{"type":"application/ld+json"},"{\\"@context\\":\\"https://schema.org\\",\\"@type\\":\\"Article\\",\\"headline\\":\\"IModelChangedEvent\\",\\"image\\":[\\"\\"],\\"dateModified\\":\\"2023-06-16T20:04:45.000Z\\",\\"author\\":[{\\"@type\\":\\"Person\\",\\"name\\":\\"aydk\\"}]}"]]},"headers":[{"level":2,"title":"属性 Properties","slug":"属性-properties","link":"#属性-properties","children":[{"level":3,"title":"newModelUrl","slug":"newmodelurl","link":"#newmodelurl","children":[]},{"level":3,"title":"oldModelUrl","slug":"oldmodelurl","link":"#oldmodelurl","children":[]}]}],"git":{"createdTime":1686945885000,"updatedTime":1686945885000,"contributors":[{"name":"xiaochaochao","email":"xiaochaochao","commits":1}]},"readingTime":{"minutes":0.19,"words":57},"filePathRelative":"editor/interfaces/IModelChangedEvent.md","localizedDate":"2023年6月16日","autoDesc":true}');export{e as data};
diff --git a/assets/IModelChangedEvent.html-bd0e52d6.js b/assets/IModelChangedEvent.html-bd0e52d6.js
new file mode 100644
index 00000000..b18ae019
--- /dev/null
+++ b/assets/IModelChangedEvent.html-bd0e52d6.js
@@ -0,0 +1 @@
+import{_ as s}from"./plugin-vue_export-helper-c27b6911.js";import{r as t,o as a,c as i,a as e,b as l,d as o,w as d}from"./app-5f5ef0a9.js";const c={},h=e("h1",{id:"imodelchangedevent",tabindex:"-1"},[e("a",{class:"header-anchor",href:"#imodelchangedevent","aria-hidden":"true"},"#"),l(" IModelChangedEvent")],-1),_=e("code",null,"interface",-1),u={href:"https://microsoft.github.io/monaco-editor/docs.html#interfaces/editor.IModelChangedEvent.html",target:"_blank",rel:"noopener noreferrer"},m=e("h2",{id:"属性-properties",tabindex:"-1"},[e("a",{class:"header-anchor",href:"#属性-properties","aria-hidden":"true"},"#"),l(" 属性 Properties")],-1),f=e("h3",{id:"newmodelurl",tabindex:"-1"},[e("a",{class:"header-anchor",href:"#newmodelurl","aria-hidden":"true"},"#"),l(" newModelUrl")],-1),p=e("code",null,"只读",-1),x=e("li",null,[l("默认值: "),e("code",null,"-")],-1),g=e("li",null,[l("可选项: "),e("code",null,"-")],-1),b=e("li",null,[l("描述: "),e("code",null,"新模型的 uri 或 null。")],-1),v=e("h3",{id:"oldmodelurl",tabindex:"-1"},[e("a",{class:"header-anchor",href:"#oldmodelurl","aria-hidden":"true"},"#"),l(" oldModelUrl")],-1),k=e("code",null,"只读",-1),E=e("li",null,[l("默认值: "),e("code",null,"-")],-1),C=e("li",null,[l("可选项: "),e("code",null,"-")],-1),I=e("li",null,[l("描述: "),e("code",null,"旧模型的 uri 或 null。")],-1);function M(U,w){const r=t("ExternalLinkIcon"),n=t("RouterLink");return a(),i("div",null,[h,e("p",null,[_,l(),e("a",u,[l("官网地址"),o(r)])]),m,f,e("ul",null,[e("li",null,[l("类型: "),o(n,{to:"/global/classes/Url.html"},{default:d(()=>[l("Url")]),_:1}),l(),p]),x,g,b]),v,e("ul",null,[e("li",null,[l("类型: "),o(n,{to:"/global/classes/Url.html"},{default:d(()=>[l("Url")]),_:1}),l(),k]),E,C,I])])}const N=s(c,[["render",M],["__file","IModelChangedEvent.html.vue"]]);export{N as default};
diff --git a/assets/IModelContentChange.html-70d92d91.js b/assets/IModelContentChange.html-70d92d91.js
new file mode 100644
index 00000000..61bb5729
--- /dev/null
+++ b/assets/IModelContentChange.html-70d92d91.js
@@ -0,0 +1 @@
+import{_ as i}from"./plugin-vue_export-helper-c27b6911.js";import{r as n,o as l,c as d,a as e,b as t,d as a,w as c,e as h}from"./app-5f5ef0a9.js";const s={},_=e("h1",{id:"imodelcontentchange",tabindex:"-1"},[e("a",{class:"header-anchor",href:"#imodelcontentchange","aria-hidden":"true"},"#"),t(" IModelContentChange")],-1),u=e("code",null,"interface",-1),f={href:"https://microsoft.github.io/monaco-editor/docs.html#interfaces/editor.IModelContentChange.html",target:"_blank",rel:"noopener noreferrer"},g=e("h2",{id:"属性-properties",tabindex:"-1"},[e("a",{class:"header-anchor",href:"#属性-properties","aria-hidden":"true"},"#"),t(" 属性 Properties")],-1),m=e("h3",{id:"range",tabindex:"-1"},[e("a",{class:"header-anchor",href:"#range","aria-hidden":"true"},"#"),t(" range")],-1),p=e("li",null,"描述:表示更改的范围。范围是从一行中的某个列开始,到另一行的某个列结束。",-1),x=h(' rangeLength
- 类型:
number
- 描述:表示更改前范围内的字符数。
rangeOffset
- 类型:
number
- 描述:表示更改前范围的字符偏移量。
text
- 类型:
string
- 描述:表示要插入或删除的文本。如果文本为空,则表示删除范围内的所有字符。如果文本为非空,则表示要插入文本。
',6);function b(C,I){const o=n("ExternalLinkIcon"),r=n("RouterLink");return l(),d("div",null,[_,e("p",null,[u,t(),e("a",f,[t("官网地址"),a(o)])]),g,m,e("ul",null,[e("li",null,[t("类型: "),a(r,{to:"/global/interfaces/IRange.html"},{default:c(()=>[t("IRange")]),_:1})]),p]),x])}const M=i(s,[["render",b],["__file","IModelContentChange.html.vue"]]);export{M as default};
diff --git a/assets/IModelContentChange.html-a43d377a.js b/assets/IModelContentChange.html-a43d377a.js
new file mode 100644
index 00000000..9c4eb199
--- /dev/null
+++ b/assets/IModelContentChange.html-a43d377a.js
@@ -0,0 +1 @@
+const e=JSON.parse('{"key":"v-6de6e39c","path":"/editor/interfaces/IModelContentChange.html","title":"IModelContentChange","lang":"zh-CN","frontmatter":{"description":"interface 官网地址 (https://microsoft.github.io/monaco-editor/docs.html#interfaces/editor.IModelContentChange.html) 属性 Properties range 类型: IRange (../../global/interfaces/IRange.md...","head":[["meta",{"property":"og:url","content":"http://aydk.site/editor/interfaces/IModelContentChange.html"}],["meta",{"property":"og:site_name","content":"Monaco-editor 学习文档"}],["meta",{"property":"og:title","content":"IModelContentChange"}],["meta",{"property":"og:description","content":"interface 官网地址 (https://microsoft.github.io/monaco-editor/docs.html#interfaces/editor.IModelContentChange.html) 属性 Properties range 类型: IRange (../../global/interfaces/IRange.md..."}],["meta",{"property":"og:type","content":"article"}],["meta",{"property":"og:locale","content":"zh-CN"}],["meta",{"property":"og:updated_time","content":"2023-06-16T20:04:45.000Z"}],["meta",{"property":"article:author","content":"aydk"}],["meta",{"property":"article:modified_time","content":"2023-06-16T20:04:45.000Z"}],["script",{"type":"application/ld+json"},"{\\"@context\\":\\"https://schema.org\\",\\"@type\\":\\"Article\\",\\"headline\\":\\"IModelContentChange\\",\\"image\\":[\\"\\"],\\"dateModified\\":\\"2023-06-16T20:04:45.000Z\\",\\"author\\":[{\\"@type\\":\\"Person\\",\\"name\\":\\"aydk\\"}]}"]]},"headers":[{"level":2,"title":"属性 Properties","slug":"属性-properties","link":"#属性-properties","children":[{"level":3,"title":"range","slug":"range","link":"#range","children":[]},{"level":3,"title":"rangeLength","slug":"rangelength","link":"#rangelength","children":[]},{"level":3,"title":"rangeOffset","slug":"rangeoffset","link":"#rangeoffset","children":[]},{"level":3,"title":"text","slug":"text","link":"#text","children":[]}]}],"git":{"createdTime":1686945885000,"updatedTime":1686945885000,"contributors":[{"name":"xiaochaochao","email":"xiaochaochao","commits":1}]},"readingTime":{"minutes":0.46,"words":138},"filePathRelative":"editor/interfaces/IModelContentChange.md","localizedDate":"2023年6月16日","autoDesc":true}');export{e as data};
diff --git a/assets/IModelContentChangedEvent.html-9beba512.js b/assets/IModelContentChangedEvent.html-9beba512.js
new file mode 100644
index 00000000..200421a1
--- /dev/null
+++ b/assets/IModelContentChangedEvent.html-9beba512.js
@@ -0,0 +1 @@
+import{_ as d}from"./plugin-vue_export-helper-c27b6911.js";import{r as o,o as l,c as r,a as e,b as n,d as a,w as s,e as h}from"./app-5f5ef0a9.js";const c={},u=e("h1",{id:"imodelcontentchangedevent",tabindex:"-1"},[e("a",{class:"header-anchor",href:"#imodelcontentchangedevent","aria-hidden":"true"},"#"),n(" IModelContentChangedEvent")],-1),_=e("code",null,"interface",-1),f={href:"https://microsoft.github.io/monaco-editor/docs.html#interfaces/editor.IModelContentChangedEvent.html",target:"_blank",rel:"noopener noreferrer"},g=e("h2",{id:"属性-properties",tabindex:"-1"},[e("a",{class:"header-anchor",href:"#属性-properties","aria-hidden":"true"},"#"),n(" 属性 Properties")],-1),m=e("h3",{id:"changes",tabindex:"-1"},[e("a",{class:"header-anchor",href:"#changes","aria-hidden":"true"},"#"),n(" changes")],-1),b=e("li",null,"描述:表示对文档进行的一系列更改。",-1),p=h(' eol
- 类型:
string
- 描述:表示文档中的行尾字符。如果更改中有换行符,则此属性将反映更改后的换行符。
isEolChange
- 类型:
boolean
- 描述:如果更改仅影响文档中的换行符,则为true,否则为false。
isFlush
- 类型:
boolean
- 描述:如果更改是由于调用了Model.setValue而导致的,则为true,否则为false。
isRedoing
- 类型:
boolean
- 描述:如果更改是由于调用了Model.redo而导致的,则为true,否则为false。
isUndoing
- 类型:
boolean
- 描述:如果更改是由于调用了Model.undo而导致的,则为true,否则为false。
versionId
- 类型:
number
- 描述:表示更改后的文档版本号。此版本号是对文档进行更改的每个操作的计数器。
',12);function x(C,v){const i=o("ExternalLinkIcon"),t=o("RouterLink");return l(),r("div",null,[u,e("p",null,[_,n(),e("a",f,[n("官网地址"),a(i)])]),g,m,e("ul",null,[e("li",null,[n("类型: "),a(t,{to:"/editor/interfaces/IModelContentChange.html"},{default:s(()=>[n("IModelContentChange")]),_:1}),n("[]")]),b]),p])}const E=d(c,[["render",x],["__file","IModelContentChangedEvent.html.vue"]]);export{E as default};
diff --git a/assets/IModelContentChangedEvent.html-dba5d305.js b/assets/IModelContentChangedEvent.html-dba5d305.js
new file mode 100644
index 00000000..40f507f6
--- /dev/null
+++ b/assets/IModelContentChangedEvent.html-dba5d305.js
@@ -0,0 +1 @@
+const e=JSON.parse('{"key":"v-6a675286","path":"/editor/interfaces/IModelContentChangedEvent.html","title":"IModelContentChangedEvent","lang":"zh-CN","frontmatter":{"description":"interface 官网地址 (https://microsoft.github.io/monaco-editor/docs.html#interfaces/editor.IModelContentChangedEvent.html) 属性 Properties changes 类型: IModelContentChange (IModelConten...","head":[["meta",{"property":"og:url","content":"http://aydk.site/editor/interfaces/IModelContentChangedEvent.html"}],["meta",{"property":"og:site_name","content":"Monaco-editor 学习文档"}],["meta",{"property":"og:title","content":"IModelContentChangedEvent"}],["meta",{"property":"og:description","content":"interface 官网地址 (https://microsoft.github.io/monaco-editor/docs.html#interfaces/editor.IModelContentChangedEvent.html) 属性 Properties changes 类型: IModelContentChange (IModelConten..."}],["meta",{"property":"og:type","content":"article"}],["meta",{"property":"og:locale","content":"zh-CN"}],["meta",{"property":"og:updated_time","content":"2023-06-16T20:04:45.000Z"}],["meta",{"property":"article:author","content":"aydk"}],["meta",{"property":"article:modified_time","content":"2023-06-16T20:04:45.000Z"}],["script",{"type":"application/ld+json"},"{\\"@context\\":\\"https://schema.org\\",\\"@type\\":\\"Article\\",\\"headline\\":\\"IModelContentChangedEvent\\",\\"image\\":[\\"\\"],\\"dateModified\\":\\"2023-06-16T20:04:45.000Z\\",\\"author\\":[{\\"@type\\":\\"Person\\",\\"name\\":\\"aydk\\"}]}"]]},"headers":[{"level":2,"title":"属性 Properties","slug":"属性-properties","link":"#属性-properties","children":[{"level":3,"title":"changes","slug":"changes","link":"#changes","children":[]},{"level":3,"title":"eol","slug":"eol","link":"#eol","children":[]},{"level":3,"title":"isEolChange","slug":"iseolchange","link":"#iseolchange","children":[]},{"level":3,"title":"isFlush","slug":"isflush","link":"#isflush","children":[]},{"level":3,"title":"isRedoing","slug":"isredoing","link":"#isredoing","children":[]},{"level":3,"title":"isUndoing","slug":"isundoing","link":"#isundoing","children":[]},{"level":3,"title":"versionId","slug":"versionid","link":"#versionid","children":[]}]}],"git":{"createdTime":1686945885000,"updatedTime":1686945885000,"contributors":[{"name":"xiaochaochao","email":"xiaochaochao","commits":1}]},"readingTime":{"minutes":0.74,"words":221},"filePathRelative":"editor/interfaces/IModelContentChangedEvent.md","localizedDate":"2023年6月16日","autoDesc":true}');export{e as data};
diff --git a/assets/IModelDecoration.html-0a965c94.js b/assets/IModelDecoration.html-0a965c94.js
new file mode 100644
index 00000000..b48874b7
--- /dev/null
+++ b/assets/IModelDecoration.html-0a965c94.js
@@ -0,0 +1 @@
+const e=JSON.parse('{"key":"v-d99eea06","path":"/editor/interfaces/IModelDecoration.html","title":"IModelDecoration","lang":"zh-CN","frontmatter":{"description":"interface 官网地址 (https://microsoft.github.io/monaco-editor/docs.html#interfaces/editor.IModelDecoration.html) 属性 Properties id 类型: string `只读 ; 描述:表示装饰的唯一标识符。; options 类型: IModel...","head":[["meta",{"property":"og:url","content":"http://aydk.site/editor/interfaces/IModelDecoration.html"}],["meta",{"property":"og:site_name","content":"Monaco-editor 学习文档"}],["meta",{"property":"og:title","content":"IModelDecoration"}],["meta",{"property":"og:description","content":"interface 官网地址 (https://microsoft.github.io/monaco-editor/docs.html#interfaces/editor.IModelDecoration.html) 属性 Properties id 类型: string `只读 ; 描述:表示装饰的唯一标识符。; options 类型: IModel..."}],["meta",{"property":"og:type","content":"article"}],["meta",{"property":"og:locale","content":"zh-CN"}],["meta",{"property":"og:updated_time","content":"2023-06-16T20:04:45.000Z"}],["meta",{"property":"article:author","content":"aydk"}],["meta",{"property":"article:modified_time","content":"2023-06-16T20:04:45.000Z"}],["script",{"type":"application/ld+json"},"{\\"@context\\":\\"https://schema.org\\",\\"@type\\":\\"Article\\",\\"headline\\":\\"IModelDecoration\\",\\"image\\":[\\"\\"],\\"dateModified\\":\\"2023-06-16T20:04:45.000Z\\",\\"author\\":[{\\"@type\\":\\"Person\\",\\"name\\":\\"aydk\\"}]}"]]},"headers":[{"level":2,"title":"属性 Properties","slug":"属性-properties","link":"#属性-properties","children":[{"level":3,"title":"id","slug":"id","link":"#id","children":[]},{"level":3,"title":"options","slug":"options","link":"#options","children":[]},{"level":3,"title":"ownerId","slug":"ownerid","link":"#ownerid","children":[]},{"level":3,"title":"range","slug":"range","link":"#range","children":[]}]}],"git":{"createdTime":1686945885000,"updatedTime":1686945885000,"contributors":[{"name":"xiaochaochao","email":"xiaochaochao","commits":1}]},"readingTime":{"minutes":0.44,"words":131},"filePathRelative":"editor/interfaces/IModelDecoration.md","localizedDate":"2023年6月16日","autoDesc":true}');export{e as data};
diff --git a/assets/IModelDecoration.html-12f550ff.js b/assets/IModelDecoration.html-12f550ff.js
new file mode 100644
index 00000000..a75e531e
--- /dev/null
+++ b/assets/IModelDecoration.html-12f550ff.js
@@ -0,0 +1 @@
+import{_ as l}from"./plugin-vue_export-helper-c27b6911.js";import{r as i,o as d,c,a as e,b as o,d as n,w as a,e as s}from"./app-5f5ef0a9.js";const h={},_=e("h1",{id:"imodeldecoration",tabindex:"-1"},[e("a",{class:"header-anchor",href:"#imodeldecoration","aria-hidden":"true"},"#"),o(" IModelDecoration")],-1),u=e("code",null,"interface",-1),f={href:"https://microsoft.github.io/monaco-editor/docs.html#interfaces/editor.IModelDecoration.html",target:"_blank",rel:"noopener noreferrer"},p=s(' 属性 Properties
id
- 类型:
string
只读
- 描述:表示装饰的唯一标识符。
options
',4),m=e("code",null,"IModelDecorationOptions",-1),x=e("code",null,"只读",-1),b=e("li",null,"描述:表示装饰的选项。装饰选项定义了装饰的外观和行为。",-1),g=e("h3",{id:"ownerid",tabindex:"-1"},[e("a",{class:"header-anchor",href:"#ownerid","aria-hidden":"true"},"#"),o(" ownerId")],-1),I=e("ul",null,[e("li",null,[o("类型: "),e("code",null,"number"),o(),e("code",null,"只读")]),e("li",null,"描述:表示装饰的所有者标识符。装饰的所有者可以是任何对象。")],-1),k=e("h3",{id:"range",tabindex:"-1"},[e("a",{class:"header-anchor",href:"#range","aria-hidden":"true"},"#"),o(" range")],-1),M=e("code",null,"Range",-1),D=e("code",null,"只读",-1),w=e("li",null,"描述:表示装饰的范围。装饰的范围可以是文档中的任何位置或文本范围。",-1);function L(N,R){const r=i("ExternalLinkIcon"),t=i("RouterLink");return d(),c("div",null,[_,e("p",null,[u,o(),e("a",f,[o("官网地址"),n(r)])]),p,e("ul",null,[e("li",null,[o("类型:"),n(t,{to:"/editor/interfaces/IModelDecorationMinimapOptions.html"},{default:a(()=>[m]),_:1}),o(),x]),b]),g,I,k,e("ul",null,[e("li",null,[o("类型:"),n(t,{to:"/global/classes/Range.html"},{default:a(()=>[M]),_:1}),o(),D]),w])])}const B=l(h,[["render",L],["__file","IModelDecoration.html.vue"]]);export{B as default};
diff --git a/assets/IModelDecorationGlyphMarginOptions.html-49d7f8ff.js b/assets/IModelDecorationGlyphMarginOptions.html-49d7f8ff.js
new file mode 100644
index 00000000..5095686b
--- /dev/null
+++ b/assets/IModelDecorationGlyphMarginOptions.html-49d7f8ff.js
@@ -0,0 +1 @@
+import{_ as a}from"./plugin-vue_export-helper-c27b6911.js";import{r as n,o as l,c as s,a as e,b as o,d as t,w as c}from"./app-5f5ef0a9.js";const d={},h=e("h1",{id:"imodeldecorationglyphmarginoptions",tabindex:"-1"},[e("a",{class:"header-anchor",href:"#imodeldecorationglyphmarginoptions","aria-hidden":"true"},"#"),o(" IModelDecorationGlyphMarginOptions")],-1),_=e("code",null,"interface",-1),p={href:"https://microsoft.github.io/monaco-editor/docs.html#interfaces/editor.IModelDecorationGlyphMarginOptions.html",target:"_blank",rel:"noopener noreferrer"},u=e("h2",{id:"属性-properties",tabindex:"-1"},[e("a",{class:"header-anchor",href:"#属性-properties","aria-hidden":"true"},"#"),o(" 属性 Properties")],-1),m=e("h3",{id:"position",tabindex:"-1"},[e("a",{class:"header-anchor",href:"#position","aria-hidden":"true"},"#"),o(" position")],-1),f=e("code",null,"可选",-1),g=e("li",null,[o("默认值: "),e("code",null,"-")],-1),x=e("li",null,[o("可选项: "),e("code",null,"-")],-1),M=e("li",null,"描述: ``",-1);function y(k,b){const i=n("ExternalLinkIcon"),r=n("RouterLink");return l(),s("div",null,[h,e("p",null,[_,o(),e("a",p,[o("官网地址"),t(i)])]),u,m,e("ul",null,[e("li",null,[o("类型: "),t(r,{to:"/editor/enumerations.html#glyphmarginlane"},{default:c(()=>[o("GlyphMarginLane")]),_:1}),o(),f]),g,x,M])])}const L=a(d,[["render",y],["__file","IModelDecorationGlyphMarginOptions.html.vue"]]);export{L as default};
diff --git a/assets/IModelDecorationGlyphMarginOptions.html-7534a4df.js b/assets/IModelDecorationGlyphMarginOptions.html-7534a4df.js
new file mode 100644
index 00000000..b48661ce
--- /dev/null
+++ b/assets/IModelDecorationGlyphMarginOptions.html-7534a4df.js
@@ -0,0 +1 @@
+const t=JSON.parse('{"key":"v-55eafd19","path":"/editor/interfaces/IModelDecorationGlyphMarginOptions.html","title":"IModelDecorationGlyphMarginOptions","lang":"zh-CN","frontmatter":{"description":"interface 官网地址 (https://microsoft.github.io/monaco-editor/docs.html#interfaces/editor.IModelDecorationGlyphMarginOptions.html) 属性 Properties position 类型: GlyphMarginLane (../enu...","head":[["meta",{"property":"og:url","content":"http://aydk.site/editor/interfaces/IModelDecorationGlyphMarginOptions.html"}],["meta",{"property":"og:site_name","content":"Monaco-editor 学习文档"}],["meta",{"property":"og:title","content":"IModelDecorationGlyphMarginOptions"}],["meta",{"property":"og:description","content":"interface 官网地址 (https://microsoft.github.io/monaco-editor/docs.html#interfaces/editor.IModelDecorationGlyphMarginOptions.html) 属性 Properties position 类型: GlyphMarginLane (../enu..."}],["meta",{"property":"og:type","content":"article"}],["meta",{"property":"og:locale","content":"zh-CN"}],["meta",{"property":"og:updated_time","content":"2023-06-16T20:04:45.000Z"}],["meta",{"property":"article:author","content":"aydk"}],["meta",{"property":"article:modified_time","content":"2023-06-16T20:04:45.000Z"}],["script",{"type":"application/ld+json"},"{\\"@context\\":\\"https://schema.org\\",\\"@type\\":\\"Article\\",\\"headline\\":\\"IModelDecorationGlyphMarginOptions\\",\\"image\\":[\\"\\"],\\"dateModified\\":\\"2023-06-16T20:04:45.000Z\\",\\"author\\":[{\\"@type\\":\\"Person\\",\\"name\\":\\"aydk\\"}]}"]]},"headers":[{"level":2,"title":"属性 Properties","slug":"属性-properties","link":"#属性-properties","children":[{"level":3,"title":"position","slug":"position","link":"#position","children":[]}]}],"git":{"createdTime":1686945885000,"updatedTime":1686945885000,"contributors":[{"name":"xiaochaochao","email":"xiaochaochao","commits":1}]},"readingTime":{"minutes":0.1,"words":29},"filePathRelative":"editor/interfaces/IModelDecorationGlyphMarginOptions.md","localizedDate":"2023年6月16日","autoDesc":true}');export{t as data};
diff --git a/assets/IModelDecorationMinimapOptions.html-4425ff6d.js b/assets/IModelDecorationMinimapOptions.html-4425ff6d.js
new file mode 100644
index 00000000..0b6c978c
--- /dev/null
+++ b/assets/IModelDecorationMinimapOptions.html-4425ff6d.js
@@ -0,0 +1 @@
+const e=JSON.parse('{"key":"v-70374244","path":"/editor/interfaces/IModelDecorationMinimapOptions.html","title":"IModelDecorationMinimapOptions","lang":"zh-CN","frontmatter":{"description":"interface 官网地址 (https://microsoft.github.io/monaco-editor/docs.html#interfaces/editor.IModelDecorationMinimapOptions.html) 属性 Properties color 类型: string | ThemeColor (ThemeColo...","head":[["meta",{"property":"og:url","content":"http://aydk.site/editor/interfaces/IModelDecorationMinimapOptions.html"}],["meta",{"property":"og:site_name","content":"Monaco-editor 学习文档"}],["meta",{"property":"og:title","content":"IModelDecorationMinimapOptions"}],["meta",{"property":"og:description","content":"interface 官网地址 (https://microsoft.github.io/monaco-editor/docs.html#interfaces/editor.IModelDecorationMinimapOptions.html) 属性 Properties color 类型: string | ThemeColor (ThemeColo..."}],["meta",{"property":"og:type","content":"article"}],["meta",{"property":"og:locale","content":"zh-CN"}],["meta",{"property":"og:updated_time","content":"2023-06-16T20:04:45.000Z"}],["meta",{"property":"article:author","content":"aydk"}],["meta",{"property":"article:modified_time","content":"2023-06-16T20:04:45.000Z"}],["script",{"type":"application/ld+json"},"{\\"@context\\":\\"https://schema.org\\",\\"@type\\":\\"Article\\",\\"headline\\":\\"IModelDecorationMinimapOptions\\",\\"image\\":[\\"\\"],\\"dateModified\\":\\"2023-06-16T20:04:45.000Z\\",\\"author\\":[{\\"@type\\":\\"Person\\",\\"name\\":\\"aydk\\"}]}"]]},"headers":[{"level":2,"title":"属性 Properties","slug":"属性-properties","link":"#属性-properties","children":[{"level":3,"title":"color","slug":"color","link":"#color","children":[]},{"level":3,"title":"darkColor","slug":"darkcolor","link":"#darkcolor","children":[]},{"level":3,"title":"position","slug":"position","link":"#position","children":[]}]}],"git":{"createdTime":1686945885000,"updatedTime":1686945885000,"contributors":[{"name":"xiaochaochao","email":"xiaochaochao","commits":1}]},"readingTime":{"minutes":0.51,"words":154},"filePathRelative":"editor/interfaces/IModelDecorationMinimapOptions.md","localizedDate":"2023年6月16日","autoDesc":true}');export{e as data};
diff --git a/assets/IModelDecorationMinimapOptions.html-eb05c96f.js b/assets/IModelDecorationMinimapOptions.html-eb05c96f.js
new file mode 100644
index 00000000..896bc259
--- /dev/null
+++ b/assets/IModelDecorationMinimapOptions.html-eb05c96f.js
@@ -0,0 +1 @@
+import{_ as a}from"./plugin-vue_export-helper-c27b6911.js";import{r,o as s,c as d,a as o,b as e,d as t,w as i}from"./app-5f5ef0a9.js";const c={},h=o("h1",{id:"imodeldecorationminimapoptions",tabindex:"-1"},[o("a",{class:"header-anchor",href:"#imodeldecorationminimapoptions","aria-hidden":"true"},"#"),e(" IModelDecorationMinimapOptions")],-1),_=o("code",null,"interface",-1),u={href:"https://microsoft.github.io/monaco-editor/docs.html#interfaces/editor.IModelDecorationMinimapOptions.html",target:"_blank",rel:"noopener noreferrer"},m=o("h2",{id:"属性-properties",tabindex:"-1"},[o("a",{class:"header-anchor",href:"#属性-properties","aria-hidden":"true"},"#"),e(" 属性 Properties")],-1),p=o("h3",{id:"color",tabindex:"-1"},[o("a",{class:"header-anchor",href:"#color","aria-hidden":"true"},"#"),e(" color")],-1),f=o("code",null,"string",-1),x=o("li",null,"描述:表示装饰在小地图中的颜色。可以是CSS颜色名称,HEX颜色代码或RGB颜色代码。如果未设置,则使用主题颜色。",-1),k=o("h3",{id:"darkcolor",tabindex:"-1"},[o("a",{class:"header-anchor",href:"#darkcolor","aria-hidden":"true"},"#"),e(" darkColor")],-1),C=o("code",null,"string",-1),M=o("code",null,"可选",-1),b=o("li",null,[e("默认值: "),o("code",null,"null")],-1),I=o("li",null,[e("可选项: "),o("code",null,"-")],-1),B=o("li",null,"描述:表示在小地图中使用的暗色。可以是CSS颜色名称,HEX颜色代码或RGB颜色代码。如果未设置,则使用主题颜色的暗色。",-1),E=o("h3",{id:"position",tabindex:"-1"},[o("a",{class:"header-anchor",href:"#position","aria-hidden":"true"},"#"),e(" position")],-1),T=o("li",null,"描述:表示小地图上的装饰位置。可以是左侧或右侧。",-1);function g(D,L){const l=r("ExternalLinkIcon"),n=r("RouterLink");return s(),d("div",null,[h,o("p",null,[_,e(),o("a",u,[e("官网地址"),t(l)])]),m,p,o("ul",null,[o("li",null,[e("类型: "),f,e(" | "),t(n,{to:"/editor/interfaces/ThemeColor.html"},{default:i(()=>[e("ThemeColor")]),_:1})]),x]),k,o("ul",null,[o("li",null,[e("类型: "),C,e(" | "),t(n,{to:"/editor/interfaces/ThemeColor.html"},{default:i(()=>[e("ThemeColor")]),_:1}),e(),M]),b,I,B]),E,o("ul",null,[o("li",null,[e("类型: "),t(n,{to:"/editor/enumerations.html#minimapposition"},{default:i(()=>[e("MinimapPosition")]),_:1})]),T])])}const S=a(c,[["render",g],["__file","IModelDecorationMinimapOptions.html.vue"]]);export{S as default};
diff --git a/assets/IModelDecorationOptions.html-b3377988.js b/assets/IModelDecorationOptions.html-b3377988.js
new file mode 100644
index 00000000..28a3be67
--- /dev/null
+++ b/assets/IModelDecorationOptions.html-b3377988.js
@@ -0,0 +1 @@
+const e=JSON.parse('{"key":"v-dfe97312","path":"/editor/interfaces/IModelDecorationOptions.html","title":"IModelDecorationOptions","lang":"zh-CN","frontmatter":{"description":"interface 官网地址 (https://microsoft.github.io/monaco-editor/docs.html#interfaces/editor.IModelDecorationOptions.html) 属性 Properties after 类型: InjectedTextOptions (InjectedTextOpti...","head":[["meta",{"property":"og:url","content":"http://aydk.site/editor/interfaces/IModelDecorationOptions.html"}],["meta",{"property":"og:site_name","content":"Monaco-editor 学习文档"}],["meta",{"property":"og:title","content":"IModelDecorationOptions"}],["meta",{"property":"og:description","content":"interface 官网地址 (https://microsoft.github.io/monaco-editor/docs.html#interfaces/editor.IModelDecorationOptions.html) 属性 Properties after 类型: InjectedTextOptions (InjectedTextOpti..."}],["meta",{"property":"og:type","content":"article"}],["meta",{"property":"og:locale","content":"zh-CN"}],["meta",{"property":"og:updated_time","content":"2023-06-16T20:04:45.000Z"}],["meta",{"property":"article:author","content":"aydk"}],["meta",{"property":"article:modified_time","content":"2023-06-16T20:04:45.000Z"}],["script",{"type":"application/ld+json"},"{\\"@context\\":\\"https://schema.org\\",\\"@type\\":\\"Article\\",\\"headline\\":\\"IModelDecorationOptions\\",\\"image\\":[\\"\\"],\\"dateModified\\":\\"2023-06-16T20:04:45.000Z\\",\\"author\\":[{\\"@type\\":\\"Person\\",\\"name\\":\\"aydk\\"}]}"]]},"headers":[{"level":2,"title":"属性 Properties","slug":"属性-properties","link":"#属性-properties","children":[{"level":3,"title":"after","slug":"after","link":"#after","children":[]},{"level":3,"title":"afterContentClassName","slug":"aftercontentclassname","link":"#aftercontentclassname","children":[]},{"level":3,"title":"before","slug":"before","link":"#before","children":[]},{"level":3,"title":"beforeContentClassName","slug":"beforecontentclassname","link":"#beforecontentclassname","children":[]},{"level":3,"title":"blockClassName","slug":"blockclassname","link":"#blockclassname","children":[]},{"level":3,"title":"blockDoesNotCollapse","slug":"blockdoesnotcollapse","link":"#blockdoesnotcollapse","children":[]},{"level":3,"title":"blockIsAfterEnd","slug":"blockisafterend","link":"#blockisafterend","children":[]},{"level":3,"title":"blockPadding","slug":"blockpadding","link":"#blockpadding","children":[]},{"level":3,"title":"className","slug":"classname","link":"#classname","children":[]},{"level":3,"title":"firstLineDecorationClassName","slug":"firstlinedecorationclassname","link":"#firstlinedecorationclassname","children":[]},{"level":3,"title":"glyphMargin","slug":"glyphmargin","link":"#glyphmargin","children":[]},{"level":3,"title":"glyphMarginClassName","slug":"glyphmarginclassname","link":"#glyphmarginclassname","children":[]},{"level":3,"title":"glyphMarginHoverMessage","slug":"glyphmarginhovermessage","link":"#glyphmarginhovermessage","children":[]},{"level":3,"title":"hoverMessage","slug":"hovermessage","link":"#hovermessage","children":[]},{"level":3,"title":"inlineClassName","slug":"inlineclassname","link":"#inlineclassname","children":[]},{"level":3,"title":"inlineClassNameAffectsLetterSpacing","slug":"inlineclassnameaffectsletterspacing","link":"#inlineclassnameaffectsletterspacing","children":[]},{"level":3,"title":"isWholeLine","slug":"iswholeline","link":"#iswholeline","children":[]},{"level":3,"title":"linesDecorationsClassName","slug":"linesdecorationsclassname","link":"#linesdecorationsclassname","children":[]},{"level":3,"title":"marginClassName(边距类名)","slug":"marginclassname-边距类名","link":"#marginclassname-边距类名","children":[]},{"level":3,"title":"minimap(缩略图)","slug":"minimap-缩略图","link":"#minimap-缩略图","children":[]},{"level":3,"title":"overviewRuler(概览标尺)","slug":"overviewruler-概览标尺","link":"#overviewruler-概览标尺","children":[]},{"level":3,"title":"showIfCollapsed(折叠时显示)","slug":"showifcollapsed-折叠时显示","link":"#showifcollapsed-折叠时显示","children":[]},{"level":3,"title":"stickiness(粘性)","slug":"stickiness-粘性","link":"#stickiness-粘性","children":[]},{"level":3,"title":"zIndex(层级)","slug":"zindex-层级","link":"#zindex-层级","children":[]}]}],"git":{"createdTime":1686945885000,"updatedTime":1686945885000,"contributors":[{"name":"xiaochaochao","email":"xiaochaochao","commits":1}]},"readingTime":{"minutes":3.03,"words":908},"filePathRelative":"editor/interfaces/IModelDecorationOptions.md","localizedDate":"2023年6月16日","autoDesc":true}');export{e as data};
diff --git a/assets/IModelDecorationOptions.html-f260f2d3.js b/assets/IModelDecorationOptions.html-f260f2d3.js
new file mode 100644
index 00000000..3b6f8edd
--- /dev/null
+++ b/assets/IModelDecorationOptions.html-f260f2d3.js
@@ -0,0 +1 @@
+import{_ as t}from"./plugin-vue_export-helper-c27b6911.js";import{r as a,o as s,c as r,a as e,b as l,d as o,w as n,e as d}from"./app-5f5ef0a9.js";const h={},u=e("h1",{id:"imodeldecorationoptions",tabindex:"-1"},[e("a",{class:"header-anchor",href:"#imodeldecorationoptions","aria-hidden":"true"},"#"),l(" IModelDecorationOptions")],-1),_=e("code",null,"interface",-1),f={href:"https://microsoft.github.io/monaco-editor/docs.html#interfaces/editor.IModelDecorationOptions.html",target:"_blank",rel:"noopener noreferrer"},m=e("h2",{id:"属性-properties",tabindex:"-1"},[e("a",{class:"header-anchor",href:"#属性-properties","aria-hidden":"true"},"#"),l(" 属性 Properties")],-1),g=e("h3",{id:"after",tabindex:"-1"},[e("a",{class:"header-anchor",href:"#after","aria-hidden":"true"},"#"),l(" after")],-1),p=e("code",null,"可选",-1),b=e("li",null,[l("默认值: "),e("code",null,"-")],-1),x=e("li",null,[l("可选项: "),e("code",null,"-")],-1),k=e("li",null,"描述:如果设置,文本将在范围后的视图中插入。",-1),M=d(' afterContentClassName
- 类型:
string
可选
- 默认值:
null
- 可选项:
-
- 描述:一个CSS类名,用于在内容之后呈现附加内容的容器。
before
',3),I=e("code",null,"可选",-1),S=e("li",null,[l("默认值: "),e("code",null,"null")],-1),w=e("li",null,[l("可选项: "),e("code",null,"-")],-1),C=e("li",null,"描述:一个装饰器,用于在内容之前呈现附加内容。",-1),v=d(' beforeContentClassName
- 类型:
string
可选
- 默认值:
null
- 可选项:
-
- 描述:一个CSS类名,用于在内容之前呈现附加内容的容器。
blockClassName
- 类型:
string
可选
- 默认值:
null
- 可选项:
-
- 描述:一个CSS类名,用于在内容周围呈现一个块装饰器。
blockDoesNotCollapse
- 类型:
boolean
可选
- 默认值:
false
- 可选项:
-
- 描述:一个布尔值,表示块装饰器是否不应折叠。
blockIsAfterEnd
- 类型:
boolean
可选
- 默认值:
false
- 可选项:
-
- 描述:一个布尔值,表示块装饰器是否在内容的末尾之后呈现。
blockPadding
- 类型:
[top: number, right: number, bottom: number, left: number]
可选
- 默认值:
null
- 可选项:
-
- 描述:一个装饰器,用于在块装饰器与内容之间呈现填充。
className
- 类型:
string
可选
- 默认值:
null
- 可选项:
-
- 描述:一个CSS类名,用于应用于此装饰器。
firstLineDecorationClassName
- 类型:
string
可选
- 默认值:
null
- 可选项:
-
- 描述:一个CSS类名,用于在第一行上呈现的装饰器。
glyphMargin
',15),y=e("code",null,"可选",-1),O=e("li",null,[l("默认值: "),e("code",null,"null")],-1),N=e("li",null,[l("可选项: "),e("code",null,"-")],-1),D=e("li",null,"描述:一个装饰器,用于在行号旁边呈现图标。如果已设置并且装饰已设置 glyphMarginClassName,则在字形边距中使用指定的 IModelDecorationGlyphMarginOptions 渲染此装饰。",-1),T=d(' glyphMarginClassName
- 类型:
string
可选
- 默认值:
null
- 可选项:
-
- 描述:一个CSS类名,用于应用于行号旁边呈现的图标的容器。
glyphMarginHoverMessage
',3),L=e("code",null,"可选",-1),E=e("li",null,[l("默认值: "),e("code",null,"null")],-1),G=e("li",null,[l("可选项: "),e("code",null,"-")],-1),R=e("li",null,"描述:一个悬停消息,当鼠标悬停在行号旁边呈现的图标上时显示。",-1),A=e("h3",{id:"hovermessage",tabindex:"-1"},[e("a",{class:"header-anchor",href:"#hovermessage","aria-hidden":"true"},"#"),l(" hoverMessage")],-1),j=e("code",null,"可选",-1),B=e("li",null,[l("默认值: "),e("code",null,"null")],-1),V=e("li",null,[l("可选项: "),e("code",null,"-")],-1),W=e("li",null,"描述:一个悬停消息,当鼠标悬停在装饰器上时显示。",-1),z=d(' inlineClassName
- 类型:
string
可选
- 默认值:
null
- 可选项:
-
- 描述:一个CSS类名,用于在内容内呈现的装饰器。
inlineClassNameAffectsLetterSpacing
- 类型:
boolean
可选
- 默认值:
false
- 可选项:
-
- 描述:一个布尔值,表示内联装饰器是否应影响字间距。
isWholeLine
- 类型:
boolean
可选
- 默认值:
false
- 可选项:
-
- 描述:一个布尔值,表示装饰器是否应覆盖整行。
linesDecorationsClassName
- 类型:
string
可选
- 默认值:
null
- 可选项:
-
- 描述:一个CSS类名,用于在整行上呈现的装饰器。
marginClassName(边距类名)
- 类型:
string
可选
- 默认值:
-
- 可选项:
-
- 描述:
用于在编辑器的边距处添加自定义类名的选项。
minimap(缩略图)
',11),P=e("code",null,"可选",-1),H=e("li",null,[l("默认值: "),e("code",null,"-")],-1),q=e("li",null,[l("可选项: "),e("code",null,"-")],-1),F=e("li",null,[l("描述: "),e("code",null,"用于在编辑器的缩略图上添加自定义选项的选项。")],-1),J=e("h3",{id:"overviewruler-概览标尺",tabindex:"-1"},[e("a",{class:"header-anchor",href:"#overviewruler-概览标尺","aria-hidden":"true"},"#"),l(" overviewRuler(概览标尺)")],-1),K=e("code",null,"可选",-1),Q=e("li",null,[l("默认值: "),e("code",null,"-")],-1),U=e("li",null,[l("可选项: "),e("code",null,"-")],-1),X=e("li",null,[l("描述: "),e("code",null,"用于在编辑器的概览标尺上添加自定义选项的选项。")],-1),Y=d(' showIfCollapsed(折叠时显示)
- 类型:
boolean
可选
- 默认值:
-
- 可选项:
-
- 描述:
用于在代码折叠时添加自定义选项的选项。
stickiness(粘性)
',3),Z=e("code",null,"可选",-1),$=e("li",null,[l("默认值: "),e("code",null,"-")],-1),ee=e("li",null,[l("可选项: "),e("code",null,"1. AlwaysGrowsWhenTypingAtEdges 2. NeverGrowsWhenTypingAtEdges 3. GrowsOnlyWhenTypingBefore")],-1),le=e("li",null,[l("描述: "),e("code",null,"用于指定在编辑器中添加自定义选项时跟踪范围的行为。")],-1),oe=d(' zIndex(层级)
- 类型:
number
可选
- 默认值:
-
- 可选项:
-
- 描述:
用于指定添加自定义选项时的层级顺序。
',2);function ie(ne,de){const c=a("ExternalLinkIcon"),i=a("RouterLink");return s(),r("div",null,[u,e("p",null,[_,l(),e("a",f,[l("官网地址"),o(c)])]),m,g,e("ul",null,[e("li",null,[l("类型: "),o(i,{to:"/editor/interfaces/InjectedTextOptions.html"},{default:n(()=>[l("InjectedTextOptions")]),_:1}),l(),p]),b,x,k]),M,e("ul",null,[e("li",null,[l("类型: "),o(i,{to:"/editor/interfaces/InjectedTextOptions.html"},{default:n(()=>[l("InjectedTextOptions")]),_:1}),l(),I]),S,w,C]),v,e("ul",null,[e("li",null,[l("类型:"),o(i,{to:"/editor/interfaces/IModelDecorationGlyphMarginOptions.html"},{default:n(()=>[l("IModelDecorationGlyphMarginOptions")]),_:1}),l(),y]),O,N,D]),T,e("ul",null,[e("li",null,[l("类型: "),o(i,{to:"/global/classes/IMarkdownString.html"},{default:n(()=>[l("IMarkdownString")]),_:1}),l(" | "),o(i,{to:"/global/classes/IMarkdownString.html"},{default:n(()=>[l("IMarkdownString")]),_:1}),l("[] "),L]),E,G,R]),A,e("ul",null,[e("li",null,[l("类型: "),o(i,{to:"/global/classes/IMarkdownString.html"},{default:n(()=>[l("IMarkdownString")]),_:1}),l(" | "),o(i,{to:"/global/classes/IMarkdownString.html"},{default:n(()=>[l("IMarkdownString")]),_:1}),l("[] "),j]),B,V,W]),z,e("ul",null,[e("li",null,[l("类型: "),o(i,{to:"/editor/interfaces/IModelDecorationMinimapOptions.html"},{default:n(()=>[l("editor.IModelDecorationMinimapOptions")]),_:1}),l(),P]),H,q,F]),J,e("ul",null,[e("li",null,[l("类型: "),o(i,{to:"/editor/interfaces/IModelDecorationOverviewRulerOptions.html"},{default:n(()=>[l("editor.IModelDecorationOverviewRulerOptions")]),_:1}),l(),K]),Q,U,X]),Y,e("ul",null,[e("li",null,[l("类型: "),o(i,{to:"/editor/enumerations.html#trackedrangestickiness"},{default:n(()=>[l("TrackedRangeStickiness")]),_:1}),l(),Z]),$,ee,le]),oe])}const te=t(h,[["render",ie],["__file","IModelDecorationOptions.html.vue"]]);export{te as default};
diff --git a/assets/IModelDecorationOverviewRulerOptions.html-11ca9117.js b/assets/IModelDecorationOverviewRulerOptions.html-11ca9117.js
new file mode 100644
index 00000000..9a165b81
--- /dev/null
+++ b/assets/IModelDecorationOverviewRulerOptions.html-11ca9117.js
@@ -0,0 +1 @@
+const e=JSON.parse('{"key":"v-4951e6c8","path":"/editor/interfaces/IModelDecorationOverviewRulerOptions.html","title":"IModelDecorationOverviewRulerOptions","lang":"zh-CN","frontmatter":{"description":"interface 官网地址 (https://microsoft.github.io/monaco-editor/docs.html#interfaces/editor.BracketPairColorizationOptions.html) 属性 Properties color 类型: string | ThemeColor (ThemeColo...","head":[["meta",{"property":"og:url","content":"http://aydk.site/editor/interfaces/IModelDecorationOverviewRulerOptions.html"}],["meta",{"property":"og:site_name","content":"Monaco-editor 学习文档"}],["meta",{"property":"og:title","content":"IModelDecorationOverviewRulerOptions"}],["meta",{"property":"og:description","content":"interface 官网地址 (https://microsoft.github.io/monaco-editor/docs.html#interfaces/editor.BracketPairColorizationOptions.html) 属性 Properties color 类型: string | ThemeColor (ThemeColo..."}],["meta",{"property":"og:type","content":"article"}],["meta",{"property":"og:locale","content":"zh-CN"}],["meta",{"property":"og:updated_time","content":"2023-06-16T20:04:45.000Z"}],["meta",{"property":"article:author","content":"aydk"}],["meta",{"property":"article:modified_time","content":"2023-06-16T20:04:45.000Z"}],["script",{"type":"application/ld+json"},"{\\"@context\\":\\"https://schema.org\\",\\"@type\\":\\"Article\\",\\"headline\\":\\"IModelDecorationOverviewRulerOptions\\",\\"image\\":[\\"\\"],\\"dateModified\\":\\"2023-06-16T20:04:45.000Z\\",\\"author\\":[{\\"@type\\":\\"Person\\",\\"name\\":\\"aydk\\"}]}"]]},"headers":[{"level":2,"title":"属性 Properties","slug":"属性-properties","link":"#属性-properties","children":[{"level":3,"title":"color","slug":"color","link":"#color","children":[]},{"level":3,"title":"darkColor","slug":"darkcolor","link":"#darkcolor","children":[]},{"level":3,"title":"position","slug":"position","link":"#position","children":[]}]}],"git":{"createdTime":1686945885000,"updatedTime":1686945885000,"contributors":[{"name":"xiaochaochao","email":"xiaochaochao","commits":1}]},"readingTime":{"minutes":0.51,"words":154},"filePathRelative":"editor/interfaces/IModelDecorationOverviewRulerOptions.md","localizedDate":"2023年6月16日","autoDesc":true}');export{e as data};
diff --git a/assets/IModelDecorationOverviewRulerOptions.html-df0bef61.js b/assets/IModelDecorationOverviewRulerOptions.html-df0bef61.js
new file mode 100644
index 00000000..8a7c0511
--- /dev/null
+++ b/assets/IModelDecorationOverviewRulerOptions.html-df0bef61.js
@@ -0,0 +1 @@
+import{_ as a}from"./plugin-vue_export-helper-c27b6911.js";import{r as i,o as s,c as d,a as e,b as o,d as t,w as n}from"./app-5f5ef0a9.js";const c={},h=e("h1",{id:"imodeldecorationoverviewruleroptions",tabindex:"-1"},[e("a",{class:"header-anchor",href:"#imodeldecorationoverviewruleroptions","aria-hidden":"true"},"#"),o(" IModelDecorationOverviewRulerOptions")],-1),_=e("code",null,"interface",-1),u={href:"https://microsoft.github.io/monaco-editor/docs.html#interfaces/editor.BracketPairColorizationOptions.html",target:"_blank",rel:"noopener noreferrer"},m=e("h2",{id:"属性-properties",tabindex:"-1"},[e("a",{class:"header-anchor",href:"#属性-properties","aria-hidden":"true"},"#"),o(" 属性 Properties")],-1),p=e("h3",{id:"color",tabindex:"-1"},[e("a",{class:"header-anchor",href:"#color","aria-hidden":"true"},"#"),o(" color")],-1),f=e("code",null,"string",-1),v=e("li",null,"描述:表示装饰在小地图中的颜色。可以是CSS颜色名称,HEX颜色代码或RGB颜色代码。如果未设置,则使用主题颜色。",-1),x=e("h3",{id:"darkcolor",tabindex:"-1"},[e("a",{class:"header-anchor",href:"#darkcolor","aria-hidden":"true"},"#"),o(" darkColor")],-1),k=e("code",null,"string",-1),C=e("code",null,"可选",-1),w=e("li",null,[o("默认值: "),e("code",null,"null")],-1),b=e("li",null,[o("可选项: "),e("code",null,"-")],-1),O=e("li",null,"描述:表示在小地图中使用的暗色。可以是CSS颜色名称,HEX颜色代码或RGB颜色代码。如果未设置,则使用主题颜色的暗色。",-1),R=e("h3",{id:"position",tabindex:"-1"},[e("a",{class:"header-anchor",href:"#position","aria-hidden":"true"},"#"),o(" position")],-1),B=e("li",null,"描述:表示小地图上的装饰位置。可以是左侧或右侧。",-1);function E(I,L){const l=i("ExternalLinkIcon"),r=i("RouterLink");return s(),d("div",null,[h,e("p",null,[_,o(),e("a",u,[o("官网地址"),t(l)])]),m,p,e("ul",null,[e("li",null,[o("类型: "),f,o(" | "),t(r,{to:"/editor/interfaces/ThemeColor.html"},{default:n(()=>[o("ThemeColor")]),_:1})]),v]),x,e("ul",null,[e("li",null,[o("类型: "),k,o(" | "),t(r,{to:"/editor/interfaces/ThemeColor.html"},{default:n(()=>[o("ThemeColor")]),_:1}),o(),C]),w,b,O]),R,e("ul",null,[e("li",null,[o("类型: "),t(r,{to:"/editor/enumerations.html#overviewrulerlane"},{default:n(()=>[o("OverviewRulerLane")]),_:1})]),B])])}const S=a(c,[["render",E],["__file","IModelDecorationOverviewRulerOptions.html.vue"]]);export{S as default};
diff --git a/assets/IModelDecorationsChangedEvent.html-38115bc3.js b/assets/IModelDecorationsChangedEvent.html-38115bc3.js
new file mode 100644
index 00000000..26330799
--- /dev/null
+++ b/assets/IModelDecorationsChangedEvent.html-38115bc3.js
@@ -0,0 +1 @@
+const e=JSON.parse('{"key":"v-06faf07c","path":"/editor/interfaces/IModelDecorationsChangedEvent.html","title":"IModelDecorationsChangedEvent","lang":"zh-CN","frontmatter":{"description":"interface 官网地址 (https://microsoft.github.io/monaco-editor/docs.html#interfaces/editor.IModelDecorationsChangedEvent.html) 属性 Properties affectsGlyphMargin(影响字形边距) 类型: boolean ; ...","head":[["meta",{"property":"og:url","content":"http://aydk.site/editor/interfaces/IModelDecorationsChangedEvent.html"}],["meta",{"property":"og:site_name","content":"Monaco-editor 学习文档"}],["meta",{"property":"og:title","content":"IModelDecorationsChangedEvent"}],["meta",{"property":"og:description","content":"interface 官网地址 (https://microsoft.github.io/monaco-editor/docs.html#interfaces/editor.IModelDecorationsChangedEvent.html) 属性 Properties affectsGlyphMargin(影响字形边距) 类型: boolean ; ..."}],["meta",{"property":"og:type","content":"article"}],["meta",{"property":"og:locale","content":"zh-CN"}],["meta",{"property":"og:updated_time","content":"2023-06-16T20:04:45.000Z"}],["meta",{"property":"article:author","content":"aydk"}],["meta",{"property":"article:modified_time","content":"2023-06-16T20:04:45.000Z"}],["script",{"type":"application/ld+json"},"{\\"@context\\":\\"https://schema.org\\",\\"@type\\":\\"Article\\",\\"headline\\":\\"IModelDecorationsChangedEvent\\",\\"image\\":[\\"\\"],\\"dateModified\\":\\"2023-06-16T20:04:45.000Z\\",\\"author\\":[{\\"@type\\":\\"Person\\",\\"name\\":\\"aydk\\"}]}"]]},"headers":[{"level":2,"title":"属性 Properties","slug":"属性-properties","link":"#属性-properties","children":[{"level":3,"title":"affectsGlyphMargin(影响字形边距)","slug":"affectsglyphmargin-影响字形边距","link":"#affectsglyphmargin-影响字形边距","children":[]},{"level":3,"title":"affectsMinimap(影响缩略图)","slug":"affectsminimap-影响缩略图","link":"#affectsminimap-影响缩略图","children":[]},{"level":3,"title":"affectsOverviewRuler(影响概览标尺)","slug":"affectsoverviewruler-影响概览标尺","link":"#affectsoverviewruler-影响概览标尺","children":[]}]}],"git":{"createdTime":1686945885000,"updatedTime":1686945885000,"contributors":[{"name":"xiaochaochao","email":"xiaochaochao","commits":1}]},"readingTime":{"minutes":0.38,"words":113},"filePathRelative":"editor/interfaces/IModelDecorationsChangedEvent.md","localizedDate":"2023年6月16日","autoDesc":true}');export{e as data};
diff --git a/assets/IModelDecorationsChangedEvent.html-d4f18ac2.js b/assets/IModelDecorationsChangedEvent.html-d4f18ac2.js
new file mode 100644
index 00000000..77162524
--- /dev/null
+++ b/assets/IModelDecorationsChangedEvent.html-d4f18ac2.js
@@ -0,0 +1 @@
+import{_ as i}from"./plugin-vue_export-helper-c27b6911.js";import{r as c,o as r,c as d,a as e,b as o,d as t,e as n}from"./app-5f5ef0a9.js";const l={},s=e("h1",{id:"imodeldecorationschangedevent",tabindex:"-1"},[e("a",{class:"header-anchor",href:"#imodeldecorationschangedevent","aria-hidden":"true"},"#"),o(" IModelDecorationsChangedEvent")],-1),h=e("code",null,"interface",-1),f={href:"https://microsoft.github.io/monaco-editor/docs.html#interfaces/editor.IModelDecorationsChangedEvent.html",target:"_blank",rel:"noopener noreferrer"},m=n(' 属性 Properties
affectsGlyphMargin(影响字形边距)
- 类型:
boolean
- 默认值:
false
- 可选项:
-
- 描述:
指示装饰是否影响字形边距的选项。
affectsMinimap(影响缩略图)
- 类型:
boolean
- 默认值:
false
- 可选项:
-
- 描述:
指示装饰是否影响缩略图的选项。
affectsOverviewRuler(影响概览标尺)
- 类型:
boolean
- 默认值:
false
- 可选项:
-
- 描述:
指示装饰是否影响概览标尺的选项。
',7);function _(u,p){const a=c("ExternalLinkIcon");return r(),d("div",null,[s,e("p",null,[h,o(),e("a",f,[o("官网地址"),t(a)])]),m])}const b=i(l,[["render",_],["__file","IModelDecorationsChangedEvent.html.vue"]]);export{b as default};
diff --git a/assets/IModelDeltaDecoration.html-4370d24e.js b/assets/IModelDeltaDecoration.html-4370d24e.js
new file mode 100644
index 00000000..75d6af18
--- /dev/null
+++ b/assets/IModelDeltaDecoration.html-4370d24e.js
@@ -0,0 +1 @@
+import{_ as r}from"./plugin-vue_export-helper-c27b6911.js";import{r as l,o as d,c as s,a as e,b as o,d as t,w as a}from"./app-5f5ef0a9.js";const c={},_=e("h1",{id:"imodeldeltadecoration",tabindex:"-1"},[e("a",{class:"header-anchor",href:"#imodeldeltadecoration","aria-hidden":"true"},"#"),o(" IModelDeltaDecoration")],-1),h=e("code",null,"interface",-1),u={href:"https://microsoft.github.io/monaco-editor/docs.html#interfaces/editor.IModelDeltaDecoration.html",target:"_blank",rel:"noopener noreferrer"},f=e("h2",{id:"属性-properties",tabindex:"-1"},[e("a",{class:"header-anchor",href:"#属性-properties","aria-hidden":"true"},"#"),o(" 属性 Properties")],-1),p=e("h3",{id:"options",tabindex:"-1"},[e("a",{class:"header-anchor",href:"#options","aria-hidden":"true"},"#"),o(" options")],-1),m=e("code",null,"可选",-1),x=e("li",null,[o("默认值: "),e("code",null,"-")],-1),D=e("li",null,[o("可选项: "),e("code",null,"-")],-1),I=e("li",null,[o("描述: "),e("code",null,"与此装饰相关的选项。")],-1),b=e("h3",{id:"range",tabindex:"-1"},[e("a",{class:"header-anchor",href:"#range","aria-hidden":"true"},"#"),o(" range")],-1),g=e("code",null,"可选",-1),k=e("li",null,[o("默认值: "),e("code",null,"-")],-1),M=e("li",null,[o("可选项: "),e("code",null,"-")],-1),L=e("li",null,"描述: ``",-1);function R(v,B){const i=l("ExternalLinkIcon"),n=l("RouterLink");return d(),s("div",null,[_,e("p",null,[h,o(),e("a",u,[o("官网地址"),t(i)])]),f,p,e("ul",null,[e("li",null,[o("类型: "),t(n,{to:"/editor/interfaces/IModelDecorationOptions.html"},{default:a(()=>[o("IModelDecorationOptions")]),_:1}),o(),m]),x,D,I]),b,e("ul",null,[e("li",null,[o("类型: "),t(n,{to:"/global/interfaces/IRange.html"},{default:a(()=>[o("IRange")]),_:1}),o(),g]),k,M,L])])}const V=r(c,[["render",R],["__file","IModelDeltaDecoration.html.vue"]]);export{V as default};
diff --git a/assets/IModelDeltaDecoration.html-ab185c50.js b/assets/IModelDeltaDecoration.html-ab185c50.js
new file mode 100644
index 00000000..6081e685
--- /dev/null
+++ b/assets/IModelDeltaDecoration.html-ab185c50.js
@@ -0,0 +1 @@
+const e=JSON.parse('{"key":"v-fa5b4a06","path":"/editor/interfaces/IModelDeltaDecoration.html","title":"IModelDeltaDecoration","lang":"zh-CN","frontmatter":{"description":"interface 官网地址 (https://microsoft.github.io/monaco-editor/docs.html#interfaces/editor.IModelDeltaDecoration.html) 属性 Properties options 类型: IModelDecorationOptions (IModelDecora...","head":[["meta",{"property":"og:url","content":"http://aydk.site/editor/interfaces/IModelDeltaDecoration.html"}],["meta",{"property":"og:site_name","content":"Monaco-editor 学习文档"}],["meta",{"property":"og:title","content":"IModelDeltaDecoration"}],["meta",{"property":"og:description","content":"interface 官网地址 (https://microsoft.github.io/monaco-editor/docs.html#interfaces/editor.IModelDeltaDecoration.html) 属性 Properties options 类型: IModelDecorationOptions (IModelDecora..."}],["meta",{"property":"og:type","content":"article"}],["meta",{"property":"og:locale","content":"zh-CN"}],["meta",{"property":"og:updated_time","content":"2023-06-16T20:04:45.000Z"}],["meta",{"property":"article:author","content":"aydk"}],["meta",{"property":"article:modified_time","content":"2023-06-16T20:04:45.000Z"}],["script",{"type":"application/ld+json"},"{\\"@context\\":\\"https://schema.org\\",\\"@type\\":\\"Article\\",\\"headline\\":\\"IModelDeltaDecoration\\",\\"image\\":[\\"\\"],\\"dateModified\\":\\"2023-06-16T20:04:45.000Z\\",\\"author\\":[{\\"@type\\":\\"Person\\",\\"name\\":\\"aydk\\"}]}"]]},"headers":[{"level":2,"title":"属性 Properties","slug":"属性-properties","link":"#属性-properties","children":[{"level":3,"title":"options","slug":"options","link":"#options","children":[]},{"level":3,"title":"range","slug":"range","link":"#range","children":[]}]}],"git":{"createdTime":1686945885000,"updatedTime":1686945885000,"contributors":[{"name":"xiaochaochao","email":"xiaochaochao","commits":1}]},"readingTime":{"minutes":0.17,"words":52},"filePathRelative":"editor/interfaces/IModelDeltaDecoration.md","localizedDate":"2023年6月16日","autoDesc":true}');export{e as data};
diff --git a/assets/IModelLanguageChangedEvent.html-b6859258.js b/assets/IModelLanguageChangedEvent.html-b6859258.js
new file mode 100644
index 00000000..f500569c
--- /dev/null
+++ b/assets/IModelLanguageChangedEvent.html-b6859258.js
@@ -0,0 +1 @@
+const e=JSON.parse('{"key":"v-4d94afaf","path":"/editor/interfaces/IModelLanguageChangedEvent.html","title":"IModelLanguageChangedEvent","lang":"zh-CN","frontmatter":{"description":"interface 官网地址 (https://microsoft.github.io/monaco-editor/docs.html#interfaces/editor.IModelLanguageChangedEvent.html) 属性 Properties newLanguage( 类型: string ; 默认值: - ; 可选项: - ; ...","head":[["meta",{"property":"og:url","content":"http://aydk.site/editor/interfaces/IModelLanguageChangedEvent.html"}],["meta",{"property":"og:site_name","content":"Monaco-editor 学习文档"}],["meta",{"property":"og:title","content":"IModelLanguageChangedEvent"}],["meta",{"property":"og:description","content":"interface 官网地址 (https://microsoft.github.io/monaco-editor/docs.html#interfaces/editor.IModelLanguageChangedEvent.html) 属性 Properties newLanguage( 类型: string ; 默认值: - ; 可选项: - ; ..."}],["meta",{"property":"og:type","content":"article"}],["meta",{"property":"og:locale","content":"zh-CN"}],["meta",{"property":"og:updated_time","content":"2023-06-16T20:04:45.000Z"}],["meta",{"property":"article:author","content":"aydk"}],["meta",{"property":"article:modified_time","content":"2023-06-16T20:04:45.000Z"}],["script",{"type":"application/ld+json"},"{\\"@context\\":\\"https://schema.org\\",\\"@type\\":\\"Article\\",\\"headline\\":\\"IModelLanguageChangedEvent\\",\\"image\\":[\\"\\"],\\"dateModified\\":\\"2023-06-16T20:04:45.000Z\\",\\"author\\":[{\\"@type\\":\\"Person\\",\\"name\\":\\"aydk\\"}]}"]]},"headers":[{"level":2,"title":"属性 Properties","slug":"属性-properties","link":"#属性-properties","children":[{"level":3,"title":"newLanguage(","slug":"newlanguage","link":"#newlanguage","children":[]},{"level":3,"title":"oldLanguage","slug":"oldlanguage","link":"#oldlanguage","children":[]},{"level":3,"title":"source","slug":"source","link":"#source","children":[]}]}],"git":{"createdTime":1686945885000,"updatedTime":1686945885000,"contributors":[{"name":"xiaochaochao","email":"xiaochaochao","commits":1}]},"readingTime":{"minutes":0.25,"words":75},"filePathRelative":"editor/interfaces/IModelLanguageChangedEvent.md","localizedDate":"2023年6月16日","autoDesc":true}');export{e as data};
diff --git a/assets/IModelLanguageChangedEvent.html-c37306d5.js b/assets/IModelLanguageChangedEvent.html-c37306d5.js
new file mode 100644
index 00000000..d5bd0603
--- /dev/null
+++ b/assets/IModelLanguageChangedEvent.html-c37306d5.js
@@ -0,0 +1 @@
+import{_ as d}from"./plugin-vue_export-helper-c27b6911.js";import{r as n,o as i,c,a as e,b as a,d as r,e as l}from"./app-5f5ef0a9.js";const t={},s=e("h1",{id:"imodellanguagechangedevent",tabindex:"-1"},[e("a",{class:"header-anchor",href:"#imodellanguagechangedevent","aria-hidden":"true"},"#"),a(" IModelLanguageChangedEvent")],-1),h=e("code",null,"interface",-1),g={href:"https://microsoft.github.io/monaco-editor/docs.html#interfaces/editor.IModelLanguageChangedEvent.html",target:"_blank",rel:"noopener noreferrer"},u=l(' 属性 Properties
newLanguage(
- 类型:
string
- 默认值:
-
- 可选项:
-
- 描述:
模型的新语言标识符。
oldLanguage
- 类型:
string
- 默认值:
-
- 可选项:
-
- 描述:
模型的旧语言标识符。
source
- 类型:
string
- 默认值:
-
- 可选项:
-
- 描述:
触发语言更改的源。
',7);function _(f,m){const o=n("ExternalLinkIcon");return i(),c("div",null,[s,e("p",null,[h,a(),e("a",g,[a("官网地址"),r(o)])]),u])}const v=d(t,[["render",_],["__file","IModelLanguageChangedEvent.html.vue"]]);export{v as default};
diff --git a/assets/IModelLanguageConfigurationChangedEvent.html-1cfae9ab.js b/assets/IModelLanguageConfigurationChangedEvent.html-1cfae9ab.js
new file mode 100644
index 00000000..6b73f3a4
--- /dev/null
+++ b/assets/IModelLanguageConfigurationChangedEvent.html-1cfae9ab.js
@@ -0,0 +1 @@
+import{_ as a}from"./plugin-vue_export-helper-c27b6911.js";import{r as t,o as r,c as i,a as e,b as n,d}from"./app-5f5ef0a9.js";const s={},c=e("h1",{id:"imodellanguageconfigurationchangedevent",tabindex:"-1"},[e("a",{class:"header-anchor",href:"#imodellanguageconfigurationchangedevent","aria-hidden":"true"},"#"),n(" IModelLanguageConfigurationChangedEvent")],-1),h=e("code",null,"interface",-1),l={href:"https://microsoft.github.io/monaco-editor/docs.html#interfaces/editor.IModelLanguageConfigurationChangedEvent.html",target:"_blank",rel:"noopener noreferrer"},g=e("h2",{id:"属性-properties",tabindex:"-1"},[e("a",{class:"header-anchor",href:"#属性-properties","aria-hidden":"true"},"#"),n(" 属性 Properties")],-1),_=e("h2",{id:"方法-methods",tabindex:"-1"},[e("a",{class:"header-anchor",href:"#方法-methods","aria-hidden":"true"},"#"),n(" 方法 Methods")],-1);function u(f,m){const o=t("ExternalLinkIcon");return r(),i("div",null,[c,e("p",null,[h,n(),e("a",l,[n("官网地址"),d(o)]),n(" 描述与模型关联的语言配置已更改的事件。")]),g,_])}const x=a(s,[["render",u],["__file","IModelLanguageConfigurationChangedEvent.html.vue"]]);export{x as default};
diff --git a/assets/IModelLanguageConfigurationChangedEvent.html-1f543a51.js b/assets/IModelLanguageConfigurationChangedEvent.html-1f543a51.js
new file mode 100644
index 00000000..ffbab2bd
--- /dev/null
+++ b/assets/IModelLanguageConfigurationChangedEvent.html-1f543a51.js
@@ -0,0 +1 @@
+const e=JSON.parse('{"key":"v-4278d421","path":"/editor/interfaces/IModelLanguageConfigurationChangedEvent.html","title":"IModelLanguageConfigurationChangedEvent","lang":"zh-CN","frontmatter":{"description":"interface 官网地址 (https://microsoft.github.io/monaco-editor/docs.html#interfaces/editor.IModelLanguageConfigurationChangedEvent.html) 描述与模型关联的语言配置已更改的事件。 属性 Properties 方法 Methods","head":[["meta",{"property":"og:url","content":"http://aydk.site/editor/interfaces/IModelLanguageConfigurationChangedEvent.html"}],["meta",{"property":"og:site_name","content":"Monaco-editor 学习文档"}],["meta",{"property":"og:title","content":"IModelLanguageConfigurationChangedEvent"}],["meta",{"property":"og:description","content":"interface 官网地址 (https://microsoft.github.io/monaco-editor/docs.html#interfaces/editor.IModelLanguageConfigurationChangedEvent.html) 描述与模型关联的语言配置已更改的事件。 属性 Properties 方法 Methods"}],["meta",{"property":"og:type","content":"article"}],["meta",{"property":"og:locale","content":"zh-CN"}],["meta",{"property":"og:updated_time","content":"2023-06-16T20:04:45.000Z"}],["meta",{"property":"article:author","content":"aydk"}],["meta",{"property":"article:modified_time","content":"2023-06-16T20:04:45.000Z"}],["script",{"type":"application/ld+json"},"{\\"@context\\":\\"https://schema.org\\",\\"@type\\":\\"Article\\",\\"headline\\":\\"IModelLanguageConfigurationChangedEvent\\",\\"image\\":[\\"\\"],\\"dateModified\\":\\"2023-06-16T20:04:45.000Z\\",\\"author\\":[{\\"@type\\":\\"Person\\",\\"name\\":\\"aydk\\"}]}"]]},"headers":[{"level":2,"title":"属性 Properties","slug":"属性-properties","link":"#属性-properties","children":[]},{"level":2,"title":"方法 Methods","slug":"方法-methods","link":"#方法-methods","children":[]}],"git":{"createdTime":1686945885000,"updatedTime":1686945885000,"contributors":[{"name":"xiaochaochao","email":"xiaochaochao","commits":1}]},"readingTime":{"minutes":0.11,"words":34},"filePathRelative":"editor/interfaces/IModelLanguageConfigurationChangedEvent.md","localizedDate":"2023年6月16日","autoDesc":true}');export{e as data};
diff --git a/assets/IModelOptionsChangedEvent.html-b3ac0387.js b/assets/IModelOptionsChangedEvent.html-b3ac0387.js
new file mode 100644
index 00000000..a4a2d88a
--- /dev/null
+++ b/assets/IModelOptionsChangedEvent.html-b3ac0387.js
@@ -0,0 +1 @@
+import{_ as d}from"./plugin-vue_export-helper-c27b6911.js";import{r as a,o as t,c,a as e,b as o,d as n,e as r}from"./app-5f5ef0a9.js";const l={},s=e("h1",{id:"imodeloptionschangedevent",tabindex:"-1"},[e("a",{class:"header-anchor",href:"#imodeloptionschangedevent","aria-hidden":"true"},"#"),o(" IModelOptionsChangedEvent")],-1),h=e("code",null,"interface",-1),u={href:"https://microsoft.github.io/monaco-editor/docs.html#interfaces/editor.IModelOptionsChangedEvent.html",target:"_blank",rel:"noopener noreferrer"},p=r(' 属性 Properties
方法 Methods
indentSize
- 类型:
number
只读
- 默认值:
4
- 可选项:
-
- 描述:
指定缩进的空格数。如果insertSpaces设置为false,则此设置无效。
insertSpaces
- 类型:
boolean
只读
- 默认值:
true
- 可选项:
-
- 描述:
指定是否应将缩进转换为空格或制表符。
tabSize
- 类型:
number
只读
- 默认值:
4
- 可选项:
-
- 描述:
指定制表符的空格数。如果insertSpaces设置为true,则此设置无效。
trimAutoWhitespace(自动删除空格)
- 类型:
boolean
只读
- 默认值:
false
- 可选项:
-
- 描述:
指定是否应自动删除行末空格。
',10);function m(_,f){const i=a("ExternalLinkIcon");return t(),c("div",null,[s,e("p",null,[h,o(),e("a",u,[o("官网地址"),n(i)])]),p])}const v=d(l,[["render",m],["__file","IModelOptionsChangedEvent.html.vue"]]);export{v as default};
diff --git a/assets/IModelOptionsChangedEvent.html-f9ce9831.js b/assets/IModelOptionsChangedEvent.html-f9ce9831.js
new file mode 100644
index 00000000..9056ee1a
--- /dev/null
+++ b/assets/IModelOptionsChangedEvent.html-f9ce9831.js
@@ -0,0 +1 @@
+const e=JSON.parse('{"key":"v-68fbef01","path":"/editor/interfaces/IModelOptionsChangedEvent.html","title":"IModelOptionsChangedEvent","lang":"zh-CN","frontmatter":{"description":"interface 官网地址 (https://microsoft.github.io/monaco-editor/docs.html#interfaces/editor.IModelOptionsChangedEvent.html) 属性 Properties 方法 Methods indentSize 类型: number 只读 ; 默认值: 4 ...","head":[["meta",{"property":"og:url","content":"http://aydk.site/editor/interfaces/IModelOptionsChangedEvent.html"}],["meta",{"property":"og:site_name","content":"Monaco-editor 学习文档"}],["meta",{"property":"og:title","content":"IModelOptionsChangedEvent"}],["meta",{"property":"og:description","content":"interface 官网地址 (https://microsoft.github.io/monaco-editor/docs.html#interfaces/editor.IModelOptionsChangedEvent.html) 属性 Properties 方法 Methods indentSize 类型: number 只读 ; 默认值: 4 ..."}],["meta",{"property":"og:type","content":"article"}],["meta",{"property":"og:locale","content":"zh-CN"}],["meta",{"property":"og:updated_time","content":"2023-06-16T20:04:45.000Z"}],["meta",{"property":"article:author","content":"aydk"}],["meta",{"property":"article:modified_time","content":"2023-06-16T20:04:45.000Z"}],["script",{"type":"application/ld+json"},"{\\"@context\\":\\"https://schema.org\\",\\"@type\\":\\"Article\\",\\"headline\\":\\"IModelOptionsChangedEvent\\",\\"image\\":[\\"\\"],\\"dateModified\\":\\"2023-06-16T20:04:45.000Z\\",\\"author\\":[{\\"@type\\":\\"Person\\",\\"name\\":\\"aydk\\"}]}"]]},"headers":[{"level":2,"title":"属性 Properties","slug":"属性-properties","link":"#属性-properties","children":[]},{"level":2,"title":"方法 Methods","slug":"方法-methods","link":"#方法-methods","children":[{"level":3,"title":"indentSize","slug":"indentsize","link":"#indentsize","children":[]},{"level":3,"title":"insertSpaces","slug":"insertspaces","link":"#insertspaces","children":[]},{"level":3,"title":"tabSize","slug":"tabsize","link":"#tabsize","children":[]},{"level":3,"title":"trimAutoWhitespace(自动删除空格)","slug":"trimautowhitespace-自动删除空格","link":"#trimautowhitespace-自动删除空格","children":[]}]}],"git":{"createdTime":1686945885000,"updatedTime":1686945885000,"contributors":[{"name":"xiaochaochao","email":"xiaochaochao","commits":1}]},"readingTime":{"minutes":0.52,"words":155},"filePathRelative":"editor/interfaces/IModelOptionsChangedEvent.md","localizedDate":"2023年6月16日","autoDesc":true}');export{e as data};
diff --git a/assets/IMonarchLanguage.html-077e7d56.js b/assets/IMonarchLanguage.html-077e7d56.js
new file mode 100644
index 00000000..3dc38090
--- /dev/null
+++ b/assets/IMonarchLanguage.html-077e7d56.js
@@ -0,0 +1 @@
+const e=JSON.parse('{"key":"v-7598899e","path":"/language/interfaces/IMonarchLanguage.html","title":"IMonarchLanguage","lang":"zh-CN","frontmatter":{"description":"interface 官网地址 (https://microsoft.github.io/monaco-editor/docs.html#interfaces/languages.IMonarchLanguage.html) 属性 Properties 方法 Methods","head":[["meta",{"property":"og:url","content":"http://aydk.site/language/interfaces/IMonarchLanguage.html"}],["meta",{"property":"og:site_name","content":"Monaco-editor 学习文档"}],["meta",{"property":"og:title","content":"IMonarchLanguage"}],["meta",{"property":"og:description","content":"interface 官网地址 (https://microsoft.github.io/monaco-editor/docs.html#interfaces/languages.IMonarchLanguage.html) 属性 Properties 方法 Methods"}],["meta",{"property":"og:type","content":"article"}],["meta",{"property":"og:locale","content":"zh-CN"}],["meta",{"property":"og:updated_time","content":"2023-06-16T19:55:24.000Z"}],["meta",{"property":"article:author","content":"aydk"}],["meta",{"property":"article:modified_time","content":"2023-06-16T19:55:24.000Z"}],["script",{"type":"application/ld+json"},"{\\"@context\\":\\"https://schema.org\\",\\"@type\\":\\"Article\\",\\"headline\\":\\"IMonarchLanguage\\",\\"image\\":[\\"\\"],\\"dateModified\\":\\"2023-06-16T19:55:24.000Z\\",\\"author\\":[{\\"@type\\":\\"Person\\",\\"name\\":\\"aydk\\"}]}"]]},"headers":[{"level":2,"title":"属性 Properties","slug":"属性-properties","link":"#属性-properties","children":[]},{"level":2,"title":"方法 Methods","slug":"方法-methods","link":"#方法-methods","children":[]}],"git":{"createdTime":1686945324000,"updatedTime":1686945324000,"contributors":[{"name":"xiaochaochao","email":"xiaochaochao","commits":1}]},"readingTime":{"minutes":0.05,"words":16},"filePathRelative":"language/interfaces/IMonarchLanguage.md","localizedDate":"2023年6月16日","autoDesc":true}');export{e as data};
diff --git a/assets/IMonarchLanguage.html-fb2cfd27.js b/assets/IMonarchLanguage.html-fb2cfd27.js
new file mode 100644
index 00000000..0b240a1b
--- /dev/null
+++ b/assets/IMonarchLanguage.html-fb2cfd27.js
@@ -0,0 +1 @@
+import{_ as r}from"./plugin-vue_export-helper-c27b6911.js";import{r as n,o as t,c,a as e,b as a,d as s}from"./app-5f5ef0a9.js";const h={},i=e("h1",{id:"imonarchlanguage",tabindex:"-1"},[e("a",{class:"header-anchor",href:"#imonarchlanguage","aria-hidden":"true"},"#"),a(" IMonarchLanguage")],-1),d=e("code",null,"interface",-1),l={href:"https://microsoft.github.io/monaco-editor/docs.html#interfaces/languages.IMonarchLanguage.html",target:"_blank",rel:"noopener noreferrer"},_=e("h2",{id:"属性-properties",tabindex:"-1"},[e("a",{class:"header-anchor",href:"#属性-properties","aria-hidden":"true"},"#"),a(" 属性 Properties")],-1),m=e("h2",{id:"方法-methods",tabindex:"-1"},[e("a",{class:"header-anchor",href:"#方法-methods","aria-hidden":"true"},"#"),a(" 方法 Methods")],-1);function u(f,g){const o=n("ExternalLinkIcon");return t(),c("div",null,[i,e("p",null,[d,a(),e("a",l,[a("官网地址"),s(o)])]),_,m])}const b=r(h,[["render",u],["__file","IMonarchLanguage.html.vue"]]);export{b as default};
diff --git a/assets/IMonarchLanguageBracket.html-82b49b86.js b/assets/IMonarchLanguageBracket.html-82b49b86.js
new file mode 100644
index 00000000..e3ffc474
--- /dev/null
+++ b/assets/IMonarchLanguageBracket.html-82b49b86.js
@@ -0,0 +1 @@
+const e=JSON.parse('{"key":"v-b0c5780e","path":"/language/interfaces/IMonarchLanguageBracket.html","title":"IMonarchLanguageBracket","lang":"zh-CN","frontmatter":{"description":"interface 官网地址 (https://microsoft.github.io/monaco-editor/docs.html#interfaces/languages.IMonarchLanguageBracket.html) 属性 Properties 方法 Methods","head":[["meta",{"property":"og:url","content":"http://aydk.site/language/interfaces/IMonarchLanguageBracket.html"}],["meta",{"property":"og:site_name","content":"Monaco-editor 学习文档"}],["meta",{"property":"og:title","content":"IMonarchLanguageBracket"}],["meta",{"property":"og:description","content":"interface 官网地址 (https://microsoft.github.io/monaco-editor/docs.html#interfaces/languages.IMonarchLanguageBracket.html) 属性 Properties 方法 Methods"}],["meta",{"property":"og:type","content":"article"}],["meta",{"property":"og:locale","content":"zh-CN"}],["meta",{"property":"og:updated_time","content":"2023-06-16T19:55:24.000Z"}],["meta",{"property":"article:author","content":"aydk"}],["meta",{"property":"article:modified_time","content":"2023-06-16T19:55:24.000Z"}],["script",{"type":"application/ld+json"},"{\\"@context\\":\\"https://schema.org\\",\\"@type\\":\\"Article\\",\\"headline\\":\\"IMonarchLanguageBracket\\",\\"image\\":[\\"\\"],\\"dateModified\\":\\"2023-06-16T19:55:24.000Z\\",\\"author\\":[{\\"@type\\":\\"Person\\",\\"name\\":\\"aydk\\"}]}"]]},"headers":[{"level":2,"title":"属性 Properties","slug":"属性-properties","link":"#属性-properties","children":[]},{"level":2,"title":"方法 Methods","slug":"方法-methods","link":"#方法-methods","children":[]}],"git":{"createdTime":1686945324000,"updatedTime":1686945324000,"contributors":[{"name":"xiaochaochao","email":"xiaochaochao","commits":1}]},"readingTime":{"minutes":0.05,"words":16},"filePathRelative":"language/interfaces/IMonarchLanguageBracket.md","localizedDate":"2023年6月16日","autoDesc":true}');export{e as data};
diff --git a/assets/IMonarchLanguageBracket.html-f39cceea.js b/assets/IMonarchLanguageBracket.html-f39cceea.js
new file mode 100644
index 00000000..f92fd080
--- /dev/null
+++ b/assets/IMonarchLanguageBracket.html-f39cceea.js
@@ -0,0 +1 @@
+import{_ as t}from"./plugin-vue_export-helper-c27b6911.js";import{r as o,o as n,c,a as e,b as a,d as s}from"./app-5f5ef0a9.js";const h={},i=e("h1",{id:"imonarchlanguagebracket",tabindex:"-1"},[e("a",{class:"header-anchor",href:"#imonarchlanguagebracket","aria-hidden":"true"},"#"),a(" IMonarchLanguageBracket")],-1),d=e("code",null,"interface",-1),l={href:"https://microsoft.github.io/monaco-editor/docs.html#interfaces/languages.IMonarchLanguageBracket.html",target:"_blank",rel:"noopener noreferrer"},_=e("h2",{id:"属性-properties",tabindex:"-1"},[e("a",{class:"header-anchor",href:"#属性-properties","aria-hidden":"true"},"#"),a(" 属性 Properties")],-1),m=e("h2",{id:"方法-methods",tabindex:"-1"},[e("a",{class:"header-anchor",href:"#方法-methods","aria-hidden":"true"},"#"),a(" 方法 Methods")],-1);function u(f,g){const r=o("ExternalLinkIcon");return n(),c("div",null,[i,e("p",null,[d,a(),e("a",l,[a("官网地址"),s(r)])]),_,m])}const x=t(h,[["render",u],["__file","IMonarchLanguageBracket.html.vue"]]);export{x as default};
diff --git a/assets/IMouseEvent.html-bc01e841.js b/assets/IMouseEvent.html-bc01e841.js
new file mode 100644
index 00000000..ae76c09e
--- /dev/null
+++ b/assets/IMouseEvent.html-bc01e841.js
@@ -0,0 +1 @@
+const e=JSON.parse('{"key":"v-ecf77e46","path":"/global/interfaces/IMouseEvent.html","title":"IMouseEvent","lang":"zh-CN","frontmatter":{"description":"interface 官网地址 (https://microsoft.github.io/monaco-editor/typedoc/interfaces/IMouseEvent.html) 属性 Properties altKey 类型: boolean , 只读 ; 默认值: - ; 可选项: - ; 描述: 指示鼠标事件是否同时按下了“Alt”键。...","head":[["meta",{"property":"og:url","content":"http://aydk.site/global/interfaces/IMouseEvent.html"}],["meta",{"property":"og:site_name","content":"Monaco-editor 学习文档"}],["meta",{"property":"og:title","content":"IMouseEvent"}],["meta",{"property":"og:description","content":"interface 官网地址 (https://microsoft.github.io/monaco-editor/typedoc/interfaces/IMouseEvent.html) 属性 Properties altKey 类型: boolean , 只读 ; 默认值: - ; 可选项: - ; 描述: 指示鼠标事件是否同时按下了“Alt”键。..."}],["meta",{"property":"og:type","content":"article"}],["meta",{"property":"og:locale","content":"zh-CN"}],["meta",{"property":"og:updated_time","content":"2023-06-16T20:04:45.000Z"}],["meta",{"property":"article:author","content":"aydk"}],["meta",{"property":"article:modified_time","content":"2023-06-16T20:04:45.000Z"}],["script",{"type":"application/ld+json"},"{\\"@context\\":\\"https://schema.org\\",\\"@type\\":\\"Article\\",\\"headline\\":\\"IMouseEvent\\",\\"image\\":[\\"\\"],\\"dateModified\\":\\"2023-06-16T20:04:45.000Z\\",\\"author\\":[{\\"@type\\":\\"Person\\",\\"name\\":\\"aydk\\"}]}"]]},"headers":[{"level":2,"title":"属性 Properties","slug":"属性-properties","link":"#属性-properties","children":[{"level":3,"title":"altKey","slug":"altkey","link":"#altkey","children":[]},{"level":3,"title":"browserEvent","slug":"browserevent","link":"#browserevent","children":[]},{"level":3,"title":"buttons","slug":"buttons","link":"#buttons","children":[]},{"level":3,"title":"detail","slug":"detail","link":"#detail","children":[]},{"level":3,"title":"leftButton","slug":"leftbutton","link":"#leftbutton","children":[]},{"level":3,"title":"middleButton","slug":"middlebutton","link":"#middlebutton","children":[]},{"level":3,"title":"posx","slug":"posx","link":"#posx","children":[]},{"level":3,"title":"posy","slug":"posy","link":"#posy","children":[]},{"level":3,"title":"rightButton","slug":"rightbutton","link":"#rightbutton","children":[]},{"level":3,"title":"shiftKey","slug":"shiftkey","link":"#shiftkey","children":[]},{"level":3,"title":"target","slug":"target","link":"#target","children":[]},{"level":3,"title":"timestamp","slug":"timestamp","link":"#timestamp","children":[]}]},{"level":2,"title":"方法 Methods","slug":"方法-methods","link":"#方法-methods","children":[{"level":3,"title":"preventDefault","slug":"preventdefault","link":"#preventdefault","children":[]},{"level":3,"title":"stopPropagation","slug":"stoppropagation","link":"#stoppropagation","children":[]}]}],"git":{"createdTime":1686945885000,"updatedTime":1686945885000,"contributors":[{"name":"xiaochaochao","email":"xiaochaochao","commits":1}]},"readingTime":{"minutes":1.43,"words":430},"filePathRelative":"global/interfaces/IMouseEvent.md","localizedDate":"2023年6月16日","autoDesc":true}');export{e as data};
diff --git a/assets/IMouseEvent.html-e7b93945.js b/assets/IMouseEvent.html-e7b93945.js
new file mode 100644
index 00000000..6bde139b
--- /dev/null
+++ b/assets/IMouseEvent.html-e7b93945.js
@@ -0,0 +1 @@
+import{_ as i}from"./plugin-vue_export-helper-c27b6911.js";import{r as c,o as l,c as a,a as e,b as o,d as t,e as r}from"./app-5f5ef0a9.js";const n={},h=e("h1",{id:"imouseevent",tabindex:"-1"},[e("a",{class:"header-anchor",href:"#imouseevent","aria-hidden":"true"},"#"),o(" IMouseEvent")],-1),s=e("code",null,"interface",-1),u={href:"https://microsoft.github.io/monaco-editor/typedoc/interfaces/IMouseEvent.html",target:"_blank",rel:"noopener noreferrer"},b=r(' 属性 Properties
altKey
- 类型:
boolean
, 只读
- 默认值:
-
- 可选项:
-
- 描述:
指示鼠标事件是否同时按下了“Alt”键。
browserEvent
- 类型:
MouseEvent
, 只读
- 默认值:
-
- 可选项:
-
- 描述:
原始的鼠标事件或模拟的鼠标事件。
- 类型:
number
, 只读
- 默认值:
-
- 可选项:
-
- 描述:
指示鼠标事件中按下了哪些鼠标按钮。
detail
- 类型:
number
, 只读
- 默认值:
-
- 可选项:
-
- 描述:
指示鼠标事件的详细信息,如单击次数。
- 类型:
boolean
, 只读
- 默认值:
-
- 可选项:
-
- 描述:
指示鼠标事件是否同时按下了鼠标左键。
- 类型:
boolean
, 只读
- 默认值:
-
- 可选项:
-
- 描述:
指示鼠标事件是否同时按下了鼠标中键。
posx
- 类型:
number
, 只读
- 默认值:
-
- 可选项:
-
- 描述:
鼠标事件在编辑器视图中的水平位置。
posy
- 类型:
number
, 只读
- 默认值:
-
- 可选项:
-
- 描述:
鼠标事件在编辑器视图中的垂直位置。
- 类型:
boolean
, 只读
- 默认值:
-
- 可选项:
-
- 描述:
指示鼠标事件是否同时按下了鼠标右键。
shiftKey
- 类型:
boolean
, 只读
- 默认值:
-
- 可选项:
-
- 描述:
指示鼠标事件是否同时按下了“Shift”键。
target
- 类型:
HTMLElement
, 只读
- 默认值:
-
- 可选项:
-
- 描述:
鼠标事件的目标元素。
timestamp
- 类型:
number
, 只读
- 默认值:
-
- 可选项:
-
- 描述:
鼠标事件发生的时间戳。
方法 Methods
preventDefault
- 语法:
preventDefault(): void
- 参数:
无
- 返回值:
void
- 描述:
阻止事件的默认行为。在此处,事件指的是鼠标事件。
stopPropagation
- 语法:
stopPropagation(): void
- 参数:
无
- 返回值:
void
- 描述:
停止事件的传播。在此处,事件指的是鼠标事件。
',30);function f(p,m){const d=c("ExternalLinkIcon");return l(),a("div",null,[h,e("p",null,[s,o(),e("a",u,[o("官网地址"),t(d)])]),b])}const v=i(n,[["render",f],["__file","IMouseEvent.html.vue"]]);export{v as default};
diff --git a/assets/IMouseTargetContentEmpty.html-6146fffb.js b/assets/IMouseTargetContentEmpty.html-6146fffb.js
new file mode 100644
index 00000000..9351fa16
--- /dev/null
+++ b/assets/IMouseTargetContentEmpty.html-6146fffb.js
@@ -0,0 +1 @@
+import{_ as d}from"./plugin-vue_export-helper-c27b6911.js";import{r as i,o as s,c,a as e,b as t,d as o,w as n,e as r}from"./app-5f5ef0a9.js";const u={},h=e("h1",{id:"imousetargetcontentempty",tabindex:"-1"},[e("a",{class:"header-anchor",href:"#imousetargetcontentempty","aria-hidden":"true"},"#"),t(" IMouseTargetContentEmpty")],-1),_=e("code",null,"interface",-1),m={href:"https://microsoft.github.io/monaco-editor/docs.html#interfaces/editor.IMouseTargetContentEmpty.html",target:"_blank",rel:"noopener noreferrer"},p=e("h2",{id:"属性-properties",tabindex:"-1"},[e("a",{class:"header-anchor",href:"#属性-properties","aria-hidden":"true"},"#"),t(" 属性 Properties")],-1),f=e("h3",{id:"detail",tabindex:"-1"},[e("a",{class:"header-anchor",href:"#detail","aria-hidden":"true"},"#"),t(" detail")],-1),g=e("li",null,[t("默认值: "),e("code",null,"-")],-1),x=e("li",null,[t("可选项: "),e("code",null,"-")],-1),b=e("li",null,[t("描述: "),e("code",null,"关于鼠标事件的详细信息。")],-1),y=r(' element
- 类型:
HTMLElement
- 默认值:
-
- 可选项:
-
- 描述:
与鼠标事件相关联的HTML元素。
mouseColumn
- 类型:
number
- 默认值:
-
- 可选项:
任何整数
- 描述:
所需的鼠标列(例如,当 position.column 被限制为文本长度时——在一行文本后单击)。
position
',5),E=e("li",null,[t("默认值: "),e("code",null,"-")],-1),T=e("li",null,[t("可选项: "),e("code",null,"-")],-1),C=e("li",null,[t("描述: "),e("code",null,"鼠标事件发生的位置。")],-1),M=e("h3",{id:"range",tabindex:"-1"},[e("a",{class:"header-anchor",href:"#range","aria-hidden":"true"},"#"),t(" range")],-1),I=e("li",null,[t("默认值: "),e("code",null,"-")],-1),k=e("li",null,[t("可选项: "),e("code",null,"-")],-1),L=e("li",null,[t("描述: "),e("code",null,"鼠标事件发生的范围。")],-1),N=e("h3",{id:"type",tabindex:"-1"},[e("a",{class:"header-anchor",href:"#type","aria-hidden":"true"},"#"),t(" type")],-1),P=e("li",null,[t("默认值: "),e("code",null,"-")],-1),R=e("li",null,[t("可选项: "),e("code",null,"-")],-1),V=e("li",null,[t("描述: "),e("code",null,"鼠标事件的类型。")],-1);function v(B,w){const a=i("ExternalLinkIcon"),l=i("RouterLink");return s(),c("div",null,[h,e("p",null,[_,t(),e("a",m,[t("官网地址"),o(a)])]),p,f,e("ul",null,[e("li",null,[t("类型: "),o(l,{to:"/editor/interfaces/IMouseTargetContentEmptyData.html"},{default:n(()=>[t("IMouseTargetContentEmptyData")]),_:1})]),g,x,b]),y,e("ul",null,[e("li",null,[t("类型: "),o(l,{to:"/global/classes/Position.html"},{default:n(()=>[t("Position")]),_:1})]),E,T,C]),M,e("ul",null,[e("li",null,[t("类型: "),o(l,{to:"/global/classes/Range.html"},{default:n(()=>[t("Range")]),_:1})]),I,k,L]),N,e("ul",null,[e("li",null,[t("类型: "),o(l,{to:"/editor/enumerations.html#content_empty-7"},{default:n(()=>[t("CONTENT_EMPTY")]),_:1})]),P,R,V])])}const O=d(u,[["render",v],["__file","IMouseTargetContentEmpty.html.vue"]]);export{O as default};
diff --git a/assets/IMouseTargetContentEmpty.html-7e9db22d.js b/assets/IMouseTargetContentEmpty.html-7e9db22d.js
new file mode 100644
index 00000000..6292e456
--- /dev/null
+++ b/assets/IMouseTargetContentEmpty.html-7e9db22d.js
@@ -0,0 +1 @@
+const e=JSON.parse('{"key":"v-4e2b674c","path":"/editor/interfaces/IMouseTargetContentEmpty.html","title":"IMouseTargetContentEmpty","lang":"zh-CN","frontmatter":{"description":"interface 官网地址 (https://microsoft.github.io/monaco-editor/docs.html#interfaces/editor.IMouseTargetContentEmpty.html) 属性 Properties detail 类型: IMouseTargetContentEmptyData (IMous...","head":[["meta",{"property":"og:url","content":"http://aydk.site/editor/interfaces/IMouseTargetContentEmpty.html"}],["meta",{"property":"og:site_name","content":"Monaco-editor 学习文档"}],["meta",{"property":"og:title","content":"IMouseTargetContentEmpty"}],["meta",{"property":"og:description","content":"interface 官网地址 (https://microsoft.github.io/monaco-editor/docs.html#interfaces/editor.IMouseTargetContentEmpty.html) 属性 Properties detail 类型: IMouseTargetContentEmptyData (IMous..."}],["meta",{"property":"og:type","content":"article"}],["meta",{"property":"og:locale","content":"zh-CN"}],["meta",{"property":"og:updated_time","content":"2023-06-16T20:04:45.000Z"}],["meta",{"property":"article:author","content":"aydk"}],["meta",{"property":"article:modified_time","content":"2023-06-16T20:04:45.000Z"}],["script",{"type":"application/ld+json"},"{\\"@context\\":\\"https://schema.org\\",\\"@type\\":\\"Article\\",\\"headline\\":\\"IMouseTargetContentEmpty\\",\\"image\\":[\\"\\"],\\"dateModified\\":\\"2023-06-16T20:04:45.000Z\\",\\"author\\":[{\\"@type\\":\\"Person\\",\\"name\\":\\"aydk\\"}]}"]]},"headers":[{"level":2,"title":"属性 Properties","slug":"属性-properties","link":"#属性-properties","children":[{"level":3,"title":"detail","slug":"detail","link":"#detail","children":[]},{"level":3,"title":"element","slug":"element","link":"#element","children":[]},{"level":3,"title":"mouseColumn","slug":"mousecolumn","link":"#mousecolumn","children":[]},{"level":3,"title":"position","slug":"position","link":"#position","children":[]},{"level":3,"title":"range","slug":"range","link":"#range","children":[]},{"level":3,"title":"type","slug":"type","link":"#type","children":[]}]}],"git":{"createdTime":1686945885000,"updatedTime":1686945885000,"contributors":[{"name":"xiaochaochao","email":"xiaochaochao","commits":1}]},"readingTime":{"minutes":0.57,"words":170},"filePathRelative":"editor/interfaces/IMouseTargetContentEmpty.md","localizedDate":"2023年6月16日","autoDesc":true}');export{e as data};
diff --git a/assets/IMouseTargetContentEmptyData.html-4d8fb791.js b/assets/IMouseTargetContentEmptyData.html-4d8fb791.js
new file mode 100644
index 00000000..e9deed4b
--- /dev/null
+++ b/assets/IMouseTargetContentEmptyData.html-4d8fb791.js
@@ -0,0 +1 @@
+const t=JSON.parse('{"key":"v-81553f7c","path":"/editor/interfaces/IMouseTargetContentEmptyData.html","title":"IMouseTargetContentEmptyData","lang":"zh-CN","frontmatter":{"description":"interface 官网地址 (https://microsoft.github.io/monaco-editor/docs.html#interfaces/editor.IMouseTargetContentEmptyData.html) 属性 Properties horizontalDistanceToText? 类型: number 可选 `只...","head":[["meta",{"property":"og:url","content":"http://aydk.site/editor/interfaces/IMouseTargetContentEmptyData.html"}],["meta",{"property":"og:site_name","content":"Monaco-editor 学习文档"}],["meta",{"property":"og:title","content":"IMouseTargetContentEmptyData"}],["meta",{"property":"og:description","content":"interface 官网地址 (https://microsoft.github.io/monaco-editor/docs.html#interfaces/editor.IMouseTargetContentEmptyData.html) 属性 Properties horizontalDistanceToText? 类型: number 可选 `只..."}],["meta",{"property":"og:type","content":"article"}],["meta",{"property":"og:locale","content":"zh-CN"}],["meta",{"property":"og:updated_time","content":"2023-06-16T20:04:45.000Z"}],["meta",{"property":"article:author","content":"aydk"}],["meta",{"property":"article:modified_time","content":"2023-06-16T20:04:45.000Z"}],["script",{"type":"application/ld+json"},"{\\"@context\\":\\"https://schema.org\\",\\"@type\\":\\"Article\\",\\"headline\\":\\"IMouseTargetContentEmptyData\\",\\"image\\":[\\"\\"],\\"dateModified\\":\\"2023-06-16T20:04:45.000Z\\",\\"author\\":[{\\"@type\\":\\"Person\\",\\"name\\":\\"aydk\\"}]}"]]},"headers":[{"level":2,"title":"属性 Properties","slug":"属性-properties","link":"#属性-properties","children":[{"level":3,"title":"horizontalDistanceToText?","slug":"horizontaldistancetotext","link":"#horizontaldistancetotext","children":[]},{"level":3,"title":"isAfterLines","slug":"isafterlines","link":"#isafterlines","children":[]}]}],"git":{"createdTime":1686945885000,"updatedTime":1686945885000,"contributors":[{"name":"xiaochaochao","email":"xiaochaochao","commits":1}]},"readingTime":{"minutes":0.14,"words":43},"filePathRelative":"editor/interfaces/IMouseTargetContentEmptyData.md","localizedDate":"2023年6月16日","autoDesc":true}');export{t as data};
diff --git a/assets/IMouseTargetContentEmptyData.html-bfec7db8.js b/assets/IMouseTargetContentEmptyData.html-bfec7db8.js
new file mode 100644
index 00000000..44364ee7
--- /dev/null
+++ b/assets/IMouseTargetContentEmptyData.html-bfec7db8.js
@@ -0,0 +1 @@
+import{_ as a}from"./plugin-vue_export-helper-c27b6911.js";import{r,o as n,c as i,a as e,b as t,d as c,e as d}from"./app-5f5ef0a9.js";const s={},l=e("h1",{id:"imousetargetcontentemptydata",tabindex:"-1"},[e("a",{class:"header-anchor",href:"#imousetargetcontentemptydata","aria-hidden":"true"},"#"),t(" IMouseTargetContentEmptyData")],-1),h=e("code",null,"interface",-1),m={href:"https://microsoft.github.io/monaco-editor/docs.html#interfaces/editor.IMouseTargetContentEmptyData.html",target:"_blank",rel:"noopener noreferrer"},u=d(' 属性 Properties
horizontalDistanceToText?
- 类型:
number
可选
只读
- 默认值:
-
- 可选项:
-
- 描述: ``
isAfterLines
- 类型:
boolean
只读
- 默认值:
-
- 可选项:
-
- 描述: ``
',5);function _(p,f){const o=r("ExternalLinkIcon");return n(),i("div",null,[l,e("p",null,[h,t(),e("a",m,[t("官网地址"),c(o)])]),u])}const g=a(s,[["render",_],["__file","IMouseTargetContentEmptyData.html.vue"]]);export{g as default};
diff --git a/assets/IMouseTargetContentText.html-4204d202.js b/assets/IMouseTargetContentText.html-4204d202.js
new file mode 100644
index 00000000..aad5de2c
--- /dev/null
+++ b/assets/IMouseTargetContentText.html-4204d202.js
@@ -0,0 +1 @@
+const e=JSON.parse('{"key":"v-7180d82c","path":"/editor/interfaces/IMouseTargetContentText.html","title":"IMouseTargetContentText","lang":"zh-CN","frontmatter":{"description":"interface 官网地址 (https://microsoft.github.io/monaco-editor/docs.html#interfaces/editor.IMouseTargetContentText.html) 属性 Properties detail 类型: IMouseTargetContentTextData (IMouseT...","head":[["meta",{"property":"og:url","content":"http://aydk.site/editor/interfaces/IMouseTargetContentText.html"}],["meta",{"property":"og:site_name","content":"Monaco-editor 学习文档"}],["meta",{"property":"og:title","content":"IMouseTargetContentText"}],["meta",{"property":"og:description","content":"interface 官网地址 (https://microsoft.github.io/monaco-editor/docs.html#interfaces/editor.IMouseTargetContentText.html) 属性 Properties detail 类型: IMouseTargetContentTextData (IMouseT..."}],["meta",{"property":"og:type","content":"article"}],["meta",{"property":"og:locale","content":"zh-CN"}],["meta",{"property":"og:updated_time","content":"2023-06-16T20:04:45.000Z"}],["meta",{"property":"article:author","content":"aydk"}],["meta",{"property":"article:modified_time","content":"2023-06-16T20:04:45.000Z"}],["script",{"type":"application/ld+json"},"{\\"@context\\":\\"https://schema.org\\",\\"@type\\":\\"Article\\",\\"headline\\":\\"IMouseTargetContentText\\",\\"image\\":[\\"\\"],\\"dateModified\\":\\"2023-06-16T20:04:45.000Z\\",\\"author\\":[{\\"@type\\":\\"Person\\",\\"name\\":\\"aydk\\"}]}"]]},"headers":[{"level":2,"title":"属性 Properties","slug":"属性-properties","link":"#属性-properties","children":[{"level":3,"title":"detail","slug":"detail","link":"#detail","children":[]},{"level":3,"title":"element","slug":"element","link":"#element","children":[]},{"level":3,"title":"mouseColumn","slug":"mousecolumn","link":"#mousecolumn","children":[]},{"level":3,"title":"position","slug":"position","link":"#position","children":[]},{"level":3,"title":"range","slug":"range","link":"#range","children":[]},{"level":3,"title":"type","slug":"type","link":"#type","children":[]}]}],"git":{"createdTime":1686945885000,"updatedTime":1686945885000,"contributors":[{"name":"xiaochaochao","email":"xiaochaochao","commits":1}]},"readingTime":{"minutes":0.57,"words":170},"filePathRelative":"editor/interfaces/IMouseTargetContentText.md","localizedDate":"2023年6月16日","autoDesc":true}');export{e as data};
diff --git a/assets/IMouseTargetContentText.html-efdd0511.js b/assets/IMouseTargetContentText.html-efdd0511.js
new file mode 100644
index 00000000..cb91bb64
--- /dev/null
+++ b/assets/IMouseTargetContentText.html-efdd0511.js
@@ -0,0 +1 @@
+import{_ as d}from"./plugin-vue_export-helper-c27b6911.js";import{r as i,o as s,c,a as e,b as t,d as o,w as n,e as r}from"./app-5f5ef0a9.js";const u={},h=e("h1",{id:"imousetargetcontenttext",tabindex:"-1"},[e("a",{class:"header-anchor",href:"#imousetargetcontenttext","aria-hidden":"true"},"#"),t(" IMouseTargetContentText")],-1),_=e("code",null,"interface",-1),m={href:"https://microsoft.github.io/monaco-editor/docs.html#interfaces/editor.IMouseTargetContentText.html",target:"_blank",rel:"noopener noreferrer"},f=e("h2",{id:"属性-properties",tabindex:"-1"},[e("a",{class:"header-anchor",href:"#属性-properties","aria-hidden":"true"},"#"),t(" 属性 Properties")],-1),p=e("h3",{id:"detail",tabindex:"-1"},[e("a",{class:"header-anchor",href:"#detail","aria-hidden":"true"},"#"),t(" detail")],-1),x=e("li",null,[t("默认值: "),e("code",null,"-")],-1),g=e("li",null,[t("可选项: "),e("code",null,"-")],-1),T=e("li",null,[t("描述: "),e("code",null,"关于鼠标事件的详细信息。")],-1),b=r(' element
- 类型:
HTMLElement
- 默认值:
-
- 可选项:
-
- 描述:
与鼠标事件相关联的HTML元素。
mouseColumn
- 类型:
number
- 默认值:
-
- 可选项:
任何整数
- 描述:
所需的鼠标列(例如,当 position.column 被限制为文本长度时——在一行文本后单击)。
position
',5),C=e("li",null,[t("默认值: "),e("code",null,"-")],-1),M=e("li",null,[t("可选项: "),e("code",null,"-")],-1),I=e("li",null,[t("描述: "),e("code",null,"鼠标事件发生的位置。")],-1),k=e("h3",{id:"range",tabindex:"-1"},[e("a",{class:"header-anchor",href:"#range","aria-hidden":"true"},"#"),t(" range")],-1),L=e("li",null,[t("默认值: "),e("code",null,"-")],-1),y=e("li",null,[t("可选项: "),e("code",null,"-")],-1),E=e("li",null,[t("描述: "),e("code",null,"鼠标事件发生的范围。")],-1),N=e("h3",{id:"type",tabindex:"-1"},[e("a",{class:"header-anchor",href:"#type","aria-hidden":"true"},"#"),t(" type")],-1),R=e("li",null,[t("默认值: "),e("code",null,"-")],-1),V=e("li",null,[t("可选项: "),e("code",null,"-")],-1),v=e("li",null,[t("描述: "),e("code",null,"鼠标事件的类型。")],-1);function B(P,w){const a=i("ExternalLinkIcon"),l=i("RouterLink");return s(),c("div",null,[h,e("p",null,[_,t(),e("a",m,[t("官网地址"),o(a)])]),f,p,e("ul",null,[e("li",null,[t("类型: "),o(l,{to:"/editor/interfaces/IMouseTargetContentTextData.html"},{default:n(()=>[t("IMouseTargetContentTextData")]),_:1})]),x,g,T]),b,e("ul",null,[e("li",null,[t("类型: "),o(l,{to:"/global/classes/Position.html"},{default:n(()=>[t("Position")]),_:1})]),C,M,I]),k,e("ul",null,[e("li",null,[t("类型: "),o(l,{to:"/global/classes/Range.html"},{default:n(()=>[t("Range")]),_:1})]),L,y,E]),N,e("ul",null,[e("li",null,[t("类型: "),o(l,{to:"/editor/enumerations.html#content_text-6"},{default:n(()=>[t("MouseTargetType")]),_:1})]),R,V,v])])}const S=d(u,[["render",B],["__file","IMouseTargetContentText.html.vue"]]);export{S as default};
diff --git a/assets/IMouseTargetContentTextData.html-00e91452.js b/assets/IMouseTargetContentTextData.html-00e91452.js
new file mode 100644
index 00000000..f07f791f
--- /dev/null
+++ b/assets/IMouseTargetContentTextData.html-00e91452.js
@@ -0,0 +1 @@
+const e=JSON.parse('{"key":"v-66c76122","path":"/editor/interfaces/IMouseTargetContentTextData.html","title":"IMouseTargetContentTextData","lang":"zh-CN","frontmatter":{"description":"interface 官网地址 (https://microsoft.github.io/monaco-editor/docs.html#interfaces/editor.IMouseTargetContentTextData.html) 属性 Properties mightBeForeignElement 类型: boolean 只读 ; 默认值:...","head":[["meta",{"property":"og:url","content":"http://aydk.site/editor/interfaces/IMouseTargetContentTextData.html"}],["meta",{"property":"og:site_name","content":"Monaco-editor 学习文档"}],["meta",{"property":"og:title","content":"IMouseTargetContentTextData"}],["meta",{"property":"og:description","content":"interface 官网地址 (https://microsoft.github.io/monaco-editor/docs.html#interfaces/editor.IMouseTargetContentTextData.html) 属性 Properties mightBeForeignElement 类型: boolean 只读 ; 默认值:..."}],["meta",{"property":"og:type","content":"article"}],["meta",{"property":"og:locale","content":"zh-CN"}],["meta",{"property":"og:updated_time","content":"2023-06-16T20:04:45.000Z"}],["meta",{"property":"article:author","content":"aydk"}],["meta",{"property":"article:modified_time","content":"2023-06-16T20:04:45.000Z"}],["script",{"type":"application/ld+json"},"{\\"@context\\":\\"https://schema.org\\",\\"@type\\":\\"Article\\",\\"headline\\":\\"IMouseTargetContentTextData\\",\\"image\\":[\\"\\"],\\"dateModified\\":\\"2023-06-16T20:04:45.000Z\\",\\"author\\":[{\\"@type\\":\\"Person\\",\\"name\\":\\"aydk\\"}]}"]]},"headers":[{"level":2,"title":"属性 Properties","slug":"属性-properties","link":"#属性-properties","children":[{"level":3,"title":"mightBeForeignElement","slug":"mightbeforeignelement","link":"#mightbeforeignelement","children":[]}]}],"git":{"createdTime":1686945885000,"updatedTime":1686945885000,"contributors":[{"name":"xiaochaochao","email":"xiaochaochao","commits":1}]},"readingTime":{"minutes":0.09,"words":27},"filePathRelative":"editor/interfaces/IMouseTargetContentTextData.md","localizedDate":"2023年6月16日","autoDesc":true}');export{e as data};
diff --git a/assets/IMouseTargetContentTextData.html-9702e9d1.js b/assets/IMouseTargetContentTextData.html-9702e9d1.js
new file mode 100644
index 00000000..35cd63b6
--- /dev/null
+++ b/assets/IMouseTargetContentTextData.html-9702e9d1.js
@@ -0,0 +1 @@
+import{_ as a}from"./plugin-vue_export-helper-c27b6911.js";import{r,o as n,c as i,a as e,b as t,d as c,e as s}from"./app-5f5ef0a9.js";const d={},l=e("h1",{id:"imousetargetcontenttextdata",tabindex:"-1"},[e("a",{class:"header-anchor",href:"#imousetargetcontenttextdata","aria-hidden":"true"},"#"),t(" IMouseTargetContentTextData")],-1),h=e("code",null,"interface",-1),_={href:"https://microsoft.github.io/monaco-editor/docs.html#interfaces/editor.IMouseTargetContentTextData.html",target:"_blank",rel:"noopener noreferrer"},m=s(' 属性 Properties
mightBeForeignElement
- 类型:
boolean
只读
- 默认值:
-
- 可选项:
-
- 描述: ``
',3);function u(f,p){const o=r("ExternalLinkIcon");return n(),i("div",null,[l,e("p",null,[h,t(),e("a",_,[t("官网地址"),c(o)])]),m])}const b=a(d,[["render",u],["__file","IMouseTargetContentTextData.html.vue"]]);export{b as default};
diff --git a/assets/IMouseTargetContentWidget.html-5361dc3b.js b/assets/IMouseTargetContentWidget.html-5361dc3b.js
new file mode 100644
index 00000000..283ff000
--- /dev/null
+++ b/assets/IMouseTargetContentWidget.html-5361dc3b.js
@@ -0,0 +1 @@
+const e=JSON.parse('{"key":"v-36cbc175","path":"/editor/interfaces/IMouseTargetContentWidget.html","title":"IMouseTargetContentWidget","lang":"zh-CN","frontmatter":{"description":"interface 官网地址 (https://microsoft.github.io/monaco-editor/docs.html#interfaces/editor.IMouseTargetContentWidget.html) 属性 Properties detail 类型: string `只读 ; 默认值: -` ; 可选项: - ; 描述...","head":[["meta",{"property":"og:url","content":"http://aydk.site/editor/interfaces/IMouseTargetContentWidget.html"}],["meta",{"property":"og:site_name","content":"Monaco-editor 学习文档"}],["meta",{"property":"og:title","content":"IMouseTargetContentWidget"}],["meta",{"property":"og:description","content":"interface 官网地址 (https://microsoft.github.io/monaco-editor/docs.html#interfaces/editor.IMouseTargetContentWidget.html) 属性 Properties detail 类型: string `只读 ; 默认值: -` ; 可选项: - ; 描述..."}],["meta",{"property":"og:type","content":"article"}],["meta",{"property":"og:locale","content":"zh-CN"}],["meta",{"property":"og:updated_time","content":"2023-06-16T20:04:45.000Z"}],["meta",{"property":"article:author","content":"aydk"}],["meta",{"property":"article:modified_time","content":"2023-06-16T20:04:45.000Z"}],["script",{"type":"application/ld+json"},"{\\"@context\\":\\"https://schema.org\\",\\"@type\\":\\"Article\\",\\"headline\\":\\"IMouseTargetContentWidget\\",\\"image\\":[\\"\\"],\\"dateModified\\":\\"2023-06-16T20:04:45.000Z\\",\\"author\\":[{\\"@type\\":\\"Person\\",\\"name\\":\\"aydk\\"}]}"]]},"headers":[{"level":2,"title":"属性 Properties","slug":"属性-properties","link":"#属性-properties","children":[{"level":3,"title":"detail","slug":"detail","link":"#detail","children":[]},{"level":3,"title":"element","slug":"element","link":"#element","children":[]},{"level":3,"title":"mouseColumn","slug":"mousecolumn","link":"#mousecolumn","children":[]},{"level":3,"title":"position","slug":"position","link":"#position","children":[]},{"level":3,"title":"range","slug":"range","link":"#range","children":[]},{"level":3,"title":"type","slug":"type","link":"#type","children":[]}]}],"git":{"createdTime":1686945885000,"updatedTime":1686945885000,"contributors":[{"name":"xiaochaochao","email":"xiaochaochao","commits":1}]},"readingTime":{"minutes":0.57,"words":171},"filePathRelative":"editor/interfaces/IMouseTargetContentWidget.md","localizedDate":"2023年6月16日","autoDesc":true}');export{e as data};
diff --git a/assets/IMouseTargetContentWidget.html-d77c85a5.js b/assets/IMouseTargetContentWidget.html-d77c85a5.js
new file mode 100644
index 00000000..a13a5306
--- /dev/null
+++ b/assets/IMouseTargetContentWidget.html-d77c85a5.js
@@ -0,0 +1 @@
+import{_ as a}from"./plugin-vue_export-helper-c27b6911.js";import{r as i,o as c,c as r,a as e,b as o,d as t,w as n,e as s}from"./app-5f5ef0a9.js";const h={},u=e("h1",{id:"imousetargetcontentwidget",tabindex:"-1"},[e("a",{class:"header-anchor",href:"#imousetargetcontentwidget","aria-hidden":"true"},"#"),o(" IMouseTargetContentWidget")],-1),_=e("code",null,"interface",-1),m={href:"https://microsoft.github.io/monaco-editor/docs.html#interfaces/editor.IMouseTargetContentWidget.html",target:"_blank",rel:"noopener noreferrer"},f=s(' 属性 Properties
detail
- 类型:
string
只读
- 默认值:
-
- 可选项:
-
- 描述:
关于鼠标事件的详细信息。
element
- 类型:
HTMLElement
- 默认值:
-
- 可选项:
-
- 描述:
与鼠标事件相关联的HTML元素。
mouseColumn
- 类型:
number
- 默认值:
-
- 可选项:
任何整数
- 描述:
所需的鼠标列(例如,当 position.column 被限制为文本长度时——在一行文本后单击)。
position
',8),g=e("li",null,[o("默认值: "),e("code",null,"-")],-1),p=e("li",null,[o("可选项: "),e("code",null,"-")],-1),x=e("li",null,[o("描述: "),e("code",null,"鼠标事件发生的位置。")],-1),b=e("h3",{id:"range",tabindex:"-1"},[e("a",{class:"header-anchor",href:"#range","aria-hidden":"true"},"#"),o(" range")],-1),T=e("li",null,[o("默认值: "),e("code",null,"-")],-1),k=e("li",null,[o("可选项: "),e("code",null,"-")],-1),C=e("li",null,[o("描述: "),e("code",null,"鼠标事件发生的范围。")],-1),M=e("h3",{id:"type",tabindex:"-1"},[e("a",{class:"header-anchor",href:"#type","aria-hidden":"true"},"#"),o(" type")],-1),I=e("li",null,[o("默认值: "),e("code",null,"-")],-1),L=e("li",null,[o("可选项: "),e("code",null,"-")],-1),w=e("li",null,[o("描述: "),e("code",null,"鼠标事件的类型。")],-1);function y(E,N){const d=i("ExternalLinkIcon"),l=i("RouterLink");return c(),r("div",null,[u,e("p",null,[_,o(),e("a",m,[o("官网地址"),t(d)])]),f,e("ul",null,[e("li",null,[o("类型: "),t(l,{to:"/global/classes/Position.html"},{default:n(()=>[o("Position")]),_:1})]),g,p,x]),b,e("ul",null,[e("li",null,[o("类型: "),t(l,{to:"/global/classes/Range.html"},{default:n(()=>[o("Range")]),_:1})]),T,k,C]),M,e("ul",null,[e("li",null,[o("类型: "),t(l,{to:"/editor/enumerations.html#content_widget-9"},{default:n(()=>[o("MouseTargetType")]),_:1})]),I,L,w])])}const W=a(h,[["render",y],["__file","IMouseTargetContentWidget.html.vue"]]);export{W as default};
diff --git a/assets/IMouseTargetMargin.html-908b3cea.js b/assets/IMouseTargetMargin.html-908b3cea.js
new file mode 100644
index 00000000..8c7f074a
--- /dev/null
+++ b/assets/IMouseTargetMargin.html-908b3cea.js
@@ -0,0 +1 @@
+import{_ as d}from"./plugin-vue_export-helper-c27b6911.js";import{r as i,o as r,c as s,a as e,b as o,d as l,w as n,e as c}from"./app-5f5ef0a9.js";const u={},h=e("h1",{id:"imousetargetmargin",tabindex:"-1"},[e("a",{class:"header-anchor",href:"#imousetargetmargin","aria-hidden":"true"},"#"),o(" IMouseTargetMargin")],-1),_=e("code",null,"interface",-1),m={href:"https://microsoft.github.io/monaco-editor/docs.html#interfaces/editor.IMouseTargetMargin.html",target:"_blank",rel:"noopener noreferrer"},g=e("h2",{id:"属性-properties",tabindex:"-1"},[e("a",{class:"header-anchor",href:"#属性-properties","aria-hidden":"true"},"#"),o(" 属性 Properties")],-1),f=e("h3",{id:"detail",tabindex:"-1"},[e("a",{class:"header-anchor",href:"#detail","aria-hidden":"true"},"#"),o(" detail")],-1),p=e("code",null,"只读",-1),M=e("li",null,[o("默认值: "),e("code",null,"-")],-1),T=e("li",null,[o("可选项: "),e("code",null,"-")],-1),b=e("li",null,[o("描述: "),e("code",null,"关于鼠标事件的详细信息。")],-1),x=c(' element
- 类型:
HTMLElement
- 默认值:
-
- 可选项:
-
- 描述:
与鼠标事件相关联的HTML元素。
mouseColumn
- 类型:
number
- 默认值:
-
- 可选项:
任何整数
- 描述:
所需的鼠标列(例如,当 position.column 被限制为文本长度时——在一行文本后单击)。
position
',5),I=e("li",null,[o("默认值: "),e("code",null,"-")],-1),E=e("li",null,[o("可选项: "),e("code",null,"-")],-1),R=e("li",null,[o("描述: "),e("code",null,"鼠标事件发生的位置。")],-1),L=e("h3",{id:"range",tabindex:"-1"},[e("a",{class:"header-anchor",href:"#range","aria-hidden":"true"},"#"),o(" range")],-1),N=e("li",null,[o("默认值: "),e("code",null,"-")],-1),k=e("li",null,[o("可选项: "),e("code",null,"-")],-1),G=e("li",null,[o("描述: "),e("code",null,"鼠标事件发生的范围。")],-1),y=e("h3",{id:"type",tabindex:"-1"},[e("a",{class:"header-anchor",href:"#type","aria-hidden":"true"},"#"),o(" type")],-1),B=e("li",null,[o("默认值: "),e("code",null,"-")],-1),C=e("li",null,[o("可选项: "),e("code",null,"-")],-1),P=e("li",null,[o("描述: "),e("code",null,"鼠标事件的类型。")],-1);function U(V,v){const a=i("ExternalLinkIcon"),t=i("RouterLink");return r(),s("div",null,[h,e("p",null,[_,o(),e("a",m,[o("官网地址"),l(a)])]),g,f,e("ul",null,[e("li",null,[o("类型: "),l(t,{to:"/editor/interfaces/IMouseTargetMarginData.html"},{default:n(()=>[o("IMouseTargetMarginData")]),_:1}),o(),p]),M,T,b]),x,e("ul",null,[e("li",null,[o("类型: "),l(t,{to:"/global/classes/Position.html"},{default:n(()=>[o("Position")]),_:1})]),I,E,R]),L,e("ul",null,[e("li",null,[o("类型: "),l(t,{to:"/global/classes/Range.html"},{default:n(()=>[o("Range")]),_:1})]),N,k,G]),y,e("ul",null,[e("li",null,[o("类型: "),l(t,{to:"/editor/enumerations.html#gutter_glyph_margin-2"},{default:n(()=>[o("GUTTER_GLYPH_MARGIN")]),_:1}),o(" | "),l(t,{to:"/editor/enumerations.html#gutter_line_numbers-3"},{default:n(()=>[o("GUTTER_LINE_NUMBERS")]),_:1}),o(" | "),l(t,{to:"/editor/enumerations.html#gutter_line_decorations-4"},{default:n(()=>[o("GUTTER_LINE_DECORATIONS")]),_:1})]),B,C,P])])}const S=d(u,[["render",U],["__file","IMouseTargetMargin.html.vue"]]);export{S as default};
diff --git a/assets/IMouseTargetMargin.html-a07dbf37.js b/assets/IMouseTargetMargin.html-a07dbf37.js
new file mode 100644
index 00000000..52346bd6
--- /dev/null
+++ b/assets/IMouseTargetMargin.html-a07dbf37.js
@@ -0,0 +1 @@
+const e=JSON.parse('{"key":"v-75ea211c","path":"/editor/interfaces/IMouseTargetMargin.html","title":"IMouseTargetMargin","lang":"zh-CN","frontmatter":{"description":"interface 官网地址 (https://microsoft.github.io/monaco-editor/docs.html#interfaces/editor.IMouseTargetMargin.html) 属性 Properties detail 类型: IMouseTargetMarginData (IMouseTargetMargi...","head":[["meta",{"property":"og:url","content":"http://aydk.site/editor/interfaces/IMouseTargetMargin.html"}],["meta",{"property":"og:site_name","content":"Monaco-editor 学习文档"}],["meta",{"property":"og:title","content":"IMouseTargetMargin"}],["meta",{"property":"og:description","content":"interface 官网地址 (https://microsoft.github.io/monaco-editor/docs.html#interfaces/editor.IMouseTargetMargin.html) 属性 Properties detail 类型: IMouseTargetMarginData (IMouseTargetMargi..."}],["meta",{"property":"og:type","content":"article"}],["meta",{"property":"og:locale","content":"zh-CN"}],["meta",{"property":"og:updated_time","content":"2023-06-16T20:04:45.000Z"}],["meta",{"property":"article:author","content":"aydk"}],["meta",{"property":"article:modified_time","content":"2023-06-16T20:04:45.000Z"}],["script",{"type":"application/ld+json"},"{\\"@context\\":\\"https://schema.org\\",\\"@type\\":\\"Article\\",\\"headline\\":\\"IMouseTargetMargin\\",\\"image\\":[\\"\\"],\\"dateModified\\":\\"2023-06-16T20:04:45.000Z\\",\\"author\\":[{\\"@type\\":\\"Person\\",\\"name\\":\\"aydk\\"}]}"]]},"headers":[{"level":2,"title":"属性 Properties","slug":"属性-properties","link":"#属性-properties","children":[{"level":3,"title":"detail","slug":"detail","link":"#detail","children":[]},{"level":3,"title":"element","slug":"element","link":"#element","children":[]},{"level":3,"title":"mouseColumn","slug":"mousecolumn","link":"#mousecolumn","children":[]},{"level":3,"title":"position","slug":"position","link":"#position","children":[]},{"level":3,"title":"range","slug":"range","link":"#range","children":[]},{"level":3,"title":"type","slug":"type","link":"#type","children":[]}]}],"git":{"createdTime":1686945885000,"updatedTime":1686945885000,"contributors":[{"name":"xiaochaochao","email":"xiaochaochao","commits":1}]},"readingTime":{"minutes":0.6,"words":180},"filePathRelative":"editor/interfaces/IMouseTargetMargin.md","localizedDate":"2023年6月16日","autoDesc":true}');export{e as data};
diff --git a/assets/IMouseTargetMarginData.html-3d7d942b.js b/assets/IMouseTargetMarginData.html-3d7d942b.js
new file mode 100644
index 00000000..6ed71f5d
--- /dev/null
+++ b/assets/IMouseTargetMarginData.html-3d7d942b.js
@@ -0,0 +1 @@
+const e=JSON.parse('{"key":"v-2d486568","path":"/editor/interfaces/IMouseTargetMarginData.html","title":"IMouseTargetMarginData","lang":"zh-CN","frontmatter":{"description":"interface 官网地址 (https://microsoft.github.io/monaco-editor/docs.html#interfaces/editor.IMouseTargetMarginData.html) 属性 Properties glyphMarginLeft 类型: number 只读 ; 默认值: -; 可选项: -; ...","head":[["meta",{"property":"og:url","content":"http://aydk.site/editor/interfaces/IMouseTargetMarginData.html"}],["meta",{"property":"og:site_name","content":"Monaco-editor 学习文档"}],["meta",{"property":"og:title","content":"IMouseTargetMarginData"}],["meta",{"property":"og:description","content":"interface 官网地址 (https://microsoft.github.io/monaco-editor/docs.html#interfaces/editor.IMouseTargetMarginData.html) 属性 Properties glyphMarginLeft 类型: number 只读 ; 默认值: -; 可选项: -; ..."}],["meta",{"property":"og:type","content":"article"}],["meta",{"property":"og:locale","content":"zh-CN"}],["meta",{"property":"og:updated_time","content":"2023-06-16T20:04:45.000Z"}],["meta",{"property":"article:author","content":"aydk"}],["meta",{"property":"article:modified_time","content":"2023-06-16T20:04:45.000Z"}],["script",{"type":"application/ld+json"},"{\\"@context\\":\\"https://schema.org\\",\\"@type\\":\\"Article\\",\\"headline\\":\\"IMouseTargetMarginData\\",\\"image\\":[\\"\\"],\\"dateModified\\":\\"2023-06-16T20:04:45.000Z\\",\\"author\\":[{\\"@type\\":\\"Person\\",\\"name\\":\\"aydk\\"}]}"]]},"headers":[{"level":2,"title":"属性 Properties","slug":"属性-properties","link":"#属性-properties","children":[{"level":3,"title":"glyphMarginLeft","slug":"glyphmarginleft","link":"#glyphmarginleft","children":[]},{"level":3,"title":"glyphMarginWidth","slug":"glyphmarginwidth","link":"#glyphmarginwidth","children":[]},{"level":3,"title":"isAfterLines","slug":"isafterlines","link":"#isafterlines","children":[]},{"level":3,"title":"lineNumbersWidth","slug":"linenumberswidth","link":"#linenumberswidth","children":[]},{"level":3,"title":"offsetX","slug":"offsetx","link":"#offsetx","children":[]}]}],"git":{"createdTime":1686945885000,"updatedTime":1686945885000,"contributors":[{"name":"xiaochaochao","email":"xiaochaochao","commits":1}]},"readingTime":{"minutes":0.28,"words":83},"filePathRelative":"editor/interfaces/IMouseTargetMarginData.md","localizedDate":"2023年6月16日","autoDesc":true}');export{e as data};
diff --git a/assets/IMouseTargetMarginData.html-9dcd0a8d.js b/assets/IMouseTargetMarginData.html-9dcd0a8d.js
new file mode 100644
index 00000000..3b558c46
--- /dev/null
+++ b/assets/IMouseTargetMarginData.html-9dcd0a8d.js
@@ -0,0 +1 @@
+import{_ as o}from"./plugin-vue_export-helper-c27b6911.js";import{r,o as d,c as t,a as e,b as i,d as l,e as c}from"./app-5f5ef0a9.js";const n={},h=e("h1",{id:"imousetargetmargindata",tabindex:"-1"},[e("a",{class:"header-anchor",href:"#imousetargetmargindata","aria-hidden":"true"},"#"),i(" IMouseTargetMarginData")],-1),s=e("code",null,"interface",-1),u={href:"https://microsoft.github.io/monaco-editor/docs.html#interfaces/editor.IMouseTargetMarginData.html",target:"_blank",rel:"noopener noreferrer"},f=c(' 属性 Properties
glyphMarginLeft
- 类型:
number
只读
- 默认值:
-
- 可选项:
-
- 描述: ``
glyphMarginWidth
- 类型:
number
只读
- 默认值:
-
- 可选项:
-
- 描述: ``
isAfterLines
- 类型:
boolean
只读
- 默认值:
-
- 可选项:
-
- 描述: ``
lineNumbersWidth
- 类型:
number
只读
- 默认值:
-
- 可选项:
-
- 描述: ``
offsetX
- 类型:
number
只读
- 默认值:
-
- 可选项:
-
- 描述: ``
',11);function m(g,_){const a=r("ExternalLinkIcon");return d(),t("div",null,[h,e("p",null,[s,i(),e("a",u,[i("官网地址"),l(a)])]),f])}const x=o(n,[["render",m],["__file","IMouseTargetMarginData.html.vue"]]);export{x as default};
diff --git a/assets/IMouseTargetOutsideEditor.html-84b9a430.js b/assets/IMouseTargetOutsideEditor.html-84b9a430.js
new file mode 100644
index 00000000..1d7af432
--- /dev/null
+++ b/assets/IMouseTargetOutsideEditor.html-84b9a430.js
@@ -0,0 +1 @@
+const e=JSON.parse('{"key":"v-00185180","path":"/editor/interfaces/IMouseTargetOutsideEditor.html","title":"IMouseTargetOutsideEditor","lang":"zh-CN","frontmatter":{"description":"interface 官网地址 (https://microsoft.github.io/monaco-editor/docs.html#interfaces/editor.IMouseTargetOutsideEditor.html) 属性 Properties element 类型: HTMLElement ; 默认值: - ; 可选项: - ; 描...","head":[["meta",{"property":"og:url","content":"http://aydk.site/editor/interfaces/IMouseTargetOutsideEditor.html"}],["meta",{"property":"og:site_name","content":"Monaco-editor 学习文档"}],["meta",{"property":"og:title","content":"IMouseTargetOutsideEditor"}],["meta",{"property":"og:description","content":"interface 官网地址 (https://microsoft.github.io/monaco-editor/docs.html#interfaces/editor.IMouseTargetOutsideEditor.html) 属性 Properties element 类型: HTMLElement ; 默认值: - ; 可选项: - ; 描..."}],["meta",{"property":"og:type","content":"article"}],["meta",{"property":"og:locale","content":"zh-CN"}],["meta",{"property":"og:updated_time","content":"2023-06-16T20:04:45.000Z"}],["meta",{"property":"article:author","content":"aydk"}],["meta",{"property":"article:modified_time","content":"2023-06-16T20:04:45.000Z"}],["script",{"type":"application/ld+json"},"{\\"@context\\":\\"https://schema.org\\",\\"@type\\":\\"Article\\",\\"headline\\":\\"IMouseTargetOutsideEditor\\",\\"image\\":[\\"\\"],\\"dateModified\\":\\"2023-06-16T20:04:45.000Z\\",\\"author\\":[{\\"@type\\":\\"Person\\",\\"name\\":\\"aydk\\"}]}"]]},"headers":[{"level":2,"title":"属性 Properties","slug":"属性-properties","link":"#属性-properties","children":[{"level":3,"title":"element","slug":"element","link":"#element","children":[]},{"level":3,"title":"mouseColumn","slug":"mousecolumn","link":"#mousecolumn","children":[]},{"level":3,"title":"outsideDistance","slug":"outsidedistance","link":"#outsidedistance","children":[]},{"level":3,"title":"outsidePosition","slug":"outsideposition","link":"#outsideposition","children":[]},{"level":3,"title":"position","slug":"position","link":"#position","children":[]},{"level":3,"title":"range","slug":"range","link":"#range","children":[]},{"level":3,"title":"type","slug":"type","link":"#type","children":[]}]}],"git":{"createdTime":1686945885000,"updatedTime":1686945885000,"contributors":[{"name":"xiaochaochao","email":"xiaochaochao","commits":1}]},"readingTime":{"minutes":0.59,"words":178},"filePathRelative":"editor/interfaces/IMouseTargetOutsideEditor.md","localizedDate":"2023年6月16日","autoDesc":true}');export{e as data};
diff --git a/assets/IMouseTargetOutsideEditor.html-b45f7b10.js b/assets/IMouseTargetOutsideEditor.html-b45f7b10.js
new file mode 100644
index 00000000..eb92fe67
--- /dev/null
+++ b/assets/IMouseTargetOutsideEditor.html-b45f7b10.js
@@ -0,0 +1 @@
+import{_ as a}from"./plugin-vue_export-helper-c27b6911.js";import{r as d,o as s,c,a as e,b as o,d as i,w as l,e as r}from"./app-5f5ef0a9.js";const u={},h=e("h1",{id:"imousetargetoutsideeditor",tabindex:"-1"},[e("a",{class:"header-anchor",href:"#imousetargetoutsideeditor","aria-hidden":"true"},"#"),o(" IMouseTargetOutsideEditor")],-1),_=e("code",null,"interface",-1),m={href:"https://microsoft.github.io/monaco-editor/docs.html#interfaces/editor.IMouseTargetOutsideEditor.html",target:"_blank",rel:"noopener noreferrer"},f=r(' 属性 Properties
element
- 类型:
HTMLElement
- 默认值:
-
- 可选项:
-
- 描述:
与鼠标事件相关联的HTML元素。
mouseColumn
- 类型:
number
- 默认值:
-
- 可选项:
任何整数
- 描述:
所需的鼠标列(例如,当 position.column 被限制为文本长度时——在一行文本后单击)。
outsideDistance
- 类型:
number
可选
- 默认值:
-
- 可选项: ``
- 描述: ``
outsidePosition
- 类型:
enum
可选
- 默认值:
-
- 可选项:
"right" | "left" | "above" | "below"
- 描述: ``
position
',10),p=e("li",null,[o("默认值: "),e("code",null,"-")],-1),b=e("li",null,[o("可选项: "),e("code",null,"-")],-1),g=e("li",null,[o("描述: "),e("code",null,"鼠标事件发生的位置。")],-1),x=e("h3",{id:"range",tabindex:"-1"},[e("a",{class:"header-anchor",href:"#range","aria-hidden":"true"},"#"),o(" range")],-1),E=e("li",null,[o("默认值: "),e("code",null,"-")],-1),T=e("li",null,[o("可选项: "),e("code",null,"-")],-1),q=e("li",null,[o("描述: "),e("code",null,"鼠标事件发生的范围。")],-1),I=e("h3",{id:"type",tabindex:"-1"},[e("a",{class:"header-anchor",href:"#type","aria-hidden":"true"},"#"),o(" type")],-1),k=e("li",null,[o("默认值: "),e("code",null,"-")],-1),L=e("li",null,[o("可选项: "),e("code",null,"-")],-1),M=e("li",null,[o("描述: "),e("code",null,"鼠标事件的类型。")],-1);function O(R,v){const n=d("ExternalLinkIcon"),t=d("RouterLink");return s(),c("div",null,[h,e("p",null,[_,o(),e("a",m,[o("官网地址"),i(n)])]),f,e("ul",null,[e("li",null,[o("类型: "),i(t,{to:"/global/classes/Position.html"},{default:l(()=>[o("Position")]),_:1})]),p,b,g]),x,e("ul",null,[e("li",null,[o("类型: "),i(t,{to:"/global/classes/Range.html"},{default:l(()=>[o("Range")]),_:1})]),E,T,q]),I,e("ul",null,[e("li",null,[o("类型: "),i(t,{to:"/editor/enumerations.html#outside_editor-13"},{default:l(()=>[o("OUTSIDE_EDITOR")]),_:1})]),k,L,M])])}const V=a(u,[["render",O],["__file","IMouseTargetOutsideEditor.html.vue"]]);export{V as default};
diff --git a/assets/IMouseTargetOverlayWidget.html-3cdae258.js b/assets/IMouseTargetOverlayWidget.html-3cdae258.js
new file mode 100644
index 00000000..f74f5c37
--- /dev/null
+++ b/assets/IMouseTargetOverlayWidget.html-3cdae258.js
@@ -0,0 +1 @@
+const e=JSON.parse('{"key":"v-3751353e","path":"/editor/interfaces/IMouseTargetOverlayWidget.html","title":"IMouseTargetOverlayWidget","lang":"zh-CN","frontmatter":{"description":"interface 官网地址 (https://microsoft.github.io/monaco-editor/docs.html#interfaces/editor.IMouseTargetOverlayWidget.html) 属性 Properties detail 类型: string `只读 ; 默认值: -` ; 可选项: - ; 描述...","head":[["meta",{"property":"og:url","content":"http://aydk.site/editor/interfaces/IMouseTargetOverlayWidget.html"}],["meta",{"property":"og:site_name","content":"Monaco-editor 学习文档"}],["meta",{"property":"og:title","content":"IMouseTargetOverlayWidget"}],["meta",{"property":"og:description","content":"interface 官网地址 (https://microsoft.github.io/monaco-editor/docs.html#interfaces/editor.IMouseTargetOverlayWidget.html) 属性 Properties detail 类型: string `只读 ; 默认值: -` ; 可选项: - ; 描述..."}],["meta",{"property":"og:type","content":"article"}],["meta",{"property":"og:locale","content":"zh-CN"}],["meta",{"property":"og:updated_time","content":"2023-06-16T20:04:45.000Z"}],["meta",{"property":"article:author","content":"aydk"}],["meta",{"property":"article:modified_time","content":"2023-06-16T20:04:45.000Z"}],["script",{"type":"application/ld+json"},"{\\"@context\\":\\"https://schema.org\\",\\"@type\\":\\"Article\\",\\"headline\\":\\"IMouseTargetOverlayWidget\\",\\"image\\":[\\"\\"],\\"dateModified\\":\\"2023-06-16T20:04:45.000Z\\",\\"author\\":[{\\"@type\\":\\"Person\\",\\"name\\":\\"aydk\\"}]}"]]},"headers":[{"level":2,"title":"属性 Properties","slug":"属性-properties","link":"#属性-properties","children":[{"level":3,"title":"detail","slug":"detail","link":"#detail","children":[]},{"level":3,"title":"element","slug":"element","link":"#element","children":[]},{"level":3,"title":"mouseColumn","slug":"mousecolumn","link":"#mousecolumn","children":[]},{"level":3,"title":"position","slug":"position","link":"#position","children":[]},{"level":3,"title":"range","slug":"range","link":"#range","children":[]},{"level":3,"title":"type","slug":"type","link":"#type","children":[]}]}],"git":{"createdTime":1686945885000,"updatedTime":1686945885000,"contributors":[{"name":"xiaochaochao","email":"xiaochaochao","commits":1}]},"readingTime":{"minutes":0.57,"words":171},"filePathRelative":"editor/interfaces/IMouseTargetOverlayWidget.md","localizedDate":"2023年6月16日","autoDesc":true}');export{e as data};
diff --git a/assets/IMouseTargetOverlayWidget.html-7c6fac41.js b/assets/IMouseTargetOverlayWidget.html-7c6fac41.js
new file mode 100644
index 00000000..8f04aa3f
--- /dev/null
+++ b/assets/IMouseTargetOverlayWidget.html-7c6fac41.js
@@ -0,0 +1 @@
+import{_ as d}from"./plugin-vue_export-helper-c27b6911.js";import{r as n,o as r,c,a as e,b as o,d as l,w as i,e as s}from"./app-5f5ef0a9.js";const h={},u=e("h1",{id:"imousetargetoverlaywidget",tabindex:"-1"},[e("a",{class:"header-anchor",href:"#imousetargetoverlaywidget","aria-hidden":"true"},"#"),o(" IMouseTargetOverlayWidget")],-1),_=e("code",null,"interface",-1),m={href:"https://microsoft.github.io/monaco-editor/docs.html#interfaces/editor.IMouseTargetOverlayWidget.html",target:"_blank",rel:"noopener noreferrer"},f=s(' 属性 Properties
detail
- 类型:
string
只读
- 默认值:
-
- 可选项:
-
- 描述:
关于鼠标事件的详细信息。
element
- 类型:
HTMLElement
- 默认值:
-
- 可选项:
-
- 描述:
与鼠标事件相关联的HTML元素。
mouseColumn
- 类型:
number
- 默认值:
-
- 可选项:
任何整数
- 描述:
所需的鼠标列(例如,当 position.column 被限制为文本长度时——在一行文本后单击)。
position
',8),g=e("li",null,[o("默认值: "),e("code",null,"-")],-1),p=e("li",null,[o("可选项: "),e("code",null,"-")],-1),x=e("li",null,[o("描述: "),e("code",null,"鼠标事件发生的位置。")],-1),b=e("h3",{id:"range",tabindex:"-1"},[e("a",{class:"header-anchor",href:"#range","aria-hidden":"true"},"#"),o(" range")],-1),v=e("li",null,[o("默认值: "),e("code",null,"-")],-1),y=e("li",null,[o("可选项: "),e("code",null,"-")],-1),T=e("li",null,[o("描述: "),e("code",null,"鼠标事件发生的范围。")],-1),k=e("h3",{id:"type",tabindex:"-1"},[e("a",{class:"header-anchor",href:"#type","aria-hidden":"true"},"#"),o(" type")],-1),I=e("li",null,[o("默认值: "),e("code",null,"-")],-1),L=e("li",null,[o("可选项: "),e("code",null,"-")],-1),E=e("li",null,[o("描述: "),e("code",null,"鼠标事件的类型。")],-1);function M(w,O){const a=n("ExternalLinkIcon"),t=n("RouterLink");return r(),c("div",null,[u,e("p",null,[_,o(),e("a",m,[o("官网地址"),l(a)])]),f,e("ul",null,[e("li",null,[o("类型: "),l(t,{to:"/global/classes/Position.html"},{default:i(()=>[o("Position")]),_:1})]),g,p,x]),b,e("ul",null,[e("li",null,[o("类型: "),l(t,{to:"/global/classes/Range.html"},{default:i(()=>[o("Range")]),_:1})]),v,y,T]),k,e("ul",null,[e("li",null,[o("类型: "),l(t,{to:"/editor/enumerations.html#overlay_widget-12"},{default:i(()=>[o("OVERLAY_WIDGET")]),_:1})]),I,L,E])])}const W=d(h,[["render",M],["__file","IMouseTargetOverlayWidget.html.vue"]]);export{W as default};
diff --git a/assets/IMouseTargetOverviewRuler.html-1f4a0043.js b/assets/IMouseTargetOverviewRuler.html-1f4a0043.js
new file mode 100644
index 00000000..9252b164
--- /dev/null
+++ b/assets/IMouseTargetOverviewRuler.html-1f4a0043.js
@@ -0,0 +1 @@
+const e=JSON.parse('{"key":"v-6ab71a95","path":"/editor/interfaces/IMouseTargetOverviewRuler.html","title":"IMouseTargetOverviewRuler","lang":"zh-CN","frontmatter":{"description":"interface 官网地址 (https://microsoft.github.io/monaco-editor/docs.html#interfaces/editor.IMouseTargetOverviewRuler.html) 属性 Properties element 类型: HTMLElement ; 默认值: - ; 可选项: - ; 描...","head":[["meta",{"property":"og:url","content":"http://aydk.site/editor/interfaces/IMouseTargetOverviewRuler.html"}],["meta",{"property":"og:site_name","content":"Monaco-editor 学习文档"}],["meta",{"property":"og:title","content":"IMouseTargetOverviewRuler"}],["meta",{"property":"og:description","content":"interface 官网地址 (https://microsoft.github.io/monaco-editor/docs.html#interfaces/editor.IMouseTargetOverviewRuler.html) 属性 Properties element 类型: HTMLElement ; 默认值: - ; 可选项: - ; 描..."}],["meta",{"property":"og:type","content":"article"}],["meta",{"property":"og:locale","content":"zh-CN"}],["meta",{"property":"og:updated_time","content":"2023-06-22T17:20:55.000Z"}],["meta",{"property":"article:author","content":"aydk"}],["meta",{"property":"article:modified_time","content":"2023-06-22T17:20:55.000Z"}],["script",{"type":"application/ld+json"},"{\\"@context\\":\\"https://schema.org\\",\\"@type\\":\\"Article\\",\\"headline\\":\\"IMouseTargetOverviewRuler\\",\\"image\\":[\\"\\"],\\"dateModified\\":\\"2023-06-22T17:20:55.000Z\\",\\"author\\":[{\\"@type\\":\\"Person\\",\\"name\\":\\"aydk\\"}]}"]]},"headers":[{"level":2,"title":"属性 Properties","slug":"属性-properties","link":"#属性-properties","children":[{"level":3,"title":"element","slug":"element","link":"#element","children":[]},{"level":3,"title":"mouseColumn","slug":"mousecolumn","link":"#mousecolumn","children":[]},{"level":3,"title":"position","slug":"position","link":"#position","children":[]},{"level":3,"title":"range","slug":"range","link":"#range","children":[]},{"level":3,"title":"type","slug":"type","link":"#type","children":[]}]}],"git":{"createdTime":1686945885000,"updatedTime":1687454455000,"contributors":[{"name":"xiaochaochao","email":"xiaochaochao","commits":2}]},"readingTime":{"minutes":0.49,"words":146},"filePathRelative":"editor/interfaces/IMouseTargetOverviewRuler.md","localizedDate":"2023年6月16日","autoDesc":true}');export{e as data};
diff --git a/assets/IMouseTargetOverviewRuler.html-5ae0c616.js b/assets/IMouseTargetOverviewRuler.html-5ae0c616.js
new file mode 100644
index 00000000..dd8aca70
--- /dev/null
+++ b/assets/IMouseTargetOverviewRuler.html-5ae0c616.js
@@ -0,0 +1 @@
+import{_ as a}from"./plugin-vue_export-helper-c27b6911.js";import{r as i,o as d,c as s,a as e,b as o,d as l,w as n,e as c}from"./app-5f5ef0a9.js";const u={},h=e("h1",{id:"imousetargetoverviewruler",tabindex:"-1"},[e("a",{class:"header-anchor",href:"#imousetargetoverviewruler","aria-hidden":"true"},"#"),o(" IMouseTargetOverviewRuler")],-1),_=e("code",null,"interface",-1),m={href:"https://microsoft.github.io/monaco-editor/docs.html#interfaces/editor.IMouseTargetOverviewRuler.html",target:"_blank",rel:"noopener noreferrer"},f=c(' 属性 Properties
element
- 类型:
HTMLElement
- 默认值:
-
- 可选项:
-
- 描述:
与鼠标事件相关联的HTML元素。
mouseColumn
- 类型:
number
- 默认值:
-
- 可选项:
任何整数
- 描述:
所需的鼠标列(例如,当 position.column 被限制为文本长度时——在一行文本后单击)。
position
',6),p=e("li",null,[o("默认值: "),e("code",null,"-")],-1),v=e("li",null,[o("可选项: "),e("code",null,"-")],-1),g=e("li",null,[o("描述: "),e("code",null,"鼠标事件发生的位置。")],-1),x=e("h3",{id:"range",tabindex:"-1"},[e("a",{class:"header-anchor",href:"#range","aria-hidden":"true"},"#"),o(" range")],-1),b=e("li",null,[o("默认值: "),e("code",null,"-")],-1),R=e("li",null,[o("可选项: "),e("code",null,"-")],-1),w=e("li",null,[o("描述: "),e("code",null,"鼠标事件发生的范围。")],-1),k=e("h3",{id:"type",tabindex:"-1"},[e("a",{class:"header-anchor",href:"#type","aria-hidden":"true"},"#"),o(" type")],-1),E=e("li",null,[o("默认值: "),e("code",null,"-")],-1),I=e("li",null,[o("可选项: "),e("code",null,"-")],-1),L=e("li",null,[o("描述: "),e("code",null,"鼠标事件的类型。")],-1);function T(M,V){const r=i("ExternalLinkIcon"),t=i("RouterLink");return d(),s("div",null,[h,e("p",null,[_,o(),e("a",m,[o("官网地址"),l(r)])]),f,e("ul",null,[e("li",null,[o("类型: "),l(t,{to:"/global/classes/Position.html"},{default:n(()=>[o("Position")]),_:1})]),p,v,g]),x,e("ul",null,[e("li",null,[o("类型: "),l(t,{to:"/global/classes/Range.html"},{default:n(()=>[o("Range")]),_:1})]),b,R,w]),k,e("ul",null,[e("li",null,[o("类型: "),l(t,{to:"/editor/enumerations.html#overview_ruler-10"},{default:n(()=>[o("OVERVIEW_RULER")]),_:1})]),E,I,L])])}const y=a(u,[["render",T],["__file","IMouseTargetOverviewRuler.html.vue"]]);export{y as default};
diff --git a/assets/IMouseTargetScrollbar.html-bb1d4983.js b/assets/IMouseTargetScrollbar.html-bb1d4983.js
new file mode 100644
index 00000000..4d12a88d
--- /dev/null
+++ b/assets/IMouseTargetScrollbar.html-bb1d4983.js
@@ -0,0 +1 @@
+import{_ as r}from"./plugin-vue_export-helper-c27b6911.js";import{r as i,o as c,c as s,a as e,b as o,d as l,w as n,e as d}from"./app-5f5ef0a9.js";const h={},u=e("h1",{id:"imousetargetscrollbar",tabindex:"-1"},[e("a",{class:"header-anchor",href:"#imousetargetscrollbar","aria-hidden":"true"},"#"),o(" IMouseTargetScrollbar")],-1),_=e("code",null,"interface",-1),m={href:"https://microsoft.github.io/monaco-editor/docs.html#interfaces/editor.IMouseTargetScrollbar.html",target:"_blank",rel:"noopener noreferrer"},f=d(' 属性 Properties
element
- 类型:
HTMLElement
- 默认值:
-
- 可选项:
-
- 描述:
与鼠标事件相关联的HTML元素。
mouseColumn
- 类型:
number
- 默认值:
-
- 可选项:
任何整数
- 描述:
所需的鼠标列(例如,当 position.column 被限制为文本长度时——在一行文本后单击)。
position
',6),p=e("li",null,[o("默认值: "),e("code",null,"-")],-1),b=e("li",null,[o("可选项: "),e("code",null,"-")],-1),g=e("li",null,[o("描述: "),e("code",null,"鼠标事件发生的位置。")],-1),x=e("h3",{id:"range",tabindex:"-1"},[e("a",{class:"header-anchor",href:"#range","aria-hidden":"true"},"#"),o(" range")],-1),L=e("li",null,[o("默认值: "),e("code",null,"-")],-1),k=e("li",null,[o("可选项: "),e("code",null,"-")],-1),T=e("li",null,[o("描述: "),e("code",null,"鼠标事件发生的范围。")],-1),I=e("h3",{id:"type",tabindex:"-1"},[e("a",{class:"header-anchor",href:"#type","aria-hidden":"true"},"#"),o(" type")],-1),M=e("li",null,[o("默认值: "),e("code",null,"-")],-1),R=e("li",null,[o("可选项: "),e("code",null,"-")],-1),S=e("li",null,[o("描述: "),e("code",null,"鼠标事件的类型。")],-1);function B(C,E){const a=i("ExternalLinkIcon"),t=i("RouterLink");return c(),s("div",null,[u,e("p",null,[_,o(),e("a",m,[o("官网地址"),l(a)])]),f,e("ul",null,[e("li",null,[o("类型: "),l(t,{to:"/global/classes/Position.html"},{default:n(()=>[o("Position")]),_:1})]),p,b,g]),x,e("ul",null,[e("li",null,[o("类型: "),l(t,{to:"/global/classes/Range.html"},{default:n(()=>[o("Range")]),_:1})]),L,k,T]),I,e("ul",null,[e("li",null,[o("类型: "),l(t,{to:"/editor/enumerations.html#scrollbar-11"},{default:n(()=>[o(" SCROLLBAR")]),_:1})]),M,R,S])])}const v=r(h,[["render",B],["__file","IMouseTargetScrollbar.html.vue"]]);export{v as default};
diff --git a/assets/IMouseTargetScrollbar.html-e6fc3082.js b/assets/IMouseTargetScrollbar.html-e6fc3082.js
new file mode 100644
index 00000000..2c021052
--- /dev/null
+++ b/assets/IMouseTargetScrollbar.html-e6fc3082.js
@@ -0,0 +1 @@
+const e=JSON.parse('{"key":"v-37d0498c","path":"/editor/interfaces/IMouseTargetScrollbar.html","title":"IMouseTargetScrollbar","lang":"zh-CN","frontmatter":{"description":"interface 官网地址 (https://microsoft.github.io/monaco-editor/docs.html#interfaces/editor.IMouseTargetScrollbar.html) 属性 Properties element 类型: HTMLElement ; 默认值: - ; 可选项: - ; 描述: 与...","head":[["meta",{"property":"og:url","content":"http://aydk.site/editor/interfaces/IMouseTargetScrollbar.html"}],["meta",{"property":"og:site_name","content":"Monaco-editor 学习文档"}],["meta",{"property":"og:title","content":"IMouseTargetScrollbar"}],["meta",{"property":"og:description","content":"interface 官网地址 (https://microsoft.github.io/monaco-editor/docs.html#interfaces/editor.IMouseTargetScrollbar.html) 属性 Properties element 类型: HTMLElement ; 默认值: - ; 可选项: - ; 描述: 与..."}],["meta",{"property":"og:type","content":"article"}],["meta",{"property":"og:locale","content":"zh-CN"}],["meta",{"property":"og:updated_time","content":"2023-06-16T20:04:45.000Z"}],["meta",{"property":"article:author","content":"aydk"}],["meta",{"property":"article:modified_time","content":"2023-06-16T20:04:45.000Z"}],["script",{"type":"application/ld+json"},"{\\"@context\\":\\"https://schema.org\\",\\"@type\\":\\"Article\\",\\"headline\\":\\"IMouseTargetScrollbar\\",\\"image\\":[\\"\\"],\\"dateModified\\":\\"2023-06-16T20:04:45.000Z\\",\\"author\\":[{\\"@type\\":\\"Person\\",\\"name\\":\\"aydk\\"}]}"]]},"headers":[{"level":2,"title":"属性 Properties","slug":"属性-properties","link":"#属性-properties","children":[{"level":3,"title":"element","slug":"element","link":"#element","children":[]},{"level":3,"title":"mouseColumn","slug":"mousecolumn","link":"#mousecolumn","children":[]},{"level":3,"title":"position","slug":"position","link":"#position","children":[]},{"level":3,"title":"range","slug":"range","link":"#range","children":[]},{"level":3,"title":"type","slug":"type","link":"#type","children":[]}]}],"git":{"createdTime":1686945885000,"updatedTime":1686945885000,"contributors":[{"name":"xiaochaochao","email":"xiaochaochao","commits":1}]},"readingTime":{"minutes":0.49,"words":146},"filePathRelative":"editor/interfaces/IMouseTargetScrollbar.md","localizedDate":"2023年6月16日","autoDesc":true}');export{e as data};
diff --git a/assets/IMouseTargetTextarea.html-4e7083a0.js b/assets/IMouseTargetTextarea.html-4e7083a0.js
new file mode 100644
index 00000000..2ddebe07
--- /dev/null
+++ b/assets/IMouseTargetTextarea.html-4e7083a0.js
@@ -0,0 +1 @@
+const e=JSON.parse('{"key":"v-faede0b4","path":"/editor/interfaces/IMouseTargetTextarea.html","title":"IMouseTargetTextarea","lang":"zh-CN","frontmatter":{"description":"interface 官网地址 (https://microsoft.github.io/monaco-editor/docs.html#interfaces/editor.IMouseTargetTextarea.html) 属性 Properties element 类型: HTMLElement ; 默认值: - ; 可选项: - ; 描述: 与鼠...","head":[["meta",{"property":"og:url","content":"http://aydk.site/editor/interfaces/IMouseTargetTextarea.html"}],["meta",{"property":"og:site_name","content":"Monaco-editor 学习文档"}],["meta",{"property":"og:title","content":"IMouseTargetTextarea"}],["meta",{"property":"og:description","content":"interface 官网地址 (https://microsoft.github.io/monaco-editor/docs.html#interfaces/editor.IMouseTargetTextarea.html) 属性 Properties element 类型: HTMLElement ; 默认值: - ; 可选项: - ; 描述: 与鼠..."}],["meta",{"property":"og:type","content":"article"}],["meta",{"property":"og:locale","content":"zh-CN"}],["meta",{"property":"og:updated_time","content":"2023-06-16T20:04:45.000Z"}],["meta",{"property":"article:author","content":"aydk"}],["meta",{"property":"article:modified_time","content":"2023-06-16T20:04:45.000Z"}],["script",{"type":"application/ld+json"},"{\\"@context\\":\\"https://schema.org\\",\\"@type\\":\\"Article\\",\\"headline\\":\\"IMouseTargetTextarea\\",\\"image\\":[\\"\\"],\\"dateModified\\":\\"2023-06-16T20:04:45.000Z\\",\\"author\\":[{\\"@type\\":\\"Person\\",\\"name\\":\\"aydk\\"}]}"]]},"headers":[{"level":2,"title":"属性 Properties","slug":"属性-properties","link":"#属性-properties","children":[{"level":3,"title":"element","slug":"element","link":"#element","children":[]},{"level":3,"title":"mouseColumn","slug":"mousecolumn","link":"#mousecolumn","children":[]},{"level":3,"title":"position","slug":"position","link":"#position","children":[]},{"level":3,"title":"range","slug":"range","link":"#range","children":[]},{"level":3,"title":"type","slug":"type","link":"#type","children":[]}]}],"git":{"createdTime":1686945885000,"updatedTime":1686945885000,"contributors":[{"name":"xiaochaochao","email":"xiaochaochao","commits":1}]},"readingTime":{"minutes":0.49,"words":146},"filePathRelative":"editor/interfaces/IMouseTargetTextarea.md","localizedDate":"2023年6月16日","autoDesc":true}');export{e as data};
diff --git a/assets/IMouseTargetTextarea.html-b71d8f62.js b/assets/IMouseTargetTextarea.html-b71d8f62.js
new file mode 100644
index 00000000..3a9a40ec
--- /dev/null
+++ b/assets/IMouseTargetTextarea.html-b71d8f62.js
@@ -0,0 +1 @@
+import{_ as r}from"./plugin-vue_export-helper-c27b6911.js";import{r as a,o as d,c as s,a as e,b as o,d as t,w as n,e as c}from"./app-5f5ef0a9.js";const h={},u=e("h1",{id:"imousetargettextarea",tabindex:"-1"},[e("a",{class:"header-anchor",href:"#imousetargettextarea","aria-hidden":"true"},"#"),o(" IMouseTargetTextarea")],-1),_=e("code",null,"interface",-1),m={href:"https://microsoft.github.io/monaco-editor/docs.html#interfaces/editor.IMouseTargetTextarea.html",target:"_blank",rel:"noopener noreferrer"},f=c(' 属性 Properties
element
- 类型:
HTMLElement
- 默认值:
-
- 可选项:
-
- 描述:
与鼠标事件相关联的HTML元素。
mouseColumn
- 类型:
number
- 默认值:
-
- 可选项:
任何整数
- 描述:
所需的鼠标列(例如,当 position.column 被限制为文本长度时——在一行文本后单击)。
position
',6),p=e("li",null,[o("默认值: "),e("code",null,"-")],-1),x=e("li",null,[o("可选项: "),e("code",null,"-")],-1),g=e("li",null,[o("描述: "),e("code",null,"鼠标事件发生的位置。")],-1),b=e("h3",{id:"range",tabindex:"-1"},[e("a",{class:"header-anchor",href:"#range","aria-hidden":"true"},"#"),o(" range")],-1),T=e("li",null,[o("默认值: "),e("code",null,"-")],-1),k=e("li",null,[o("可选项: "),e("code",null,"-")],-1),E=e("li",null,[o("描述: "),e("code",null,"鼠标事件发生的范围。")],-1),I=e("h3",{id:"type",tabindex:"-1"},[e("a",{class:"header-anchor",href:"#type","aria-hidden":"true"},"#"),o(" type")],-1),L=e("li",null,[o("默认值: "),e("code",null,"-")],-1),M=e("li",null,[o("可选项: "),e("code",null,"-")],-1),R=e("li",null,[o("描述: "),e("code",null,"鼠标事件的类型。")],-1);function N(V,v){const i=a("ExternalLinkIcon"),l=a("RouterLink");return d(),s("div",null,[u,e("p",null,[_,o(),e("a",m,[o("官网地址"),t(i)])]),f,e("ul",null,[e("li",null,[o("类型: "),t(l,{to:"/global/classes/Position.html"},{default:n(()=>[o("Position")]),_:1})]),p,x,g]),b,e("ul",null,[e("li",null,[o("类型: "),t(l,{to:"/global/classes/Range.html"},{default:n(()=>[o("Range")]),_:1})]),T,k,E]),I,e("ul",null,[e("li",null,[o("类型: "),t(l,{to:"/editor/enumerations.html#textarea-1"},{default:n(()=>[o(" TEXTAREA")]),_:1})]),L,M,R])])}const C=r(h,[["render",N],["__file","IMouseTargetTextarea.html.vue"]]);export{C as default};
diff --git a/assets/IMouseTargetUnknown.html-267ab423.js b/assets/IMouseTargetUnknown.html-267ab423.js
new file mode 100644
index 00000000..1558d572
--- /dev/null
+++ b/assets/IMouseTargetUnknown.html-267ab423.js
@@ -0,0 +1 @@
+const e=JSON.parse('{"key":"v-828e67b0","path":"/editor/interfaces/IMouseTargetUnknown.html","title":"IMouseTargetUnknown","lang":"zh-CN","frontmatter":{"description":"interface 官网地址 (https://microsoft.github.io/monaco-editor/docs.html#interfaces/editor.IMouseTargetUnknown.html) 属性 Properties element 类型: HTMLElement ; 默认值: - ; 可选项: - ; 描述: 与鼠标...","head":[["meta",{"property":"og:url","content":"http://aydk.site/editor/interfaces/IMouseTargetUnknown.html"}],["meta",{"property":"og:site_name","content":"Monaco-editor 学习文档"}],["meta",{"property":"og:title","content":"IMouseTargetUnknown"}],["meta",{"property":"og:description","content":"interface 官网地址 (https://microsoft.github.io/monaco-editor/docs.html#interfaces/editor.IMouseTargetUnknown.html) 属性 Properties element 类型: HTMLElement ; 默认值: - ; 可选项: - ; 描述: 与鼠标..."}],["meta",{"property":"og:type","content":"article"}],["meta",{"property":"og:locale","content":"zh-CN"}],["meta",{"property":"og:updated_time","content":"2023-06-16T20:04:45.000Z"}],["meta",{"property":"article:author","content":"aydk"}],["meta",{"property":"article:modified_time","content":"2023-06-16T20:04:45.000Z"}],["script",{"type":"application/ld+json"},"{\\"@context\\":\\"https://schema.org\\",\\"@type\\":\\"Article\\",\\"headline\\":\\"IMouseTargetUnknown\\",\\"image\\":[\\"\\"],\\"dateModified\\":\\"2023-06-16T20:04:45.000Z\\",\\"author\\":[{\\"@type\\":\\"Person\\",\\"name\\":\\"aydk\\"}]}"]]},"headers":[{"level":2,"title":"属性 Properties","slug":"属性-properties","link":"#属性-properties","children":[{"level":3,"title":"element","slug":"element","link":"#element","children":[]},{"level":3,"title":"mouseColumn","slug":"mousecolumn","link":"#mousecolumn","children":[]},{"level":3,"title":"position","slug":"position","link":"#position","children":[]},{"level":3,"title":"range","slug":"range","link":"#range","children":[]},{"level":3,"title":"type","slug":"type","link":"#type","children":[]}]}],"git":{"createdTime":1686945885000,"updatedTime":1686945885000,"contributors":[{"name":"xiaochaochao","email":"xiaochaochao","commits":1}]},"readingTime":{"minutes":0.49,"words":146},"filePathRelative":"editor/interfaces/IMouseTargetUnknown.md","localizedDate":"2023年6月16日","autoDesc":true}');export{e as data};
diff --git a/assets/IMouseTargetUnknown.html-9dae5678.js b/assets/IMouseTargetUnknown.html-9dae5678.js
new file mode 100644
index 00000000..988abd96
--- /dev/null
+++ b/assets/IMouseTargetUnknown.html-9dae5678.js
@@ -0,0 +1 @@
+import{_ as d}from"./plugin-vue_export-helper-c27b6911.js";import{r as i,o as s,c,a as e,b as o,d as n,w as t,e as r}from"./app-5f5ef0a9.js";const u={},h=e("h1",{id:"imousetargetunknown",tabindex:"-1"},[e("a",{class:"header-anchor",href:"#imousetargetunknown","aria-hidden":"true"},"#"),o(" IMouseTargetUnknown")],-1),_=e("code",null,"interface",-1),m={href:"https://microsoft.github.io/monaco-editor/docs.html#interfaces/editor.IMouseTargetUnknown.html",target:"_blank",rel:"noopener noreferrer"},f=r(' 属性 Properties
element
- 类型:
HTMLElement
- 默认值:
-
- 可选项:
-
- 描述:
与鼠标事件相关联的HTML元素。
mouseColumn
- 类型:
number
- 默认值:
-
- 可选项:
任何整数
- 描述:
所需的鼠标列(例如,当 position.column 被限制为文本长度时——在一行文本后单击)。
position
',6),p=e("li",null,[o("默认值: "),e("code",null,"-")],-1),g=e("li",null,[o("可选项: "),e("code",null,"-")],-1),k=e("li",null,[o("描述: "),e("code",null,"鼠标事件发生的位置。")],-1),x=e("h3",{id:"range",tabindex:"-1"},[e("a",{class:"header-anchor",href:"#range","aria-hidden":"true"},"#"),o(" range")],-1),b=e("li",null,[o("默认值: "),e("code",null,"-")],-1),w=e("li",null,[o("可选项: "),e("code",null,"-")],-1),N=e("li",null,[o("描述: "),e("code",null,"鼠标事件发生的范围。")],-1),T=e("h3",{id:"type",tabindex:"-1"},[e("a",{class:"header-anchor",href:"#type","aria-hidden":"true"},"#"),o(" type")],-1),I=e("li",null,[o("默认值: "),e("code",null,"-")],-1),L=e("li",null,[o("可选项: "),e("code",null,"-")],-1),M=e("li",null,[o("描述: "),e("code",null,"鼠标事件的类型。")],-1);function U(E,R){const a=i("ExternalLinkIcon"),l=i("RouterLink");return s(),c("div",null,[h,e("p",null,[_,o(),e("a",m,[o("官网地址"),n(a)])]),f,e("ul",null,[e("li",null,[o("类型: "),n(l,{to:"/global/classes/Position.html"},{default:t(()=>[o("Position")]),_:1})]),p,g,k]),x,e("ul",null,[e("li",null,[o("类型: "),n(l,{to:"/global/classes/Range.html"},{default:t(()=>[o("Range")]),_:1})]),b,w,N]),T,e("ul",null,[e("li",null,[o("类型: "),n(l,{to:"/editor/enumerations.html#unknown-0"},{default:t(()=>[o(" UNKNOWN")]),_:1})]),I,L,M])])}const y=d(u,[["render",U],["__file","IMouseTargetUnknown.html.vue"]]);export{y as default};
diff --git a/assets/IMouseTargetViewZone.html-b1e0282a.js b/assets/IMouseTargetViewZone.html-b1e0282a.js
new file mode 100644
index 00000000..4df041aa
--- /dev/null
+++ b/assets/IMouseTargetViewZone.html-b1e0282a.js
@@ -0,0 +1 @@
+const e=JSON.parse('{"key":"v-28bcad62","path":"/editor/interfaces/IMouseTargetViewZone.html","title":"IMouseTargetViewZone","lang":"zh-CN","frontmatter":{"description":"interface 官网地址 (https://microsoft.github.io/monaco-editor/docs.html#interfaces/editor.IMouseTargetViewZone.html) 属性 Properties detail 类型: IMouseTargetViewZoneData (IMouseTargetV...","head":[["meta",{"property":"og:url","content":"http://aydk.site/editor/interfaces/IMouseTargetViewZone.html"}],["meta",{"property":"og:site_name","content":"Monaco-editor 学习文档"}],["meta",{"property":"og:title","content":"IMouseTargetViewZone"}],["meta",{"property":"og:description","content":"interface 官网地址 (https://microsoft.github.io/monaco-editor/docs.html#interfaces/editor.IMouseTargetViewZone.html) 属性 Properties detail 类型: IMouseTargetViewZoneData (IMouseTargetV..."}],["meta",{"property":"og:type","content":"article"}],["meta",{"property":"og:locale","content":"zh-CN"}],["meta",{"property":"og:updated_time","content":"2023-06-16T20:04:45.000Z"}],["meta",{"property":"article:author","content":"aydk"}],["meta",{"property":"article:modified_time","content":"2023-06-16T20:04:45.000Z"}],["script",{"type":"application/ld+json"},"{\\"@context\\":\\"https://schema.org\\",\\"@type\\":\\"Article\\",\\"headline\\":\\"IMouseTargetViewZone\\",\\"image\\":[\\"\\"],\\"dateModified\\":\\"2023-06-16T20:04:45.000Z\\",\\"author\\":[{\\"@type\\":\\"Person\\",\\"name\\":\\"aydk\\"}]}"]]},"headers":[{"level":2,"title":"属性 Properties","slug":"属性-properties","link":"#属性-properties","children":[{"level":3,"title":"detail","slug":"detail","link":"#detail","children":[]},{"level":3,"title":"element","slug":"element","link":"#element","children":[]},{"level":3,"title":"mouseColumn","slug":"mousecolumn","link":"#mousecolumn","children":[]},{"level":3,"title":"position","slug":"position","link":"#position","children":[]},{"level":3,"title":"range","slug":"range","link":"#range","children":[]},{"level":3,"title":"type","slug":"type","link":"#type","children":[]}]}],"git":{"createdTime":1686945885000,"updatedTime":1686945885000,"contributors":[{"name":"xiaochaochao","email":"xiaochaochao","commits":1}]},"readingTime":{"minutes":0.59,"words":176},"filePathRelative":"editor/interfaces/IMouseTargetViewZone.md","localizedDate":"2023年6月16日","autoDesc":true}');export{e as data};
diff --git a/assets/IMouseTargetViewZone.html-c98f13fb.js b/assets/IMouseTargetViewZone.html-c98f13fb.js
new file mode 100644
index 00000000..2623672f
--- /dev/null
+++ b/assets/IMouseTargetViewZone.html-c98f13fb.js
@@ -0,0 +1 @@
+import{_ as d}from"./plugin-vue_export-helper-c27b6911.js";import{r as i,o as s,c,a as e,b as o,d as l,w as n,e as r}from"./app-5f5ef0a9.js";const u={},h=e("h1",{id:"imousetargetviewzone",tabindex:"-1"},[e("a",{class:"header-anchor",href:"#imousetargetviewzone","aria-hidden":"true"},"#"),o(" IMouseTargetViewZone")],-1),_=e("code",null,"interface",-1),m={href:"https://microsoft.github.io/monaco-editor/docs.html#interfaces/editor.IMouseTargetViewZone.html",target:"_blank",rel:"noopener noreferrer"},f=e("h2",{id:"属性-properties",tabindex:"-1"},[e("a",{class:"header-anchor",href:"#属性-properties","aria-hidden":"true"},"#"),o(" 属性 Properties")],-1),p=e("h3",{id:"detail",tabindex:"-1"},[e("a",{class:"header-anchor",href:"#detail","aria-hidden":"true"},"#"),o(" detail")],-1),g=e("code",null,"只读",-1),x=e("li",null,[o("默认值: "),e("code",null,"-")],-1),b=e("li",null,[o("可选项: "),e("code",null,"-")],-1),T=e("li",null,[o("描述: "),e("code",null,"关于鼠标事件的详细信息。")],-1),w=r(' element
- 类型:
HTMLElement
- 默认值:
-
- 可选项:
-
- 描述:
与鼠标事件相关联的HTML元素。
mouseColumn
- 类型:
number
- 默认值:
-
- 可选项:
任何整数
- 描述:
所需的鼠标列(例如,当 position.column 被限制为文本长度时——在一行文本后单击)。
position
',5),V=e("li",null,[o("默认值: "),e("code",null,"-")],-1),E=e("li",null,[o("可选项: "),e("code",null,"-")],-1),I=e("li",null,[o("描述: "),e("code",null,"鼠标事件发生的位置。")],-1),M=e("h3",{id:"range",tabindex:"-1"},[e("a",{class:"header-anchor",href:"#range","aria-hidden":"true"},"#"),o(" range")],-1),N=e("li",null,[o("默认值: "),e("code",null,"-")],-1),Z=e("li",null,[o("可选项: "),e("code",null,"-")],-1),k=e("li",null,[o("描述: "),e("code",null,"鼠标事件发生的范围。")],-1),v=e("h3",{id:"type",tabindex:"-1"},[e("a",{class:"header-anchor",href:"#type","aria-hidden":"true"},"#"),o(" type")],-1),L=e("li",null,[o("默认值: "),e("code",null,"-")],-1),R=e("li",null,[o("可选项: "),e("code",null,"-")],-1),z=e("li",null,[o("描述: "),e("code",null,"鼠标事件的类型。")],-1);function C(y,B){const a=i("ExternalLinkIcon"),t=i("RouterLink");return s(),c("div",null,[h,e("p",null,[_,o(),e("a",m,[o("官网地址"),l(a)])]),f,p,e("ul",null,[e("li",null,[o("类型: "),l(t,{to:"/editor/interfaces/IMouseTargetViewZoneData.html"},{default:n(()=>[o("IMouseTargetViewZoneData")]),_:1}),o(),g]),x,b,T]),w,e("ul",null,[e("li",null,[o("类型: "),l(t,{to:"/global/classes/Position.html"},{default:n(()=>[o("Position")]),_:1})]),V,E,I]),M,e("ul",null,[e("li",null,[o("类型: "),l(t,{to:"/global/classes/Range.html"},{default:n(()=>[o("Range")]),_:1})]),N,Z,k]),v,e("ul",null,[e("li",null,[o("类型: "),l(t,{to:"/editor/enumerations.html#gutter_view_zone-5"},{default:n(()=>[o("GUTTER_VIEW_ZONE")]),_:1}),o(" | "),l(t,{to:"/editor/enumerations.html#gutter_view_zone-5"},{default:n(()=>[o("CONTENT_VIEW_ZONE")]),_:1})]),L,R,z])])}const D=d(u,[["render",C],["__file","IMouseTargetViewZone.html.vue"]]);export{D as default};
diff --git a/assets/IMouseTargetViewZoneData.html-260ac0ca.js b/assets/IMouseTargetViewZoneData.html-260ac0ca.js
new file mode 100644
index 00000000..458a1692
--- /dev/null
+++ b/assets/IMouseTargetViewZoneData.html-260ac0ca.js
@@ -0,0 +1 @@
+import{_ as d}from"./plugin-vue_export-helper-c27b6911.js";import{r as l,o as r,c,a as e,b as o,d as i,w as n,e as a}from"./app-5f5ef0a9.js";const h={},u=e("h1",{id:"imousetargetviewzonedata",tabindex:"-1"},[e("a",{class:"header-anchor",href:"#imousetargetviewzonedata","aria-hidden":"true"},"#"),o(" IMouseTargetViewZoneData")],-1),_=e("code",null,"interface",-1),f={href:"https://microsoft.github.io/monaco-editor/docs.html#interfaces/editor.IMouseTargetViewZoneData.html",target:"_blank",rel:"noopener noreferrer"},p=a(' 属性 Properties
afterLineNumber
- 类型:
number
只读
- 默认值:
-
- 可选项:
-
- 描述:
视图区域后面的行号
position
',4),m=e("li",null,[o("默认值: "),e("code",null,"-")],-1),b=e("li",null,[o("可选项: "),e("code",null,"-")],-1),x=e("li",null,[o("描述: "),e("code",null,"鼠标事件发生视图区域的位置。")],-1),g=e("h3",{id:"positionafter",tabindex:"-1"},[e("a",{class:"header-anchor",href:"#positionafter","aria-hidden":"true"},"#"),o(" positionAfter")],-1),w=e("li",null,[o("默认值: "),e("code",null,"-")],-1),v=e("li",null,[o("可选项: "),e("code",null,"-")],-1),I=e("li",null,[o("描述: "),e("code",null,"鼠标事件发生的视图区域的前面")],-1),V=e("h3",{id:"positionbefore",tabindex:"-1"},[e("a",{class:"header-anchor",href:"#positionbefore","aria-hidden":"true"},"#"),o(" positionBefore")],-1),k=e("li",null,[o("默认值: "),e("code",null,"-")],-1),P=e("li",null,[o("可选项: "),e("code",null,"-")],-1),D=e("li",null,[o("描述: "),e("code",null,"鼠标事件发生的视图区域的后面。")],-1),M=a(' viewZoneId
- 类型:
string
只读
- 默认值:
-
- 可选项:
-
- 描述:
与鼠标事件相关联的视图区域的 ID。
',2);function L(N,T){const s=l("ExternalLinkIcon"),t=l("RouterLink");return r(),c("div",null,[u,e("p",null,[_,o(),e("a",f,[o("官网地址"),i(s)]),o(" 通常用于处理与视图区域相关的鼠标事件。可以使用 editor.onMouseDown 或 editor.onMouseUp 等事件来监听这些事件。")]),p,e("ul",null,[e("li",null,[o("类型: "),i(t,{to:"/global/classes/Position.html"},{default:n(()=>[o("Position")]),_:1})]),m,b,x]),g,e("ul",null,[e("li",null,[o("类型: "),i(t,{to:"/global/classes/Position.html"},{default:n(()=>[o("Position")]),_:1})]),w,v,I]),V,e("ul",null,[e("li",null,[o("类型: "),i(t,{to:"/global/classes/Position.html"},{default:n(()=>[o("Position")]),_:1})]),k,P,D]),M])}const B=d(h,[["render",L],["__file","IMouseTargetViewZoneData.html.vue"]]);export{B as default};
diff --git a/assets/IMouseTargetViewZoneData.html-8e484452.js b/assets/IMouseTargetViewZoneData.html-8e484452.js
new file mode 100644
index 00000000..8ceb90a4
--- /dev/null
+++ b/assets/IMouseTargetViewZoneData.html-8e484452.js
@@ -0,0 +1 @@
+const e=JSON.parse('{"key":"v-5404e8c5","path":"/editor/interfaces/IMouseTargetViewZoneData.html","title":"IMouseTargetViewZoneData","lang":"zh-CN","frontmatter":{"description":"interface 官网地址 (https://microsoft.github.io/monaco-editor/docs.html#interfaces/editor.IMouseTargetViewZoneData.html) 通常用于处理与视图区域相关的鼠标事件。可以使用 editor.onMouseDown 或 editor.onMouseU...","head":[["meta",{"property":"og:url","content":"http://aydk.site/editor/interfaces/IMouseTargetViewZoneData.html"}],["meta",{"property":"og:site_name","content":"Monaco-editor 学习文档"}],["meta",{"property":"og:title","content":"IMouseTargetViewZoneData"}],["meta",{"property":"og:description","content":"interface 官网地址 (https://microsoft.github.io/monaco-editor/docs.html#interfaces/editor.IMouseTargetViewZoneData.html) 通常用于处理与视图区域相关的鼠标事件。可以使用 editor.onMouseDown 或 editor.onMouseU..."}],["meta",{"property":"og:type","content":"article"}],["meta",{"property":"og:locale","content":"zh-CN"}],["meta",{"property":"og:updated_time","content":"2023-06-16T20:04:45.000Z"}],["meta",{"property":"article:author","content":"aydk"}],["meta",{"property":"article:modified_time","content":"2023-06-16T20:04:45.000Z"}],["script",{"type":"application/ld+json"},"{\\"@context\\":\\"https://schema.org\\",\\"@type\\":\\"Article\\",\\"headline\\":\\"IMouseTargetViewZoneData\\",\\"image\\":[\\"\\"],\\"dateModified\\":\\"2023-06-16T20:04:45.000Z\\",\\"author\\":[{\\"@type\\":\\"Person\\",\\"name\\":\\"aydk\\"}]}"]]},"headers":[{"level":2,"title":"属性 Properties","slug":"属性-properties","link":"#属性-properties","children":[{"level":3,"title":"afterLineNumber","slug":"afterlinenumber","link":"#afterlinenumber","children":[]},{"level":3,"title":"position","slug":"position","link":"#position","children":[]},{"level":3,"title":"positionAfter","slug":"positionafter","link":"#positionafter","children":[]},{"level":3,"title":"positionBefore","slug":"positionbefore","link":"#positionbefore","children":[]},{"level":3,"title":"viewZoneId","slug":"viewzoneid","link":"#viewzoneid","children":[]}]}],"git":{"createdTime":1686945885000,"updatedTime":1686945885000,"contributors":[{"name":"xiaochaochao","email":"xiaochaochao","commits":1}]},"readingTime":{"minutes":0.6,"words":180},"filePathRelative":"editor/interfaces/IMouseTargetViewZoneData.md","localizedDate":"2023年6月16日","autoDesc":true}');export{e as data};
diff --git a/assets/INewScrollPosition.html-1f7f8ae6.js b/assets/INewScrollPosition.html-1f7f8ae6.js
new file mode 100644
index 00000000..6433b263
--- /dev/null
+++ b/assets/INewScrollPosition.html-1f7f8ae6.js
@@ -0,0 +1 @@
+const t=JSON.parse('{"key":"v-9d977480","path":"/editor/interfaces/INewScrollPosition.html","title":"INewScrollPosition","lang":"zh-CN","frontmatter":{"description":"interface 官网地址 (https://microsoft.github.io/monaco-editor/docs.html#interfaces/editor.INewScrollPosition.html) 用于描述编辑器的滚动位置。 属性 Properties scrollLeft? 类型: number `可选; 默认值: -`; 可...","head":[["meta",{"property":"og:url","content":"http://aydk.site/editor/interfaces/INewScrollPosition.html"}],["meta",{"property":"og:site_name","content":"Monaco-editor 学习文档"}],["meta",{"property":"og:title","content":"INewScrollPosition"}],["meta",{"property":"og:description","content":"interface 官网地址 (https://microsoft.github.io/monaco-editor/docs.html#interfaces/editor.INewScrollPosition.html) 用于描述编辑器的滚动位置。 属性 Properties scrollLeft? 类型: number `可选; 默认值: -`; 可..."}],["meta",{"property":"og:type","content":"article"}],["meta",{"property":"og:locale","content":"zh-CN"}],["meta",{"property":"og:updated_time","content":"2023-06-16T20:04:45.000Z"}],["meta",{"property":"article:author","content":"aydk"}],["meta",{"property":"article:modified_time","content":"2023-06-16T20:04:45.000Z"}],["script",{"type":"application/ld+json"},"{\\"@context\\":\\"https://schema.org\\",\\"@type\\":\\"Article\\",\\"headline\\":\\"INewScrollPosition\\",\\"image\\":[\\"\\"],\\"dateModified\\":\\"2023-06-16T20:04:45.000Z\\",\\"author\\":[{\\"@type\\":\\"Person\\",\\"name\\":\\"aydk\\"}]}"]]},"headers":[{"level":2,"title":"属性 Properties","slug":"属性-properties","link":"#属性-properties","children":[{"level":3,"title":"scrollLeft?","slug":"scrollleft","link":"#scrollleft","children":[]},{"level":3,"title":"scrollTop?","slug":"scrolltop","link":"#scrolltop","children":[]}]}],"git":{"createdTime":1686945885000,"updatedTime":1686945885000,"contributors":[{"name":"xiaochaochao","email":"xiaochaochao","commits":1}]},"readingTime":{"minutes":0.22,"words":65},"filePathRelative":"editor/interfaces/INewScrollPosition.md","localizedDate":"2023年6月16日","autoDesc":true}');export{t as data};
diff --git a/assets/INewScrollPosition.html-9fff064e.js b/assets/INewScrollPosition.html-9fff064e.js
new file mode 100644
index 00000000..f2bbae92
--- /dev/null
+++ b/assets/INewScrollPosition.html-9fff064e.js
@@ -0,0 +1 @@
+import{_ as c}from"./plugin-vue_export-helper-c27b6911.js";import{r as l,o as i,c as t,a as e,b as o,d as a,e as d}from"./app-5f5ef0a9.js";const n={},s=e("h1",{id:"inewscrollposition",tabindex:"-1"},[e("a",{class:"header-anchor",href:"#inewscrollposition","aria-hidden":"true"},"#"),o(" INewScrollPosition")],-1),h=e("code",null,"interface",-1),_={href:"https://microsoft.github.io/monaco-editor/docs.html#interfaces/editor.INewScrollPosition.html",target:"_blank",rel:"noopener noreferrer"},f=d(' 属性 Properties
- 类型:
number
可选
- 默认值:
-
- 可选项:
-
- 描述:
水平滚动位置。
- 类型:
number
可选
- 默认值:
-
- 可选项:
-
- 描述:
垂直滚动位置。
',5);function p(u,m){const r=l("ExternalLinkIcon");return i(),t("div",null,[s,e("p",null,[h,o(),e("a",_,[o("官网地址"),a(r)]),o(" 用于描述编辑器的滚动位置。")]),f])}const N=c(n,[["render",p],["__file","INewScrollPosition.html.vue"]]);export{N as default};
diff --git a/assets/IOverlayWidget.html-2c363725.js b/assets/IOverlayWidget.html-2c363725.js
new file mode 100644
index 00000000..69212dae
--- /dev/null
+++ b/assets/IOverlayWidget.html-2c363725.js
@@ -0,0 +1 @@
+import{_ as n}from"./plugin-vue_export-helper-c27b6911.js";import{r as o,o as l,c as r,a as e,b as t,d as i,w as c,e as s}from"./app-5f5ef0a9.js";const h={},_=e("h1",{id:"ioverlaywidget",tabindex:"-1"},[e("a",{class:"header-anchor",href:"#ioverlaywidget","aria-hidden":"true"},"#"),t(" IOverlayWidget")],-1),u=e("code",null,"interface",-1),g={href:"https://microsoft.github.io/monaco-editor/docs.html#interfaces/editor.IOverlayWidget.html",target:"_blank",rel:"noopener noreferrer"},m=s('用于创建一个覆盖在编辑器上方的小部件。
方法 Methods
getDomNode
- 语法:
getDomNode(): HTMLElement
- 参数: ``
- 返回值:
-
- 描述:
获取小部件的 DOM 元素。
getId
- 语法:
getId(): string
- 参数: ``
- 返回值:
-
- 描述:
获取小部件的唯一标识符。
getPosition
',7),f=e("li",null,[t("语法: "),e("code",null,"getPosition(): IOverlayWidgetPosition")],-1),p=e("li",null,"参数: ``",-1),v=e("li",null,[t("描述: "),e("code",null,"获取小部件的位置。 ")],-1);function x(I,y){const d=o("ExternalLinkIcon"),a=o("RouterLink");return l(),r("div",null,[_,e("p",null,[u,t(),e("a",g,[t("官网地址"),i(d)])]),m,e("ul",null,[f,p,e("li",null,[t("返回值: "),i(a,{to:"/editor/interfaces/IOverlayWidgetPosition.html"},{default:c(()=>[t("IOverlayWidgetPosition")]),_:1})]),v])])}const k=n(h,[["render",x],["__file","IOverlayWidget.html.vue"]]);export{k as default};
diff --git a/assets/IOverlayWidget.html-4c03049a.js b/assets/IOverlayWidget.html-4c03049a.js
new file mode 100644
index 00000000..67635ebd
--- /dev/null
+++ b/assets/IOverlayWidget.html-4c03049a.js
@@ -0,0 +1 @@
+const e=JSON.parse('{"key":"v-184e1d22","path":"/editor/interfaces/IOverlayWidget.html","title":"IOverlayWidget","lang":"zh-CN","frontmatter":{"description":"interface 官网地址 (https://microsoft.github.io/monaco-editor/docs.html#interfaces/editor.IOverlayWidget.html) 用于创建一个覆盖在编辑器上方的小部件。 方法 Methods getDomNode 语法: getDomNode(): HTMLElemen...","head":[["meta",{"property":"og:url","content":"http://aydk.site/editor/interfaces/IOverlayWidget.html"}],["meta",{"property":"og:site_name","content":"Monaco-editor 学习文档"}],["meta",{"property":"og:title","content":"IOverlayWidget"}],["meta",{"property":"og:description","content":"interface 官网地址 (https://microsoft.github.io/monaco-editor/docs.html#interfaces/editor.IOverlayWidget.html) 用于创建一个覆盖在编辑器上方的小部件。 方法 Methods getDomNode 语法: getDomNode(): HTMLElemen..."}],["meta",{"property":"og:type","content":"article"}],["meta",{"property":"og:locale","content":"zh-CN"}],["meta",{"property":"og:updated_time","content":"2023-06-16T20:04:45.000Z"}],["meta",{"property":"article:author","content":"aydk"}],["meta",{"property":"article:modified_time","content":"2023-06-16T20:04:45.000Z"}],["script",{"type":"application/ld+json"},"{\\"@context\\":\\"https://schema.org\\",\\"@type\\":\\"Article\\",\\"headline\\":\\"IOverlayWidget\\",\\"image\\":[\\"\\"],\\"dateModified\\":\\"2023-06-16T20:04:45.000Z\\",\\"author\\":[{\\"@type\\":\\"Person\\",\\"name\\":\\"aydk\\"}]}"]]},"headers":[{"level":2,"title":"方法 Methods","slug":"方法-methods","link":"#方法-methods","children":[{"level":3,"title":"getDomNode","slug":"getdomnode","link":"#getdomnode","children":[]},{"level":3,"title":"getId","slug":"getid","link":"#getid","children":[]},{"level":3,"title":"getPosition","slug":"getposition","link":"#getposition","children":[]}]}],"git":{"createdTime":1686945885000,"updatedTime":1686945885000,"contributors":[{"name":"xiaochaochao","email":"xiaochaochao","commits":1}]},"readingTime":{"minutes":0.32,"words":97},"filePathRelative":"editor/interfaces/IOverlayWidget.md","localizedDate":"2023年6月16日","autoDesc":true}');export{e as data};
diff --git a/assets/IOverlayWidgetPosition.html-1bbd9bad.js b/assets/IOverlayWidgetPosition.html-1bbd9bad.js
new file mode 100644
index 00000000..8103f9fd
--- /dev/null
+++ b/assets/IOverlayWidgetPosition.html-1bbd9bad.js
@@ -0,0 +1 @@
+import{_ as s}from"./plugin-vue_export-helper-c27b6911.js";import{r as t,o as a,c as l,a as e,b as o,d as n,w as c}from"./app-5f5ef0a9.js";const d={},_=e("h1",{id:"ioverlaywidgetposition",tabindex:"-1"},[e("a",{class:"header-anchor",href:"#ioverlaywidgetposition","aria-hidden":"true"},"#"),o(" IOverlayWidgetPosition")],-1),h=e("code",null,"interface",-1),u={href:"https://microsoft.github.io/monaco-editor/docs.html#interfaces/editor.IOverlayWidgetPosition.html",target:"_blank",rel:"noopener noreferrer"},p=e("h2",{id:"属性-properties",tabindex:"-1"},[e("a",{class:"header-anchor",href:"#属性-properties","aria-hidden":"true"},"#"),o(" 属性 Properties")],-1),f=e("h3",{id:"preference",tabindex:"-1"},[e("a",{class:"header-anchor",href:"#preference","aria-hidden":"true"},"#"),o(" preference")],-1),m=e("code",null,"可选",-1),v=e("li",null,[o("默认值: "),e("code",null,"-")],-1),g=e("li",null,[o("可选项: "),e("code",null,"-")],-1),x=e("li",null,[o("描述: "),e("code",null,"覆盖小部件的位置首选项。")],-1);function y(k,P){const r=t("ExternalLinkIcon"),i=t("RouterLink");return a(),l("div",null,[_,e("p",null,[h,o(),e("a",u,[o("官网地址"),n(r)])]),p,f,e("ul",null,[e("li",null,[o("类型: "),n(i,{to:"/editor/enumerations.html#overlaywidgetpositionpreference"},{default:c(()=>[o("OverlayWidgetPositionPreference")]),_:1}),o(),m]),v,g,x])])}const w=s(d,[["render",y],["__file","IOverlayWidgetPosition.html.vue"]]);export{w as default};
diff --git a/assets/IOverlayWidgetPosition.html-9e523706.js b/assets/IOverlayWidgetPosition.html-9e523706.js
new file mode 100644
index 00000000..e2c1bc95
--- /dev/null
+++ b/assets/IOverlayWidgetPosition.html-9e523706.js
@@ -0,0 +1 @@
+const e=JSON.parse('{"key":"v-761ea70e","path":"/editor/interfaces/IOverlayWidgetPosition.html","title":"IOverlayWidgetPosition","lang":"zh-CN","frontmatter":{"description":"interface 官网地址 (https://microsoft.github.io/monaco-editor/docs.html#interfaces/editor.IOverlayWidgetPosition.html) 属性 Properties preference 类型: OverlayWidgetPositionPreference (...","head":[["meta",{"property":"og:url","content":"http://aydk.site/editor/interfaces/IOverlayWidgetPosition.html"}],["meta",{"property":"og:site_name","content":"Monaco-editor 学习文档"}],["meta",{"property":"og:title","content":"IOverlayWidgetPosition"}],["meta",{"property":"og:description","content":"interface 官网地址 (https://microsoft.github.io/monaco-editor/docs.html#interfaces/editor.IOverlayWidgetPosition.html) 属性 Properties preference 类型: OverlayWidgetPositionPreference (..."}],["meta",{"property":"og:type","content":"article"}],["meta",{"property":"og:locale","content":"zh-CN"}],["meta",{"property":"og:updated_time","content":"2023-06-16T20:04:45.000Z"}],["meta",{"property":"article:author","content":"aydk"}],["meta",{"property":"article:modified_time","content":"2023-06-16T20:04:45.000Z"}],["script",{"type":"application/ld+json"},"{\\"@context\\":\\"https://schema.org\\",\\"@type\\":\\"Article\\",\\"headline\\":\\"IOverlayWidgetPosition\\",\\"image\\":[\\"\\"],\\"dateModified\\":\\"2023-06-16T20:04:45.000Z\\",\\"author\\":[{\\"@type\\":\\"Person\\",\\"name\\":\\"aydk\\"}]}"]]},"headers":[{"level":2,"title":"属性 Properties","slug":"属性-properties","link":"#属性-properties","children":[{"level":3,"title":"preference","slug":"preference","link":"#preference","children":[]}]}],"git":{"createdTime":1686945885000,"updatedTime":1686945885000,"contributors":[{"name":"xiaochaochao","email":"xiaochaochao","commits":1}]},"readingTime":{"minutes":0.13,"words":40},"filePathRelative":"editor/interfaces/IOverlayWidgetPosition.md","localizedDate":"2023年6月16日","autoDesc":true}');export{e as data};
diff --git a/assets/IPartialEditorMouseEvent.html-dad1b82c.js b/assets/IPartialEditorMouseEvent.html-dad1b82c.js
new file mode 100644
index 00000000..86ff8907
--- /dev/null
+++ b/assets/IPartialEditorMouseEvent.html-dad1b82c.js
@@ -0,0 +1 @@
+const t=JSON.parse('{"key":"v-d74f21da","path":"/editor/interfaces/IPartialEditorMouseEvent.html","title":"IPartialEditorMouseEvent","lang":"zh-CN","frontmatter":{"description":"interface 官网地址 (https://microsoft.github.io/monaco-editor/docs.html#interfaces/editor.IPartialEditorMouseEvent.html) 属性 Properties event 类型: IMouseEvent (../../global/interfaces...","head":[["meta",{"property":"og:url","content":"http://aydk.site/editor/interfaces/IPartialEditorMouseEvent.html"}],["meta",{"property":"og:site_name","content":"Monaco-editor 学习文档"}],["meta",{"property":"og:title","content":"IPartialEditorMouseEvent"}],["meta",{"property":"og:description","content":"interface 官网地址 (https://microsoft.github.io/monaco-editor/docs.html#interfaces/editor.IPartialEditorMouseEvent.html) 属性 Properties event 类型: IMouseEvent (../../global/interfaces..."}],["meta",{"property":"og:type","content":"article"}],["meta",{"property":"og:locale","content":"zh-CN"}],["meta",{"property":"og:updated_time","content":"2023-06-16T20:04:45.000Z"}],["meta",{"property":"article:author","content":"aydk"}],["meta",{"property":"article:modified_time","content":"2023-06-16T20:04:45.000Z"}],["script",{"type":"application/ld+json"},"{\\"@context\\":\\"https://schema.org\\",\\"@type\\":\\"Article\\",\\"headline\\":\\"IPartialEditorMouseEvent\\",\\"image\\":[\\"\\"],\\"dateModified\\":\\"2023-06-16T20:04:45.000Z\\",\\"author\\":[{\\"@type\\":\\"Person\\",\\"name\\":\\"aydk\\"}]}"]]},"headers":[{"level":2,"title":"属性 Properties","slug":"属性-properties","link":"#属性-properties","children":[{"level":3,"title":"event","slug":"event","link":"#event","children":[]},{"level":3,"title":"target","slug":"target","link":"#target","children":[]}]}],"git":{"createdTime":1686945885000,"updatedTime":1686945885000,"contributors":[{"name":"xiaochaochao","email":"xiaochaochao","commits":1}]},"readingTime":{"minutes":0.15,"words":44},"filePathRelative":"editor/interfaces/IPartialEditorMouseEvent.md","localizedDate":"2023年6月16日","autoDesc":true}');export{t as data};
diff --git a/assets/IPartialEditorMouseEvent.html-f5d45af6.js b/assets/IPartialEditorMouseEvent.html-f5d45af6.js
new file mode 100644
index 00000000..9235b893
--- /dev/null
+++ b/assets/IPartialEditorMouseEvent.html-f5d45af6.js
@@ -0,0 +1 @@
+import{_ as i}from"./plugin-vue_export-helper-c27b6911.js";import{r,o as s,c as d,a as e,b as t,d as o,w as l}from"./app-5f5ef0a9.js";const c={},_=e("h1",{id:"ipartialeditormouseevent",tabindex:"-1"},[e("a",{class:"header-anchor",href:"#ipartialeditormouseevent","aria-hidden":"true"},"#"),t(" IPartialEditorMouseEvent")],-1),h=e("code",null,"interface",-1),u={href:"https://microsoft.github.io/monaco-editor/docs.html#interfaces/editor.IPartialEditorMouseEvent.html",target:"_blank",rel:"noopener noreferrer"},f=e("h2",{id:"属性-properties",tabindex:"-1"},[e("a",{class:"header-anchor",href:"#属性-properties","aria-hidden":"true"},"#"),t(" 属性 Properties")],-1),m=e("h3",{id:"event",tabindex:"-1"},[e("a",{class:"header-anchor",href:"#event","aria-hidden":"true"},"#"),t(" event")],-1),p=e("code",null,"只读",-1),v=e("li",null,[t("默认值: "),e("code",null,"-")],-1),E=e("li",null,[t("可选项: "),e("code",null,"-")],-1),x=e("li",null,"描述: ``",-1),I=e("h3",{id:"target",tabindex:"-1"},[e("a",{class:"header-anchor",href:"#target","aria-hidden":"true"},"#"),t(" target")],-1),b=e("code",null,"可选",-1),g=e("li",null,[t("默认值: "),e("code",null,"-")],-1),k=e("li",null,[t("可选项: "),e("code",null,"-")],-1),M=e("li",null,"描述: ``",-1);function P(L,B){const a=r("ExternalLinkIcon"),n=r("RouterLink");return s(),d("div",null,[_,e("p",null,[h,t(),e("a",u,[t("官网地址"),o(a)])]),f,m,e("ul",null,[e("li",null,[t("类型: "),o(n,{to:"/global/interfaces/IMouseEvent.html"},{default:l(()=>[t("IMouseEvent")]),_:1}),t(),p]),v,E,x]),I,e("ul",null,[e("li",null,[t("类型: "),o(n,{to:"/editor/aliase.html#imousetarget"},{default:l(()=>[t("IMouseTarget")]),_:1}),t(),b]),g,k,M])])}const w=i(c,[["render",P],["__file","IPartialEditorMouseEvent.html.vue"]]);export{w as default};
diff --git a/assets/IPasteAsOptions.html-1aa726cf.js b/assets/IPasteAsOptions.html-1aa726cf.js
new file mode 100644
index 00000000..50d0577a
--- /dev/null
+++ b/assets/IPasteAsOptions.html-1aa726cf.js
@@ -0,0 +1 @@
+import{_ as a}from"./plugin-vue_export-helper-c27b6911.js";import{r as s,o as r,c,a as e,b as o,d as i,e as d}from"./app-5f5ef0a9.js";const n={},l=e("h1",{id:"ipasteasoptions",tabindex:"-1"},[e("a",{class:"header-anchor",href:"#ipasteasoptions","aria-hidden":"true"},"#"),o(" IPasteAsOptions")],-1),h=e("code",null,"interface",-1),p={href:"https://microsoft.github.io/monaco-editor/docs.html#interfaces/editor.IPasteAsOptions.html",target:"_blank",rel:"noopener noreferrer"},_=d(' 属性 Properties
enabled?
- 类型:
boolean
可选
- 默认值:
true
- 可选项:
-
- 描述:
是否启用粘贴功能
showPasteSelector?
- 类型:
enum
可选
- 默认值:
afterPaste
- 可选项:
"never" | "afterPaste"
- 描述:
控制是否在粘贴之后显示粘贴的提示组件
',5);function u(f,m){const t=s("ExternalLinkIcon");return r(),c("div",null,[l,e("p",null,[h,o(),e("a",p,[o("官网地址"),i(t)])]),_])}const P=a(n,[["render",u],["__file","IPasteAsOptions.html.vue"]]);export{P as default};
diff --git a/assets/IPasteAsOptions.html-8e32a490.js b/assets/IPasteAsOptions.html-8e32a490.js
new file mode 100644
index 00000000..1b5c658e
--- /dev/null
+++ b/assets/IPasteAsOptions.html-8e32a490.js
@@ -0,0 +1 @@
+const e=JSON.parse('{"key":"v-098cb4e3","path":"/editor/interfaces/IPasteAsOptions.html","title":"IPasteAsOptions","lang":"zh-CN","frontmatter":{"description":"interface 官网地址 (https://microsoft.github.io/monaco-editor/docs.html#interfaces/editor.IPasteAsOptions.html) 属性 Properties enabled? 类型: boolean 可选; 默认值: true; 可选项: -; 描述: 是否启用粘贴功...","head":[["meta",{"property":"og:url","content":"http://aydk.site/editor/interfaces/IPasteAsOptions.html"}],["meta",{"property":"og:site_name","content":"Monaco-editor 学习文档"}],["meta",{"property":"og:title","content":"IPasteAsOptions"}],["meta",{"property":"og:description","content":"interface 官网地址 (https://microsoft.github.io/monaco-editor/docs.html#interfaces/editor.IPasteAsOptions.html) 属性 Properties enabled? 类型: boolean 可选; 默认值: true; 可选项: -; 描述: 是否启用粘贴功..."}],["meta",{"property":"og:type","content":"article"}],["meta",{"property":"og:locale","content":"zh-CN"}],["meta",{"property":"og:updated_time","content":"2023-06-16T20:04:45.000Z"}],["meta",{"property":"article:author","content":"aydk"}],["meta",{"property":"article:modified_time","content":"2023-06-16T20:04:45.000Z"}],["script",{"type":"application/ld+json"},"{\\"@context\\":\\"https://schema.org\\",\\"@type\\":\\"Article\\",\\"headline\\":\\"IPasteAsOptions\\",\\"image\\":[\\"\\"],\\"dateModified\\":\\"2023-06-16T20:04:45.000Z\\",\\"author\\":[{\\"@type\\":\\"Person\\",\\"name\\":\\"aydk\\"}]}"]]},"headers":[{"level":2,"title":"属性 Properties","slug":"属性-properties","link":"#属性-properties","children":[{"level":3,"title":"enabled?","slug":"enabled","link":"#enabled","children":[]},{"level":3,"title":"showPasteSelector?","slug":"showpasteselector","link":"#showpasteselector","children":[]}]}],"git":{"createdTime":1686945885000,"updatedTime":1686945885000,"contributors":[{"name":"xiaochaochao","email":"xiaochaochao","commits":1}]},"readingTime":{"minutes":0.24,"words":71},"filePathRelative":"editor/interfaces/IPasteAsOptions.md","localizedDate":"2023年6月16日","autoDesc":true}');export{e as data};
diff --git a/assets/IPasteEvent.html-697d70b1.js b/assets/IPasteEvent.html-697d70b1.js
new file mode 100644
index 00000000..80be3323
--- /dev/null
+++ b/assets/IPasteEvent.html-697d70b1.js
@@ -0,0 +1 @@
+const e=JSON.parse('{"key":"v-4730fc15","path":"/editor/interfaces/IPasteEvent.html","title":"IPasteEvent","lang":"zh-CN","frontmatter":{"description":"interface 官网地址 (https://microsoft.github.io/monaco-editor/docs.html#interfaces/editor.BracketPairColorizationOptions.html) 属性 Properties languageId 类型: 可选; 默认值: -; 可选项: -; 描述: 语...","head":[["meta",{"property":"og:url","content":"http://aydk.site/editor/interfaces/IPasteEvent.html"}],["meta",{"property":"og:site_name","content":"Monaco-editor 学习文档"}],["meta",{"property":"og:title","content":"IPasteEvent"}],["meta",{"property":"og:description","content":"interface 官网地址 (https://microsoft.github.io/monaco-editor/docs.html#interfaces/editor.BracketPairColorizationOptions.html) 属性 Properties languageId 类型: 可选; 默认值: -; 可选项: -; 描述: 语..."}],["meta",{"property":"og:type","content":"article"}],["meta",{"property":"og:locale","content":"zh-CN"}],["meta",{"property":"og:updated_time","content":"2023-06-16T20:04:45.000Z"}],["meta",{"property":"article:author","content":"aydk"}],["meta",{"property":"article:modified_time","content":"2023-06-16T20:04:45.000Z"}],["script",{"type":"application/ld+json"},"{\\"@context\\":\\"https://schema.org\\",\\"@type\\":\\"Article\\",\\"headline\\":\\"IPasteEvent\\",\\"image\\":[\\"\\"],\\"dateModified\\":\\"2023-06-16T20:04:45.000Z\\",\\"author\\":[{\\"@type\\":\\"Person\\",\\"name\\":\\"aydk\\"}]}"]]},"headers":[{"level":2,"title":"属性 Properties","slug":"属性-properties","link":"#属性-properties","children":[{"level":3,"title":"languageId","slug":"languageid","link":"#languageid","children":[]},{"level":3,"title":"range","slug":"range","link":"#range","children":[]}]}],"git":{"createdTime":1686945885000,"updatedTime":1686945885000,"contributors":[{"name":"xiaochaochao","email":"xiaochaochao","commits":1}]},"readingTime":{"minutes":0.14,"words":43},"filePathRelative":"editor/interfaces/IPasteEvent.md","localizedDate":"2023年6月16日","autoDesc":true}');export{e as data};
diff --git a/assets/IPasteEvent.html-81c20c87.js b/assets/IPasteEvent.html-81c20c87.js
new file mode 100644
index 00000000..ac8d03ee
--- /dev/null
+++ b/assets/IPasteEvent.html-81c20c87.js
@@ -0,0 +1 @@
+import{_ as i}from"./plugin-vue_export-helper-c27b6911.js";import{r as a,o as l,c,a as e,b as t,d as o,w as s,e as d}from"./app-5f5ef0a9.js";const h={},_=e("h1",{id:"ipasteevent",tabindex:"-1"},[e("a",{class:"header-anchor",href:"#ipasteevent","aria-hidden":"true"},"#"),t(" IPasteEvent")],-1),u=e("code",null,"interface",-1),p={href:"https://microsoft.github.io/monaco-editor/docs.html#interfaces/editor.BracketPairColorizationOptions.html",target:"_blank",rel:"noopener noreferrer"},f=d(' 属性 Properties
languageId
range
',4),m=e("code",null,"可选",-1),g=e("li",null,[t("默认值: "),e("code",null,"-")],-1),x=e("li",null,[t("可选项: "),e("code",null,"-")],-1),b=e("li",null,"描述: ``",-1);function k(v,E){const n=a("ExternalLinkIcon"),r=a("RouterLink");return l(),c("div",null,[_,e("p",null,[u,t(),e("a",p,[t("官网地址"),o(n)])]),f,e("ul",null,[e("li",null,[t("类型: "),o(r,{to:"/global/classes/Range.html"},{default:s(()=>[t("Range")]),_:1}),t(),m]),g,x,b])])}const B=i(h,[["render",k],["__file","IPasteEvent.html.vue"]]);export{B as default};
diff --git a/assets/IPosition.html-2edad693.js b/assets/IPosition.html-2edad693.js
new file mode 100644
index 00000000..73e4fed2
--- /dev/null
+++ b/assets/IPosition.html-2edad693.js
@@ -0,0 +1 @@
+const e=JSON.parse('{"key":"v-2a30a12e","path":"/global/interfaces/IPosition.html","title":"IPosition","lang":"zh-CN","frontmatter":{"description":"interface 官网地址 (https://microsoft.github.io/monaco-editor/docs.html#interfaces/IPosition.html) 参数 Properties column 类型: number 只读 ; 默认值: -; 可选项: -; 描述: 列; lineNumber 类型: number ...","head":[["meta",{"property":"og:url","content":"http://aydk.site/global/interfaces/IPosition.html"}],["meta",{"property":"og:site_name","content":"Monaco-editor 学习文档"}],["meta",{"property":"og:title","content":"IPosition"}],["meta",{"property":"og:description","content":"interface 官网地址 (https://microsoft.github.io/monaco-editor/docs.html#interfaces/IPosition.html) 参数 Properties column 类型: number 只读 ; 默认值: -; 可选项: -; 描述: 列; lineNumber 类型: number ..."}],["meta",{"property":"og:type","content":"article"}],["meta",{"property":"og:locale","content":"zh-CN"}],["meta",{"property":"og:updated_time","content":"2023-06-16T20:04:45.000Z"}],["meta",{"property":"article:author","content":"aydk"}],["meta",{"property":"article:modified_time","content":"2023-06-16T20:04:45.000Z"}],["script",{"type":"application/ld+json"},"{\\"@context\\":\\"https://schema.org\\",\\"@type\\":\\"Article\\",\\"headline\\":\\"IPosition\\",\\"image\\":[\\"\\"],\\"dateModified\\":\\"2023-06-16T20:04:45.000Z\\",\\"author\\":[{\\"@type\\":\\"Person\\",\\"name\\":\\"aydk\\"}]}"]]},"headers":[{"level":2,"title":"参数 Properties","slug":"参数-properties","link":"#参数-properties","children":[{"level":3,"title":"column","slug":"column","link":"#column","children":[]},{"level":3,"title":"lineNumber","slug":"linenumber","link":"#linenumber","children":[]}]}],"git":{"createdTime":1686945885000,"updatedTime":1686945885000,"contributors":[{"name":"xiaochaochao","email":"xiaochaochao","commits":1}]},"readingTime":{"minutes":0.15,"words":44},"filePathRelative":"global/interfaces/IPosition.md","localizedDate":"2023年6月16日","autoDesc":true}');export{e as data};
diff --git a/assets/IPosition.html-53d7cbea.js b/assets/IPosition.html-53d7cbea.js
new file mode 100644
index 00000000..1abfef0a
--- /dev/null
+++ b/assets/IPosition.html-53d7cbea.js
@@ -0,0 +1 @@
+import{_ as r}from"./plugin-vue_export-helper-c27b6911.js";import{r as c,o as n,c as t,a as e,b as o,d as a,e as d}from"./app-5f5ef0a9.js";const l={},s=e("h1",{id:"iposition",tabindex:"-1"},[e("a",{class:"header-anchor",href:"#iposition","aria-hidden":"true"},"#"),o(" IPosition")],-1),h=e("code",null,"interface",-1),u={href:"https://microsoft.github.io/monaco-editor/docs.html#interfaces/IPosition.html",target:"_blank",rel:"noopener noreferrer"},_=d(' 参数 Properties
column
- 类型:
number
只读
- 默认值:
-
- 可选项:
-
- 描述:
列
lineNumber
- 类型:
number
只读
- 默认值:
-
- 可选项:
-
- 描述:
行号
',5);function m(f,p){const i=c("ExternalLinkIcon");return n(),t("div",null,[s,e("p",null,[h,o(),e("a",u,[o("官网地址"),a(i)])]),_])}const I=r(l,[["render",m],["__file","IPosition.html.vue"]]);export{I as default};
diff --git a/assets/IQuickSuggestionsOptions.html-5a14cac0.js b/assets/IQuickSuggestionsOptions.html-5a14cac0.js
new file mode 100644
index 00000000..5f3b80ef
--- /dev/null
+++ b/assets/IQuickSuggestionsOptions.html-5a14cac0.js
@@ -0,0 +1 @@
+import{_ as c}from"./plugin-vue_export-helper-c27b6911.js";import{r as i,o as a,c as u,a as e,b as o,d as t,w as s}from"./app-5f5ef0a9.js";const d={},r=e("h1",{id:"iquicksuggestionsoptions",tabindex:"-1"},[e("a",{class:"header-anchor",href:"#iquicksuggestionsoptions","aria-hidden":"true"},"#"),o(" IQuickSuggestionsOptions")],-1),_=e("code",null,"interface",-1),h={href:"https://microsoft.github.io/monaco-editor/docs.html#interfaces/editor.IQuickSuggestionsOptions.html",target:"_blank",rel:"noopener noreferrer"},g=e("h2",{id:"参数-properties",tabindex:"-1"},[e("a",{class:"header-anchor",href:"#参数-properties","aria-hidden":"true"},"#"),o(" 参数 Properties")],-1),m=e("h3",{id:"comments",tabindex:"-1"},[e("a",{class:"header-anchor",href:"#comments","aria-hidden":"true"},"#"),o(" comments?")],-1),p=e("code",null,"boolean",-1),f=e("code",null,"可选",-1),k=e("li",null,[o("默认值: "),e("code",null,"-")],-1),x=e("li",null,[o("可选项: "),e("code",null,"-")],-1),b=e("li",null,"描述: ``",-1),Q=e("h3",{id:"other",tabindex:"-1"},[e("a",{class:"header-anchor",href:"#other","aria-hidden":"true"},"#"),o(" other?")],-1),S=e("code",null,"boolean",-1),v=e("code",null,"可选",-1),I=e("li",null,[o("默认值: "),e("code",null,"-")],-1),V=e("li",null,[o("可选项: "),e("code",null,"-")],-1),q=e("li",null,"描述: ``",-1),L=e("h3",{id:"strings",tabindex:"-1"},[e("a",{class:"header-anchor",href:"#strings","aria-hidden":"true"},"#"),o(" strings?")],-1),O=e("code",null,"boolean",-1),B=e("code",null,"可选",-1),E=e("li",null,[o("默认值: "),e("code",null,"-")],-1),N=e("li",null,[o("可选项: "),e("code",null,"-")],-1),w=e("li",null,"描述: ``",-1);function C(R,P){const l=i("ExternalLinkIcon"),n=i("RouterLink");return a(),u("div",null,[r,e("p",null,[_,o(),e("a",h,[o("官网地址"),t(l)]),o(" 快速建议配置")]),g,m,e("ul",null,[e("li",null,[o("类型: "),p,o(" | "),t(n,{to:"/editor/aliase.html#quicksuggestionsvalue"},{default:s(()=>[o("QuickSuggestionsValue")]),_:1}),o(),f]),k,x,b]),Q,e("ul",null,[e("li",null,[o("类型: "),S,o(" | "),t(n,{to:"/editor/aliase.html#quicksuggestionsvalue"},{default:s(()=>[o("QuickSuggestionsValue")]),_:1}),o(),v]),I,V,q]),L,e("ul",null,[e("li",null,[o("类型: "),O,o(" | "),t(n,{to:"/editor/aliase.html#quicksuggestionsvalue"},{default:s(()=>[o("QuickSuggestionsValue")]),_:1}),o(),B]),E,N,w])])}const y=c(d,[["render",C],["__file","IQuickSuggestionsOptions.html.vue"]]);export{y as default};
diff --git a/assets/IQuickSuggestionsOptions.html-f5cbf30c.js b/assets/IQuickSuggestionsOptions.html-f5cbf30c.js
new file mode 100644
index 00000000..85c4a956
--- /dev/null
+++ b/assets/IQuickSuggestionsOptions.html-f5cbf30c.js
@@ -0,0 +1 @@
+const t=JSON.parse('{"key":"v-8df9f9cc","path":"/editor/interfaces/IQuickSuggestionsOptions.html","title":"IQuickSuggestionsOptions","lang":"zh-CN","frontmatter":{"description":"interface 官网地址 (https://microsoft.github.io/monaco-editor/docs.html#interfaces/editor.IQuickSuggestionsOptions.html) 快速建议配置 参数 Properties comments? 类型: boolean | QuickSuggestion...","head":[["meta",{"property":"og:url","content":"http://aydk.site/editor/interfaces/IQuickSuggestionsOptions.html"}],["meta",{"property":"og:site_name","content":"Monaco-editor 学习文档"}],["meta",{"property":"og:title","content":"IQuickSuggestionsOptions"}],["meta",{"property":"og:description","content":"interface 官网地址 (https://microsoft.github.io/monaco-editor/docs.html#interfaces/editor.IQuickSuggestionsOptions.html) 快速建议配置 参数 Properties comments? 类型: boolean | QuickSuggestion..."}],["meta",{"property":"og:type","content":"article"}],["meta",{"property":"og:locale","content":"zh-CN"}],["meta",{"property":"og:updated_time","content":"2023-06-16T20:04:45.000Z"}],["meta",{"property":"article:author","content":"aydk"}],["meta",{"property":"article:modified_time","content":"2023-06-16T20:04:45.000Z"}],["script",{"type":"application/ld+json"},"{\\"@context\\":\\"https://schema.org\\",\\"@type\\":\\"Article\\",\\"headline\\":\\"IQuickSuggestionsOptions\\",\\"image\\":[\\"\\"],\\"dateModified\\":\\"2023-06-16T20:04:45.000Z\\",\\"author\\":[{\\"@type\\":\\"Person\\",\\"name\\":\\"aydk\\"}]}"]]},"headers":[{"level":2,"title":"参数 Properties","slug":"参数-properties","link":"#参数-properties","children":[{"level":3,"title":"comments?","slug":"comments","link":"#comments","children":[]},{"level":3,"title":"other?","slug":"other","link":"#other","children":[]},{"level":3,"title":"strings?","slug":"strings","link":"#strings","children":[]}]}],"git":{"createdTime":1686945885000,"updatedTime":1686945885000,"contributors":[{"name":"xiaochaochao","email":"xiaochaochao","commits":1}]},"readingTime":{"minutes":0.23,"words":70},"filePathRelative":"editor/interfaces/IQuickSuggestionsOptions.md","localizedDate":"2023年6月16日","autoDesc":true}');export{t as data};
diff --git a/assets/IRange.html-42f9700d.js b/assets/IRange.html-42f9700d.js
new file mode 100644
index 00000000..fce30dc6
--- /dev/null
+++ b/assets/IRange.html-42f9700d.js
@@ -0,0 +1 @@
+const e=JSON.parse('{"key":"v-7b01ee43","path":"/global/interfaces/IRange.html","title":"IRange","lang":"zh-CN","frontmatter":{"description":"interface 官网地址 (https://microsoft.github.io/monaco-editor/typedoc/interfaces/IRange.html) 参数 Properties endColumn 类型: number 只读 ; 默认值: -; 可选项: -; 描述: 结束列; endLineNumber 类型: numb...","head":[["meta",{"property":"og:url","content":"http://aydk.site/global/interfaces/IRange.html"}],["meta",{"property":"og:site_name","content":"Monaco-editor 学习文档"}],["meta",{"property":"og:title","content":"IRange"}],["meta",{"property":"og:description","content":"interface 官网地址 (https://microsoft.github.io/monaco-editor/typedoc/interfaces/IRange.html) 参数 Properties endColumn 类型: number 只读 ; 默认值: -; 可选项: -; 描述: 结束列; endLineNumber 类型: numb..."}],["meta",{"property":"og:type","content":"article"}],["meta",{"property":"og:locale","content":"zh-CN"}],["meta",{"property":"og:updated_time","content":"2023-06-16T20:04:45.000Z"}],["meta",{"property":"article:author","content":"aydk"}],["meta",{"property":"article:modified_time","content":"2023-06-16T20:04:45.000Z"}],["script",{"type":"application/ld+json"},"{\\"@context\\":\\"https://schema.org\\",\\"@type\\":\\"Article\\",\\"headline\\":\\"IRange\\",\\"image\\":[\\"\\"],\\"dateModified\\":\\"2023-06-16T20:04:45.000Z\\",\\"author\\":[{\\"@type\\":\\"Person\\",\\"name\\":\\"aydk\\"}]}"]]},"headers":[{"level":2,"title":"参数 Properties","slug":"参数-properties","link":"#参数-properties","children":[{"level":3,"title":"endColumn","slug":"endcolumn","link":"#endcolumn","children":[]},{"level":3,"title":"endLineNumber","slug":"endlinenumber","link":"#endlinenumber","children":[]},{"level":3,"title":"startColumn","slug":"startcolumn","link":"#startcolumn","children":[]},{"level":3,"title":"startLineNumber","slug":"startlinenumber","link":"#startlinenumber","children":[]}]}],"git":{"createdTime":1686945885000,"updatedTime":1686945885000,"contributors":[{"name":"xiaochaochao","email":"xiaochaochao","commits":1}]},"readingTime":{"minutes":0.27,"words":80},"filePathRelative":"global/interfaces/IRange.md","localizedDate":"2023年6月16日","autoDesc":true}');export{e as data};
diff --git a/assets/IRange.html-7607ec9c.js b/assets/IRange.html-7607ec9c.js
new file mode 100644
index 00000000..beeb89ad
--- /dev/null
+++ b/assets/IRange.html-7607ec9c.js
@@ -0,0 +1 @@
+import{_ as c}from"./plugin-vue_export-helper-c27b6911.js";import{r as a,o as r,c as i,a as e,b as o,d as n,e as l}from"./app-5f5ef0a9.js";const t={},s=e("h1",{id:"irange",tabindex:"-1"},[e("a",{class:"header-anchor",href:"#irange","aria-hidden":"true"},"#"),o(" IRange")],-1),h=e("code",null,"interface",-1),u={href:"https://microsoft.github.io/monaco-editor/typedoc/interfaces/IRange.html",target:"_blank",rel:"noopener noreferrer"},m=l(' 参数 Properties
endColumn
- 类型:
number
只读
- 默认值:
-
- 可选项:
-
- 描述:
结束列
endLineNumber
- 类型:
number
只读
- 默认值:
-
- 可选项:
-
- 描述:
结束行
startColumn
- 类型:
number
只读
- 默认值:
-
- 可选项:
-
- 描述:
开始列
startLineNumber
- 类型:
number
只读
- 默认值:
-
- 可选项:
-
- 描述:
开始行
',9);function _(b,f){const d=a("ExternalLinkIcon");return r(),i("div",null,[s,e("p",null,[h,o(),e("a",u,[o("官网地址"),n(d)])]),m])}const g=c(t,[["render",_],["__file","IRange.html.vue"]]);export{g as default};
diff --git a/assets/IRelatedInformation.html-688d6c00.js b/assets/IRelatedInformation.html-688d6c00.js
new file mode 100644
index 00000000..0b154c94
--- /dev/null
+++ b/assets/IRelatedInformation.html-688d6c00.js
@@ -0,0 +1 @@
+const e=JSON.parse('{"key":"v-1a6105ca","path":"/editor/interfaces/IRelatedInformation.html","title":"IRelatedInformation","lang":"zh-CN","frontmatter":{"description":"interface 官网地址 (https://microsoft.github.io/monaco-editor/docs.html#interfaces/editor.IRelatedInformation.html) 属性 Properties ### endColumn 类型: number ; 默认值: - ; 可选项: - ; 描述: 关联...","head":[["meta",{"property":"og:url","content":"http://aydk.site/editor/interfaces/IRelatedInformation.html"}],["meta",{"property":"og:site_name","content":"Monaco-editor 学习文档"}],["meta",{"property":"og:title","content":"IRelatedInformation"}],["meta",{"property":"og:description","content":"interface 官网地址 (https://microsoft.github.io/monaco-editor/docs.html#interfaces/editor.IRelatedInformation.html) 属性 Properties ### endColumn 类型: number ; 默认值: - ; 可选项: - ; 描述: 关联..."}],["meta",{"property":"og:type","content":"article"}],["meta",{"property":"og:locale","content":"zh-CN"}],["meta",{"property":"og:updated_time","content":"2023-06-16T20:04:45.000Z"}],["meta",{"property":"article:author","content":"aydk"}],["meta",{"property":"article:modified_time","content":"2023-06-16T20:04:45.000Z"}],["script",{"type":"application/ld+json"},"{\\"@context\\":\\"https://schema.org\\",\\"@type\\":\\"Article\\",\\"headline\\":\\"IRelatedInformation\\",\\"image\\":[\\"\\"],\\"dateModified\\":\\"2023-06-16T20:04:45.000Z\\",\\"author\\":[{\\"@type\\":\\"Person\\",\\"name\\":\\"aydk\\"}]}"]]},"headers":[{"level":2,"title":"属性 Properties","slug":"属性-properties","link":"#属性-properties","children":[{"level":3,"title":"endColumn","slug":"endcolumn","link":"#endcolumn","children":[]},{"level":3,"title":"endLineNumber","slug":"endlinenumber","link":"#endlinenumber","children":[]},{"level":3,"title":"message","slug":"message","link":"#message","children":[]},{"level":3,"title":"resource","slug":"resource","link":"#resource","children":[]},{"level":3,"title":"startColumn","slug":"startcolumn","link":"#startcolumn","children":[]},{"level":3,"title":"startLineNumber","slug":"startlinenumber","link":"#startlinenumber","children":[]}]}],"git":{"createdTime":1686945885000,"updatedTime":1686945885000,"contributors":[{"name":"xiaochaochao","email":"xiaochaochao","commits":1}]},"readingTime":{"minutes":0.47,"words":141},"filePathRelative":"editor/interfaces/IRelatedInformation.md","localizedDate":"2023年6月16日","autoDesc":true}');export{e as data};
diff --git a/assets/IRelatedInformation.html-b3d8de62.js b/assets/IRelatedInformation.html-b3d8de62.js
new file mode 100644
index 00000000..9c2bec2c
--- /dev/null
+++ b/assets/IRelatedInformation.html-b3d8de62.js
@@ -0,0 +1 @@
+import{_ as r}from"./plugin-vue_export-helper-c27b6911.js";import{r as i,o as t,c,a as e,b as o,d as l,w as s,e as d}from"./app-5f5ef0a9.js";const h={},u=e("h1",{id:"irelatedinformation",tabindex:"-1"},[e("a",{class:"header-anchor",href:"#irelatedinformation","aria-hidden":"true"},"#"),o(" IRelatedInformation")],-1),m=e("code",null,"interface",-1),_={href:"https://microsoft.github.io/monaco-editor/docs.html#interfaces/editor.IRelatedInformation.html",target:"_blank",rel:"noopener noreferrer"},f=d(' 属性 Properties
endColumn
- 类型:
number
- 默认值:
-
- 可选项:
-
- 描述:
关联信息结束的列数。
endLineNumber
- 类型:
number
- 默认值:
-
- 可选项:
-
- 描述:
关联信息结束的行数。
message
- 类型:
string
- 默认值:
-
- 可选项:
-
- 描述:
关联信息的详细描述。
resource
',8),b=e("li",null,[o("默认值: "),e("code",null,"-")],-1),p=e("li",null,[o("可选项: "),e("code",null,"-")],-1),x=e("li",null,[o("描述: "),e("code",null,"关联信息所在的资源 URI。")],-1),I=d(' startColumn
- 类型:
number
- 默认值:
-
- 可选项:
-
- 描述:
关联信息开始的列数。
startLineNumber
- 类型:
number
- 默认值:
-
- 可选项:
-
- 描述:
关联信息开始的行数。
',4);function g(k,R){const a=i("ExternalLinkIcon"),n=i("RouterLink");return t(),c("div",null,[u,e("p",null,[m,o(),e("a",_,[o("官网地址"),l(a)])]),f,e("ul",null,[e("li",null,[o("类型: "),l(n,{to:"/global/classes/Url.html"},{default:s(()=>[o("Uri")]),_:1})]),b,p,x]),I])}const C=r(h,[["render",g],["__file","IRelatedInformation.html.vue"]]);export{C as default};
diff --git a/assets/IRelativePattern.html-0b65827b.js b/assets/IRelativePattern.html-0b65827b.js
new file mode 100644
index 00000000..cd8c4cb3
--- /dev/null
+++ b/assets/IRelativePattern.html-0b65827b.js
@@ -0,0 +1 @@
+import{_ as a}from"./plugin-vue_export-helper-c27b6911.js";import{r as o,o as n,c as s,a as e,b as t,d as i}from"./app-5f5ef0a9.js";const c={},d=e("h1",{id:"irelativepattern",tabindex:"-1"},[e("a",{class:"header-anchor",href:"#irelativepattern","aria-hidden":"true"},"#"),t(" IRelativePattern")],-1),h=e("code",null,"interface",-1),l={href:"https://microsoft.github.io/monaco-editor/docs.html#interfaces/languages.IRelativePattern.html",target:"_blank",rel:"noopener noreferrer"},_=e("h2",{id:"属性-properties",tabindex:"-1"},[e("a",{class:"header-anchor",href:"#属性-properties","aria-hidden":"true"},"#"),t(" 属性 Properties")],-1),p=e("h2",{id:"方法-methods",tabindex:"-1"},[e("a",{class:"header-anchor",href:"#方法-methods","aria-hidden":"true"},"#"),t(" 方法 Methods")],-1);function f(m,u){const r=o("ExternalLinkIcon");return n(),s("div",null,[d,e("p",null,[h,t(),e("a",l,[t("官网地址"),i(r)])]),_,p])}const b=a(c,[["render",f],["__file","IRelativePattern.html.vue"]]);export{b as default};
diff --git a/assets/IRelativePattern.html-3bf48ebb.js b/assets/IRelativePattern.html-3bf48ebb.js
new file mode 100644
index 00000000..38d3fee4
--- /dev/null
+++ b/assets/IRelativePattern.html-3bf48ebb.js
@@ -0,0 +1 @@
+const e=JSON.parse('{"key":"v-1acf55b2","path":"/language/interfaces/IRelativePattern.html","title":"IRelativePattern","lang":"zh-CN","frontmatter":{"description":"interface 官网地址 (https://microsoft.github.io/monaco-editor/docs.html#interfaces/languages.IRelativePattern.html) 属性 Properties 方法 Methods","head":[["meta",{"property":"og:url","content":"http://aydk.site/language/interfaces/IRelativePattern.html"}],["meta",{"property":"og:site_name","content":"Monaco-editor 学习文档"}],["meta",{"property":"og:title","content":"IRelativePattern"}],["meta",{"property":"og:description","content":"interface 官网地址 (https://microsoft.github.io/monaco-editor/docs.html#interfaces/languages.IRelativePattern.html) 属性 Properties 方法 Methods"}],["meta",{"property":"og:type","content":"article"}],["meta",{"property":"og:locale","content":"zh-CN"}],["meta",{"property":"og:updated_time","content":"2023-06-16T19:55:24.000Z"}],["meta",{"property":"article:author","content":"aydk"}],["meta",{"property":"article:modified_time","content":"2023-06-16T19:55:24.000Z"}],["script",{"type":"application/ld+json"},"{\\"@context\\":\\"https://schema.org\\",\\"@type\\":\\"Article\\",\\"headline\\":\\"IRelativePattern\\",\\"image\\":[\\"\\"],\\"dateModified\\":\\"2023-06-16T19:55:24.000Z\\",\\"author\\":[{\\"@type\\":\\"Person\\",\\"name\\":\\"aydk\\"}]}"]]},"headers":[{"level":2,"title":"属性 Properties","slug":"属性-properties","link":"#属性-properties","children":[]},{"level":2,"title":"方法 Methods","slug":"方法-methods","link":"#方法-methods","children":[]}],"git":{"createdTime":1686945324000,"updatedTime":1686945324000,"contributors":[{"name":"xiaochaochao","email":"xiaochaochao","commits":1}]},"readingTime":{"minutes":0.05,"words":16},"filePathRelative":"language/interfaces/IRelativePattern.md","localizedDate":"2023年6月16日","autoDesc":true}');export{e as data};
diff --git a/assets/IRulerOption.html-3da50826.js b/assets/IRulerOption.html-3da50826.js
new file mode 100644
index 00000000..d515fe58
--- /dev/null
+++ b/assets/IRulerOption.html-3da50826.js
@@ -0,0 +1 @@
+const t=JSON.parse('{"key":"v-745d4f2a","path":"/editor/interfaces/IRulerOption.html","title":"IRulerOption","lang":"zh-CN","frontmatter":{"description":"interface 官网地址 (https://microsoft.github.io/monaco-editor/docs.html#interfaces/editor.IRulerOption.html) 参数 Properties color 类型: string 只读; 描述: ; column 类型: number 只读; 描述: ;","head":[["meta",{"property":"og:url","content":"http://aydk.site/editor/interfaces/IRulerOption.html"}],["meta",{"property":"og:site_name","content":"Monaco-editor 学习文档"}],["meta",{"property":"og:title","content":"IRulerOption"}],["meta",{"property":"og:description","content":"interface 官网地址 (https://microsoft.github.io/monaco-editor/docs.html#interfaces/editor.IRulerOption.html) 参数 Properties color 类型: string 只读; 描述: ; column 类型: number 只读; 描述: ;"}],["meta",{"property":"og:type","content":"article"}],["meta",{"property":"og:locale","content":"zh-CN"}],["meta",{"property":"og:updated_time","content":"2023-06-16T20:04:45.000Z"}],["meta",{"property":"article:author","content":"aydk"}],["meta",{"property":"article:modified_time","content":"2023-06-16T20:04:45.000Z"}],["script",{"type":"application/ld+json"},"{\\"@context\\":\\"https://schema.org\\",\\"@type\\":\\"Article\\",\\"headline\\":\\"IRulerOption\\",\\"image\\":[\\"\\"],\\"dateModified\\":\\"2023-06-16T20:04:45.000Z\\",\\"author\\":[{\\"@type\\":\\"Person\\",\\"name\\":\\"aydk\\"}]}"]]},"headers":[{"level":2,"title":"参数 Properties","slug":"参数-properties","link":"#参数-properties","children":[{"level":3,"title":"color","slug":"color","link":"#color","children":[]},{"level":3,"title":"column","slug":"column","link":"#column","children":[]}]}],"git":{"createdTime":1686945885000,"updatedTime":1686945885000,"contributors":[{"name":"xiaochaochao","email":"xiaochaochao","commits":1}]},"readingTime":{"minutes":0.1,"words":29},"filePathRelative":"editor/interfaces/IRulerOption.md","localizedDate":"2023年6月16日","autoDesc":true}');export{t as data};
diff --git a/assets/IRulerOption.html-bbd36596.js b/assets/IRulerOption.html-bbd36596.js
new file mode 100644
index 00000000..d052da9b
--- /dev/null
+++ b/assets/IRulerOption.html-bbd36596.js
@@ -0,0 +1 @@
+import{_ as t}from"./plugin-vue_export-helper-c27b6911.js";import{r as a,o as n,c as i,a as e,b as o,d as c,e as l}from"./app-5f5ef0a9.js";const d={},s=e("h1",{id:"iruleroption",tabindex:"-1"},[e("a",{class:"header-anchor",href:"#iruleroption","aria-hidden":"true"},"#"),o(" IRulerOption")],-1),h=e("code",null,"interface",-1),u={href:"https://microsoft.github.io/monaco-editor/docs.html#interfaces/editor.IRulerOption.html",target:"_blank",rel:"noopener noreferrer"},_=l(' 参数 Properties
color
column
',5);function p(m,f){const r=a("ExternalLinkIcon");return n(),i("div",null,[s,e("p",null,[h,o(),e("a",u,[o("官网地址"),c(r)])]),_])}const I=t(d,[["render",p],["__file","IRulerOption.html.vue"]]);export{I as default};
diff --git a/assets/IScrollEvent.html-0738d7e9.js b/assets/IScrollEvent.html-0738d7e9.js
new file mode 100644
index 00000000..1233cba3
--- /dev/null
+++ b/assets/IScrollEvent.html-0738d7e9.js
@@ -0,0 +1 @@
+const e=JSON.parse('{"key":"v-34c6a71a","path":"/global/interfaces/IScrollEvent.html","title":"IScrollEvent","lang":"zh-CN","frontmatter":{"description":"interface 官网地址 (https://microsoft.github.io/monaco-editor/typedoc/interfaces/IScrollEvent.html) 参数 Properties scrollHeight 类型: number 只读 ; 默认值: -; 可选项: -; 描述: 结束列; scrollHeightC...","head":[["meta",{"property":"og:url","content":"http://aydk.site/global/interfaces/IScrollEvent.html"}],["meta",{"property":"og:site_name","content":"Monaco-editor 学习文档"}],["meta",{"property":"og:title","content":"IScrollEvent"}],["meta",{"property":"og:description","content":"interface 官网地址 (https://microsoft.github.io/monaco-editor/typedoc/interfaces/IScrollEvent.html) 参数 Properties scrollHeight 类型: number 只读 ; 默认值: -; 可选项: -; 描述: 结束列; scrollHeightC..."}],["meta",{"property":"og:type","content":"article"}],["meta",{"property":"og:locale","content":"zh-CN"}],["meta",{"property":"og:updated_time","content":"2023-12-17T17:13:50.000Z"}],["meta",{"property":"article:author","content":"aydk"}],["meta",{"property":"article:modified_time","content":"2023-12-17T17:13:50.000Z"}],["script",{"type":"application/ld+json"},"{\\"@context\\":\\"https://schema.org\\",\\"@type\\":\\"Article\\",\\"headline\\":\\"IScrollEvent\\",\\"image\\":[\\"\\"],\\"dateModified\\":\\"2023-12-17T17:13:50.000Z\\",\\"author\\":[{\\"@type\\":\\"Person\\",\\"name\\":\\"aydk\\"}]}"]]},"headers":[{"level":2,"title":"参数 Properties","slug":"参数-properties","link":"#参数-properties","children":[{"level":3,"title":"scrollHeight","slug":"scrollheight","link":"#scrollheight","children":[]},{"level":3,"title":"scrollHeightChanged","slug":"scrollheightchanged","link":"#scrollheightchanged","children":[]},{"level":3,"title":"scrollLeft","slug":"scrollleft","link":"#scrollleft","children":[]},{"level":3,"title":"scrollLeftChanged","slug":"scrollleftchanged","link":"#scrollleftchanged","children":[]},{"level":3,"title":"scrollTop","slug":"scrolltop","link":"#scrolltop","children":[]},{"level":3,"title":"scrollTopChanged","slug":"scrolltopchanged","link":"#scrolltopchanged","children":[]},{"level":3,"title":"scrollWidth","slug":"scrollwidth","link":"#scrollwidth","children":[]},{"level":3,"title":"scrollWidthChanged","slug":"scrollwidthchanged","link":"#scrollwidthchanged","children":[]}]}],"git":{"createdTime":1702833230000,"updatedTime":1702833230000,"contributors":[{"name":"xiaochaochao","email":"xiaochaochao","commits":1}]},"readingTime":{"minutes":0.49,"words":148},"filePathRelative":"global/interfaces/IScrollEvent.md","localizedDate":"2023年12月17日","autoDesc":true}');export{e as data};
diff --git a/assets/IScrollEvent.html-cd28aec3.js b/assets/IScrollEvent.html-cd28aec3.js
new file mode 100644
index 00000000..6da95842
--- /dev/null
+++ b/assets/IScrollEvent.html-cd28aec3.js
@@ -0,0 +1 @@
+import{_ as c}from"./plugin-vue_export-helper-c27b6911.js";import{r as d,o as i,c as a,a as e,b as o,d as r,e as h}from"./app-5f5ef0a9.js";const t={},n=e("h1",{id:"iscrollevent",tabindex:"-1"},[e("a",{class:"header-anchor",href:"#iscrollevent","aria-hidden":"true"},"#"),o(" IScrollEvent")],-1),s=e("code",null,"interface",-1),u={href:"https://microsoft.github.io/monaco-editor/typedoc/interfaces/IScrollEvent.html",target:"_blank",rel:"noopener noreferrer"},f=h(' 参数 Properties
- 类型:
number
只读
- 默认值:
-
- 可选项:
-
- 描述:
结束列
- 类型:
boolean
只读
- 默认值:
-
- 可选项:
-
- 描述:
结束行
- 类型:
number
只读
- 默认值:
-
- 可选项:
-
- 描述:
开始列
- 类型:
boolean
只读
- 默认值:
-
- 可选项:
-
- 描述:
开始行
- 类型:
number
只读
- 默认值:
-
- 可选项:
-
- 描述:
结束列
- 类型:
boolean
只读
- 默认值:
-
- 可选项:
-
- 描述:
结束行
- 类型:
number
只读
- 默认值:
-
- 可选项:
-
- 描述:
开始列
- 类型:
boolean
只读
- 默认值:
-
- 可选项:
-
- 描述:
开始行
',17);function _(p,b){const l=d("ExternalLinkIcon");return i(),a("div",null,[n,e("p",null,[s,o(),e("a",u,[o("官网地址"),r(l)])]),f])}const x=c(t,[["render",_],["__file","IScrollEvent.html.vue"]]);export{x as default};
diff --git a/assets/ISelection.html-0af3dd9a.js b/assets/ISelection.html-0af3dd9a.js
new file mode 100644
index 00000000..1814350c
--- /dev/null
+++ b/assets/ISelection.html-0af3dd9a.js
@@ -0,0 +1 @@
+const e=JSON.parse('{"key":"v-da6c1858","path":"/global/interfaces/ISelection.html","title":"","lang":"zh-CN","frontmatter":{"description":"","head":[["meta",{"property":"og:url","content":"http://aydk.site/global/interfaces/ISelection.html"}],["meta",{"property":"og:site_name","content":"Monaco-editor 学习文档"}],["meta",{"property":"og:type","content":"article"}],["meta",{"property":"og:locale","content":"zh-CN"}],["meta",{"property":"og:updated_time","content":"2023-06-16T20:04:45.000Z"}],["meta",{"property":"article:author","content":"aydk"}],["meta",{"property":"article:modified_time","content":"2023-06-16T20:04:45.000Z"}],["script",{"type":"application/ld+json"},"{\\"@context\\":\\"https://schema.org\\",\\"@type\\":\\"Article\\",\\"headline\\":\\"\\",\\"image\\":[\\"\\"],\\"dateModified\\":\\"2023-06-16T20:04:45.000Z\\",\\"author\\":[{\\"@type\\":\\"Person\\",\\"name\\":\\"aydk\\"}]}"]]},"headers":[],"git":{"createdTime":1686945885000,"updatedTime":1686945885000,"contributors":[{"name":"xiaochaochao","email":"xiaochaochao","commits":1}]},"readingTime":{"minutes":0,"words":0},"filePathRelative":"global/interfaces/ISelection.md","localizedDate":"2023年6月16日","autoDesc":true}');export{e as data};
diff --git a/assets/ISelection.html-6408d1b3.js b/assets/ISelection.html-6408d1b3.js
new file mode 100644
index 00000000..8f90b91d
--- /dev/null
+++ b/assets/ISelection.html-6408d1b3.js
@@ -0,0 +1 @@
+import{_ as e}from"./plugin-vue_export-helper-c27b6911.js";import{o as t,c}from"./app-5f5ef0a9.js";const o={};function r(n,_){return t(),c("div")}const a=e(o,[["render",r],["__file","ISelection.html.vue"]]);export{a as default};
diff --git a/assets/ISingleEditOperation.html-1274d3b0.js b/assets/ISingleEditOperation.html-1274d3b0.js
new file mode 100644
index 00000000..2fca4417
--- /dev/null
+++ b/assets/ISingleEditOperation.html-1274d3b0.js
@@ -0,0 +1 @@
+const e=JSON.parse('{"key":"v-503ec8be","path":"/editor/interfaces/ISingleEditOperation.html","title":"ISingleEditOperation","lang":"zh-CN","frontmatter":{"description":"interface 官网地址 (https://microsoft.github.io/monaco-editor/docs.html#interfaces/editor.ISingleEditOperation.html) 接口用于描述单个文本编辑操作 属性 Properties ### range 类型: IRange (../../global/...","head":[["meta",{"property":"og:url","content":"http://aydk.site/editor/interfaces/ISingleEditOperation.html"}],["meta",{"property":"og:site_name","content":"Monaco-editor 学习文档"}],["meta",{"property":"og:title","content":"ISingleEditOperation"}],["meta",{"property":"og:description","content":"interface 官网地址 (https://microsoft.github.io/monaco-editor/docs.html#interfaces/editor.ISingleEditOperation.html) 接口用于描述单个文本编辑操作 属性 Properties ### range 类型: IRange (../../global/..."}],["meta",{"property":"og:type","content":"article"}],["meta",{"property":"og:locale","content":"zh-CN"}],["meta",{"property":"og:updated_time","content":"2023-06-16T20:04:45.000Z"}],["meta",{"property":"article:author","content":"aydk"}],["meta",{"property":"article:modified_time","content":"2023-06-16T20:04:45.000Z"}],["script",{"type":"application/ld+json"},"{\\"@context\\":\\"https://schema.org\\",\\"@type\\":\\"Article\\",\\"headline\\":\\"ISingleEditOperation\\",\\"image\\":[\\"\\"],\\"dateModified\\":\\"2023-06-16T20:04:45.000Z\\",\\"author\\":[{\\"@type\\":\\"Person\\",\\"name\\":\\"aydk\\"}]}"]]},"headers":[{"level":2,"title":"属性 Properties","slug":"属性-properties","link":"#属性-properties","children":[{"level":3,"title":"range","slug":"range","link":"#range","children":[]},{"level":3,"title":"text","slug":"text","link":"#text","children":[]},{"level":3,"title":"forceMoveMarkers","slug":"forcemovemarkers","link":"#forcemovemarkers","children":[]}]}],"git":{"createdTime":1686945885000,"updatedTime":1686945885000,"contributors":[{"name":"xiaochaochao","email":"xiaochaochao","commits":1}]},"readingTime":{"minutes":0.63,"words":190},"filePathRelative":"editor/interfaces/ISingleEditOperation.md","localizedDate":"2023年6月16日","autoDesc":true}');export{e as data};
diff --git a/assets/ISingleEditOperation.html-fa236309.js b/assets/ISingleEditOperation.html-fa236309.js
new file mode 100644
index 00000000..6cd9951f
--- /dev/null
+++ b/assets/ISingleEditOperation.html-fa236309.js
@@ -0,0 +1 @@
+import{_ as n}from"./plugin-vue_export-helper-c27b6911.js";import{r as i,o as l,c as d,a as e,b as t,d as o,w as s,e as c}from"./app-5f5ef0a9.js";const h={},_=e("h1",{id:"isingleeditoperation",tabindex:"-1"},[e("a",{class:"header-anchor",href:"#isingleeditoperation","aria-hidden":"true"},"#"),t(" ISingleEditOperation")],-1),u=e("code",null,"interface",-1),f={href:"https://microsoft.github.io/monaco-editor/docs.html#interfaces/editor.ISingleEditOperation.html",target:"_blank",rel:"noopener noreferrer"},p=e("h2",{id:"属性-properties",tabindex:"-1"},[e("a",{class:"header-anchor",href:"#属性-properties","aria-hidden":"true"},"#"),t(" 属性 Properties")],-1),m=e("h3",{id:"range",tabindex:"-1"},[e("a",{class:"header-anchor",href:"#range","aria-hidden":"true"},"#"),t(" range")],-1),g=e("li",null,"描述:表示要编辑的文本范围。",-1),x=e("li",null,null,-1),b=c(' text
- 类型:
string
- 描述:表示要插入或替换的文本。
forceMoveMarkers
- 类型:
boolean
可选 - 默认值:
false
- 描述:如果为 true,则强制移动范围内的标记,即使它们不在文本修改范围内。如果为 false,则在可能的情况下仅移动标记。 使用 ISingleEditOperation 接口,可以描述单个文本编辑操作,并将其传递给编辑器,以便在编辑器中执行相应的操作。例如,可以使用 ISingleEditOperation 接口将文本插入到编辑器中,或者替换编辑器中的文本。
',4);function k(I,E){const r=i("ExternalLinkIcon"),a=i("RouterLink");return l(),d("div",null,[_,e("p",null,[u,t(),e("a",f,[t("官网地址"),o(r)]),t(" 接口用于描述单个文本编辑操作")]),p,m,e("ul",null,[e("li",null,[t("类型: "),o(a,{to:"/global/interfaces/IRange.html"},{default:s(()=>[t("IRange")]),_:1}),t(" 对象")]),g,x]),b])}const O=n(h,[["render",k],["__file","ISingleEditOperation.html.vue"]]);export{O as default};
diff --git a/assets/ISmartSelectOptions.html-5dee4791.js b/assets/ISmartSelectOptions.html-5dee4791.js
new file mode 100644
index 00000000..5e895e5c
--- /dev/null
+++ b/assets/ISmartSelectOptions.html-5dee4791.js
@@ -0,0 +1 @@
+import{_ as o}from"./plugin-vue_export-helper-c27b6911.js";import{r,o as i,c as n,a as e,b as t,d as c,e as s}from"./app-5f5ef0a9.js";const l={},d=e("h1",{id:"ismartselectoptions",tabindex:"-1"},[e("a",{class:"header-anchor",href:"#ismartselectoptions","aria-hidden":"true"},"#"),t(" ISmartSelectOptions")],-1),h=e("code",null,"interface",-1),p={href:"https://microsoft.github.io/monaco-editor/docs.html#interfaces/editor.ISmartSelectOptions.html",target:"_blank",rel:"noopener noreferrer"},_=s(' 参数 Properties
selectLeadingAndTrailingWhitespace?
- 类型:
boolean
可选
- 默认值:
-
- 可选项:
-
- 描述: ``
',3);function m(f,u){const a=r("ExternalLinkIcon");return i(),n("div",null,[d,e("p",null,[h,t(),e("a",p,[t("官网地址"),c(a)])]),_])}const g=o(l,[["render",m],["__file","ISmartSelectOptions.html.vue"]]);export{g as default};
diff --git a/assets/ISmartSelectOptions.html-b4307d20.js b/assets/ISmartSelectOptions.html-b4307d20.js
new file mode 100644
index 00000000..f5ef9f31
--- /dev/null
+++ b/assets/ISmartSelectOptions.html-b4307d20.js
@@ -0,0 +1 @@
+const e=JSON.parse('{"key":"v-2ec41963","path":"/editor/interfaces/ISmartSelectOptions.html","title":"ISmartSelectOptions","lang":"zh-CN","frontmatter":{"description":"interface 官网地址 (https://microsoft.github.io/monaco-editor/docs.html#interfaces/editor.ISmartSelectOptions.html) 参数 Properties selectLeadingAndTrailingWhitespace? 类型: boolean `可选...","head":[["meta",{"property":"og:url","content":"http://aydk.site/editor/interfaces/ISmartSelectOptions.html"}],["meta",{"property":"og:site_name","content":"Monaco-editor 学习文档"}],["meta",{"property":"og:title","content":"ISmartSelectOptions"}],["meta",{"property":"og:description","content":"interface 官网地址 (https://microsoft.github.io/monaco-editor/docs.html#interfaces/editor.ISmartSelectOptions.html) 参数 Properties selectLeadingAndTrailingWhitespace? 类型: boolean `可选..."}],["meta",{"property":"og:type","content":"article"}],["meta",{"property":"og:locale","content":"zh-CN"}],["meta",{"property":"og:updated_time","content":"2023-06-16T20:04:45.000Z"}],["meta",{"property":"article:author","content":"aydk"}],["meta",{"property":"article:modified_time","content":"2023-06-16T20:04:45.000Z"}],["script",{"type":"application/ld+json"},"{\\"@context\\":\\"https://schema.org\\",\\"@type\\":\\"Article\\",\\"headline\\":\\"ISmartSelectOptions\\",\\"image\\":[\\"\\"],\\"dateModified\\":\\"2023-06-16T20:04:45.000Z\\",\\"author\\":[{\\"@type\\":\\"Person\\",\\"name\\":\\"aydk\\"}]}"]]},"headers":[{"level":2,"title":"参数 Properties","slug":"参数-properties","link":"#参数-properties","children":[{"level":3,"title":"selectLeadingAndTrailingWhitespace?","slug":"selectleadingandtrailingwhitespace","link":"#selectleadingandtrailingwhitespace","children":[]}]}],"git":{"createdTime":1686945885000,"updatedTime":1686945885000,"contributors":[{"name":"xiaochaochao","email":"xiaochaochao","commits":1}]},"readingTime":{"minutes":0.09,"words":27},"filePathRelative":"editor/interfaces/ISmartSelectOptions.md","localizedDate":"2023年6月16日","autoDesc":true}');export{e as data};
diff --git a/assets/IStandaloneCodeEditor.html-26f66a53.js b/assets/IStandaloneCodeEditor.html-26f66a53.js
new file mode 100644
index 00000000..13725ce1
--- /dev/null
+++ b/assets/IStandaloneCodeEditor.html-26f66a53.js
@@ -0,0 +1,1036 @@
+import{_ as c}from"./plugin-vue_export-helper-c27b6911.js";import{r as p,o as t,c as r,a as n,b as s,d as a,w as e,e as o}from"./app-5f5ef0a9.js";const i={},d=n("h1",{id:"istandalonecodeeditor",tabindex:"-1"},[n("a",{class:"header-anchor",href:"#istandalonecodeeditor","aria-hidden":"true"},"#"),s(" IStandaloneCodeEditor")],-1),y=n("code",null,"interface",-1),C={href:"https://microsoft.github.io/monaco-editor/docs.html#interfaces/editor.IStandaloneCodeEditor.html",target:"_blank",rel:"noopener noreferrer"},u=n("h2",{id:"属性-properties",tabindex:"-1"},[n("a",{class:"header-anchor",href:"#属性-properties","aria-hidden":"true"},"#"),s(" 属性 Properties")],-1),v=n("h2",{id:"oncontextmenu",tabindex:"-1"},[n("a",{class:"header-anchor",href:"#oncontextmenu","aria-hidden":"true"},"#"),s(" onContextMenu")],-1),E=n("li",null,[s("描述: "),n("code",null,"用户右键点击编辑器时触发。可以通过监听这个事件来实现自定义的右键菜单")],-1),m=n("li",null,"示例:",-1),b=o(`const editor = monaco.editor.create(document.getElementById('container'), {
+ value: 'Hello, world!',
+ language: 'plaintext'
+});
+
+editor.onContextMenu((e: monaco.editor.IEditorMouseEvent) => {
+ console.log('Right-clicked at:', e.event.posx, e.event.posy);
+});
+
在这个示例中,我们创建了一个编辑器,并监听了它的 onContextMenu
事件。当用户右键点击编辑器时,会在控制台输出鼠标的位置信息。
注意,如果要阻止默认的右键菜单,可以在回调函数中调用 e.event.preventDefault()
方法。例如:
editor.onContextMenu((e: monaco.editor.IEditorMouseEvent) => {
+ console.log('Right-clicked at:', e.event.posx, e.event.posy);
+ e.event.preventDefault();
+});
+
onDidAttemptReadOnlyEdit
`,5),F=n("li",null,[s("描述: "),n("code",null,"在用户试图编辑只读文本时触发。可以通过监听这个事件来实现自定义的只读文本处理逻辑。")],-1),g=n("li",null,"示例:",-1),h=o(`const editor = monaco.editor.create(document.getElementById('container'), {
+ value: 'Hello, world!',
+ language: 'plaintext',
+ readOnly: true
+});
+
+editor.onDidAttemptReadOnlyEdit((e: monaco.editor.IReadOnlyEditAttemptEvent) => {
+ console.log('Attempted to edit read-only text:', e.range, e.text);
+});
+
在这个示例中,我们创建了一个只读的编辑器,并监听了它的 onDidAttemptReadOnlyEdit 事件。当用户试图编辑只读文本时,会在控制台输出相关信息。
注意,如果要阻止试图进行的编辑操作,可以在回调函数中调用 e.preventDefault() 方法。
onDidBlurEditorText
`,4),A=n("li",null,"描述: 在编辑器失去焦点时触发。可以通过监听这个事件来实现自定义的失焦处理逻辑。",-1),x=n("li",null,"示例:",-1),I=o(`const editor = monaco.editor.create(document.getElementById('container'), {
+ value: 'Hello, world!',
+ language: 'plaintext'
+});
+
+editor.onDidBlurEditorText(() => {
+ console.log('Editor lost focus');
+});
+
在这个示例中,我们创建了一个编辑器,并监听了它的 onDidBlurEditorText 事件。当编辑器失去焦点时,会在控制台输出相关信息。
`,3),f=n("li",null,"描述: 在编辑器小部件失去焦点时触发。可以通过监听这个事件来实现自定义的失焦处理逻辑。",-1),k=n("li",null,"示例:",-1),B=o(`const editor = monaco.editor.create(document.getElementById('container'), {
+ value: 'Hello, world!',
+ language: 'plaintext'
+});
+
+editor.onDidBlurEditorWidget(() => {
+ console.log('Editor widget lost focus');
+});
+
在这个示例中,我们创建了一个编辑器,并监听了它的 onDidBlurEditorWidget 事件。当编辑器小部件失去焦点时,会在控制台输出相关信息。
onDidChangeConfiguration
`,3),_=n("li",null,"描述: 在编辑器配置发生变化时触发。可以通过监听这个事件来实现自定义的配置处理逻辑。",-1),w=n("li",null,"示例:",-1),j=o(`const editor = monaco.editor.create(document.getElementById('container'), {
+ value: 'Hello, world!',
+ language: 'plaintext'
+});
+
+editor.onDidChangeConfiguration(() => {
+ console.log('Editor configuration changed');
+});
+
在这个示例中,我们创建了一个编辑器,并监听了它的 onDidChangeConfiguration 事件。当编辑器配置发生变化时,会在控制台输出相关信息。
onDidChangeCursorPosition
`,3),T=n("li",null,"描述: 在光标位置发生变化时触发。可以通过监听这个事件来实现自定义的光标位置处理逻辑。",-1),S=n("li",null,"示例:",-1),L=o(`const editor = monaco.editor.create(document.getElementById('container'), {
+ value: 'Hello, world!',
+ language: 'plaintext'
+});
+
+editor.onDidChangeCursorPosition((e: monaco.editor.ICursorPositionChangedEvent) => {
+ console.log('Cursor position changed:', e.position);
+});
+
在这个示例中,我们创建了一个编辑器,并监听了它的 onDidChangeCursorPosition 事件。当光标位置发生变化时,会在控制台输出相关信息。
onDidChangeCursorSelection
`,3),N=n("li",null,[s("描述: "),n("code",null,"在光标选择发生变化时触发。可以通过监听这个事件来实现自定义的光标选择处理逻辑。")],-1),M=n("li",null,"示例:",-1),H=o(`const editor = monaco.editor.create(document.getElementById('container'), {
+ value: 'Hello, world!',
+ language: 'plaintext'
+});
+
+editor.onDidChangeCursorSelection((e: monaco.editor.ICursorSelectionChangedEvent) => {
+ console.log('Cursor selection changed:', e.selection);
+});
+
在这个示例中,我们创建了一个编辑器,并监听了它的 onDidChangeCursorSelection 事件。当光标选择发生变化时,会在控制台输出相关信息。
onDidChangeHiddenAreas
`,3),P=n("li",null,[s("描述: "),n("code",null,"在编辑器的隐藏区域发生变化时触发。可以通过监听这个事件来实现自定义的隐藏区域处理逻辑。")],-1),O=n("li",null,"示例:",-1),W=o(`const editor = monaco.editor.create(document.getElementById('container'), {
+ value: 'Hello, world!',
+ language: 'plaintext'
+});
+
+editor.onDidChangeHiddenAreas(() => {
+ console.log('Editor hidden areas changed');
+});
+
在这个示例中,我们创建了一个编辑器,并监听了它的 onDidChangeHiddenAreas 事件。当编辑器的隐藏区域发生变化时,会在控制台输出相关信息。
onDidChangeModel
`,3),R=n("li",null,[s("描述: "),n("code",null,"在编辑器的模型发生变化时触发。可以通过监听这个事件来实现自定义的模型处理逻辑。")],-1),V=n("li",null,"示例:",-1),K=o(`const editor = monaco.editor.create(document.getElementById('container'), {
+ value: 'Hello, world!',
+ language: 'plaintext'
+});
+
+editor.onDidChangeModel((e: monaco.editor.IModelChangedEvent) => {
+ console.log('Editor model changed:', e.newModelUrl);
+});
+
在这个示例中,我们创建了一个编辑器,并监听了它的 onDidChangeModel 事件。当编辑器的模型发生变化时,会在控制台输出相关信息。
onDidChangeModelContent
`,3),U=n("li",null,[s("描述: "),n("code",null,"在编辑器的模型内容发生变化时触发。可以通过监听这个事件来实现自定义的模型内容处理逻辑。")],-1),z=n("li",null,"示例:",-1),Z=o(`const editor = monaco.editor.create(document.getElementById('container'), {
+ value: 'Hello, world!',
+ language: 'plaintext'
+});
+
+editor.onDidChangeModelContent((e: monaco.editor.IModelContentChangedEvent) => {
+ console.log('Editor model content changed:', e.changes);
+});
+
在这个示例中,我们创建了一个编辑器,并监听了它的 onDidChangeModelContent事件。当编辑器的模型内容发生变化时,会在控制台输出相关信息。
onDidChangeModelDecorations
`,3),q=n("li",null,[s("描述: "),n("code",null,"在编辑器的模型装饰发生变化时触发。可以通过监听这个事件来实现自定义的模型装饰处理逻辑。")],-1),Y=n("li",null,"示例:",-1),G=o(`const editor = monaco.editor.create(document.getElementById('container'), {
+ value: 'Hello, world!',
+ language: 'plaintext'
+});
+
+const decoration = {
+ range: new monaco.Range(1, 1, 1, 6),
+ options: {
+ isWholeLine: true,
+ className: 'myDecoration'
+ }
+};
+
+const decorations = editor.deltaDecorations([], [decoration]);
+
+editor.onDidChangeModelDecorations((e: monaco.editor.IModelDecorationsChangedEvent) => {
+ console.log('Editor model decorations changed:', e);
+});
+
在这个示例中,我们创建了一个编辑器,并添加了一个装饰。然后,我们监听了编辑器的 onDidChangeModelDecorations 事件。当编辑器的模型装饰发生变化时,会在控制台输出相关信息。
onDidChangeModelLanguage
`,3),X=n("li",null,[s("描述: "),n("code",null,"在编辑器的模型语言发生变化时触发。可以通过监听这个事件来实现自定义的模型语言处理逻辑。")],-1),J=n("li",null,"示例:",-1),Q=o(`const editor = monaco.editor.create(document.getElementById('container'), {
+ value: 'Hello, world!',
+ language: 'plaintext'
+});
+
+editor.onDidChangeModelLanguage(() => {
+ console.log('Editor model language changed');
+});
+
在这个示例中,我们创建了一个编辑器,并监听了它的 onDidChangeModelLanguage 事件。当编辑器的模型语言发生变化时,会在控制台输出相关信息。
onDidChangeModelLanguageConfiguration
`,3),$=n("li",null,[s("描述: "),n("code",null,"在编辑器的模型语言配置发生变化时触发。可以通过监听这个事件来实现自定义的模型语言配置处理逻辑。")],-1),ss=n("li",null,"示例:",-1),ns=o(`const editor = monaco.editor.create(document.getElementById('container'), {
+ value: 'Hello, world!',
+ language: 'plaintext'
+});
+
+editor.onDidChangeModelLanguageConfiguration(() => {
+ console.log('Editor model language configuration changed');
+});
+
在这个示例中,我们创建了一个编辑器,并监听了它的 onDidChangeModelLanguageConfiguration 事件。当编辑器的模型语言配置发生变化时,会在控制台输出相关信息。
onDidChangeModelOptions
`,3),as=n("li",null,[s("描述: "),n("code",null,"在编辑器的模型选项发生变化时触发。可以通过监听这个事件来实现自定义的模型选项处理逻辑。")],-1),ls=n("li",null,"示例:",-1),es=o(`const editor = monaco.editor.create(document.getElementById('container'), {
+ value: 'Hello, world!',
+ language: 'plaintext'
+});
+
+editor.onDidChangeModelOptions(() => {
+ console.log('Editor model options changed');
+});
+
在这个示例中,我们创建了一个编辑器,并监听了它的 onDidChangeModelOptions 事件。当编辑器的模型选项发生变化时,会在控制台输出相关信息。
onDidCompositionEnd
`,3),os=n("li",null,[s("描述: "),n("code",null,"在输入法组合结束时触发。可以通过监听这个事件来实现自定义的输入法组合处理逻辑。")],-1),ps=n("li",null,"示例:",-1),Ds=o(`const editor = monaco.editor.create(document.getElementById('container'), {
+ value: '',
+ language: 'plaintext'
+});
+
+editor.onDidCompositionEnd(() => {
+ console.log('Composition ended');
+});
+
在这个示例中,我们创建了一个编辑器,并监听了它的 onDidCompositionEnd 事件。当输入法组合结束时,会在控制台输出相关信息。
onDidCompositionStart
`,3),cs=n("li",null,[s("描述: "),n("code",null,"在输入法组合开始时触发。可以通过监听这个事件来实现自定义的输入法组合处理逻辑。")],-1),ts=n("li",null,"示例:",-1),rs=o(`const editor = monaco.editor.create(document.getElementById('container'), {
+ value: '',
+ language: 'plaintext'
+});
+
+editor.onDidCompositionStart(() => {
+ console.log('Composition started');
+});
+
在这个示例中,我们创建了一个编辑器,并监听了它的 onDidCompositionStart 事件。当输入法组合开始时,会在控制台输出相关信息。
onDidContentSizeChange
`,3),is=n("li",null,[s("描述: "),n("code",null,"在编辑器的内容大小发生变化时触发。可以通过监听这个事件来实现自定义的内容大小处理逻辑。")],-1),ds=n("li",null,"示例:",-1),ys=o(`const editor = monaco.editor.create(document.getElementById('container'), {
+ value: '',
+ language: 'plaintext'
+});
+
+editor.onDidContentSizeChange((e: monaco.editor.IContentSizeChangedEvent) => {
+ console.log('Content size changed:', e.contentWidth, e.contentHeight);
+});
+
在这个示例中,我们创建了一个编辑器,并监听了它的 onDidContentSizeChange 事件。当编辑器的内容大小发生变化时,会在控制台输出相关信息。
onDidFocusEditorText
`,3),Cs=n("li",null,[s("描述: "),n("code",null,"在编辑器文本区域获得焦点时触发。可以通过监听这个事件来实现自定义的文本区域焦点处理逻辑。")],-1),us=n("li",null,"示例:",-1),vs=o(`const editor = monaco.editor.create(document.getElementById('container'), {
+ value: '',
+ language: 'plaintext'
+});
+
+editor.onDidFocusEditorText(() => {
+ console.log('Editor text area focused');
+});
+
在这个示例中,我们创建了一个编辑器,并监听了它的 onDidFocusEditorText 事件。当编辑器文本区域获得焦点时,会在控制台输出相关信息。
`,3),Es=n("li",null,[s("描述: "),n("code",null,"在编辑器小部件获得焦点时触发。可以通过监听这个事件来实现自定义的小部件焦点处理逻辑。")],-1),ms=n("li",null,"示例:",-1),bs=o(`const editor = monaco.editor.create(document.getElementById('container'), {
+ value: '',
+ language: 'plaintext'
+});
+
+editor.onDidFocusEditorWidget(() => {
+ console.log('Editor widget focused');
+});
+
在这个示例中,我们创建了一个编辑器,并监听了它的 onDidFocusEditorWidget 事件。当编辑器小部件获得焦点时,会在控制台输出相关信息。
onDidLayoutChange
`,3),Fs=n("li",null,[s("描述: "),n("code",null,"在编辑器的布局信息发生变化时触发。可以通过监听这个事件来实现自定义的布局处理逻辑。")],-1),gs=n("li",null,"示例:",-1),hs=o(`const editor = monaco.editor.create(document.getElementById('container'), {
+ value: '',
+ language: 'plaintext'
+});
+
+editor.onDidLayoutChange((layoutInfo: monaco.editor.EditorLayoutInfo) => {
+ console.log('Editor layout changed:', layoutInfo);
+});
+
在这个示例中,我们创建了一个编辑器,并监听了它的 onDidLayoutChange 事件。当编辑器的布局信息发生变化时,会在控制台输出相关信息。
onDidPaste
`,3),As=n("li",null,[s("描述: "),n("code",null,"在编辑器中粘贴文本时触发。可以通过监听这个事件来实现自定义的粘贴文本处理逻辑。")],-1),xs=n("li",null,"示例:",-1),Is=o(`const editor = monaco.editor.create(document.getElementById('container'), {
+ value: '',
+ language: 'plaintext'
+});
+
+editor.onDidPaste((text: string) => {
+ console.log('Pasted text:', text);
+});
+
在这个示例中,我们创建了一个编辑器,并监听了它的 onDidPaste 事件。当在编辑器中粘贴文本时,会在控制台输出相关信息。
`,3),fs=n("li",null,[s("描述: "),n("code",null,"在编辑器的滚动位置发生变化时触发。可以通过监听这个事件来实现自定义的滚动处理逻辑。")],-1),ks=n("li",null,"示例:",-1),Bs=o(`const editor = monaco.editor.create(document.getElementById('container'), {
+ value: '',
+ language: 'plaintext'
+});
+
+editor.onDidScrollChange((e: monaco.editor.IScrollEvent) => {
+ console.log('Scroll position changed:', e.scrollTop, e.scrollLeft);
+});
+
在这个示例中,我们创建了一个编辑器,并监听了它的 onDidScrollChange 事件。当编辑器的滚动位置发生变化时,会在控制台输出相关信息。
onKeyDown
`,3),_s=n("li",null,[s("描述: "),n("code",null,"在编辑器中按下键盘按键时触发。可以通过监听这个事件来实现自定义的键盘按键处理逻辑。")],-1),ws=n("li",null,"示例:",-1),js=o(`const editor = monaco.editor.create(document.getElementById('container'), {
+ value: '',
+ language: 'plaintext'
+});
+
+editor.onKeyDown((e: monaco.IKeyboardEvent) => {
+ console.log('Key down:', e.keyCode);
+});
+
在这个示例中,我们创建了一个编辑器,并监听了它的 onKeyDown 事件。当在编辑器中按下键盘按键时,会在控制台输出相关信息。
onKeyUp
`,3),Ts=n("li",null,[s("描述: "),n("code",null,"在编辑器中释放键盘按键时触发。可以通过监听这个事件来实现自定义的键盘按键处理逻辑。")],-1),Ss=n("li",null,"示例:",-1),Ls=o(`const editor = monaco.editor.create(document.getElementById('container'), {
+ value: '',
+ language: 'plaintext'
+});
+
+editor.onKeyUp((e: monaco.IKeyboardEvent) => {
+ console.log('Key up:', e.keyCode);
+});
+
在这个示例中,我们创建了一个编辑器,并监听了它的 onKeyUp 事件。当在编辑器中释放键盘按键时,会在控制台输出相关信息。
onMouseDown
`,3),Ns=n("li",null,[s("描述: "),n("code",null,"在编辑器中按下鼠标按钮时触发。可以通过监听这个事件来实现自定义的鼠标按键处理逻辑。")],-1),Ms=n("li",null,"示例:",-1),Hs=o(`const editor = monaco.editor.create(document.getElementById('container'), {
+ value: '',
+ language: 'plaintext'
+});
+
+editor.onMouseDown((e: monaco.editor.IEditorMouseEvent) => {
+ console.log('Mouse down:', e.target.type);
+});
+
在这个示例中,我们创建了一个编辑器,并监听了它的 onMouseDown 事件。当在编辑器中按下鼠标按钮时,会在控制台输出相关信息。
onMouseLeave
`,3),Ps=n("li",null,[s("描述: "),n("code",null,"在鼠标离开编辑器时触发。可以通过监听这个事件来实现自定义的鼠标离开处理逻辑。")],-1),Os=n("li",null,"示例:",-1),Ws=o(`const editor = monaco.editor.create(document.getElementById('container'), {
+ value: '',
+ language: 'plaintext'
+});
+
+editor.onMouseLeave((e: monaco.editor.IEditorMouseEvent) => {
+ console.log('Mouse left editor');
+});
+
在这个示例中,我们创建了一个编辑器,并监听了它的 onMouseLeave 事件。当鼠标离开编辑器时,会在控制台输出相关信息。
onMouseMove
`,3),Rs=n("li",null,[s("描述: "),n("code",null,"在鼠标在编辑器中移动时触发。可以通过监听这个事件来实现自定义的鼠标移动处理逻辑。")],-1),Vs=n("li",null,"示例:",-1),Ks=o(`const editor = monaco.editor.create(document.getElementById('container'), {
+ value: '',
+ language: 'plaintext'
+});
+
+editor.onMouseMove((e: monaco.editor.IEditorMouseEvent) => {
+ console.log('Mouse moved:', e.target.type);
+});
+
在这个示例中,我们创建了一个编辑器,并监听了它的 onMouseMove 事件。当鼠标在编辑器中移动时,会在控制台输出相关信息。
onMouseUp
`,3),Us=n("li",null,[s("描述: "),n("code",null,"在编辑器中释放鼠标按钮时触发。可以通过监听这个事件来实现自定义的鼠标按键处理逻辑。")],-1),zs=n("li",null,"示例:",-1),Zs=o(`const editor = monaco.editor.create(document.getElementById('container'), {
+ value: '',
+ language: 'plaintext'
+});
+
+editor.onMouseUp((e: monaco.editor.IEditorMouseEvent) => {
+ console.log('Mouse up:', e.target.type);
+});
+
在这个示例中,我们创建了一个编辑器,并监听了它的 onMouseUp 事件。当在编辑器中释放鼠标按钮时,会在控制台输出相关信息
方法
addAction
`,4),qs=n("code",null,"addAction(descriptor:",-1),Ys=n("li",null,[s("描述: "),n("code",null,"用来向编辑器中添加自定义的操作。")],-1),Gs=o(`其中,descriptor参数是一个对象,用来描述要添加的操作。它包含以下属性:
descriptor参数
id:操作的唯一标识符,必须是字符串类型。
label:操作的显示名称,必须是字符串类型。
keybindings:操作的快捷键,可以是字符串类型的快捷键,也可以是字符串类型的快捷键数组。
contextMenuGroupId:操作在右键菜单中的分组 ID,必须是字符串类型。
contextMenuOrder:操作在右键菜单中的排序位置,必须是数字类型。
run:操作的执行函数,必须是一个函数类型,接受一个 ICodeEditor类型的参数。
addAction方法返回一个 IDisposable对象,用来取消添加的操作。可以通过调用 dispose方法来取消添加的操作。 下面是一个示例,演示如何向编辑器中添加一个自定义的操作:
const editor = monaco.editor.create(document.getElementById('container'), {
+ value: '',
+ language: 'plaintext'
+});
+
+editor.addAction({
+ id: 'my-custom-action',
+ label: 'My Custom Action',
+ keybindings: [
+ monaco.KeyMod.CtrlCmd | monaco.KeyCode.KEY_S
+ ],
+ contextMenuGroupId: 'navigation',
+ contextMenuOrder: 1.5,
+ run: function(ed) {
+ console.log('My custom action executed');
+ }
+});
+
在这个示例中,我们创建了一个编辑器,并向它添加了一个名为 my-custom-action的自定义操作。这个操作的显示名称为 My Custom Action,快捷键为 Ctrl/Cmd + S,在右键菜单中的分组 ID 为 navigation,排序位置为 1.5。当这个操作被执行时,会在控制台输出相关信息。
addCommand
- 语法:
addCommand(keybinding: number, handler: ICommandHandler, context: string):string
- 参数:
keybinding
、handler
、context
- 返回值:
IDisposable对象
- 描述:
用来向编辑器中添加自定义的操作。
其中,keybinding
参数是一个对象,用来描述要添加的命令的快捷键。它包含以下属性:
- ctrlCmd:是否按下了 Ctrl或 Cmd键,必须是布尔类型。
- shift:是否按下了 Shift键,必须是布尔类型。
- alt:是否按下了Alt键,必须是布尔类型。
- keyCode:按下的键的键码,必须是数字类型。
handler
参数是一个函数,用来处理命令的执行逻辑。它接受一个 ICodeEditor类型的参数。
context
参数是一个字符串,用来指定命令的上下文。可以是 editor、textarea 或 global中的一个。
addCommand
方法返回一个字符串,表示添加的命令的 ID。可以通过调用 removeCommand方法来移除添加的命令。 下面是一个示例,演示如何向编辑器中添加一个自定义的命令:
const editor = monaco.editor.create(document.getElementById('container'), {
+ value: '',
+ language: 'plaintext'
+});
+
+editor.addCommand(monaco.KeyMod.CtrlCmd | monaco.KeyCode.KEY_S, function(ed) {
+ console.log('Custom command executed');
+}, 'editor');
+
在这个示例中,我们创建了一个编辑器,并向它添加了一个名为 Custom command的自定义命令。这个命令的快捷键为 Ctrl/Cmd + S,当这个命令被执行时,会在控制台输出相关信息。
addContentWidget
- 语法:
addContentWidget(widget: IContentWidget): void
- 参数:
widget
- 返回值:
-
- 描述:
向编辑器中添加自定义的内容小部件
其中,widget 参数是一个对象,用来描述要添加的内容小部件。它包含以下属性:
- getId:获取小部件的唯一标识符的函数,必须是一个函数类型。
- getDomNode:获取小部件的 DOM 节点的函数,必须是一个函数类型。
- getPosition:获取小部件的位置信息的函数,必须是一个函数类型。
- addContentWidget 方法没有返回值。可以通过调用
- removeContentWidget 方法来移除添加的内容小部件。
下面是一个示例,演示如何向编辑器中添加一个自定义的内容小部件:
const editor = monaco.editor.create(document.getElementById('container'), {
+ value: '',
+ language: 'plaintext'
+});
+
+const widget = {
+ getId: function() {
+ return 'my-content-widget';
+ },
+ getDomNode: function() {
+ const node = document.createElement('div');
+ node.innerHTML = 'My content widget';
+ return node;
+ },
+ getPosition: function() {
+ return {
+ position: {
+ lineNumber: 1,
+ column: 1
+ },
+ preference: [monaco.editor.ContentWidgetPositionPreference.ABOVE, monaco.editor.ContentWidgetPositionPreference.BELOW]
+ };
+ }
+};
+
+editor.addContentWidget(widget);
+
在这个示例中,我们创建了一个编辑器,并向它添加了一个名为 my-content-widget的自定义内容小部件。这个小部件的 DOM 节点为一个包含文本My content widget的div元素,位置信息为第一行第一列的上方或下方。当这个小部件被添加到编辑器中时,会显示在相应的位置。
- 语法:
addOverlayWidget(widget: IOverlayWidget): void
- 参数:
widget
- 返回值:
-
- 描述:
向编辑器中添加自定义的覆盖小部件
其中,widget 参数是一个对象,用来描述要添加的覆盖小部件。它包含以下属性:
- getId:获取小部件的唯一标识符的函数,必须是一个函数类型。
- getDomNode:获取小部件的 DOM 节点的函数,必须是一个函数类型。
- getPosition:获取小部件的位置信息的函数,必须是一个函数类型。
- addOverlayWidget 方法没有返回值。可以通过调用
- removeOverlayWidget 方法来移除添加的覆盖小部件。
下面是一个示例,演示如何向编辑器中添加一个自定义的覆盖小部件:
const editor = monaco.editor.create(document.getElementById('container'), {
+ value: '',
+ language: 'plaintext'
+});
+
+const widget = {
+ getId: function() {
+ return 'my-overlay-widget';
+ },
+ getDomNode: function() {
+ const node = document.createElement('div');
+ node.innerHTML = 'My overlay widget';
+ return node;
+ },
+ getPosition: function() {
+ return {
+ preference: [monaco.editor.OverlayWidgetPositionPreference.TOP_RIGHT_CORNER]
+ };
+ }
+};
+
+editor.addOverlayWidget(widget);
+
在这个示例中,我们创建了一个编辑器,并向它添加了一个名为 my-overlay-widget 的自定义覆盖小部件。这个小部件的 DOM 节点为一个包含文本 My overlay widget 的 div 元素,位置信息为右上角。当这个小部件被添加到编辑器中时,会显示在相应的位置。
applyFontInfo
- 语法:
applyFontInfo(target: HTMLElement): void
- 参数:
target
- 返回值:
-
- 描述:
将编辑器的字体信息应用到指定的 DOM 元素上
其中,target 参数是一个要应用字体信息的 DOM 元素。 下面是一个示例,演示如何将编辑器的字体信息应用到一个指定的 DOM 元素上:
const editor = monaco.editor.create(document.getElementById('container'), {
+ value: '',
+ language: 'plaintext'
+});
+
+const target = document.getElementById('target');
+editor.applyFontInfo(target);
+
在这个示例中,我们创建了一个编辑器,并将它的字体信息应用到了一个名为 target 的 DOM 元素上。这个元素的字体、字号、行高等信息会与编辑器保持一致。
changeViewZones
- 语法:
changeViewZones(callback: (accessor: IViewZoneChangeAccessor) => void): void
- 参数:
callback
- 返回值:
-
- 描述:
修改编辑器的视图区域
其中,callback 参数是一个函数,用来描述要修改的视图区域。它接受一个 IViewZoneChangeAccessor 对象作为参数,用来添加、移除或更新视图区域。 下面是一个示例,演示如何使用 changeViewZones 方法来添加一个视图区域:
const editor = monaco.editor.create(document.getElementById('container'), {
+ value: '',
+ language: 'plaintext'
+});
+
+editor.changeViewZones(function(changeAccessor) {
+ const domNode = document.createElement('div');
+ domNode.innerHTML = 'My view zone';
+ const afterLineNumber = 3;
+ const heightInLines = 2;
+ changeAccessor.addZone({
+ afterLineNumber: afterLineNumber,
+ heightInLines: heightInLines,
+ domNode: domNode
+ });
+});
+
在这个示例中,我们创建了一个编辑器,并使用 changeViewZones 方法添加了一个视图区域。这个视图区域的 DOM 节点为一个包含文本 My view zone 的 div 元素,位置信息为第三行之后,高度为两行。当这个视图区域被添加到编辑器中时,会显示在相应的位置。
createContextKey
- 语法:
createContextKey(key: string, defaultValue: any): IContextKey
- 参数:
key, defaultValue
- 返回值:
IContextKey
- 描述:
创建一个上下文键,用于管理编辑器的上下文信息
其中,key 参数是一个字符串,用来标识上下文键的名称;defaultValue 参数是一个任意类型的值,用来表示上下文键的默认值。 下面是一个示例,演示如何使用 createContextKey 方法创建一个上下文键:
const editor = monaco.editor.create(document.getElementById('container'), {
+ value: '',
+ language: 'plaintext'
+});
+
+const myContextKey = editor.createContextKey('myContextKey', 'default');
+
+console.log(myContextKey.get()); // 输出 'default'
+
在这个示例中,我们创建了一个编辑器,并使用 createContextKey 方法创建了一个名为 myContextKey 的上下文键,它的默认值为 'default'。我们通过调用 get 方法来获取当前上下文键的值,输出结果为 'default'。
createDecorationsCollection
`,44),Xs=n("code",null,"createDecorationsCollection(",-1),Js=n("code",null,"):",-1),Qs=n("code",null,"可选",-1),$s=n("li",null,[s("描述: "),n("code",null,"创建一个装饰集合。通过此集合添加的所有装饰都将获得编辑器的所有者ID(这意味着它们不会显示在其他编辑器中)。当编辑器的模型更改时,这些装饰将自动清除。")],-1),sn=o(` deltaDecorations
- 语法:
deltaDecorations(oldDecorations: string[], newDecorations: IModelDeltaDecoration[]): string[]
- 参数:
oldDecorations, newDecorations
- 返回值:
string[]
- 描述:
更新编辑器的装饰器信息
其中,oldDecorations 参数是一个字符串数组,用来表示要被替换或移除的装饰器的 ID;newDecorations 参数是一个 IModelDeltaDecoration 数组,用来表示要添加或更新的装饰器信息。
下面是一个示例,演示如何使用 deltaDecorations 方法更新编辑器的装饰器信息:
const editor = monaco.editor.create(document.getElementById('container'), {
+ value: '',
+ language: 'plaintext'
+});
+
+const decorations = editor.createDecorationsCollection(1);
+
+decorations.createDecoration(1, 1, { isWholeLine: true, className: 'my-decoration' });
+
+editor.deltaDecorations([], decorations.getDecorations());
+
+decorations.changeDecoration(decorations.getDecorations()[0].id, { isWholeLine: true, className: 'my-new-decoration' });
+
+editor.deltaDecorations(decorations.getDecorations().map(d => d.id), decorations.getDecorations());
+
在这个示例中,我们创建了一个编辑器,并使用 createDecorationsCollection 方法创建了一个装饰器集合。我们通过调用 createDecoration 方法来创建一个装饰器,它的位置为第一行第一列,样式为整行高亮,类名为 my-decoration。然后,我们通过调用 deltaDecorations 方法将这个装饰器添加到编辑器中。接着,我们通过调用 changeDecoration 方法来修改这个装饰器的样式,将类名改为 my-new-decoration。最后,我们通过调用 deltaDecorations 方法来更新编辑器的装饰器信息。
dispose
- 语法:
dispose(): void
- 参数:
-
- 返回值:
-
- 描述:
释放编辑器占用的资源
dispose 方法没有参数和返回值。调用该方法会释放编辑器占用的资源,包括 DOM 元素、事件监听器等。一般情况下,当不再需要使用编辑器时,应该调用该方法来释放资源。 示例:
const editor = monaco.editor.create(document.getElementById('container'), {
+ value: '',
+ language: 'plaintext'
+});
+
+// do something with the editor
+
+editor.dispose();
+
executeCommand
- 语法:
executeCommand(command: string, args?: any[]): void
- 参数:
command
- 返回值:
-
- 描述:
执行指定的命令
其中,command 参数是一个字符串,用来表示要执行的命令。args 参数是一个可选的数组,用来传递命令的参数。executeCommand 方法没有返回值。调用该方法会执行指定的命令。 示例:
const editor = monaco.editor.create(document.getElementById('container'), {
+ value: '',
+ language: 'plaintext'
+});
+
+editor.executeCommand('editor.action.selectAll');
+
executeCommands
- 语法:
executeCommands(commands: ICommand[], source?: string): void
- 参数:
commands
- 返回值:
-
- 描述:
执行指定的一组命令
其中,commands 参数是一个数组,用来表示要执行的一组命令。source 参数是一个可选的字符串,用来表示命令的来源。executeCommands 方法没有返回值。调用该方法会执行指定的一组命令。 示例:
const editor = monaco.editor.create(document.getElementById('container'), {
+ value: '',
+ language: 'plaintext'
+});
+
+editor.executeCommands([
+ {
+ id: 'editor.action.selectAll'
+ },
+ {
+ id: 'editor.action.clipboardCopyAction'
+ }
+]);
+
executeEdits
- 语法:
executeEdits(source: string, edits: IIdentifiedSingleEditOperation[], endCursorState?: Selection[]): boolean
- 参数:
source
- 返回值:
boolean
- 描述:
执行指定的一组编辑操作
其中,source 参数是一个字符串,用来表示编辑操作的来源。edits 参数是一个数组,用来表示要执行的一组编辑操作。endCursorState 参数是一个可选的数组,用来表示编辑操作执行后的光标状态。executeEdits 方法返回一个布尔值,表示编辑操作是否执行成功。 示例:
const editor = monaco.editor.create(document.getElementById('container'), {
+ value: 'Hello\\nWorld!',
+ language: 'plaintext'
+});
+
+const edits = [
+ {
+ range: new monaco.Range(1, 1, 1, 6),
+ text: 'Bonjour'
+ },
+ {
+ range: new monaco.Range(2, 1, 2, 6),
+ text: 'Monde'
+ }
+];
+
+const success = editor.executeEdits('my-source', edits);
+console.log(success);
+
focus
- 语法:
focus(): void
- 参数:
-
- 返回值:
-
- 描述:
将焦点设置到编辑器上
focus 方法没有参数和返回值。调用该方法会将焦点设置到编辑器上。 示例:
const editor = monaco.editor.create(document.getElementById('container'), {
+ value: '',
+ language: 'plaintext'
+});
+
+// do something with the editor
+
+editor.focus();
+
getAction
- 语法:
getAction(id: string): IAction
- 参数:
id
- 返回值:
IAction
- 描述:
获取指定 ID 的编辑器动作
其中,id 参数是一个字符串,用来表示要获取的编辑器动作的 ID。返回值是一个 IAction 对象,表示指定 ID 的编辑器动作。 示例:
const editor = monaco.editor.create(document.getElementById('container'), {
+ value: '',
+ language: 'plaintext'
+});
+
+editor.addAction({
+ id: 'my-action',
+ label: 'My Action',
+ keybindings: [monaco.KeyCode.KEY_A],
+ run: function(editor) {
+ console.log('My Action executed!');
+ }
+});
+
+const action = editor.getAction('my-action');
+console.log(action);
+
+
getBottomForLineNumber
- 语法:
getBottomForLineNumber(lineNumber: number): number
- 参数:
lineNumber
- 返回值:
number
- 描述:
获取指定行的底部位置
其中,lineNumber 参数是一个数字,用来表示要获取底部位置的行号。返回值是一个数字,表示指定行的底部位置。
示例:
const editor = monaco.editor.create(document.getElementById('container'), {
+ value: 'Hello\\nWorld!',
+ language: 'plaintext'
+});
+
+const bottom = editor.getBottomForLineNumber(1);
+console.log(bottom);
+
+
getContainerDomNode
- 语法:
getContainerDomNode(): HTMLElement
- 参数:
-
- 返回值:
HTMLElement
- 描述:
获取编辑器的容器元素
返回值是一个 HTMLElement 对象,表示编辑器的容器元素。
示例:
const editor = monaco.editor.create(document.getElementById('container'), {
+ value: '',
+ language: 'plaintext'
+});
+
+const container = editor.getContainerDomNode();
+console.log(container);
+
+
getContentHeight
- 语法:
getContentHeight(): number
- 参数:
-
- 返回值:
number
- 描述:
获取编辑器内容的高度
返回值是一个数字,表示编辑器内容的高度。
示例:
const editor = monaco.editor.create(document.getElementById('container'), {
+value: '',
+language: 'plaintext'
+});
+
+const height = editor.getContentHeight();
+console.log(height);
+
+
getContentWidth
- 语法:
getContentWidth(): number
- 参数:
-
- 返回值:
number
- 描述:
获取编辑器内容的宽度
返回值是一个数字,表示编辑器内容的宽度。
示例:
const editor = monaco.editor.create(document.getElementById('container'), {
+value: '',
+language: 'plaintext'
+});
+
+const width = editor.getContentWidth();
+console.log(width);
+
+
getContribution
- 语法:
getContribution(id: string): any
- 参数:
id
- 返回值:
any
- 描述:
获取指定 ID 的编辑器贡献
其中,id 参数是一个字符串,用来表示要获取的编辑器贡献的 ID。返回值是一个任意类型的对象,表示指定 ID 的编辑器贡献。
示例:
const editor = monaco.editor.create(document.getElementById('container'), {
+value: '',
+language: 'plaintext'
+});
+
+const contribution = editor.getContribution('editor.contrib.folding');
+console.log(contribution);
+
+
getDecorationsInRange
`,52),nn=n("code",null,"getDecorationsInRange(range: IRange): ",-1),an=n("li",null,[s("参数: "),n("code",null,"range")],-1),ln=n("li",null,[s("描述: "),n("code",null,"获取指定范围内的装饰器"),s(" 其中,range 参数是一个 IRange 对象,用来表示要获取装饰器的范围。返回值是一个 IModelDecoration 数组,表示指定范围内的装饰器。")],-1),en=o(`示例:
const editor = monaco.editor.create(document.getElementById('container'), {
+value: '',
+language: 'plaintext'
+});
+
+editor.deltaDecorations([], [
+ {
+ range: new monaco.Range(1, 1, 1, 5),
+ options: {
+ isWholeLine: true,
+ className: 'my-decoration'
+ }
+ }
+]);
+
+const decorations = editor.getDecorationsInRange(new monaco.Range(1, 1, 2, 1));
+console.log(decorations);
+
+
getDomNode
- 语法:
getDomNode(): HTMLElement
- 参数:
-
- 返回值:
HTMLElement
- 描述:
获取编辑器的 DOM 元素
返回值是一个 HTMLElement 对象,表示编辑器的 DOM 元素。
示例:
const editor = monaco.editor.create(document.getElementById('container'), {
+ value: '',
+ language: 'plaintext'
+});
+
+const domNode = editor
+
+
+.getDomNode();
+console.log(domNode);
+
+
getEditorType
- 语法:
getEditorType(): string
- 参数:
-
- 返回值:
string
- 描述:
获取编辑器的类型
返回值是一个字符串,表示编辑器的类型。
示例:
const editor = monaco.editor.create(document.getElementById('container'), {
+ value: '',
+ language: 'plaintext'
+});
+
+const type = editor.getEditorType();
+console.log(type);
+
+
getId
- 语法:
getId(): string
- 参数:
-
- 返回值:
string
- 描述:
获取编辑器的唯一标识符
返回值是一个字符串,表示编辑器的唯一标识符。
示例:
const editor = monaco.editor.create(document.getElementById('container'), {
+ value: '',
+ language: 'plaintext'
+});
+
+const id = editor.getId();
+console.log(id);
+
+
getLayoutInfo
`,15),on=n("code",null,"getLayoutInfo(): ",-1),pn=n("li",null,[s("参数: "),n("code",null,"-")],-1),Dn=n("li",null,[s("描述: "),n("code",null,"获取编辑器的布局信息"),s(" 返回值是一个 IEditorLayoutInfo 对象,表示编辑器的布局信息。")],-1),cn=o(`示例:
const editor = monaco.editor.create(document.getElementById('container'), {
+ value: '',
+ language: 'plaintext'
+});
+
+const layoutInfo = editor.getLayoutInfo();
+console.log(layoutInfo);
+
+
getLineDecorations
- 语法:
getLineDecorations(lineNumber: number): IModelDecoration[]
- 参数:
lineNumber
- 返回值:
IModelDecoration[]
- 描述:
获取指定行的装饰器
其中,lineNumber 参数是一个数字,用来表示要获取装饰器的行号。返回值是一个 IModelDecoration 数组,表示指定行的装饰器。
示例:
const editor = monaco.editor.create(document.getElementById('container'), {
+ value: '',
+ language: 'plaintext'
+});
+
+editor.deltaDecorations([], [
+ {
+ range: new monaco.Range(1, 1, 1, 5),
+ options: {
+ isWholeLine: true,
+ className: 'my-decoration'
+ }
+ }
+]);
+
+const decorations = editor.getLineDecorations(1);
+console.log(decorations);
+
+
getModel
`,7),tn=n("code",null,"getModel():",-1),rn=n("li",null,[s("参数: "),n("code",null,"-")],-1),dn=n("li",null,[s("描述: "),n("code",null,"获取编辑器的文本模型"),s(" 返回值是一个 ITextModel 对象,表示编辑器的文本模型。")],-1),yn=o(`示例:
const editor = monaco.editor.create(document.getElementById('container'), {
+ value: '',
+ language: 'plaintext'
+});
+
+const model = editor.getModel();
+console.log(model);
+
+
getOffsetForColumn
- 语法:
getOffsetForColumn(lineNumber: number, column: number): number
- 参数:
lineNumber
- 返回值:
number
- 描述:
获取指定行和列的偏移量
其中,lineNumber 参数是一个数字,用来表示要获取偏移量的行号。column 参数是一个数字,用来表示要获取偏移量的列号。返回值是一个数字,表示指定行和列的偏移量。
示例:
const editor = monaco.editor.create(document.getElementById('container'), {
+ value: 'Hello\\nWorld!',
+ language: 'plaintext'
+});
+
+const offset = editor.getOffsetForColumn(1, 3);
+console.log(offset);
+
+
getOption
- 语法:
getOption(id: string): any
- 参数:
id
- 返回值:
any
- 描述:
获取指定 ID 的编辑器选项
其中,id 参数是一个字符串,用来表示要获取的编辑器选项的 ID。返回值是一个任意类型的对象,表示指定 ID 的编辑器选项。
示例:
const editor = monaco.editor.create(document.getElementById('container'), {
+ value: '',
+ language: 'plaintext',
+ wordWrap: 'on'
+});
+
+const option = editor.getOption('wordWrap');
+console.log(option);
+
+
getOptions
- 语法:
getOptions(): IEditorOptions
- 参数:
-
返回值: IEditorOptions
描述: 获取编辑器的所有选项
返回值是一个 IEditorOptions 对象,表示编辑器的所有选项。 示例:
const editor = monaco.editor.create(document.getElementById('container'), {
+ value: '',
+ language: 'plaintext',
+ wordWrap: 'on'
+});
+
+const options = editor.getOptions();
+console.log(options);
+
getPosition
语法: getPosition(): IPosition
参数: -
返回值: IPosition
描述: 获取当前光标位置
返回值是一个 IPosition 对象,表示当前光标位置。 示例:
const editor = monaco.editor.create(document.getElementById('container'), {
+ value: '',
+ language: 'plaintext'
+});
+
+// move the cursor to line 2, column 3
+editor.setPosition({ lineNumber: 2, column: 3 });
+
+const position = editor.getPosition();
+console.log(position);
+
getRawOptions
- 语法:
getRawOptions(): IEditorOptions
- 参数:
-
- 返回值:
IEditorOptions
- 描述:
获取编辑器的所有选项(包括默认选项)
返回值是一个 IEditorOptions 对象,表示编辑器的所有选项(包括默认选项)。 示例:
const editor = monaco.editor.create(document.getElementById('container'), {
+ value: '',
+ language: 'plaintext',
+ wordWrap: 'on'
+});
+
+const options = editor.getRawOptions();
+console.log(options);
+
- 语法:
getScrollHeight(): number
- 参数:
-
- 返回值:
number
- 描述:
获取编辑器的滚动高度
返回值是一个数字,表示编辑器的滚动高度。 示例:
const editor = monaco.editor.create(document.getElementById('container'), {
+ value: '',
+ language: 'plaintext'
+});
+
+const height = editor.getScrollHeight();
+console.log(height);
+
- 语法:
getScrollLeft(): number
- 参数:
-
- 返回值:
number
- 描述:
获取编辑器的水平滚动位置
返回值是一个数字,表示编辑器的水平滚动位置。 示例:
const editor = monaco.editor.create(document.getElementById('container'), {
+ value: '',
+ language: 'plaintext'
+});
+
+const scrollLeft = editor.getScrollLeft();
+console.log(scrollLeft);
+
- 语法:
getScrollTop(): number
- 参数:
-
- 返回值:
number
- 描述:
获取编辑器的垂直滚动位置
返回值是一个数字,表示编辑器的垂直滚动位置。 示例:
const editor = monaco.editor.create(document.getElementById('container'), {
+ value: '',
+ language: 'plaintext'
+});
+
+const scrollTop = editor.getScrollTop();
+console.log(scrollTop);
+
- 语法:
getScrollWidth(): number
- 参数:
-
- 返回值:
number
- 描述:
获取编辑器的滚动宽度
返回值是一个数字,表示编辑器的滚动宽度。 示例:
const editor = monaco.editor.create(document.getElementById('container'), {
+ value: '',
+ language: 'plaintext'
+});
+
+const width = editor.getScrollWidth();
+console.log(width);
+
- 语法:
getScrolledVisiblePosition(position: IPosition): { top: number, left: number, height: number }
- 参数:
position
- 返回值:
{ top: number, left: number, height: number }
- 描述:
获取指定位置在编辑器中可见的位置信息
其中,position 参数是一个 IPosition 对象,表示要获取可见位置信息的位置。返回值是一个对象,包含以下属性:
- top:指定位置在编辑器中的垂直位置。
- left:指定位置在编辑器中的水平位置。
- height:指定位置在编辑器中的高度。
下面是一个示例,演示如何获取指定位置在编辑器中可见的位置信息:
const editor = monaco.editor.create(document.getElementById('container'), {
+ value: 'Hello\\nWorld!',
+ language: 'plaintext'
+});
+
+const position = { lineNumber: 2, column: 3 };
+const visiblePosition = editor.getScrolledVisiblePosition(position);
+console.log(visiblePosition);
+
在这个示例中,我们创建了一个编辑器,并获取了第二行第三列的位置在编辑器中可见的位置信息。
getSelection
- 语法:
getSelection(): Selection
- 参数:
-
- 返回值:
Selection
- 描述:
获取当前选中文本的范围和方向
返回值是一个 Selection 对象,表示当前选中文本的范围和方向。 示例:
const editor = monaco.editor.create(document.getElementById('container'), {
+ value: 'Hello\\nWorld!',
+ language: 'plaintext'
+});
+
+// select the text "World!"
+editor.setSelection(new monaco.Range(2, 1, 2, 6));
+
+const selection = editor.getSelection();
+console.log(selection);
+
getSelections
- 语法:
getSelections(): Selection[]
- 参数:
-
- 返回值:
Selection[]
- 描述:
获取当前所有选中文本的范围和方向
返回值是一个 Selection 数组,表示当前所有选中文本的范围和方向。 示例:
const editor = monaco.editor.create(document.getElementById('container'), {
+ value: 'Hello\\nWorld!',
+ language: 'plaintext'
+});
+
+// select the text "Hello" and "World!"
+editor.setSelections([
+ new monaco.Selection(1, 1, 1, 6),
+ new monaco.Selection(2, 1, 2, 6)
+]);
+
+const selections = editor.getSelections();
+console.log(selections);
+
getSupportedActions
- 语法:
getSupportedActions(): string[]
- 参数:
-
- 返回值:
string[]
- 描述:
获取编辑器支持的所有操作的名称
返回值是一个字符串数组,表示编辑器支持的所有操作的名称。 示例:
const editor = monaco.editor.create(document.getElementById('container'), {
+ value: '',
+ language: 'plaintext'
+});
+
+const actions = editor.getSupportedActions();
+console.log(actions);
+
getTargetAtClientPoint
- 语法:
getTargetAtClientPoint(clientX: number, clientY: number): IEditorMouseEventTarget | null
- 参数:
clientX, clientY
- 返回值:
IEditorMouseEventTarget | null
- 描述:
获取指定客户端坐标下的编辑器元素
其中,clientX 和 clientY 参数是数字,表示要获取元素的客户端坐标。返回值是一个 IEditorMouseEventTarget 对象或 null,表示指定坐标下的编辑器元素。 示例:
const editor = monaco.editor.create(document.getElementById('container'), {
+ value: '',
+ language: 'plaintext'
+});
+
+const target = editor.getTargetAtClientPoint(10, 10);
+console.log(target);
+
getTopForLineNumber
- 语法:
getTopForLineNumber(lineNumber: number): number
- 参数:
lineNumber
- 返回值:
number
- 描述:
获取指定行号的顶部位置
其中,lineNumber 参数是一个数字,表示要获取顶部位置的行号。返回值是一个数字,表示指定行号的顶部位置。 示例:
const editor = monaco.editor.create(document.getElementById('container'), {
+ value: 'Hello\\nWorld!',
+ language: 'plaintext'
+});
+
+const top = editor.getTopForLineNumber(2);
+console.log(top);
+
getTopForPosition
- 语法:
getTopForPosition(position: IPosition): number
- 参数:
position
- 返回值:
number
- 描述:
获取指定位置的顶部位置
其中,position 参数是一个 IPosition 对象,表示要获取顶部位置的位置。返回值是一个数字,表示指定位置的顶部位置。 示例:
const editor = monaco.editor.create(document.getElementById('container'), {
+ value: 'Hello\\nWorld!',
+ language: 'plaintext'
+});
+
+const position = { lineNumber: 2, column: 3 };
+const top = editor.getTopForPosition(position);
+console.log(top);
+
getValue
- 语法:
getValue(): string
- 参数:
-
- 返回值:
string
- 描述:
获取编辑器的文本内容
返回值是一个字符串,表示编辑器的文本内容。 示例:
const editor = monaco.editor.create(document.getElementById('container'), {
+ value: 'Hello, world!',
+ language: 'plaintext'
+});
+
+const value = editor.getValue();
+console.log(value);
+
getVisibleColumnFromPosition
- 语法:
getVisibleColumnFromPosition(position: IPosition): number
- 参数:
position
- 返回值:
number
- 描述:
获取指定位置在编辑器中可见的列数
其中,position 参数是一个 IPosition 对象,表示要获取可见列数的位置。返回值是一个数字,表示指定位置在编辑器中可见的列数。 示例:
const editor = monaco.editor.create(document.getElementById('container'), {
+ value: 'Hello, world!',
+ language: 'plaintext'
+});
+
+const position = { lineNumber: 1, column: 8 };
+const visibleColumn = editor.getVisibleColumnFromPosition(position);
+console.log(visibleColumn);
+
getVisibleRanges
- 语法:
getVisibleRanges(): Range[]
- 参数:
-
- 返回值:
Range[]
- 描述:
获取编辑器中可见的文本范围
返回值是一个 Range 数组,表示编辑器中可见的文本范围。 示例:
const editor = monaco.editor.create(document.getElementById('container'), {
+ value: 'Hello, world!',
+ language: 'plaintext'
+});
+
+const ranges = editor.getVisibleRanges();
+console.log(ranges);
+
hasTextFocus
- 语法:
hasTextFocus(): boolean
- 参数:
-
- 返回值:
boolean
- 描述:
判断编辑器是否拥有文本焦点
返回值是一个布尔值,表示编辑器是否拥有文本焦点。 示例:
const editor = monaco.editor.create(document.getElementById('container'), {
+ value: 'Hello, world!',
+ language: 'plaintext'
+});
+
+const hasFocus = editor.hasTextFocus();
+console.log(hasFocus);
+
- 语法:
hasWidgetFocus(): boolean
- 参数:
-
- 返回值:
boolean
- 描述:
判断编辑器是否拥有小部件焦点
返回值是一个布尔值,表示编辑器是否拥有小部件焦点。 示例:
const editor = monaco.editor.create(document.getElementById('container'), {
+ value: 'Hello, world!',
+ language: 'plaintext'
+});
+
+const hasFocus = editor.hasWidgetFocus();
+console.log(hasFocus);
+
layout
- 语法:
layout(dimension?: IDimension): void
- 参数:
dimension
- 返回值:
-
- 描述:
重新布局编辑器
其中,dimension 参数是一个 IDimension 对象,表示编辑器的尺寸。如果省略该参数,则使用编辑器容器的尺寸。 示例:
const editor = monaco.editor.create(document.getElementById('container'), {
+ value: 'Hello, world!',
+ language: 'plaintext'
+});
+
+editor.layout();
+
layoutContentWidget
- 语法:
layoutContentWidget(widget: IContentWidget): void
- 参数:
widget
- 返回值:
-
- 描述:
重新布局指定的内容小部件
其中,widget 参数是一个 IContentWidget 对象,表示要重新布局的内容小部件。 示例:
const editor = monaco.editor.create(document.getElementById('container'), {
+ value: 'Hello, world!',
+ language: 'plaintext'
+});
+
+const widget = {
+ getId: function() { return 'my-content-widget'; },
+ getDomNode: function() { return document.getElementById('my-content-widget'); },
+ getPosition: function() { return { position: { lineNumber: 1, column: 1 }, preference: [monaco.editor.ContentWidgetPositionPreference.ABOVE, monaco.editor.ContentWidgetPositionPreference.BELOW] }; }
+};
+
+editor.addContentWidget(widget);
+editor.layoutContentWidget(widget);
+
- 语法:
layoutOverlayWidget(widget: IOverlayWidget): void
- 参数:
widget
- 返回值:
-
- 描述:
重新布局指定的覆盖小部件
其中,widget 参数是一个 IOverlayWidget 对象,表示要重新布局的覆盖小部件。 示例:
const editor = monaco.editor.create(document.getElementById('container'), {
+ value: 'Hello, world!',
+ language: 'plaintext'
+});
+
+const widget = {
+ getId: function() { return 'my-overlay-widget'; },
+ getDomNode: function() { return document.getElementById('my-overlay-widget'); },
+ getPosition: function() { return { preference: [monaco.editor.OverlayWidgetPositionPreference.TOP_RIGHT_CORNER] }; }
+};
+
+editor.addOverlayWidget(widget);
+editor.layoutOverlayWidget(widget);
+
onDidDispose
- 语法:
onDidDispose(listener: () => void): IDisposable
- 参数:
listener
- 返回值:
IDisposable
- 描述:
注册一个当编辑器被销毁时触发的回调函数
其中,listener 参数是一个函数,表示当编辑器被销毁时要执行的回调函数。返回值是一个 IDisposable 对象,表示注册的回调函数。 示例:
const editor = monaco.editor.create(document.getElementById('container'), {
+ value: 'Hello, world!',
+ language: 'plaintext'
+});
+
+const disposable = editor.onDidDispose(function() {
+ console.log('Editor disposed!');
+});
+
+// Dispose the editor
+editor.dispose();
+
+// Dispose the listener
+disposable.dispose();
+
popUndoStop
- 语法:
popUndoStop(): void
- 参数:
-
- 返回值:
-
- 描述:
弹出一个撤销操作的栈帧
该方法会弹出一个撤销操作的栈帧,使得之前的操作可以一起撤销。 示例:
const editor = monaco.editor.create(document.getElementById('container'), {
+ value: 'Hello, world!',
+ language: 'plaintext'
+});
+
+editor.pushUndoStop();
+// Do some editing
+editor.popUndoStop();
+
pushUndoStop
- 语法:
pushUndoStop(): void
- 参数:
-
- 返回值:
-
- 描述:
推入一个撤销操作的栈帧
该方法会推入一个撤销操作的栈帧,使得之后的操作可以一起撤销。 示例:
const editor = monaco.editor.create(document.getElementById('container'), {
+ value: 'Hello, world!',
+ language: 'plaintext'
+});
+
+editor.pushUndoStop();
+// Do some editing
+editor.popUndoStop();
+
removeContentWidget
- 语法:
removeContentWidget(widget: IContentWidget): void
- 参数:
widget
- 返回值:
-
- 描述:
从编辑器中移除指定的内容小部件
其中,widget 参数是一个 IContentWidget 对象,表示要移除的内容小部件。 示例:
const editor = monaco.editor.create(document.getElementById('container'), {
+ value: 'Hello, world!',
+ language: 'plaintext'
+});
+
+const widget = {
+ getId: function() { return 'my-content-widget'; },
+ getDomNode: function() { return document.getElementById('my-content-widget'); },
+ getPosition: function() { return { position: { lineNumber: 1, column: 1 }, preference: [monaco.editor.ContentWidgetPositionPreference.ABOVE, monaco.editor.ContentWidgetPositionPreference.BELOW] }; }
+};
+
+editor.addContentWidget(widget);
+editor.removeContentWidget(widget);
+
removeDecorations
- 语法:
removeDecorations(decorationType: string): void
- 参数:
decorationType
- 返回值:
-
- 描述:
从编辑器中移除指定类型的装饰
其中,decorationType 参数是一个字符串,表示要移除的装饰的类型。 示例:
const editor = monaco.editor.create(document.getElementById('container'), {
+ value: 'Hello, world!',
+ language: 'plaintext'
+});
+
+const decorations = editor.deltaDecorations([], [
+ { range: new monaco.Range(1, 1, 1, 5), options: { isWholeLine: true, className: 'my-decoration' } }
+]);
+
+editor.removeDecorations('my-decoration');
+
- 语法:
removeOverlayWidget(widget: IOverlayWidget): void
- 参数:
widget
- 返回值:
-
- 描述:
从编辑器中移除指定的覆盖小部件
其中,widget 参数是一个 IOverlayWidget 对象,表示要移除的覆盖小部件。 示例:
const editor = monaco.editor.create(document.getElementById('container'), {
+ value: 'Hello, world!',
+ language: 'plaintext'
+});
+
+const widget = {
+ getId: function() { return 'my-overlay-widget'; },
+ getDomNode: function() { return document.getElementById('my-overlay-widget'); },
+ getPosition: function() { return { preference: [monaco.editor.OverlayWidgetPositionPreference.TOP_RIGHT_CORNER] }; }
+};
+
+editor.addOverlayWidget(widget);
+editor.removeOverlayWidget(widget);
+
render
- 语法:
render(): void
- 参数:
-
- 返回值:
-
- 描述:
重新渲染编辑器
该方法会重新渲染编辑器,以便更新编辑器中的内容。 示例:
const editor = monaco.editor.create(document.getElementById('container'), {
+ value: 'Hello, world!',
+ language: 'plaintext'
+});
+
+// Do some editing
+editor.render();
+
restoreViewState
- 语法:
restoreViewState(state: ICodeEditorViewState): void
- 参数:
state
- 返回值:
-
- 描述:
恢复编辑器的视图状态
其中,state 参数是一个 ICodeEditorViewState 对象,表示要恢复的视图状态。 示例:
const editor = monaco.editor.create(document.getElementById('container'), {
+ value: 'Hello, world!',
+ language: 'plaintext'
+});
+
+const state = editor.saveViewState();
+// Do some editing
+editor.restoreViewState(state);
+
revealLine
- 语法:
revealLine(lineNumber: number, scrollType?: ScrollType): void
- 参数:
lineNumber, scrollType
- 返回值:
-
- 描述:
滚动编辑器以便使指定行可见
其中,lineNumber 参数是一个数字,表示要滚动到的行号;scrollType 参数是一个 ScrollType 枚举值,表示滚动的类型。如果省略该参数,则默认为 ScrollType.Smooth。 示例:
const editor = monaco.editor.create(document.getElementById('container'), {
+ value: 'Hello, world!\\nHow are you?',
+ language: 'plaintext'
+});
+
+editor.revealLine(2);
+
revealLineInCenter
- 语法:
revealLineInCenter(lineNumber: number, scrollType?: ScrollType): void
- 参数:
lineNumber, scrollType
- 返回值:
-
- 描述:
滚动编辑器以便使指定行在编辑器中垂直居中显示
其中,lineNumber 参数是一个数字,表示要滚动到的行号;scrollType 参数是一个 ScrollType 枚举值,表示滚动的类型。如果省略该参数,则默认为 ScrollType.Smooth。 示例:
const editor = monaco.editor.create(document.getElementById('container'), {
+ value: 'Hello, world!\\nHow are you?',
+ language: 'plaintext'
+});
+
+editor.revealLineInCenter(2);
+
revealLineInCenterIfOutsideViewport
- 语法:
revealLineInCenterIfOutsideViewport(lineNumber: number, scrollType?: ScrollType): void
- 参数:
lineNumber, scrollType
- 返回值:
-
- 描述:
滚动编辑器以便使指定行在编辑器中垂直居中显示,但仅当该行不在视口中时才滚动
其中,lineNumber 参数是一个数字,表示要滚动到的行号;scrollType 参数是一个 ScrollType 枚举值,表示滚动的类型。如果省略该参数,则默认为 ScrollType.Smooth。 示例:
const editor = monaco.editor.create(document.getElementById('container'), {
+ value: 'Hello, world!\\nHow are you?',
+ language: 'plaintext'
+});
+
+editor.revealLineInCenterIfOutsideViewport(2);
+
revealLineNearTop
- 语法:
revealLineNearTop(lineNumber: number, scrollType?: ScrollType): void
- 参数:
lineNumber, scrollType
- 返回值:
-
- 描述:
滚动编辑器以便使指定行在编辑器中靠近顶部显示
其中,lineNumber 参数是一个数字,表示要滚动到的行号;scrollType 参数是一个 ScrollType 枚举值,表示滚动的类型。如果省略该参数,则默认为 ScrollType.Smooth。 示例:
const editor = monaco.editor.create(document.getElementById('container'), {
+ value: 'Hello, world!\\nHow are you?',
+ language: 'plaintext'
+});
+
+editor.revealLineNearTop(2);
+
revealLines
- 语法:
revealLines(startLineNumber: number, endLineNumber: number, scrollType?: ScrollType): void
- 参数:
startLineNumber, endLineNumber, scrollType
- 返回值:
-
- 描述:
滚动编辑器以便使指定行范围可见
其中,startLineNumber 和 endLineNumber 参数是数字,表示要滚动到的行号范围;scrollType 参数是一个 ScrollType 枚举值,表示滚动的类型。如果省略该参数,则默认为 ScrollType.Smooth。 示例:
const editor = monaco.editor.create(document.getElementById('container'), {
+ value: 'Hello, world!\\nHow are you?\\nI am fine, thank you!',
+ language: 'plaintext'
+});
+
+editor.revealLines(2, 3);
+
revealLinesInCenter
- 语法:
revealLinesInCenter(startLineNumber: number, endLineNumber: number, scrollType?: ScrollType): void
- 参数:
startLineNumber, endLineNumber, scrollType
- 返回值:
-
- 描述:
滚动编辑器以便使指定行范围在编辑器中垂直居中显示
其中,startLineNumber 和 endLineNumber 参数是数字,表示要滚动到的行号范围;scrollType 参数是一个 ScrollType 枚举值,表示滚动的类型。如果省略该参数,则默认为 ScrollType.Smooth。 示例:
const editor = monaco.editor.create(document.getElementById('container'), {
+ value: 'Hello, world!\\nHow are you?\\nI am fine, thank you!',
+ language: 'plaintext'
+});
+
+editor.revealLinesInCenter(2, 3);
+
revealLinesInCenterIfOutsideViewport
- 语法:
revealLinesInCenterIfOutsideViewport(startLineNumber: number, endLineNumber: number, scrollType?: ScrollType): void
- 参数:
startLineNumber, endLineNumber, scrollType
- 返回值:
-
- 描述:
滚动编辑器以便使指定行范围在编辑器中垂直居中显示,但仅当该范围不在视口中时才滚动
其中,startLineNumber 和 endLineNumber 参数是数字,表示要滚动到的行号范围;scrollType 参数是一个 ScrollType 枚举值,表示滚动的类型。如果省略该参数,则默认为 ScrollType.Smooth。 示例:
const editor = monaco.editor.create(document.getElementById('container'), {
+ value: 'Hello, world!\\nHow are you?\\nI am fine, thank you!',
+ language: 'plaintext'
+});
+
+editor.revealLinesInCenterIfOutsideViewport(2, 3);
+
revealLinesNearTop
- 语法:
revealLinesNearTop(startLineNumber: number, endLineNumber: number, scrollType?: ScrollType): void
- 参数:
startLineNumber, endLineNumber, scrollType
- 返回值:
-
- 描述:
滚动编辑器以便使指定行范围在编辑器中靠近顶部显示
其中,startLineNumber 和 endLineNumber 参数是数字,表示要滚动到的行号范围;scrollType 参数是一个 ScrollType 枚举值,表示滚动的类型。如果省略该参数,则默认为 ScrollType.Smooth。 示例:
const editor = monaco.editor.create(document.getElementById('container'), {
+ value: 'Hello, world!\\nHow are you?\\nI am fine, thank you!',
+ language: 'plaintext'
+});
+
+editor.revealLinesNearTop(2, 3);
+
revealPosition
- 语法:
revealPosition(position: IPosition, scrollType?: ScrollType): void
- 参数:
position, scrollType
- 返回值:
-
- 描述:
滚动编辑器以便使指定位置可见
其中,position 参数是一个 IPosition 对象,表示要滚动到的位置;scrollType 参数是一个 ScrollType 枚举值,表示滚动的类型。如果省略该参数,则默认为 ScrollType.Smooth。 示例:
const editor = monaco.editor.create(document.getElementById('container'), {
+ value: 'Hello, world!',
+ language: 'plaintext'
+});
+
+editor.revealPosition({ lineNumber: 1, column: 6 });
+
revealPositionInCenter
- 语法:
revealPositionInCenter(position: IPosition, scrollType?: ScrollType): void
- 参数:
position, scrollType
- 返回值:
-
- 描述:
滚动编辑器以便使指定位置在编辑器中垂直居中显示
其中,position 参数是一个 IPosition 对象,表示要滚动到的位置;scrollType 参数是一个 ScrollType 枚举值,表示滚动的类型。如果省略该参数,则默认为 ScrollType.Smooth。 示例:
const editor = monaco.editor.create(document.getElementById('container'), {
+ value: 'Hello, world!',
+ language: 'plaintext'
+});
+
+editor.revealPositionInCenter({ lineNumber: 1, column: 6 });
+
revealLinesInCenterIfOutsideViewport
- 语法:
revealLinesInCenterIfOutsideViewport(startLineNumber: number, endLineNumber: number, scrollType?: ScrollType): void
- 参数:
startLineNumber, endLineNumber, scrollType
- 返回值:
-
- 描述:
滚动编辑器以便使指定行范围在编辑器中垂直居中显示,但仅当该范围不在视口中时才滚动
其中,startLineNumber 和 endLineNumber 参数是数字,表示要滚动到的行号范围;scrollType 参数是一个 ScrollType 枚举值,表示滚动的类型。如果省略该参数,则默认为 ScrollType.Smooth。 示例:
const editor = monaco.editor.create(document.getElementById('container'), {
+ value: 'Hello, world!\\nHow are you?\\nI am fine, thank you!',
+ language: 'plaintext'
+});
+
+editor.revealLinesInCenterIfOutsideViewport(2, 3);
+
revealLinesNearTop
- 语法:
revealLinesNearTop(startLineNumber: number, endLineNumber: number, scrollType?: ScrollType): void
- 参数:
startLineNumber, endLineNumber, scrollType
- 返回值:
-
- 描述:
滚动编辑器以便使指定行范围在编辑器中靠近顶部显示
其中,startLineNumber 和 endLineNumber 参数是数字,表示要滚动到的行号范围;scrollType 参数是一个 ScrollType 枚举值,表示滚动的类型。如果省略该参数,则默认为 ScrollType.Smooth。 示例:
const editor = monaco.editor.create(document.getElementById('container'), {
+ value: 'Hello, world!\\nHow are you?\\nI am fine, thank you!',
+ language: 'plaintext'
+});
+
+editor.revealLinesNearTop(2, 3);
+
revealPosition
- 语法:
revealPosition(position: IPosition, scrollType?: ScrollType): void
- 参数:
position, scrollType
- 返回值:
-
- 描述:
滚动编辑器以便使指定位置可见
其中,position 参数是一个 IPosition 对象,表示要滚动到的位置;scrollType 参数是一个 ScrollType 枚举值,表示滚动的类型。如果省略该参数,则默认为 ScrollType.Smooth。 示例:
const editor = monaco.editor.create(document.getElementById('container'), {
+ value: 'Hello, world!',
+ language: 'plaintext'
+});
+
+editor.revealPosition({ lineNumber: 1, column: 6 });
+
revealPositionInCenter
- 语法:
revealPositionInCenter(position: IPosition, scrollType?: ScrollType): void
- 参数:
position, scrollType
- 返回值:
-
- 描述:
滚动编辑器以便使指定位置在编辑器中垂直居中显示
其中,position 参数是一个 IPosition 对象,表示要滚动到的位置;scrollType 参数是一个 ScrollType 枚举值,表示滚动的类型。如果省略该参数,则默认为 ScrollType.Smooth。 示例:
const editor = monaco.editor.create(document.getElementById('container'), {
+ value: 'Hello, world!',
+ language: 'plaintext'
+});
+
+editor.revealPositionInCenter({ lineNumber: 1, column: 6 });
+
revealPositionInCenterIfOutsideViewport
- 语法:
revealPositionInCenterIfOutsideViewport(position: IPosition, scrollType?: ScrollType): void
- 参数:
position, scrollType
- 返回值:
-
- 描述:
滚动编辑器以便使指定位置在编辑器中垂直居中显示,但仅当该位置不在视口中时才滚动
其中,position 参数是一个 IPosition 对象,表示要滚动到的位置;scrollType 参数是一个 ScrollType 枚举值,表示滚动的类型。如果省略该参数,则默认为 ScrollType.Smooth。 示例:
const editor = monaco.editor.create(document.getElementById('container'), {
+ value: 'Hello, world!',
+ language: 'plaintext'
+});
+
+editor.revealPositionInCenterIfOutsideViewport({ lineNumber: 1, column: 6 });
+
+
revealPositionNearTop
- 语法:
revealPositionNearTop(position: IPosition, scrollType?: ScrollType): void
- 参数:
position, scrollType
- 返回值:
-
- 描述:
滚动编辑器以便使指定位置在编辑器中靠近顶部显示
其中,position 参数是一个 IPosition 对象,表示要滚动到的位置;scrollType 参数是一个 ScrollType 枚举值,表示滚动的类型。如果省略该参数,则默认为 ScrollType.Smooth。
示例:
const editor = monaco.editor.create(document.getElementById('container'), {
+value: 'Hello, world!',
+language: 'plaintext'
+});
+
+editor.revealPositionNearTop({ lineNumber: 1, column: 6 });
+
+
revealRange
- 语法:
revealRange(range: IRange, scrollType?: ScrollType): void
- 参数:
range, scrollType
- 返回值:
-
- 描述:
滚动编辑器以便使指定范围可见
其中,range 参数是一个 IRange 对象,表示要滚动到的范围;scrollType 参数是一个 ScrollType 枚举值,表示滚动的类型。如果省略该参数,则默认为 ScrollType.Smooth。
示例:
const editor = monaco.editor.create(document.getElementById('container'), {
+value: 'Hello, world!\\nHow are you?\\nI am fine, thank you!',
+language: 'plaintext'
+});
+
+editor.revealRange({ startLineNumber: 2, startColumn: 1, endLineNumber: 3, endColumn: 5 });
+
+
revealRangeAtTop
- 语法:
revealRangeAtTop(range: IRange, scrollType?: ScrollType): void
- 参数:
range, scrollType
- 返回值:
-
- 描述:
滚动编辑器以便使指定范围在编辑器中靠近顶部显示
其中,range 参数是一个 IRange 对象,表示要滚动到的范围;scrollType 参数是一个 ScrollType 枚举值,表示滚动的类型。如果省略该参数,则默认为 ScrollType.Smooth。
示例:
const editor = monaco.editor.create(document.getElementById('container'), {
+value: 'Hello, world!\\nHow are you?\\nI am fine, thank you!',
+language: 'plaintext'
+});
+
+editor.revealRangeAtTop({ startLineNumber: 2, startColumn: 1, endLineNumber: 3, endColumn: 5 });
+
+
revealRangeInCenter
- 语法:
revealRangeInCenter(range: IRange, scrollType?: ScrollType): void
- 参数:
range, scrollType
- 返回值:
-
- 描述:
滚动编辑器以便使指定范围在编辑器中垂直居中显示
其中,range 参数是一个 IRange 对象,表示要滚动到的范围;scrollType 参数是一个 ScrollType 枚举值,表示滚动的类型。如果省略该参数,则默认为 ScrollType.Smooth。
示例:
const editor = monaco.editor.create(document.getElementById('container'), {
+value: 'Hello, world!\\nHow are you?\\nI am fine, thank you!',
+language: 'plaintext'
+});
+
+editor.revealRangeInCenter({ startLineNumber: 2, startColumn: 1, endLineNumber: 3, endColumn: 5 });
+
+
revealRangeInCenterIfOutsideViewport
- 语法:
revealRangeInCenterIfOutsideViewport(range: IRange, scrollType?: ScrollType): void
- 参数:
range, scrollType
- 返回值:
-
- 描述:
滚动编辑器以便使指定范围在编辑器中垂直居中显示,但仅当该范围不在视口中时才滚动
其中,range 参数是一个 IRange 对象,表示要滚动到的范围;scrollType 参数是一个 ScrollType 枚举值,表示滚动的类型
。如果省略该参数,则默认为 ScrollType.Smooth。
示例:
const editor = monaco.editor.create(document.getElementById('container'), {
+ value: 'Hello, world!\\nHow are you?\\nI am fine, thank you!',
+ language: 'plaintext'
+});
+
+editor.revealRangeInCenterIfOutsideViewport({ startLineNumber: 2, startColumn: 1, endLineNumber: 3, endColumn: 5 });
+
revealRangeNearTop
- 语法:
revealRangeNearTop(range: IRange, scrollType?: ScrollType): void
- 参数:
range, scrollType
- 返回值:
-
- 描述:
滚动编辑器以便使指定范围在编辑器中靠近顶部显示
其中,range 参数是一个 IRange 对象,表示要滚动到的范围;scrollType 参数是一个 ScrollType 枚举值,表示滚动的类型。如果省略该参数,则默认为 ScrollType.Smooth。 示例:
const editor = monaco.editor.create(document.getElementById('container'), {
+ value: 'Hello, world!\\nHow are you?\\nI am fine, thank you!',
+ language: 'plaintext'
+});
+
+editor.revealRangeNearTop({ startLineNumber: 2, startColumn: 1, endLineNumber: 3, endColumn: 5 });
+
revealRangeNearTopIfOutsideViewport
- 语法:
revealRangeNearTopIfOutsideViewport(range: IRange, scrollType?: ScrollType): void
- 参数:
range, scrollType
- 返回值:
-
- 描述:
滚动编辑器以便使指定范围在编辑器中靠近顶部显示,但仅当该范围不在视口中时才滚动
其中,range 参数是一个 IRange 对象,表示要滚动到的范围;scrollType 参数是一个 ScrollType 枚举值,表示滚动的类型。如果省略该参数,则默认为 ScrollType.Smooth。 示例:
const editor = monaco.editor.create(document.getElementById('container'), {
+ value: 'Hello, world!\\nHow are you?\\nI am fine, thank you!',
+ language: 'plaintext'
+});
+
+editor.revealRangeNearTopIfOutsideViewport({ startLineNumber: 2, startColumn: 1, endLineNumber: 3, endColumn: 5 });
+
saveViewState
- 语法:
saveViewState(): ICodeEditorViewState | null
- 参数:
-
- 返回值:
ICodeEditorViewState | null
- 描述:
保存编辑器的视图状态,以便在以后恢复
如果编辑器当前没有焦点,则返回 null。 示例:
const editor = monaco.editor.create(document.getElementById('container'), {
+ value: 'Hello, world!',
+ language: 'plaintext'
+});
+
+const viewState = editor.saveViewState();
+
setBanner
- 语法:
setBanner(banner: IBanner): IDisposable
- 参数:
banner
- 返回值:
IDisposable
- 描述:
设置编辑器的横幅(Banner)
其中,banner 参数是一个 IBanner 对象,用来描述要设置的横幅。它包含以下属性:
- text:横幅的文本内容。
- backgroundColor:横幅的背景颜色。
- color:横幅的文本颜色。
- actions:横幅的操作按钮,是一个数组,每个元素都是一个 IAction 对象。
setBanner 方法返回一个 IDisposable 对象,用来取消设置的横幅。 示例:
const editor = monaco.editor.create(document.getElementById('container'), {
+ value: '',
+ language: 'plaintext'
+});
+
+const banner = {
+ text: 'This is a banner',
+ backgroundColor: '#ff0000',
+ color: '#ffffff',
+ actions: [
+ {
+ id: 'banner-action',
+ label: 'Close',
+ run: () => {
+ disposable.dispose();
+ }
+ }
+ ]
+};
+
+const disposable = editor.setBanner(banner);
+
setModel
- 语法:
setModel(model: ITextModel): void
- 参数:
model
- 返回值:
-
- 描述:
设置编辑器的文本模型
其中,model 参数是一个 ITextModel 对象,表示要设置的文本模型。 示例:
const editor = monaco.editor.create(document.getElementById('container'), {
+ value: '',
+ language: 'plaintext'
+});
+
+const model = monaco.editor.createModel('Hello, world!', 'plaintext');
+editor.setModel(model);
+
setPosition
- 语法:
setPosition(position: IPosition): void
- 参数:
position
- 返回值:
-
- 描述:
设置编辑器的光标位置
其中,position 参数是一个 IPosition 对象,表示要设置的光标位置。 示例:
const editor = monaco.editor.create(document.getElementById('container'), {
+ value: 'Hello, world!',
+ language: 'plaintext'
+});
+
+editor.setPosition({ lineNumber: 1, column: 6 });
+
- 语法:
setScrollPosition(position: INewScrollPosition): void
- 参数:
position
- 返回值:
-
- 描述:
设置编辑器的滚动位置
其中,position 参数是一个 INewScrollPosition 对象,表示要设置的滚动位置。它包含以下属性:
- scrollTop:滚动条的垂直位置。
- scrollLeft:滚动条的水平位置。
- scrollWidth:滚动条的宽度。
- scrollHeight:滚动条的高度。
示例:
const editor = monaco.editor.create(document.getElementById('container'), {
+ value: 'Hello, world!',
+ language: 'plaintext'
+});
+
+editor.setScrollPosition({ scrollTop: 100, scrollLeft: 50 });
+
setSelection
- 语法:
setSelection(selection: ISelection): void
- 参数:
selection
- 返回值:
-
- 描述:
设置编辑器的选区
其中,selection 参数是一个 ISelection 对象,表示要设置的选区。 示例:
const editor = monaco.editor.create(document.getElementById('container'), {
+ value: 'Hello, world!',
+ language: 'plaintext'
+});
+
+editor.setSelection({ startLineNumber: 1, startColumn: 1, endLineNumber: 1, endColumn: 5 });
+
trigger
- 语法:
trigger(source: string, handlerId: string, payload?: any): void
- 参数:
source, handlerId, payload
- 返回值:
-
- 描述:
触发编辑器的命令处理器
如果版本是0.30的请用以下方式触发
editor.getAction(handlerId : string | array)._run()
editor.getAction('editor.action.formatDocument')._run()
+
其中,source 参数是一个字符串,表示命令的来源;handlerId 参数是一个字符串,表示要触发的命令处理器的 ID;payload 参数是一个任意类型的值,表示要传递给命令处理器的数据。 示例:
const editor = monaco.editor.create(document.getElementById('container'), {
+ value: 'Hello, world!',
+ language: 'plaintext'
+});
+
+editor.trigger('my-source', 'my-handler', { data: 'Hello' });
+
updateOptions
- 语法:
updateOptions(newOptions: IEditorOptions): void
- 参数:
newOptions
- 返回值:
-
- 描述:
更新编辑器的选项
其中,newOptions 参数是一个 IEditorOptions 对象,表示要更新的选项。 示例:
const editor = monaco.editor.create(document.getElementById('container'), {
+ value: 'Hello, world!',
+ language: 'plaintext'
+});
+
+editor.updateOptions({ readOnly: true });
+
writeScreenReaderContent
- 语法:
writeScreenReaderContent(content: string): IDisposable
- 参数:
content
- 返回值:
IDisposable
- 描述:
向编辑器的屏幕阅读器输出内容
其中,content 参数是一个字符串,表示要输出的内容。writeScreenReaderContent 方法返回一个 IDisposable 对象,用来取消输出的内容。 示例:
const editor = monaco.editor.create(document.getElementById('container'), {
+ value: '',
+ language: 'plaintext'
+});
+
+const disposable = editor.writeScreenReaderContent('This is a message for screen readers');
+
+
`,266);function Cn(un,vn){const D=p("ExternalLinkIcon"),l=p("RouterLink");return t(),r("div",null,[d,n("p",null,[y,s(),n("a",C,[s("官网地址"),a(D)])]),u,v,n("ul",null,[n("li",null,[s("参数: "),a(l,{to:"/editor/interfaces/IEditorMouseEvent.html"},{default:e(()=>[s("IEditorMouseEvent")]),_:1})]),E,m]),b,n("ul",null,[n("li",null,[s("参数: "),a(l,{to:"/global/interfaces/IEvent.html"},{default:e(()=>[s("IEvent")]),_:1}),s("")]),F,g]),h,n("ul",null,[n("li",null,[s("参数: "),a(l,{to:"/global/interfaces/IEvent.html"},{default:e(()=>[s("IEvent")]),_:1}),s("")]),A,x]),I,n("ul",null,[n("li",null,[s("参数: "),a(l,{to:"/global/interfaces/IEvent.html"},{default:e(()=>[s("IEvent")]),_:1}),s("")]),f,k]),B,n("ul",null,[n("li",null,[s("参数: "),a(l,{to:"/global/interfaces/IEvent.html"},{default:e(()=>[s("IEvent")]),_:1}),s("<"),a(l,{to:"/editor/classes/ConfigurationChangedEvent.html"},{default:e(()=>[s("ConfigurationChangedEvent")]),_:1}),s(">")]),_,w]),j,n("ul",null,[n("li",null,[s("参数: "),a(l,{to:"/global/interfaces/IEvent.html"},{default:e(()=>[s("IEvent")]),_:1}),s("<"),a(l,{to:"/editor/interfaces/ICursorPositionChangedEvent.html"},{default:e(()=>[s("ICursorPositionChangedEvent")]),_:1}),s(">")]),T,S]),L,n("ul",null,[n("li",null,[s("参数: "),a(l,{to:"/global/interfaces/IEvent.html"},{default:e(()=>[s("IEvent")]),_:1}),s("<"),a(l,{to:"/editor/interfaces/ICursorSelectionChangedEvent.html"},{default:e(()=>[s("ICursorSelectionChangedEvent")]),_:1}),s(">")]),N,M]),H,n("ul",null,[n("li",null,[s("参数: "),a(l,{to:"/global/interfaces/IEvent.html"},{default:e(()=>[s("IEvent")]),_:1}),s("")]),P,O]),W,n("ul",null,[n("li",null,[s("参数: "),a(l,{to:"/global/interfaces/IEvent.html"},{default:e(()=>[s("IEvent")]),_:1}),s("<"),a(l,{to:"/editor/interfaces/IModelChangedEvent.html"},{default:e(()=>[s("IModelChangedEvent")]),_:1}),s(">")]),R,V]),K,n("ul",null,[n("li",null,[s("参数: "),a(l,{to:"/global/interfaces/IEvent.html"},{default:e(()=>[s("IEvent")]),_:1}),s("<"),a(l,{to:"/editor/interfaces/IModelContentChangedEvent.html"},{default:e(()=>[s("IModelContentChangedEvent")]),_:1}),s(">")]),U,z]),Z,n("ul",null,[n("li",null,[s("参数: "),a(l,{to:"/global/interfaces/IEvent.html"},{default:e(()=>[s("IEvent")]),_:1}),s("<"),a(l,{to:"/editor/interfaces/IModelDecorationsChangedEvent.html"},{default:e(()=>[s("IModelDecorationsChangedEvent")]),_:1}),s(">")]),q,Y]),G,n("ul",null,[n("li",null,[s("参数: "),a(l,{to:"/global/interfaces/IEvent.html"},{default:e(()=>[s("IEvent")]),_:1}),s("<"),a(l,{to:"/editor/interfaces/IModelLanguageChangedEvent.html"},{default:e(()=>[s("IModelLanguageChangedEvent")]),_:1}),s(">")]),X,J]),Q,n("ul",null,[n("li",null,[s("参数: "),a(l,{to:"/global/interfaces/IEvent.html"},{default:e(()=>[s("IEvent")]),_:1}),s("<"),a(l,{to:"/editor/interfaces/IModelLanguageConfigurationChangedEvent.html"},{default:e(()=>[s("IModelLanguageConfigurationChangedEvent")]),_:1}),s(">")]),$,ss]),ns,n("ul",null,[n("li",null,[s("参数: "),a(l,{to:"/global/interfaces/IEvent.html"},{default:e(()=>[s("IEvent")]),_:1}),s("<"),a(l,{to:"/editor/interfaces/IModelOptionsChangedEvent.html"},{default:e(()=>[s("IModelOptionsChangedEvent")]),_:1}),s(">")]),as,ls]),es,n("ul",null,[n("li",null,[s("参数: "),a(l,{to:"/global/interfaces/IEvent.html"},{default:e(()=>[s("IEvent")]),_:1}),s("")]),os,ps]),Ds,n("ul",null,[n("li",null,[s("参数: "),a(l,{to:"/global/interfaces/IEvent.html"},{default:e(()=>[s("IEvent")]),_:1}),s("")]),cs,ts]),rs,n("ul",null,[n("li",null,[s("参数: "),a(l,{to:"/global/interfaces/IEvent.html"},{default:e(()=>[s("IEvent")]),_:1}),s("<"),a(l,{to:"/editor/interfaces/IContentSizeChangedEvent.html"},{default:e(()=>[s("IContentSizeChangedEvent")]),_:1}),s(">")]),is,ds]),ys,n("ul",null,[n("li",null,[s("参数: "),a(l,{to:"/global/interfaces/IEvent.html"},{default:e(()=>[s("IEvent")]),_:1}),s("")]),Cs,us]),vs,n("ul",null,[n("li",null,[s("参数: "),a(l,{to:"/global/interfaces/IEvent.html"},{default:e(()=>[s("IEvent")]),_:1}),s("")]),Es,ms]),bs,n("ul",null,[n("li",null,[s("参数: "),a(l,{to:"/global/interfaces/IEvent.html"},{default:e(()=>[s("IEvent")]),_:1}),s("<"),a(l,{to:"/editor/interfaces/EditorLayoutInfo.html"},{default:e(()=>[s("EditorLayoutInfo")]),_:1}),s(">")]),Fs,gs]),hs,n("ul",null,[n("li",null,[s("参数: "),a(l,{to:"/global/interfaces/IEvent.html"},{default:e(()=>[s("IEvent")]),_:1}),s("<"),a(l,{to:"/editor/interfaces/IPasteEvent.html"},{default:e(()=>[s("IPasteEvent")]),_:1}),s(">")]),As,xs]),Is,n("ul",null,[n("li",null,[s("参数: "),a(l,{to:"/global/interfaces/IEvent.html"},{default:e(()=>[s("IEvent")]),_:1}),s("<"),a(l,{to:"/global/interfaces/IScrollEvent.html"},{default:e(()=>[s("IScrollEvent")]),_:1}),s(">")]),fs,ks]),Bs,n("ul",null,[n("li",null,[s("参数: "),a(l,{to:"/global/interfaces/IEvent.html"},{default:e(()=>[s("IEvent")]),_:1}),s("<"),a(l,{to:"/global/interfaces/IKeyboardEvent.html"},{default:e(()=>[s("IKeyboardEvent")]),_:1}),s(">")]),_s,ws]),js,n("ul",null,[n("li",null,[s("参数: "),a(l,{to:"/global/interfaces/IEvent.html"},{default:e(()=>[s("IEvent")]),_:1}),s("<"),a(l,{to:"/global/interfaces/IKeyboardEvent.html"},{default:e(()=>[s("IKeyboardEvent")]),_:1}),s(">")]),Ts,Ss]),Ls,n("ul",null,[n("li",null,[s("参数: "),a(l,{to:"/global/interfaces/IEvent.html"},{default:e(()=>[s("IEvent")]),_:1}),s("<"),a(l,{to:"/global/interfaces/IMouseEvent.html"},{default:e(()=>[s("IMouseEvent")]),_:1}),s(">")]),Ns,Ms]),Hs,n("ul",null,[n("li",null,[s("参数: "),a(l,{to:"/global/interfaces/IEvent.html"},{default:e(()=>[s("IEvent")]),_:1}),s("<"),a(l,{to:"/global/interfaces/IMouseEvent.html"},{default:e(()=>[s("IMouseEvent")]),_:1}),s(">")]),Ps,Os]),Ws,n("ul",null,[n("li",null,[s("参数: "),a(l,{to:"/global/interfaces/IEvent.html"},{default:e(()=>[s("IEvent")]),_:1}),s("<"),a(l,{to:"/global/interfaces/IMouseEvent.html"},{default:e(()=>[s("IMouseEvent")]),_:1}),s(">")]),Rs,Vs]),Ks,n("ul",null,[n("li",null,[s("参数: "),a(l,{to:"/global/interfaces/IEvent.html"},{default:e(()=>[s("IEvent")]),_:1}),s("<"),a(l,{to:"/global/interfaces/IMouseEvent.html"},{default:e(()=>[s("IMouseEvent")]),_:1}),s(">")]),Us,zs]),Zs,n("ul",null,[n("li",null,[s("语法: "),qs,s(),a(l,{to:"/editor/interfaces/IActionDescriptor.html"},{default:e(()=>[s("IActionDescriptor")]),_:1}),s(" : "),a(l,{to:"/global/interfaces/IDisposable.html"},{default:e(()=>[s("IDisposable")]),_:1})]),n("li",null,[s("参数: "),a(l,{to:"/editor/interfaces/IActionDescriptor.html"},{default:e(()=>[s("IActionDescriptor")]),_:1})]),n("li",null,[s("返回值: "),a(l,{to:"/global/interfaces/IDisposable.html"},{default:e(()=>[s("IDisposable")]),_:1})]),Ys]),Gs,n("ul",null,[n("li",null,[s("语法: "),Xs,s("decorations?: "),a(l,{to:"/editor/interfaces/IModelDeltaDecoration.html"},{default:e(()=>[s("IModelDeltaDecoration")]),_:1}),s("[]"),Js,s(),a(l,{to:"/editor/interfaces/IEditorDecorationsCollection.html"},{default:e(()=>[s("IEditorDecorationsCollection")]),_:1})]),n("li",null,[s("参数: "),a(l,{to:"/editor/interfaces/IModelDeltaDecoration.html"},{default:e(()=>[s("IModelDeltaDecoration")]),_:1}),s("[] "),Qs]),n("li",null,[s("返回值: "),a(l,{to:"/editor/interfaces/IEditorDecorationsCollection.html"},{default:e(()=>[s("IEditorDecorationsCollection")]),_:1})]),$s]),sn,n("ul",null,[n("li",null,[s("语法: "),nn,s(),a(l,{to:"/editor/interfaces/IModelDecoration.html"},{default:e(()=>[s("IModelDecoration[]")]),_:1})]),an,n("li",null,[s("返回值: "),a(l,{to:"/editor/interfaces/IModelDecoration.html"},{default:e(()=>[s("IModelDecoration[]")]),_:1})]),ln]),en,n("ul",null,[n("li",null,[s("语法: "),on,s(),a(l,{to:"/editor/interfaces/EditorLayoutInfo.html"},{default:e(()=>[s("EditorLayoutInfo")]),_:1})]),pn,n("li",null,[s("返回值: "),a(l,{to:"/editor/interfaces/EditorLayoutInfo.html"},{default:e(()=>[s("EditorLayoutInfo")]),_:1})]),Dn]),cn,n("ul",null,[n("li",null,[s("语法: "),tn,s(),a(l,{to:"/editor/interfaces/ITextModel.html"},{default:e(()=>[s("ITextModel")]),_:1})]),rn,n("li",null,[s("返回值: "),a(l,{to:"/editor/interfaces/ITextModel.html"},{default:e(()=>[s("ITextModel")]),_:1})]),dn]),yn])}const bn=c(i,[["render",Cn],["__file","IStandaloneCodeEditor.html.vue"]]);export{bn as default};
diff --git a/assets/IStandaloneCodeEditor.html-f7fb0c62.js b/assets/IStandaloneCodeEditor.html-f7fb0c62.js
new file mode 100644
index 00000000..ce902e34
--- /dev/null
+++ b/assets/IStandaloneCodeEditor.html-f7fb0c62.js
@@ -0,0 +1 @@
+const e=JSON.parse('{"key":"v-94273986","path":"/editor/interfaces/IStandaloneCodeEditor.html","title":"IStandaloneCodeEditor","lang":"zh-CN","frontmatter":{"description":"interface 官网地址 (https://microsoft.github.io/monaco-editor/docs.html#interfaces/editor.IStandaloneCodeEditor.html) 属性 Properties onContextMenu 参数: IEditorMouseEvent (./IEditorMou...","head":[["meta",{"property":"og:url","content":"http://aydk.site/editor/interfaces/IStandaloneCodeEditor.html"}],["meta",{"property":"og:site_name","content":"Monaco-editor 学习文档"}],["meta",{"property":"og:title","content":"IStandaloneCodeEditor"}],["meta",{"property":"og:description","content":"interface 官网地址 (https://microsoft.github.io/monaco-editor/docs.html#interfaces/editor.IStandaloneCodeEditor.html) 属性 Properties onContextMenu 参数: IEditorMouseEvent (./IEditorMou..."}],["meta",{"property":"og:type","content":"article"}],["meta",{"property":"og:locale","content":"zh-CN"}],["meta",{"property":"og:updated_time","content":"2024-02-06T15:45:31.000Z"}],["meta",{"property":"article:author","content":"aydk"}],["meta",{"property":"article:modified_time","content":"2024-02-06T15:45:31.000Z"}],["script",{"type":"application/ld+json"},"{\\"@context\\":\\"https://schema.org\\",\\"@type\\":\\"Article\\",\\"headline\\":\\"IStandaloneCodeEditor\\",\\"image\\":[\\"\\"],\\"dateModified\\":\\"2024-02-06T15:45:31.000Z\\",\\"author\\":[{\\"@type\\":\\"Person\\",\\"name\\":\\"aydk\\"}]}"]]},"headers":[{"level":2,"title":"属性 Properties","slug":"属性-properties","link":"#属性-properties","children":[]},{"level":2,"title":"onContextMenu","slug":"oncontextmenu","link":"#oncontextmenu","children":[]},{"level":2,"title":"onDidAttemptReadOnlyEdit","slug":"ondidattemptreadonlyedit","link":"#ondidattemptreadonlyedit","children":[]},{"level":2,"title":"onDidBlurEditorText","slug":"ondidblureditortext","link":"#ondidblureditortext","children":[]},{"level":2,"title":"onDidBlurEditorWidget","slug":"ondidblureditorwidget","link":"#ondidblureditorwidget","children":[]},{"level":2,"title":"onDidChangeConfiguration","slug":"ondidchangeconfiguration","link":"#ondidchangeconfiguration","children":[]},{"level":2,"title":"onDidChangeCursorPosition","slug":"ondidchangecursorposition","link":"#ondidchangecursorposition","children":[]},{"level":2,"title":"onDidChangeCursorSelection","slug":"ondidchangecursorselection","link":"#ondidchangecursorselection","children":[]},{"level":2,"title":"onDidChangeHiddenAreas","slug":"ondidchangehiddenareas","link":"#ondidchangehiddenareas","children":[]},{"level":2,"title":"onDidChangeModel","slug":"ondidchangemodel","link":"#ondidchangemodel","children":[]},{"level":2,"title":"onDidChangeModelContent","slug":"ondidchangemodelcontent","link":"#ondidchangemodelcontent","children":[]},{"level":2,"title":"onDidChangeModelDecorations","slug":"ondidchangemodeldecorations","link":"#ondidchangemodeldecorations","children":[]},{"level":2,"title":"onDidChangeModelLanguage","slug":"ondidchangemodellanguage","link":"#ondidchangemodellanguage","children":[]},{"level":2,"title":"onDidChangeModelLanguageConfiguration","slug":"ondidchangemodellanguageconfiguration","link":"#ondidchangemodellanguageconfiguration","children":[]},{"level":2,"title":"onDidChangeModelOptions","slug":"ondidchangemodeloptions","link":"#ondidchangemodeloptions","children":[]},{"level":2,"title":"onDidCompositionEnd","slug":"ondidcompositionend","link":"#ondidcompositionend","children":[]},{"level":2,"title":"onDidCompositionStart","slug":"ondidcompositionstart","link":"#ondidcompositionstart","children":[]},{"level":2,"title":"onDidContentSizeChange","slug":"ondidcontentsizechange","link":"#ondidcontentsizechange","children":[]},{"level":2,"title":"onDidFocusEditorText","slug":"ondidfocuseditortext","link":"#ondidfocuseditortext","children":[]},{"level":2,"title":"onDidFocusEditorWidget","slug":"ondidfocuseditorwidget","link":"#ondidfocuseditorwidget","children":[]},{"level":2,"title":"onDidLayoutChange","slug":"ondidlayoutchange","link":"#ondidlayoutchange","children":[]},{"level":2,"title":"onDidPaste","slug":"ondidpaste","link":"#ondidpaste","children":[]},{"level":2,"title":"onDidScrollChange","slug":"ondidscrollchange","link":"#ondidscrollchange","children":[]},{"level":2,"title":"onKeyDown","slug":"onkeydown","link":"#onkeydown","children":[]},{"level":2,"title":"onKeyUp","slug":"onkeyup","link":"#onkeyup","children":[]},{"level":2,"title":"onMouseDown","slug":"onmousedown","link":"#onmousedown","children":[]},{"level":2,"title":"onMouseLeave","slug":"onmouseleave","link":"#onmouseleave","children":[]},{"level":2,"title":"onMouseMove","slug":"onmousemove","link":"#onmousemove","children":[]},{"level":2,"title":"onMouseUp","slug":"onmouseup","link":"#onmouseup","children":[]},{"level":2,"title":"方法","slug":"方法","link":"#方法","children":[]},{"level":2,"title":"addAction","slug":"addaction","link":"#addaction","children":[]},{"level":2,"title":"addCommand","slug":"addcommand","link":"#addcommand","children":[]},{"level":2,"title":"addContentWidget","slug":"addcontentwidget","link":"#addcontentwidget","children":[]},{"level":2,"title":"addOverlayWidget","slug":"addoverlaywidget","link":"#addoverlaywidget","children":[]},{"level":2,"title":"applyFontInfo","slug":"applyfontinfo","link":"#applyfontinfo","children":[]},{"level":2,"title":"changeViewZones","slug":"changeviewzones","link":"#changeviewzones","children":[]},{"level":2,"title":"createContextKey","slug":"createcontextkey","link":"#createcontextkey","children":[]},{"level":2,"title":"createDecorationsCollection","slug":"createdecorationscollection","link":"#createdecorationscollection","children":[]},{"level":2,"title":"deltaDecorations","slug":"deltadecorations","link":"#deltadecorations","children":[]},{"level":2,"title":"dispose","slug":"dispose","link":"#dispose","children":[]},{"level":2,"title":"executeCommand","slug":"executecommand","link":"#executecommand","children":[]},{"level":2,"title":"executeCommands","slug":"executecommands","link":"#executecommands","children":[]},{"level":2,"title":"executeEdits","slug":"executeedits","link":"#executeedits","children":[]},{"level":2,"title":"focus","slug":"focus","link":"#focus","children":[]},{"level":2,"title":"getAction","slug":"getaction","link":"#getaction","children":[]},{"level":2,"title":"getBottomForLineNumber","slug":"getbottomforlinenumber","link":"#getbottomforlinenumber","children":[]},{"level":2,"title":"getContainerDomNode","slug":"getcontainerdomnode","link":"#getcontainerdomnode","children":[]},{"level":2,"title":"getContentHeight","slug":"getcontentheight","link":"#getcontentheight","children":[]},{"level":2,"title":"getContentWidth","slug":"getcontentwidth","link":"#getcontentwidth","children":[]},{"level":2,"title":"getContribution","slug":"getcontribution","link":"#getcontribution","children":[]},{"level":2,"title":"getDecorationsInRange","slug":"getdecorationsinrange","link":"#getdecorationsinrange","children":[]},{"level":2,"title":"getDomNode","slug":"getdomnode","link":"#getdomnode","children":[]},{"level":2,"title":"getEditorType","slug":"geteditortype","link":"#geteditortype","children":[]},{"level":2,"title":"getId","slug":"getid","link":"#getid","children":[]},{"level":2,"title":"getLayoutInfo","slug":"getlayoutinfo","link":"#getlayoutinfo","children":[]},{"level":2,"title":"getLineDecorations","slug":"getlinedecorations","link":"#getlinedecorations","children":[]},{"level":2,"title":"getModel","slug":"getmodel","link":"#getmodel","children":[]},{"level":2,"title":"getOffsetForColumn","slug":"getoffsetforcolumn","link":"#getoffsetforcolumn","children":[]},{"level":2,"title":"getOption","slug":"getoption","link":"#getoption","children":[]},{"level":2,"title":"getOptions","slug":"getoptions","link":"#getoptions","children":[]},{"level":2,"title":"getPosition","slug":"getposition","link":"#getposition","children":[]},{"level":2,"title":"getRawOptions","slug":"getrawoptions","link":"#getrawoptions","children":[]},{"level":2,"title":"getScrollHeight","slug":"getscrollheight","link":"#getscrollheight","children":[]},{"level":2,"title":"getScrollLeft","slug":"getscrollleft","link":"#getscrollleft","children":[]},{"level":2,"title":"getScrollTop","slug":"getscrolltop","link":"#getscrolltop","children":[]},{"level":2,"title":"getScrollWidth","slug":"getscrollwidth","link":"#getscrollwidth","children":[]},{"level":2,"title":"getScrolledVisiblePosition","slug":"getscrolledvisibleposition","link":"#getscrolledvisibleposition","children":[]},{"level":2,"title":"getSelection","slug":"getselection","link":"#getselection","children":[]},{"level":2,"title":"getSelections","slug":"getselections","link":"#getselections","children":[]},{"level":2,"title":"getSupportedActions","slug":"getsupportedactions","link":"#getsupportedactions","children":[]},{"level":2,"title":"getTargetAtClientPoint","slug":"gettargetatclientpoint","link":"#gettargetatclientpoint","children":[]},{"level":2,"title":"getTopForLineNumber","slug":"gettopforlinenumber","link":"#gettopforlinenumber","children":[]},{"level":2,"title":"getTopForPosition","slug":"gettopforposition","link":"#gettopforposition","children":[]},{"level":2,"title":"getValue","slug":"getvalue","link":"#getvalue","children":[]},{"level":2,"title":"getVisibleColumnFromPosition","slug":"getvisiblecolumnfromposition","link":"#getvisiblecolumnfromposition","children":[]},{"level":2,"title":"getVisibleRanges","slug":"getvisibleranges","link":"#getvisibleranges","children":[]},{"level":2,"title":"hasTextFocus","slug":"hastextfocus","link":"#hastextfocus","children":[]},{"level":2,"title":"hasWidgetFocus","slug":"haswidgetfocus","link":"#haswidgetfocus","children":[]},{"level":2,"title":"layout","slug":"layout","link":"#layout","children":[]},{"level":2,"title":"layoutContentWidget","slug":"layoutcontentwidget","link":"#layoutcontentwidget","children":[]},{"level":2,"title":"layoutOverlayWidget","slug":"layoutoverlaywidget","link":"#layoutoverlaywidget","children":[]},{"level":2,"title":"onDidDispose","slug":"ondiddispose","link":"#ondiddispose","children":[]},{"level":2,"title":"popUndoStop","slug":"popundostop","link":"#popundostop","children":[]},{"level":2,"title":"pushUndoStop","slug":"pushundostop","link":"#pushundostop","children":[]},{"level":2,"title":"removeContentWidget","slug":"removecontentwidget","link":"#removecontentwidget","children":[]},{"level":2,"title":"removeDecorations","slug":"removedecorations","link":"#removedecorations","children":[]},{"level":2,"title":"removeOverlayWidget","slug":"removeoverlaywidget","link":"#removeoverlaywidget","children":[]},{"level":2,"title":"render","slug":"render","link":"#render","children":[]},{"level":2,"title":"restoreViewState","slug":"restoreviewstate","link":"#restoreviewstate","children":[]},{"level":2,"title":"revealLine","slug":"revealline","link":"#revealline","children":[]},{"level":2,"title":"revealLineInCenter","slug":"reveallineincenter","link":"#reveallineincenter","children":[]},{"level":2,"title":"revealLineInCenterIfOutsideViewport","slug":"reveallineincenterifoutsideviewport","link":"#reveallineincenterifoutsideviewport","children":[]},{"level":2,"title":"revealLineNearTop","slug":"reveallineneartop","link":"#reveallineneartop","children":[]},{"level":2,"title":"revealLines","slug":"reveallines","link":"#reveallines","children":[]},{"level":2,"title":"revealLinesInCenter","slug":"reveallinesincenter","link":"#reveallinesincenter","children":[]},{"level":2,"title":"revealLinesInCenterIfOutsideViewport","slug":"reveallinesincenterifoutsideviewport","link":"#reveallinesincenterifoutsideviewport","children":[]},{"level":2,"title":"revealLinesNearTop","slug":"reveallinesneartop","link":"#reveallinesneartop","children":[]},{"level":2,"title":"revealPosition","slug":"revealposition","link":"#revealposition","children":[]},{"level":2,"title":"revealPositionInCenter","slug":"revealpositionincenter","link":"#revealpositionincenter","children":[]},{"level":2,"title":"revealLinesInCenterIfOutsideViewport","slug":"reveallinesincenterifoutsideviewport-1","link":"#reveallinesincenterifoutsideviewport-1","children":[]},{"level":2,"title":"revealLinesNearTop","slug":"reveallinesneartop-1","link":"#reveallinesneartop-1","children":[]},{"level":2,"title":"revealPosition","slug":"revealposition-1","link":"#revealposition-1","children":[]},{"level":2,"title":"revealPositionInCenter","slug":"revealpositionincenter-1","link":"#revealpositionincenter-1","children":[]},{"level":2,"title":"revealPositionInCenterIfOutsideViewport","slug":"revealpositionincenterifoutsideviewport","link":"#revealpositionincenterifoutsideviewport","children":[]},{"level":2,"title":"revealPositionNearTop","slug":"revealpositionneartop","link":"#revealpositionneartop","children":[]},{"level":2,"title":"revealRange","slug":"revealrange","link":"#revealrange","children":[]},{"level":2,"title":"revealRangeAtTop","slug":"revealrangeattop","link":"#revealrangeattop","children":[]},{"level":2,"title":"revealRangeInCenter","slug":"revealrangeincenter","link":"#revealrangeincenter","children":[]},{"level":2,"title":"revealRangeInCenterIfOutsideViewport","slug":"revealrangeincenterifoutsideviewport","link":"#revealrangeincenterifoutsideviewport","children":[]},{"level":2,"title":"revealRangeNearTop","slug":"revealrangeneartop","link":"#revealrangeneartop","children":[]},{"level":2,"title":"revealRangeNearTopIfOutsideViewport","slug":"revealrangeneartopifoutsideviewport","link":"#revealrangeneartopifoutsideviewport","children":[]},{"level":2,"title":"saveViewState","slug":"saveviewstate","link":"#saveviewstate","children":[]},{"level":2,"title":"setBanner","slug":"setbanner","link":"#setbanner","children":[]},{"level":2,"title":"setModel","slug":"setmodel","link":"#setmodel","children":[]},{"level":2,"title":"setPosition","slug":"setposition","link":"#setposition","children":[]},{"level":2,"title":"setScrollPosition","slug":"setscrollposition","link":"#setscrollposition","children":[]},{"level":2,"title":"setSelection","slug":"setselection","link":"#setselection","children":[]},{"level":2,"title":"trigger","slug":"trigger","link":"#trigger","children":[]},{"level":2,"title":"updateOptions","slug":"updateoptions","link":"#updateoptions","children":[]},{"level":2,"title":"writeScreenReaderContent","slug":"writescreenreadercontent","link":"#writescreenreadercontent","children":[]}],"git":{"createdTime":1686945885000,"updatedTime":1707234331000,"contributors":[{"name":"xiaochaochao","email":"xiaochaochao","commits":5}]},"readingTime":{"minutes":43.96,"words":13187},"filePathRelative":"editor/interfaces/IStandaloneCodeEditor.md","localizedDate":"2023年6月16日","autoDesc":true}');export{e as data};
diff --git a/assets/IStandaloneDiffEditor.html-5eab28e0.js b/assets/IStandaloneDiffEditor.html-5eab28e0.js
new file mode 100644
index 00000000..3729ce72
--- /dev/null
+++ b/assets/IStandaloneDiffEditor.html-5eab28e0.js
@@ -0,0 +1 @@
+const e=JSON.parse('{"key":"v-ad6673b6","path":"/editor/interfaces/IStandaloneDiffEditor.html","title":"IStandaloneDiffEditor","lang":"zh-CN","frontmatter":{"description":"interface 官网地址 (https://microsoft.github.io/monaco-editor/docs.html#interfaces/editor.IStandaloneDiffEditor.html) 事件 Events onDidChangeModel 语法: onDidChangeModel: IEvent; 参数: ; ...","head":[["meta",{"property":"og:url","content":"http://aydk.site/editor/interfaces/IStandaloneDiffEditor.html"}],["meta",{"property":"og:site_name","content":"Monaco-editor 学习文档"}],["meta",{"property":"og:title","content":"IStandaloneDiffEditor"}],["meta",{"property":"og:description","content":"interface 官网地址 (https://microsoft.github.io/monaco-editor/docs.html#interfaces/editor.IStandaloneDiffEditor.html) 事件 Events onDidChangeModel 语法: onDidChangeModel: IEvent; 参数: ; ..."}],["meta",{"property":"og:type","content":"article"}],["meta",{"property":"og:locale","content":"zh-CN"}],["meta",{"property":"og:updated_time","content":"2024-02-06T15:45:31.000Z"}],["meta",{"property":"article:author","content":"aydk"}],["meta",{"property":"article:modified_time","content":"2024-02-06T15:45:31.000Z"}],["script",{"type":"application/ld+json"},"{\\"@context\\":\\"https://schema.org\\",\\"@type\\":\\"Article\\",\\"headline\\":\\"IStandaloneDiffEditor\\",\\"image\\":[\\"\\"],\\"dateModified\\":\\"2024-02-06T15:45:31.000Z\\",\\"author\\":[{\\"@type\\":\\"Person\\",\\"name\\":\\"aydk\\"}]}"]]},"headers":[{"level":2,"title":"事件 Events","slug":"事件-events","link":"#事件-events","children":[{"level":3,"title":"onDidChangeModel","slug":"ondidchangemodel","link":"#ondidchangemodel","children":[]},{"level":3,"title":"onDidUpdateDiff","slug":"ondidupdatediff","link":"#ondidupdatediff","children":[]},{"level":3,"title":"onDidDispose","slug":"ondiddispose","link":"#ondiddispose","children":[]}]},{"level":2,"title":"方法 Methods","slug":"方法-methods","link":"#方法-methods","children":[]},{"level":2,"title":"addAction","slug":"addaction","link":"#addaction","children":[]},{"level":2,"title":"addCommand","slug":"addcommand","link":"#addcommand","children":[{"level":3,"title":"createContextKey","slug":"createcontextkey","link":"#createcontextkey","children":[]},{"level":3,"title":"createDecorationsCollection","slug":"createdecorationscollection","link":"#createdecorationscollection","children":[]},{"level":3,"title":"dispose","slug":"dispose","link":"#dispose","children":[]},{"level":3,"title":"focus","slug":"focus","link":"#focus","children":[]},{"level":3,"title":"getContainerDomNode","slug":"getcontainerdomnode","link":"#getcontainerdomnode","children":[]},{"level":3,"title":"getDiffLineInformationForModified","slug":"getdifflineinformationformodified","link":"#getdifflineinformationformodified","children":[]},{"level":3,"title":"getDiffLineInformationForOriginal","slug":"getdifflineinformationfororiginal","link":"#getdifflineinformationfororiginal","children":[]},{"level":3,"title":"getEditorType","slug":"geteditortype","link":"#geteditortype","children":[]},{"level":3,"title":"getId","slug":"getid","link":"#getid","children":[]},{"level":3,"title":"getLineChanges","slug":"getlinechanges","link":"#getlinechanges","children":[]},{"level":3,"title":"getModel","slug":"getmodel","link":"#getmodel","children":[]},{"level":3,"title":"getModifiedEditor","slug":"getmodifiededitor","link":"#getmodifiededitor","children":[]},{"level":3,"title":"getOriginalEditor","slug":"getoriginaleditor","link":"#getoriginaleditor","children":[]},{"level":3,"title":"getPosition","slug":"getposition","link":"#getposition","children":[]},{"level":3,"title":"getSelection","slug":"getselection","link":"#getselection","children":[]},{"level":3,"title":"getSelections","slug":"getselections","link":"#getselections","children":[]},{"level":3,"title":"getSupportedActions","slug":"getsupportedactions","link":"#getsupportedactions","children":[]},{"level":3,"title":"getVisibleColumnFromPosition","slug":"getvisiblecolumnfromposition","link":"#getvisiblecolumnfromposition","children":[]},{"level":3,"title":"hasTextFocus","slug":"hastextfocus","link":"#hastextfocus","children":[]},{"level":3,"title":"layout","slug":"layout","link":"#layout","children":[]},{"level":3,"title":"restoreViewState","slug":"restoreviewstate","link":"#restoreviewstate","children":[]},{"level":3,"title":"revealLine","slug":"revealline","link":"#revealline","children":[]},{"level":3,"title":"revealLineInCenter","slug":"reveallineincenter","link":"#reveallineincenter","children":[]},{"level":3,"title":"revealLineInCenterIfOutsideViewport","slug":"reveallineincenterifoutsideviewport","link":"#reveallineincenterifoutsideviewport","children":[]},{"level":3,"title":"revealLineNearTop","slug":"reveallineneartop","link":"#reveallineneartop","children":[]},{"level":3,"title":"revealLines","slug":"reveallines","link":"#reveallines","children":[]},{"level":3,"title":"revealLinesInCenter","slug":"reveallinesincenter","link":"#reveallinesincenter","children":[]},{"level":3,"title":"revealLinesInCenterIfOutsideViewport","slug":"reveallinesincenterifoutsideviewport","link":"#reveallinesincenterifoutsideviewport","children":[]},{"level":3,"title":"revealLinesNearTop","slug":"reveallinesneartop","link":"#reveallinesneartop","children":[]},{"level":3,"title":"revealPosition","slug":"revealposition","link":"#revealposition","children":[]},{"level":3,"title":"revealPositionInCenter","slug":"revealpositionincenter","link":"#revealpositionincenter","children":[]},{"level":3,"title":"revealPositionInCenterIfOutsideViewport","slug":"revealpositionincenterifoutsideviewport","link":"#revealpositionincenterifoutsideviewport","children":[]},{"level":3,"title":"revealPositionNearTop","slug":"revealpositionneartop","link":"#revealpositionneartop","children":[]},{"level":3,"title":"revealRange","slug":"revealrange","link":"#revealrange","children":[]},{"level":3,"title":"revealRangeAtTop","slug":"revealrangeattop","link":"#revealrangeattop","children":[]},{"level":3,"title":"revealRangeInCenter","slug":"revealrangeincenter","link":"#revealrangeincenter","children":[]},{"level":3,"title":"revealRangeInCenterIfOutsideViewport","slug":"revealrangeincenterifoutsideviewport","link":"#revealrangeincenterifoutsideviewport","children":[]},{"level":3,"title":"revealRangeNearTop","slug":"revealrangeneartop","link":"#revealrangeneartop","children":[]},{"level":3,"title":"revealRangeNearTopIfOutsideViewport","slug":"revealrangeneartopifoutsideviewport","link":"#revealrangeneartopifoutsideviewport","children":[]},{"level":3,"title":"saveViewState","slug":"saveviewstate","link":"#saveviewstate","children":[]},{"level":3,"title":"setModel","slug":"setmodel","link":"#setmodel","children":[]},{"level":3,"title":"setPosition","slug":"setposition","link":"#setposition","children":[]},{"level":3,"title":"setSelection","slug":"setselection","link":"#setselection","children":[]},{"level":3,"title":"setSelections","slug":"setselections","link":"#setselections","children":[]},{"level":3,"title":"trigger","slug":"trigger","link":"#trigger","children":[]},{"level":3,"title":"updateOptions","slug":"updateoptions","link":"#updateoptions","children":[]}]}],"git":{"createdTime":1686945885000,"updatedTime":1707234331000,"contributors":[{"name":"xiaochaochao","email":"xiaochaochao","commits":2}]},"readingTime":{"minutes":9.23,"words":2770},"filePathRelative":"editor/interfaces/IStandaloneDiffEditor.md","localizedDate":"2023年6月16日","autoDesc":true}');export{e as data};
diff --git a/assets/IStandaloneDiffEditor.html-848cf07a.js b/assets/IStandaloneDiffEditor.html-848cf07a.js
new file mode 100644
index 00000000..02d6755c
--- /dev/null
+++ b/assets/IStandaloneDiffEditor.html-848cf07a.js
@@ -0,0 +1,26 @@
+import{_ as d}from"./plugin-vue_export-helper-c27b6911.js";import{r as s,o as r,c,a as l,b as e,d as n,w as i,e as t}from"./app-5f5ef0a9.js";const u={},p=l("h1",{id:"istandalonediffeditor",tabindex:"-1"},[l("a",{class:"header-anchor",href:"#istandalonediffeditor","aria-hidden":"true"},"#"),e(" IStandaloneDiffEditor")],-1),h=l("code",null,"interface",-1),_={href:"https://microsoft.github.io/monaco-editor/docs.html#interfaces/editor.IStandaloneDiffEditor.html",target:"_blank",rel:"noopener noreferrer"},D=t(' 事件 Events
onDidChangeModel
- 语法:
onDidChangeModel: IEvent<void>
- 参数: ``
- 返回值:
IEvent<void>
- 描述:
更改差异模型时发出的事件(即差异编辑器显示新内容)。
onDidUpdateDiff
- 语法:
onDidUpdateDiff: IEvent<void>
- 参数: ``
- 返回值:
IEvent<void>
- 描述:
当对比信息计算发生变更时触发
onDidDispose
',6),f=l("li",null,[e("语法: "),l("code",null,"onDidDispose(listener: (() => void)): IDisposable")],-1),y=l("li",null,[e("参数: "),l("ul",null,[l("li",null,"listener: (() => void) (): void Returns void")])],-1),m=l("li",null,[e("描述: "),l("code",null,"当编辑器被释放时发出的事件")],-1),v=t(` 方法 Methods
addAction
- 语法:
addAction(descriptor: monaco.editor.IActionDescriptor): IDisposable;
- 参数:
monaco.editor.IActionDescriptor
- 返回值:
IDisposable对象
- 描述:
用来向编辑器中添加自定义的操作。
其中,descriptor参数是一个对象,用来描述要添加的操作。它包含以下属性:
descriptor参数
id:操作的唯一标识符,必须是字符串类型。
label:操作的显示名称,必须是字符串类型。
keybindings:操作的快捷键,可以是字符串类型的快捷键,也可以是字符串类型的快捷键数组。
contextMenuGroupId:操作在右键菜单中的分组 ID,必须是字符串类型。
contextMenuOrder:操作在右键菜单中的排序位置,必须是数字类型。
run:操作的执行函数,必须是一个函数类型,接受一个 ICodeEditor类型的参数。
addAction方法返回一个 IDisposable对象,用来取消添加的操作。可以通过调用 dispose方法来取消添加的操作。 下面是一个示例,演示如何向编辑器中添加一个自定义的操作:
const editor = monaco.editor.create(document.getElementById('container'), {
+ value: '',
+ language: 'plaintext'
+});
+
+editor.addAction({
+ id: 'my-custom-action',
+ label: 'My Custom Action',
+ keybindings: [
+ monaco.KeyMod.CtrlCmd | monaco.KeyCode.KEY_S
+ ],
+ contextMenuGroupId: 'navigation',
+ contextMenuOrder: 1.5,
+ run: function(ed) {
+ console.log('My custom action executed');
+ }
+});
+
在这个示例中,我们创建了一个编辑器,并向它添加了一个名为 my-custom-action的自定义操作。这个操作的显示名称为 My Custom Action,快捷键为 Ctrl/Cmd + S,在右键菜单中的分组 ID 为 navigation,排序位置为 1.5。当这个操作被执行时,会在控制台输出相关信息。
addCommand
- 语法:
addCommand(keybinding: number, handler: ICommandHandler, context: string):string
- 参数:
keybinding
、handler
、context
- 返回值:
IDisposable对象
- 描述:
用来向编辑器中添加自定义的操作。
其中,keybinding
参数是一个对象,用来描述要添加的命令的快捷键。它包含以下属性:
- ctrlCmd:是否按下了 Ctrl或 Cmd键,必须是布尔类型。
- shift:是否按下了 Shift键,必须是布尔类型。
- alt:是否按下了Alt键,必须是布尔类型。
- keyCode:按下的键的键码,必须是数字类型。
handler
参数是一个函数,用来处理命令的执行逻辑。它接受一个 ICodeEditor类型的参数。
context
参数是一个字符串,用来指定命令的上下文。可以是 editor、textarea 或 global中的一个。
addCommand
方法返回一个字符串,表示添加的命令的 ID。可以通过调用 removeCommand方法来移除添加的命令。 下面是一个示例,演示如何向编辑器中添加一个自定义的命令:
const editor = monaco.editor.create(document.getElementById('container'), {
+ value: '',
+ language: 'plaintext'
+});
+
+editor.addCommand(monaco.KeyMod.CtrlCmd | monaco.KeyCode.KEY_S, function(ed) {
+ console.log('Custom command executed');
+}, 'editor');
+
在这个示例中,我们创建了一个编辑器,并向它添加了一个名为 Custom command的自定义命令。这个命令的快捷键为 Ctrl/Cmd + S,当这个命令被执行时,会在控制台输出相关信息。
createContextKey
- 语法:
createContextKey<T>(key: string, defaultValue: T): IContextKey<T>
- 参数:
T extends ContextKeyValue = ContextKeyValue
- 返回值:
IContextKey<T>
- 描述: \`\`
createDecorationsCollection
`,20),g=l("code",null,"createDecorationsCollection(",-1),b=l("code",null,"):",-1),C=l("code",null,"可选",-1),I=l("li",null,[e("描述: "),l("code",null,"创建一个装饰集合。通过此集合添加的所有装饰都将获得编辑器的所有者ID(这意味着它们不会显示在其他编辑器中)。当编辑器的模型更改时,这些装饰将自动清除。")],-1),T=t(' dispose
- 语法:
dispose(): void
- 描述:
释放此小部件使用的所有资源。调用此方法后,小部件将不再被使用。
focus
- 语法:
focus(): void
- 描述:
聚焦到此小部件上。
getContainerDomNode
- 语法:
getContainerDomNode(): HTMLElement | null
- 返回值:
HTMLElement | null
- 描述:
获取此小部件的容器 DOM 节点。返回 null 表示该小部件当前未附加到 DOM。
',7),E=l("li",null,[e("语法: "),l("code",null,"getDiffLineInformationForModified(lineNumber: number): IDiffLinesInformation")],-1),x=l("li",null,[e("参数: "),l("ul",null,[l("li",null,[e("lineNumber: "),l("code",null,"number")])])],-1),S=l("li",null,[e("描述: "),l("code",null,"获取修改后的文本的行信息。")],-1),L=l("h3",{id:"getdifflineinformationfororiginal",tabindex:"-1"},[l("a",{class:"header-anchor",href:"#getdifflineinformationfororiginal","aria-hidden":"true"},"#"),e(" getDiffLineInformationForOriginal")],-1),F=l("li",null,[e("语法: "),l("code",null,"getDiffLineInformationForOriginal(): IDiffLinesInformation")],-1),N=l("li",null,[e("描述: "),l("code",null,"获取原始文本的行信息。")],-1),P=t(' getEditorType
- 语法:
getEditorType(): EditorType
- 返回值:
string
- 描述:
获取此小部件所属的编辑器类型。
getId
- 语法:
getId(): string
- 返回值:
string
- 描述:
获取此小部件的唯一标识符。
getLineChanges
',5),w=l("li",null,[e("语法: "),l("code",null,"getLineChanges(): ILineChange[] | undefined")],-1),M=l("li",null,[e("描述: "),l("code",null,"获取在此小部件中显示的行更改。")],-1),A=l("h3",{id:"getmodel",tabindex:"-1"},[l("a",{class:"header-anchor",href:"#getmodel","aria-hidden":"true"},"#"),e(" getModel")],-1),V=l("li",null,[e("语法: "),l("code",null,"getModel(): ITextModel | null")],-1),R=l("code",null,"null",-1),O=l("li",null,[e("描述: "),l("code",null,"获取此小部件的文本模型。")],-1),k=l("h3",{id:"getmodifiededitor",tabindex:"-1"},[l("a",{class:"header-anchor",href:"#getmodifiededitor","aria-hidden":"true"},"#"),e(" getModifiedEditor")],-1),K=l("li",null,[e("语法: "),l("code",null,"getModifiedEditor(): ICodeEditor")],-1),B=l("li",null,[e("描述: "),l("code",null,"获取修改后的文本编辑器。")],-1),j=l("h3",{id:"getoriginaleditor",tabindex:"-1"},[l("a",{class:"header-anchor",href:"#getoriginaleditor","aria-hidden":"true"},"#"),e(" getOriginalEditor")],-1),H=l("li",null,[e("语法: "),l("code",null,"getOriginalEditor(): ICodeEditor")],-1),G=l("li",null,[e("描述: "),l("code",null,"获取原始文本编辑器。")],-1),U=l("h3",{id:"getposition",tabindex:"-1"},[l("a",{class:"header-anchor",href:"#getposition","aria-hidden":"true"},"#"),e(" getPosition")],-1),Y=l("li",null,[e("语法: "),l("code",null,"getPosition(): Position | null")],-1),q=l("code",null,"null",-1),z=l("li",null,[e("描述: "),l("code",null,"获取此小部件的当前位置。")],-1),J=l("h3",{id:"getselection",tabindex:"-1"},[l("a",{class:"header-anchor",href:"#getselection","aria-hidden":"true"},"#"),e(" getSelection")],-1),Q=l("li",null,[e("语法: "),l("code",null,"getSelection(): Selection | null")],-1),W=l("code",null,"null",-1),X=l("li",null,[e("描述: "),l("code",null,"获取此小部件的当前选择。")],-1),Z=l("h3",{id:"getselections",tabindex:"-1"},[l("a",{class:"header-anchor",href:"#getselections","aria-hidden":"true"},"#"),e(" getSelections")],-1),$=l("li",null,[e("语法: "),l("code",null,"getSelections(): Selection[] | null")],-1),ll=l("code",null,"null",-1),el=l("li",null,[e("描述: "),l("code",null,"获取此小部件的当前选择集合。")],-1),nl=l("h3",{id:"getsupportedactions",tabindex:"-1"},[l("a",{class:"header-anchor",href:"#getsupportedactions","aria-hidden":"true"},"#"),e(" getSupportedActions")],-1),ol=l("li",null,[e("语法: "),l("code",null,"getSupportedActions(): IEditorAction[]")],-1),il=l("li",null,[e("描述: "),l("code",null,"获取此小部件支持的所有操作。")],-1),tl=l("h3",{id:"getvisiblecolumnfromposition",tabindex:"-1"},[l("a",{class:"header-anchor",href:"#getvisiblecolumnfromposition","aria-hidden":"true"},"#"),e(" getVisibleColumnFromPosition")],-1),sl=l("li",null,[e("语法: "),l("code",null,"getVisibleColumnFromPosition(position: IPosition): number")],-1),al=l("li",null,[e("返回值: "),l("code",null,"number")],-1),dl=l("li",null,[e("描述: "),l("code",null,"获取指定位置的可见列。")],-1),rl=t(' hasTextFocus
- 语法:
hasTextFocus(): boolean
- 返回值:
boolean
- 描述:
如果此小部件当前具有文本焦点,则返回 true。
layout
',3),cl=l("li",null,[e("语法: "),l("code",null,"layout(dimension?: IDimension): void")],-1),ul=l("li",null,[e("描述: "),l("code",null,"指示编辑器重新测量其容器。调整编辑器容器大小时应调用此方法。 如果传入维度,则将使用传入的值。")],-1),pl=l("h3",{id:"restoreviewstate",tabindex:"-1"},[l("a",{class:"header-anchor",href:"#restoreviewstate","aria-hidden":"true"},"#"),e(" restoreViewState")],-1),hl=l("li",null,[e("语法: "),l("code",null,"restoreViewState(state: IDiffEditorViewState): void")],-1),_l=l("li",null,[e("返回值: "),l("code",null,"void")],-1),Dl=l("li",null,[e("描述: "),l("code",null,"还原编辑器的视图状态。")],-1),fl=l("h3",{id:"revealline",tabindex:"-1"},[l("a",{class:"header-anchor",href:"#revealline","aria-hidden":"true"},"#"),e(" revealLine")],-1),yl=l("li",null,[e("语法: "),l("code",null,"revealLine(lineNumber: number, scrollType?: ScrollType): void")],-1),ml=l("li",null,"lineNumber:number",-1),vl=l("code",null,"可选",-1),gl=l("li",null,[e("返回值: "),l("code",null,"void")],-1),bl=l("li",null,[e("描述: "),l("code",null,"将给定行滚动到视图中。")],-1),Cl=l("h3",{id:"reveallineincenter",tabindex:"-1"},[l("a",{class:"header-anchor",href:"#reveallineincenter","aria-hidden":"true"},"#"),e(" revealLineInCenter")],-1),Il=l("li",null,[e("语法: "),l("code",null,"revealLineInCenter(lineNumber: number, scrollType?: ScrollType): void")],-1),Tl=l("li",null,"lineNumber:number",-1),El=l("code",null,"可选",-1),xl=l("li",null,[e("返回值: "),l("code",null,"void")],-1),Sl=l("li",null,[e("描述: "),l("code",null,"将给定行滚动到视图中心。")],-1),Ll=l("h3",{id:"reveallineincenterifoutsideviewport",tabindex:"-1"},[l("a",{class:"header-anchor",href:"#reveallineincenterifoutsideviewport","aria-hidden":"true"},"#"),e(" revealLineInCenterIfOutsideViewport")],-1),Fl=l("li",null,[e("语法: "),l("code",null,"revealLineInCenterIfOutsideViewport(lineNumber: number, scrollType?: ScrollType): void")],-1),Nl=l("li",null,"lineNumber:number",-1),Pl=l("code",null,"可选",-1),wl=l("li",null,[e("返回值: "),l("code",null,"void")],-1),Ml=l("li",null,[e("描述: "),l("code",null,"如果给定行在视口之外,则将其滚动到视图中心。")],-1),Al=l("h3",{id:"reveallineneartop",tabindex:"-1"},[l("a",{class:"header-anchor",href:"#reveallineneartop","aria-hidden":"true"},"#"),e(" revealLineNearTop")],-1),Vl=l("li",null,[e("语法: "),l("code",null,"revealLineNearTop(lineNumber: number, scrollType?: ScrollType): void")],-1),Rl=l("li",null,"lineNumber:number",-1),Ol=l("code",null,"可选",-1),kl=l("li",null,[e("返回值: "),l("code",null,"void")],-1),Kl=l("li",null,[e("描述: "),l("code",null,"将给定行滚动到视图的顶部。")],-1),Bl=l("h3",{id:"reveallines",tabindex:"-1"},[l("a",{class:"header-anchor",href:"#reveallines","aria-hidden":"true"},"#"),e(" revealLines")],-1),jl=l("li",null,[e("语法: "),l("code",null,"revealLines(startLineNumber: number, endLineNumber: number, scrollType?: ScrollType): void")],-1),Hl=l("li",null,"startLineNumber:number",-1),Gl=l("li",null,"endLineNumber:number",-1),Ul=l("code",null,"可选",-1),Yl=l("li",null,[e("返回值: "),l("code",null,"void")],-1),ql=l("li",null,[e("描述: "),l("code",null,"将给定行范围滚动到视图中。")],-1),zl=l("h3",{id:"reveallinesincenter",tabindex:"-1"},[l("a",{class:"header-anchor",href:"#reveallinesincenter","aria-hidden":"true"},"#"),e(" revealLinesInCenter")],-1),Jl=l("li",null,[e("语法: "),l("code",null,"revealLinesInCenter(startLineNumber: number, endLineNumber: number, scrollType?: ScrollType): void")],-1),Ql=l("li",null,"startLineNumber:number",-1),Wl=l("li",null,"endLineNumber:number",-1),Xl=l("code",null,"可选",-1),Zl=l("li",null,[e("返回值: "),l("code",null,"void")],-1),$l=l("li",null,[e("描述: "),l("code",null,"将给定行范围滚动到视图中心。")],-1),le=l("h3",{id:"reveallinesincenterifoutsideviewport",tabindex:"-1"},[l("a",{class:"header-anchor",href:"#reveallinesincenterifoutsideviewport","aria-hidden":"true"},"#"),e(" revealLinesInCenterIfOutsideViewport")],-1),ee=l("li",null,[e("语法: "),l("code",null,"revealLinesInCenterIfOutsideViewport(startLineNumber: number, endLineNumber: number, scrollType?: ScrollType): void")],-1),ne=l("li",null,"startLineNumber:number",-1),oe=l("li",null,"endLineNumber:number",-1),ie=l("code",null,"可选",-1),te=l("li",null,[e("返回值: "),l("code",null,"void")],-1),se=l("li",null,[e("描述: "),l("code",null,"如果给定行范围在视口之外,则将其滚动到视图中心。")],-1),ae=l("h3",{id:"reveallinesneartop",tabindex:"-1"},[l("a",{class:"header-anchor",href:"#reveallinesneartop","aria-hidden":"true"},"#"),e(" revealLinesNearTop")],-1),de=l("li",null,[e("语法: "),l("code",null,"revealLinesNearTop(startLineNumber: number, endLineNumber: number, scrollType?: ScrollType): void")],-1),re=l("li",null,"startLineNumber:number",-1),ce=l("li",null,"endLineNumber:number",-1),ue=l("code",null,"可选",-1),pe=l("li",null,[e("返回值: "),l("code",null,"void")],-1),he=l("li",null,[e("描述: "),l("code",null,"将给定行范围滚动到视图的顶部。")],-1),_e=l("h3",{id:"revealposition",tabindex:"-1"},[l("a",{class:"header-anchor",href:"#revealposition","aria-hidden":"true"},"#"),e(" revealPosition")],-1),De=l("li",null,[e("语法: "),l("code",null,"revealPosition(position: IPosition, scrollType?: ScrollType): void")],-1),fe=l("code",null,"可选",-1),ye=l("li",null,[e("返回值: "),l("code",null,"void")],-1),me=l("li",null,[e("描述: "),l("code",null,"将给定位置滚动到视图中。")],-1),ve=l("h3",{id:"revealpositionincenter",tabindex:"-1"},[l("a",{class:"header-anchor",href:"#revealpositionincenter","aria-hidden":"true"},"#"),e(" revealPositionInCenter")],-1),ge=l("li",null,[e("语法: "),l("code",null,"revealPositionInCenter(position: IPosition, scrollType?: ScrollType): void")],-1),be=l("code",null,"可选",-1),Ce=l("li",null,[e("返回值: "),l("code",null,"void")],-1),Ie=l("li",null,[e("描述: "),l("code",null,"将给定位置滚动到视图中心。")],-1),Te=l("h3",{id:"revealpositionincenterifoutsideviewport",tabindex:"-1"},[l("a",{class:"header-anchor",href:"#revealpositionincenterifoutsideviewport","aria-hidden":"true"},"#"),e(" revealPositionInCenterIfOutsideViewport")],-1),Ee=l("li",null,[e("语法: "),l("code",null,"revealPositionInCenterIfOutsideViewport(position: IPosition, scrollType?: ScrollType): void")],-1),xe=l("code",null,"可选",-1),Se=l("li",null,[e("返回值: "),l("code",null,"void")],-1),Le=l("li",null,[e("描述: "),l("code",null,"如果给定位置在视口之外,则将其滚动到视图中心。")],-1),Fe=l("h3",{id:"revealpositionneartop",tabindex:"-1"},[l("a",{class:"header-anchor",href:"#revealpositionneartop","aria-hidden":"true"},"#"),e(" revealPositionNearTop")],-1),Ne=l("li",null,[e("语法: "),l("code",null,"revealPositionNearTop(position: IPosition, scrollType?: ScrollType): void")],-1),Pe=l("code",null,"可选",-1),we=l("li",null,[e("返回值: "),l("code",null,"void")],-1),Me=l("li",null,[e("描述: "),l("code",null,"将给定位置滚动到视图的顶部。")],-1),Ae=l("h3",{id:"revealrange",tabindex:"-1"},[l("a",{class:"header-anchor",href:"#revealrange","aria-hidden":"true"},"#"),e(" revealRange")],-1),Ve=l("li",null,[e("语法: "),l("code",null,"revealRange(range: IRange, scrollType?: ScrollType): void")],-1),Re=l("code",null,"可选",-1),Oe=l("li",null,[e("返回值: "),l("code",null,"void")],-1),ke=l("li",null,[e("描述: "),l("code",null,"将给定范围滚动到视图中。")],-1),Ke=l("h3",{id:"revealrangeattop",tabindex:"-1"},[l("a",{class:"header-anchor",href:"#revealrangeattop","aria-hidden":"true"},"#"),e(" revealRangeAtTop")],-1),Be=l("li",null,[e("语法: "),l("code",null,"revealRangeAtTop(range: IRange, scrollType?: ScrollType): void")],-1),je=l("code",null,"可选",-1),He=l("li",null,[e("返回值: "),l("code",null,"无")],-1),Ge=l("li",null,[e("描述: "),l("code",null,"将指定范围滚动到编辑器的顶部。如果revealVerticalInCenter为true,则将范围滚动到编辑器垂直中心。如果scrollType为Smooth,则使用平滑滚动。")],-1),Ue=l("h3",{id:"revealrangeincenter",tabindex:"-1"},[l("a",{class:"header-anchor",href:"#revealrangeincenter","aria-hidden":"true"},"#"),e(" revealRangeInCenter")],-1),Ye=l("li",null,[e("语法: "),l("code",null,"revealRangeInCenter(range: IRange, scrollType?: ScrollType): void")],-1),qe=l("code",null,"可选",-1),ze=l("li",null,[e("返回值: "),l("code",null,"无")],-1),Je=l("li",null,[e("描述: "),l("code",null,"将指定范围滚动到编辑器的中心。如果revealVerticalInCenter为true,则将范围滚动到编辑器垂直中心。如果scrollType为Smooth,则使用平滑滚动。")],-1),Qe=l("h3",{id:"revealrangeincenterifoutsideviewport",tabindex:"-1"},[l("a",{class:"header-anchor",href:"#revealrangeincenterifoutsideviewport","aria-hidden":"true"},"#"),e(" revealRangeInCenterIfOutsideViewport")],-1),We=l("li",null,[e("语法: "),l("code",null,"revealRangeInCenterIfOutsideViewport(range: IRange, scrollType?: ScrollType): void")],-1),Xe=l("code",null,"可选",-1),Ze=l("li",null,[e("返回值: "),l("code",null,"无")],-1),$e=l("li",null,[e("描述: "),l("code",null,"如果指定的范围不在编辑器的视口中,则将其滚动到编辑器的中心。如果revealVerticalInCenter为true,则将范围滚动到编辑器垂直中心。如果scrollType为Smooth,则使用平滑滚动。")],-1),ln=l("h3",{id:"revealrangeneartop",tabindex:"-1"},[l("a",{class:"header-anchor",href:"#revealrangeneartop","aria-hidden":"true"},"#"),e(" revealRangeNearTop")],-1),en=l("li",null,[e("语法: "),l("code",null,"revealRangeNearTop(range: IRange, scrollType?: ScrollType): void")],-1),nn=l("code",null,"可选",-1),on=l("li",null,[e("返回值: "),l("code",null,"无")],-1),tn=l("li",null,[e("描述: "),l("code",null,"将指定范围滚动到编辑器的顶部,如果可能的话,将其保持在视口的顶部。如果revealVerticalInCenter为true,则将范围滚动到编辑器垂直中心。如果scrollType为Smooth,则使用平滑滚动。")],-1),sn=l("h3",{id:"revealrangeneartopifoutsideviewport",tabindex:"-1"},[l("a",{class:"header-anchor",href:"#revealrangeneartopifoutsideviewport","aria-hidden":"true"},"#"),e(" revealRangeNearTopIfOutsideViewport")],-1),an=l("li",null,[e("语法: "),l("code",null,"revealRangeNearTopIfOutsideViewport(range: IRange, scrollType?: ScrollType): void")],-1),dn=l("li",null,[e("revealVerticalInCenter: "),l("code",null,"可选"),e(" boolean")],-1),rn=l("code",null,"可选",-1),cn=l("li",null,[e("返回值: "),l("code",null,"无")],-1),un=l("li",null,[e("描述: "),l("code",null,"如果指定的范围不在编辑器的视口中,则将其滚动到编辑器的顶部,如果可能的话,将其保持在视口的顶部。如果revealVerticalInCenter为true,则将范围滚动到编辑器垂直中心。如果scrollType为Smooth,则使用平滑滚动。")],-1),pn=l("h3",{id:"saveviewstate",tabindex:"-1"},[l("a",{class:"header-anchor",href:"#saveviewstate","aria-hidden":"true"},"#"),e(" saveViewState")],-1),hn=l("li",null,[e("语法: "),l("code",null,"saveViewState(): IDiffEditorViewState")],-1),_n=l("li",null,[e("参数: "),l("code",null,"无")],-1),Dn=l("li",null,[e("描述: "),l("code",null,"返回当前编辑器的视图状态。")],-1),fn=l("h3",{id:"setmodel",tabindex:"-1"},[l("a",{class:"header-anchor",href:"#setmodel","aria-hidden":"true"},"#"),e(" setModel")],-1),yn=l("li",null,[e("语法: "),l("code",null,"setModel(model: IDiffEditorModel | null): void")],-1),mn=l("code",null,"null",-1),vn=l("li",null,[e("返回值: "),l("code",null,"无")],-1),gn=l("li",null,[e("描述: "),l("code",null,"设置附加到此编辑器的当前模型。 如果之前的模型是由编辑器通过选项文字对象中的值键创建的,它将被销毁。 否则,如果先前的模型是通过 setModel 设置的,或者选项文字对象中的模型键,则不会销毁先前的模型。 调用 setModel(null) 以简单地将当前模型与编辑器分离是安全的")],-1),bn=l("h3",{id:"setposition",tabindex:"-1"},[l("a",{class:"header-anchor",href:"#setposition","aria-hidden":"true"},"#"),e(" setPosition")],-1),Cn=l("li",null,[e("语法: "),l("code",null,"setPosition(position: IPosition, source?: string): void")],-1),In=l("li",null,[e("source: "),l("code",null,"string"),e(),l("code",null,"可选")],-1),Tn=l("li",null,[e("返回值: "),l("code",null,"无")],-1),En=l("li",null,[e("描述: "),l("code",null,"将编辑器的光标位置设置为指定的位置。")],-1),xn=l("h3",{id:"setselection",tabindex:"-1"},[l("a",{class:"header-anchor",href:"#setselection","aria-hidden":"true"},"#"),e(" setSelection")],-1),Sn=l("li",null,[e("语法: "),l("code",null,"setSelection(selection: IRange, source?: string): void")],-1),Ln=l("li",null,[e("source: "),l("code",null,"string"),e(),l("code",null,"可选")],-1),Fn=l("li",null,[e("返回值: "),l("code",null,"无")],-1),Nn=l("li",null,[e("描述: "),l("code",null,"将编辑器的选择设置为指定的范围。")],-1),Pn=l("h3",{id:"setselections",tabindex:"-1"},[l("a",{class:"header-anchor",href:"#setselections","aria-hidden":"true"},"#"),e(" setSelections")],-1),wn=l("li",null,[e("语法: "),l("code",null,"setSelections(selections: ISelection[], source?: string): void")],-1),Mn=l("li",null,[e("source: "),l("code",null,"string"),e(),l("code",null,"可选")],-1),An=l("li",null,[e("返回值: "),l("code",null,"无")],-1),Vn=l("li",null,[e("描述: "),l("code",null,"将编辑器的选择设置为指定的范围数组。")],-1),Rn=t(' trigger
- 语法:
trigger(source: string, handlerId: string, payload?: any): void
- 参数:
- source:
string
- handlerId:
string
- payload:
可选
any
- 返回值:
无
- 描述:
触发指定的命令。
updateOptions
',3),On=l("li",null,[e("语法: "),l("code",null,"updateOptions(newOptions: IDiffEditorOptions): void")],-1),kn=l("li",null,[e("返回值: "),l("code",null,"无")],-1),Kn=l("li",null,[e("描述: "),l("code",null,"更新编辑器的选项。")],-1);function Bn(jn,Hn){const a=s("ExternalLinkIcon"),o=s("RouterLink");return r(),c("div",null,[p,l("p",null,[h,e(),l("a",_,[e("官网地址"),n(a)])]),D,l("ul",null,[f,y,l("li",null,[e("返回值: "),n(o,{to:"/global/interfaces/IDisposable.html"},{default:i(()=>[e("IDisposable")]),_:1})]),m]),v,l("ul",null,[l("li",null,[e("语法: "),g,e("decorations?: "),n(o,{to:"/editor/interfaces/IModelDeltaDecoration.html"},{default:i(()=>[e("IModelDeltaDecoration")]),_:1}),e("[]"),b,e(),n(o,{to:"/editor/interfaces/IEditorDecorationsCollection.html"},{default:i(()=>[e("IEditorDecorationsCollection")]),_:1})]),l("li",null,[e("参数: "),n(o,{to:"/editor/interfaces/IModelDeltaDecoration.html"},{default:i(()=>[e("IModelDeltaDecoration")]),_:1}),e("[] "),C]),l("li",null,[e("返回值: "),n(o,{to:"/editor/interfaces/IEditorDecorationsCollection.html"},{default:i(()=>[e("IEditorDecorationsCollection")]),_:1})]),I]),T,l("ul",null,[E,x,l("li",null,[e("返回值: "),n(o,{to:"/editor/interfaces/IDiffLineInformation.html"},{default:i(()=>[e("IDiffLineInformation")]),_:1})]),S]),L,l("ul",null,[F,l("li",null,[e("返回值: "),n(o,{to:"/editor/interfaces/IDiffLineInformation.html"},{default:i(()=>[e("IDiffLineInformation")]),_:1})]),N]),P,l("ul",null,[w,l("li",null,[e("返回值: "),n(o,{to:"/editor/interfaces/ILineChange.html"},{default:i(()=>[e("ILineChange")]),_:1}),e("[]")]),M]),A,l("ul",null,[V,l("li",null,[e("返回值: "),n(o,{to:"/editor/interfaces/ITextModel.html"},{default:i(()=>[e("ITextModel")]),_:1}),e(" | "),R]),O]),k,l("ul",null,[K,l("li",null,[e("返回值: "),n(o,{to:"/editor/interfaces/ICodeEditor.html"},{default:i(()=>[e("ICodeEditor")]),_:1})]),B]),j,l("ul",null,[H,l("li",null,[e("返回值: "),n(o,{to:"/editor/interfaces/ICodeEditor.html"},{default:i(()=>[e("ICodeEditor")]),_:1})]),G]),U,l("ul",null,[Y,l("li",null,[e("返回值: "),n(o,{to:"/global/classes/Position.html"},{default:i(()=>[e(" Position")]),_:1}),e(" | "),q]),z]),J,l("ul",null,[Q,l("li",null,[e("返回值: "),n(o,{to:"/global/classes/Selection.html"},{default:i(()=>[e("Selection")]),_:1}),e(" | "),W]),X]),Z,l("ul",null,[$,l("li",null,[e("返回值: "),n(o,{to:"/global/classes/Selection.html"},{default:i(()=>[e("Selection")]),_:1}),e("[] | "),ll]),el]),nl,l("ul",null,[ol,l("li",null,[e("返回值: "),n(o,{to:"/editor/interfaces/IEditorAction.html"},{default:i(()=>[e("IEditorAction")]),_:1}),e("[]")]),il]),tl,l("ul",null,[sl,l("li",null,[e("参数: "),l("ul",null,[l("li",null,[e("position: "),n(o,{to:"/global/interfaces/IPosition.html"},{default:i(()=>[e("IPosition")]),_:1})])])]),al,dl]),rl,l("ul",null,[cl,l("li",null,[e("参数: "),l("ul",null,[l("li",null,[e("dimension: "),n(o,{to:"/editor/interfaces/IDimension.html"},{default:i(()=>[e("IDimension")]),_:1})])])]),ul]),pl,l("ul",null,[hl,l("li",null,[e("参数: "),l("ul",null,[l("li",null,[e("state:"),n(o,{to:"/editor/interfaces/IDiffEditorViewState.html"},{default:i(()=>[e("IDiffEditorViewState")]),_:1})])])]),_l,Dl]),fl,l("ul",null,[yl,l("li",null,[e("参数: "),l("ul",null,[ml,l("li",null,[e("scrollType: "),n(o,{to:"/editor/enumerations.html#scrolltype"},{default:i(()=>[e("scrollType")]),_:1}),e(),vl])])]),gl,bl]),Cl,l("ul",null,[Il,l("li",null,[e("参数: "),l("ul",null,[Tl,l("li",null,[e("scrollType: "),n(o,{to:"/editor/enumerations.html#scrolltype"},{default:i(()=>[e("scrollType")]),_:1}),e(),El])])]),xl,Sl]),Ll,l("ul",null,[Fl,l("li",null,[e("参数: "),l("ul",null,[Nl,l("li",null,[e("scrollType: "),n(o,{to:"/editor/enumerations.html#scrolltype"},{default:i(()=>[e("scrollType")]),_:1}),e(),Pl])])]),wl,Ml]),Al,l("ul",null,[Vl,l("li",null,[e("参数: "),l("ul",null,[Rl,l("li",null,[e("scrollType: "),n(o,{to:"/editor/enumerations.html#scrolltype"},{default:i(()=>[e("scrollType")]),_:1}),e(),Ol])])]),kl,Kl]),Bl,l("ul",null,[jl,l("li",null,[e("参数: "),l("ul",null,[Hl,Gl,l("li",null,[e("scrollType: "),n(o,{to:"/editor/enumerations.html#scrolltype"},{default:i(()=>[e("scrollType")]),_:1}),e(),Ul])])]),Yl,ql]),zl,l("ul",null,[Jl,l("li",null,[e("参数: "),l("ul",null,[Ql,Wl,l("li",null,[e("scrollType: "),n(o,{to:"/editor/enumerations.html#scrolltype"},{default:i(()=>[e("scrollType")]),_:1}),e(),Xl])])]),Zl,$l]),le,l("ul",null,[ee,l("li",null,[e("参数: "),l("ul",null,[ne,oe,l("li",null,[e("scrollType: "),n(o,{to:"/editor/enumerations.html#scrolltype"},{default:i(()=>[e("scrollType")]),_:1}),e(),ie])])]),te,se]),ae,l("ul",null,[de,l("li",null,[e("参数: "),l("ul",null,[re,ce,l("li",null,[e("scrollType: "),n(o,{to:"/editor/enumerations.html#scrolltype"},{default:i(()=>[e("scrollType")]),_:1}),e(),ue])])]),pe,he]),_e,l("ul",null,[De,l("li",null,[e("参数: "),l("ul",null,[l("li",null,[e("position:"),n(o,{to:"/global/interfaces/IPosition.html"},{default:i(()=>[e("IPosition")]),_:1})]),l("li",null,[e("scrollType: "),n(o,{to:"/editor/enumerations.html#scrolltype"},{default:i(()=>[e("scrollType")]),_:1}),e(),fe])])]),ye,me]),ve,l("ul",null,[ge,l("li",null,[e("参数: "),l("ul",null,[l("li",null,[e("position:"),n(o,{to:"/global/interfaces/IPosition.html"},{default:i(()=>[e("IPosition")]),_:1})]),l("li",null,[e("scrollType: "),n(o,{to:"/editor/enumerations.html#scrolltype"},{default:i(()=>[e("scrollType")]),_:1}),e(),be])])]),Ce,Ie]),Te,l("ul",null,[Ee,l("li",null,[e("参数: "),l("ul",null,[l("li",null,[e("position:"),n(o,{to:"/global/interfaces/IPosition.html"},{default:i(()=>[e("IPosition")]),_:1})]),l("li",null,[e("scrollType: "),n(o,{to:"/editor/enumerations.html#scrolltype"},{default:i(()=>[e("scrollType")]),_:1}),e(),xe])])]),Se,Le]),Fe,l("ul",null,[Ne,l("li",null,[e("参数: "),l("ul",null,[l("li",null,[e("position:"),n(o,{to:"/global/interfaces/IPosition.html"},{default:i(()=>[e("IPosition")]),_:1})]),l("li",null,[e("scrollType: "),n(o,{to:"/editor/enumerations.html#scrolltype"},{default:i(()=>[e("scrollType")]),_:1}),e(),Pe])])]),we,Me]),Ae,l("ul",null,[Ve,l("li",null,[e("参数: "),l("ul",null,[l("li",null,[e("range:"),n(o,{to:"/global/interfaces/IRange.html"},{default:i(()=>[e("IPosition")]),_:1})]),l("li",null,[e("scrollType: "),n(o,{to:"/editor/enumerations.html#scrolltype"},{default:i(()=>[e("scrollType")]),_:1}),e(),Re])])]),Oe,ke]),Ke,l("ul",null,[Be,l("li",null,[e("参数: "),l("ul",null,[l("li",null,[e("range: "),n(o,{to:"/global/interfaces/IRange.html"},{default:i(()=>[e("IPosition")]),_:1})]),l("li",null,[e("scrollType: "),je,e(),n(o,{to:"/editor/enumerations.html#scrolltype"},{default:i(()=>[e("scrollType")]),_:1})])])]),He,Ge]),Ue,l("ul",null,[Ye,l("li",null,[e("参数: "),l("ul",null,[l("li",null,[e("range: "),n(o,{to:"/global/interfaces/IRange.html"},{default:i(()=>[e("IPosition")]),_:1})]),l("li",null,[e("scrollType: "),qe,e(),n(o,{to:"/editor/enumerations.html#scrolltype"},{default:i(()=>[e("scrollType")]),_:1})])])]),ze,Je]),Qe,l("ul",null,[We,l("li",null,[e("参数: "),l("ul",null,[l("li",null,[e("range: "),n(o,{to:"/global/interfaces/IRange.html"},{default:i(()=>[e("IPosition")]),_:1})]),l("li",null,[e("scrollType: "),Xe,e(),n(o,{to:"/editor/enumerations.html#scrolltype"},{default:i(()=>[e("scrollType")]),_:1})])])]),Ze,$e]),ln,l("ul",null,[en,l("li",null,[e("参数: "),l("ul",null,[l("li",null,[e("range: "),n(o,{to:"/global/interfaces/IRange.html"},{default:i(()=>[e("IPosition")]),_:1})]),l("li",null,[e("scrollType: "),nn,e(),n(o,{to:"/editor/enumerations.html#scrolltype"},{default:i(()=>[e("scrollType")]),_:1})])])]),on,tn]),sn,l("ul",null,[an,l("li",null,[e("参数: "),l("ul",null,[l("li",null,[e("range: "),n(o,{to:"/global/interfaces/IRange.html"},{default:i(()=>[e("IPosition")]),_:1})]),dn,l("li",null,[e("scrollType: "),rn,e(),n(o,{to:"/editor/enumerations.html#scrolltype"},{default:i(()=>[e("scrollType")]),_:1})])])]),cn,un]),pn,l("ul",null,[hn,_n,l("li",null,[e("返回值: "),n(o,{to:"/editor/interfaces/IDiffEditorViewState.html"},{default:i(()=>[e("IDiffEditorViewState")]),_:1})]),Dn]),fn,l("ul",null,[yn,l("li",null,[e("参数: "),l("ul",null,[l("li",null,[e("model: "),n(o,{to:"/editor/interfaces/IDiffEditorModel.html"},{default:i(()=>[e("IDiffEditorModel")]),_:1}),e(" 或 "),mn])])]),vn,gn]),bn,l("ul",null,[Cn,l("li",null,[e("参数: "),l("ul",null,[l("li",null,[e("position: "),n(o,{to:"/global/interfaces/IPosition.html"},{default:i(()=>[e("IPosition")]),_:1})]),In])]),Tn,En]),xn,l("ul",null,[Sn,l("li",null,[e("参数: "),l("ul",null,[l("li",null,[e("selection: "),n(o,{to:"/global/interfaces/IRange.html"},{default:i(()=>[e("IPosition")]),_:1})]),Ln])]),Fn,Nn]),Pn,l("ul",null,[wn,l("li",null,[e("参数: "),l("ul",null,[l("li",null,[e("selections: "),n(o,{to:"/global/interfaces/ISelection.html"},{default:i(()=>[e("ISelection")]),_:1}),e("[]")]),Mn])]),An,Vn]),Rn,l("ul",null,[On,l("li",null,[e("参数: "),l("ul",null,[l("li",null,[e("newOptions: "),n(o,{to:"/editor/interfaces/IDiffEditorOptions.html"},{default:i(()=>[e("IDiffEditorOptions")]),_:1})])])]),kn,Kn])])}const Yn=d(u,[["render",Bn],["__file","IStandaloneDiffEditor.html.vue"]]);export{Yn as default};
diff --git a/assets/IStandaloneDiffEditorConstructionOptions.html-6475c9b4.js b/assets/IStandaloneDiffEditorConstructionOptions.html-6475c9b4.js
new file mode 100644
index 00000000..a1becfa6
--- /dev/null
+++ b/assets/IStandaloneDiffEditorConstructionOptions.html-6475c9b4.js
@@ -0,0 +1 @@
+const e=JSON.parse('{"key":"v-7a23f880","path":"/editor/interfaces/IStandaloneDiffEditorConstructionOptions.html","title":"IStandaloneDiffEditorConstructionOptions","lang":"zh-CN","frontmatter":{"description":"interface 官网地址 (https://microsoft.github.io/monaco-editor/docs.html#interfaces/editor.IStandaloneDiffEditorConstructionOptions.html) 属性 Properties acceptSuggestionOnCommitCharac...","head":[["meta",{"property":"og:url","content":"http://aydk.site/editor/interfaces/IStandaloneDiffEditorConstructionOptions.html"}],["meta",{"property":"og:site_name","content":"Monaco-editor 学习文档"}],["meta",{"property":"og:title","content":"IStandaloneDiffEditorConstructionOptions"}],["meta",{"property":"og:description","content":"interface 官网地址 (https://microsoft.github.io/monaco-editor/docs.html#interfaces/editor.IStandaloneDiffEditorConstructionOptions.html) 属性 Properties acceptSuggestionOnCommitCharac..."}],["meta",{"property":"og:type","content":"article"}],["meta",{"property":"og:locale","content":"zh-CN"}],["meta",{"property":"og:updated_time","content":"2023-06-22T17:20:55.000Z"}],["meta",{"property":"article:author","content":"aydk"}],["meta",{"property":"article:modified_time","content":"2023-06-22T17:20:55.000Z"}],["script",{"type":"application/ld+json"},"{\\"@context\\":\\"https://schema.org\\",\\"@type\\":\\"Article\\",\\"headline\\":\\"IStandaloneDiffEditorConstructionOptions\\",\\"image\\":[\\"\\"],\\"dateModified\\":\\"2023-06-22T17:20:55.000Z\\",\\"author\\":[{\\"@type\\":\\"Person\\",\\"name\\":\\"aydk\\"}]}"]]},"headers":[{"level":2,"title":"属性 Properties","slug":"属性-properties","link":"#属性-properties","children":[]},{"level":2,"title":"acceptSuggestionOnCommitCharacter","slug":"acceptsuggestiononcommitcharacter","link":"#acceptsuggestiononcommitcharacter","children":[]},{"level":2,"title":"acceptSuggestionOnEnter","slug":"acceptsuggestiononenter","link":"#acceptsuggestiononenter","children":[]},{"level":2,"title":"accessibilityPageSize","slug":"accessibilitypagesize","link":"#accessibilitypagesize","children":[]},{"level":2,"title":"accessibilitySupport","slug":"accessibilitysupport","link":"#accessibilitysupport","children":[]},{"level":2,"title":"accessibilityVerbose","slug":"accessibilityverbose","link":"#accessibilityverbose","children":[]},{"level":2,"title":"ariaLabel","slug":"arialabel","link":"#arialabel","children":[]},{"level":2,"title":"autoClosingBrackets","slug":"autoclosingbrackets","link":"#autoclosingbrackets","children":[]},{"level":2,"title":"autoClosingDelete","slug":"autoclosingdelete","link":"#autoclosingdelete","children":[]},{"level":2,"title":"autoClosingOvertype","slug":"autoclosingovertype","link":"#autoclosingovertype","children":[]},{"level":2,"title":"autoClosingQuotes","slug":"autoclosingquotes","link":"#autoclosingquotes","children":[]},{"level":2,"title":"autoDetectHighContrast","slug":"autodetecthighcontrast","link":"#autodetecthighcontrast","children":[]},{"level":2,"title":"autoIndent","slug":"autoindent","link":"#autoindent","children":[]},{"level":2,"title":"autoSurround","slug":"autosurround","link":"#autosurround","children":[]},{"level":2,"title":"automaticLayout","slug":"automaticlayout","link":"#automaticlayout","children":[]},{"level":2,"title":"bracketPairColorization","slug":"bracketpaircolorization","link":"#bracketpaircolorization","children":[]},{"level":2,"title":"codeActionsOnSaveTimeout","slug":"codeactionsonsavetimeout","link":"#codeactionsonsavetimeout","children":[]},{"level":2,"title":"codeLens","slug":"codelens","link":"#codelens","children":[]},{"level":2,"title":"codeLensFontFamily","slug":"codelensfontfamily","link":"#codelensfontfamily","children":[]},{"level":2,"title":"codeLensFontSize","slug":"codelensfontsize","link":"#codelensfontsize","children":[]},{"level":2,"title":"colorDecorators","slug":"colordecorators","link":"#colordecorators","children":[]},{"level":2,"title":"colorDecoratorsLimit","slug":"colordecoratorslimit","link":"#colordecoratorslimit","children":[]},{"level":2,"title":"columnSelection","slug":"columnselection","link":"#columnselection","children":[]},{"level":2,"title":"comments","slug":"comments","link":"#comments","children":[]},{"level":2,"title":"contextmenu","slug":"contextmenu","link":"#contextmenu","children":[]},{"level":2,"title":"copyWithSyntaxHighlighting","slug":"copywithsyntaxhighlighting","link":"#copywithsyntaxhighlighting","children":[]},{"level":2,"title":"cursorBlinking","slug":"cursorblinking","link":"#cursorblinking","children":[]},{"level":2,"title":"cursorSmoothCaretAnimation","slug":"cursorsmoothcaretanimation","link":"#cursorsmoothcaretanimation","children":[]},{"level":2,"title":"cursorStyle","slug":"cursorstyle","link":"#cursorstyle","children":[]},{"level":2,"title":"cursorSurroundingLines","slug":"cursorsurroundinglines","link":"#cursorsurroundinglines","children":[]},{"level":2,"title":"cursorSurroundingLinesStyle","slug":"cursorsurroundinglinesstyle","link":"#cursorsurroundinglinesstyle","children":[]},{"level":2,"title":"cursorWidth","slug":"cursorwidth","link":"#cursorwidth","children":[]},{"level":2,"title":"defaultColorDecorators","slug":"defaultcolordecorators","link":"#defaultcolordecorators","children":[]},{"level":2,"title":"definitionLinkOpensInPeek","slug":"definitionlinkopensinpeek","link":"#definitionlinkopensinpeek","children":[]},{"level":2,"title":"diffAlgorithm","slug":"diffalgorithm","link":"#diffalgorithm","children":[]},{"level":2,"title":"diffCodeLens","slug":"diffcodelens","link":"#diffcodelens","children":[]},{"level":2,"title":"diffWordWrap","slug":"diffwordwrap","link":"#diffwordwrap","children":[]},{"level":2,"title":"dimension","slug":"dimension","link":"#dimension","children":[]},{"level":2,"title":"disableLayerHinting","slug":"disablelayerhinting","link":"#disablelayerhinting","children":[]},{"level":2,"title":"disableMonospaceOptimizations","slug":"disablemonospaceoptimizations","link":"#disablemonospaceoptimizations","children":[]},{"level":2,"title":"domReadOnly","slug":"domreadonly","link":"#domreadonly","children":[]},{"level":2,"title":"dragAndDrop","slug":"draganddrop","link":"#draganddrop","children":[]},{"level":2,"title":"dropIntoEditor","slug":"dropintoeditor","link":"#dropintoeditor","children":[]},{"level":2,"title":"emptySelectionClipboard","slug":"emptyselectionclipboard","link":"#emptyselectionclipboard","children":[]},{"level":2,"title":"enableSplitViewResizing","slug":"enablesplitviewresizing","link":"#enablesplitviewresizing","children":[]},{"level":2,"title":"experimental","slug":"experimental","link":"#experimental","children":[]},{"level":2,"title":"experimentalWhitespaceRendering","slug":"experimentalwhitespacerendering","link":"#experimentalwhitespacerendering","children":[]},{"level":2,"title":"extraEditorClassName","slug":"extraeditorclassname","link":"#extraeditorclassname","children":[]},{"level":2,"title":"fastScrollSensitivity","slug":"fastscrollsensitivity","link":"#fastscrollsensitivity","children":[]},{"level":2,"title":"find","slug":"find","link":"#find","children":[]},{"level":2,"title":"fixedOverflowWidgets","slug":"fixedoverflowwidgets","link":"#fixedoverflowwidgets","children":[]},{"level":2,"title":"folding","slug":"folding","link":"#folding","children":[]},{"level":2,"title":"foldingHighlight","slug":"foldinghighlight","link":"#foldinghighlight","children":[]},{"level":2,"title":"foldingImportsByDefault","slug":"foldingimportsbydefault","link":"#foldingimportsbydefault","children":[]},{"level":2,"title":"foldingMaximumRegions","slug":"foldingmaximumregions","link":"#foldingmaximumregions","children":[]},{"level":2,"title":"foldingStrategy","slug":"foldingstrategy","link":"#foldingstrategy","children":[]},{"level":2,"title":"fontFamily","slug":"fontfamily","link":"#fontfamily","children":[]},{"level":2,"title":"fontLigatures","slug":"fontligatures","link":"#fontligatures","children":[]},{"level":2,"title":"fontSize","slug":"fontsize","link":"#fontsize","children":[]},{"level":2,"title":"fontVariations","slug":"fontvariations","link":"#fontvariations","children":[]},{"level":2,"title":"fontWeight","slug":"fontweight","link":"#fontweight","children":[]},{"level":2,"title":"formatOnPaste","slug":"formatonpaste","link":"#formatonpaste","children":[]},{"level":2,"title":"formatOnType","slug":"formatontype","link":"#formatontype","children":[]},{"level":2,"title":"glyphMargin","slug":"glyphmargin","link":"#glyphmargin","children":[]},{"level":2,"title":"gotoLocation","slug":"gotolocation","link":"#gotolocation","children":[]},{"level":2,"title":"guides","slug":"guides","link":"#guides","children":[]},{"level":2,"title":"hideCursorInOverviewRuler","slug":"hidecursorinoverviewruler","link":"#hidecursorinoverviewruler","children":[]},{"level":2,"title":"hover","slug":"hover","link":"#hover","children":[]},{"level":2,"title":"ignoreTrimWhitespace","slug":"ignoretrimwhitespace","link":"#ignoretrimwhitespace","children":[]},{"level":2,"title":"inDiffEditor","slug":"indiffeditor","link":"#indiffeditor","children":[]},{"level":2,"title":"inlayHints","slug":"inlayhints","link":"#inlayhints","children":[]},{"level":2,"title":"inlineSuggest","slug":"inlinesuggest","link":"#inlinesuggest","children":[]},{"level":2,"title":"isInEmbeddedEditor","slug":"isinembeddededitor","link":"#isinembeddededitor","children":[]},{"level":2,"title":"letterSpacing","slug":"letterspacing","link":"#letterspacing","children":[]},{"level":2,"title":"lightbulb","slug":"lightbulb","link":"#lightbulb","children":[]},{"level":2,"title":"lineDecorationsWidth","slug":"linedecorationswidth","link":"#linedecorationswidth","children":[]},{"level":2,"title":"lineHeight","slug":"lineheight","link":"#lineheight","children":[]},{"level":2,"title":"lineNumbers","slug":"linenumbers","link":"#linenumbers","children":[]},{"level":2,"title":"lineNumbersMinChars","slug":"linenumbersminchars","link":"#linenumbersminchars","children":[]},{"level":2,"title":"linkedEditing","slug":"linkedediting","link":"#linkedediting","children":[]},{"level":2,"title":"links","slug":"links","link":"#links","children":[]},{"level":2,"title":"matchBrackets","slug":"matchbrackets","link":"#matchbrackets","children":[]},{"level":2,"title":"matchOnWordStartOnly","slug":"matchonwordstartonly","link":"#matchonwordstartonly","children":[]},{"level":2,"title":"maxComputationTime","slug":"maxcomputationtime","link":"#maxcomputationtime","children":[]},{"level":2,"title":"maxFileSize","slug":"maxfilesize","link":"#maxfilesize","children":[]},{"level":2,"title":"minimap","slug":"minimap","link":"#minimap","children":[]},{"level":2,"title":"modifiedAriaLabel","slug":"modifiedarialabel","link":"#modifiedarialabel","children":[]},{"level":2,"title":"mouseStyle","slug":"mousestyle","link":"#mousestyle","children":[]},{"level":2,"title":"mouseWheelScrollSensitivity","slug":"mousewheelscrollsensitivity","link":"#mousewheelscrollsensitivity","children":[]},{"level":2,"title":"mouseWheelZoom","slug":"mousewheelzoom","link":"#mousewheelzoom","children":[]},{"level":2,"title":"multiCursorLimit","slug":"multicursorlimit","link":"#multicursorlimit","children":[]},{"level":2,"title":"multiCursorMergeOverlapping","slug":"multicursormergeoverlapping","link":"#multicursormergeoverlapping","children":[]},{"level":2,"title":"multiCursorModifier","slug":"multicursormodifier","link":"#multicursormodifier","children":[]},{"level":2,"title":"multiCursorPaste","slug":"multicursorpaste","link":"#multicursorpaste","children":[]},{"level":2,"title":"occurrencesHighlight","slug":"occurrenceshighlight","link":"#occurrenceshighlight","children":[]},{"level":2,"title":"originalAriaLabel","slug":"originalarialabel","link":"#originalarialabel","children":[]},{"level":2,"title":"originalEditable","slug":"originaleditable","link":"#originaleditable","children":[]},{"level":2,"title":"overflowWidgetsDomNode","slug":"overflowwidgetsdomnode","link":"#overflowwidgetsdomnode","children":[]},{"level":2,"title":"overviewRulerBorder","slug":"overviewrulerborder","link":"#overviewrulerborder","children":[]},{"level":2,"title":"overviewRulerLanes","slug":"overviewrulerlanes","link":"#overviewrulerlanes","children":[]},{"level":2,"title":"padding","slug":"padding","link":"#padding","children":[]},{"level":2,"title":"parameterHints","slug":"parameterhints","link":"#parameterhints","children":[]},{"level":2,"title":"pasteAs","slug":"pasteas","link":"#pasteas","children":[]},{"level":2,"title":"peekWidgetDefaultFocus","slug":"peekwidgetdefaultfocus","link":"#peekwidgetdefaultfocus","children":[]},{"level":2,"title":"quickSuggestions","slug":"quicksuggestions","link":"#quicksuggestions","children":[]},{"level":2,"title":"quickSuggestionsDelay","slug":"quicksuggestionsdelay","link":"#quicksuggestionsdelay","children":[]},{"level":2,"title":"readOnly","slug":"readonly","link":"#readonly","children":[]},{"level":2,"title":"renameOnType","slug":"renameontype","link":"#renameontype","children":[]},{"level":2,"title":"renderControlCharacters","slug":"rendercontrolcharacters","link":"#rendercontrolcharacters","children":[]},{"level":2,"title":"renderFinalNewline","slug":"renderfinalnewline","link":"#renderfinalnewline","children":[]},{"level":2,"title":"renderIndicators","slug":"renderindicators","link":"#renderindicators","children":[]},{"level":2,"title":"renderLineHighlight","slug":"renderlinehighlight","link":"#renderlinehighlight","children":[]},{"level":2,"title":"renderLineHighlightOnlyWhenFocus","slug":"renderlinehighlightonlywhenfocus","link":"#renderlinehighlightonlywhenfocus","children":[]},{"level":2,"title":"renderMarginRevertIcon","slug":"rendermarginreverticon","link":"#rendermarginreverticon","children":[]},{"level":2,"title":"renderOverviewRuler","slug":"renderoverviewruler","link":"#renderoverviewruler","children":[]},{"level":2,"title":"renderSideBySide","slug":"rendersidebyside","link":"#rendersidebyside","children":[]},{"level":2,"title":"renderValidationDecorations","slug":"rendervalidationdecorations","link":"#rendervalidationdecorations","children":[]},{"level":2,"title":"renderWhitespace","slug":"renderwhitespace","link":"#renderwhitespace","children":[]},{"level":2,"title":"revealHorizontalRightPadding","slug":"revealhorizontalrightpadding","link":"#revealhorizontalrightpadding","children":[]},{"level":2,"title":"roundedSelection","slug":"roundedselection","link":"#roundedselection","children":[]},{"level":2,"title":"rulers","slug":"rulers","link":"#rulers","children":[]},{"level":2,"title":"screenReaderAnnounceInlineSuggestion","slug":"screenreaderannounceinlinesuggestion","link":"#screenreaderannounceinlinesuggestion","children":[]},{"level":2,"title":"scrollBeyondLastColumn","slug":"scrollbeyondlastcolumn","link":"#scrollbeyondlastcolumn","children":[]},{"level":2,"title":"scrollBeyondLastLine","slug":"scrollbeyondlastline","link":"#scrollbeyondlastline","children":[]},{"level":2,"title":"scrollPredominantAxis","slug":"scrollpredominantaxis","link":"#scrollpredominantaxis","children":[]},{"level":2,"title":"scrollbar","slug":"scrollbar","link":"#scrollbar","children":[]},{"level":2,"title":"selectOnLineNumbers","slug":"selectonlinenumbers","link":"#selectonlinenumbers","children":[]},{"level":2,"title":"selectionClipboard","slug":"selectionclipboard","link":"#selectionclipboard","children":[]},{"level":2,"title":"selectionHighlight","slug":"selectionhighlight","link":"#selectionhighlight","children":[]},{"level":2,"title":"showDeprecated","slug":"showdeprecated","link":"#showdeprecated","children":[]},{"level":2,"title":"showFoldingControls","slug":"showfoldingcontrols","link":"#showfoldingcontrols","children":[]},{"level":2,"title":"showUnused","slug":"showunused","link":"#showunused","children":[]},{"level":2,"title":"smartSelect","slug":"smartselect","link":"#smartselect","children":[]},{"level":2,"title":"smoothScrolling","slug":"smoothscrolling","link":"#smoothscrolling","children":[]},{"level":2,"title":"snippetSuggestions","slug":"snippetsuggestions","link":"#snippetsuggestions","children":[]},{"level":2,"title":"splitViewDefaultRatio","slug":"splitviewdefaultratio","link":"#splitviewdefaultratio","children":[]},{"level":2,"title":"stickyScroll","slug":"stickyscroll","link":"#stickyscroll","children":[]},{"level":2,"title":"stickyTabStops","slug":"stickytabstops","link":"#stickytabstops","children":[]},{"level":2,"title":"stopRenderingLineAfter","slug":"stoprenderinglineafter","link":"#stoprenderinglineafter","children":[]},{"level":2,"title":"suggest","slug":"suggest","link":"#suggest","children":[]},{"level":2,"title":"suggestFontSize","slug":"suggestfontsize","link":"#suggestfontsize","children":[]},{"level":2,"title":"suggestLineHeight","slug":"suggestlineheight","link":"#suggestlineheight","children":[]},{"level":2,"title":"suggestOnTriggerCharacters","slug":"suggestontriggercharacters","link":"#suggestontriggercharacters","children":[]},{"level":2,"title":"suggestSelection","slug":"suggestselection","link":"#suggestselection","children":[]},{"level":2,"title":"tabCompletion","slug":"tabcompletion","link":"#tabcompletion","children":[]},{"level":2,"title":"tabFocusMode","slug":"tabfocusmode","link":"#tabfocusmode","children":[]},{"level":2,"title":"tabIndex","slug":"tabindex","link":"#tabindex","children":[]},{"level":2,"title":"theme","slug":"theme","link":"#theme","children":[]},{"level":2,"title":"unfoldOnClickAfterEndOfLine","slug":"unfoldonclickafterendofline","link":"#unfoldonclickafterendofline","children":[]},{"level":2,"title":"unicodeHighlight","slug":"unicodehighlight","link":"#unicodehighlight","children":[]},{"level":2,"title":"unusualLineTerminators","slug":"unusuallineterminators","link":"#unusuallineterminators","children":[]},{"level":2,"title":"useShadowDOM","slug":"useshadowdom","link":"#useshadowdom","children":[]},{"level":2,"title":"useTabStops","slug":"usetabstops","link":"#usetabstops","children":[]},{"level":2,"title":"wordBreak","slug":"wordbreak","link":"#wordbreak","children":[]},{"level":2,"title":"wordSeparators","slug":"wordseparators","link":"#wordseparators","children":[]},{"level":2,"title":"wordWrap","slug":"wordwrap","link":"#wordwrap","children":[]},{"level":2,"title":"wordWrapBreakAfterCharacters","slug":"wordwrapbreakaftercharacters","link":"#wordwrapbreakaftercharacters","children":[]},{"level":2,"title":"wordWrapBreakBeforeCharacters","slug":"wordwrapbreakbeforecharacters","link":"#wordwrapbreakbeforecharacters","children":[]},{"level":2,"title":"wordWrapColumn","slug":"wordwrapcolumn","link":"#wordwrapcolumn","children":[]},{"level":2,"title":"wordWrapOverride1","slug":"wordwrapoverride1","link":"#wordwrapoverride1","children":[]},{"level":2,"title":"wordWrapOverride2","slug":"wordwrapoverride2","link":"#wordwrapoverride2","children":[]},{"level":2,"title":"wrappingIndent","slug":"wrappingindent","link":"#wrappingindent","children":[]},{"level":2,"title":"wrappingStrategy","slug":"wrappingstrategy","link":"#wrappingstrategy","children":[]}],"git":{"createdTime":1686945885000,"updatedTime":1687454455000,"contributors":[{"name":"xiaochaochao","email":"xiaochaochao","commits":2}]},"readingTime":{"minutes":20.78,"words":6234},"filePathRelative":"editor/interfaces/IStandaloneDiffEditorConstructionOptions.md","localizedDate":"2023年6月16日","autoDesc":true}');export{e as data};
diff --git a/assets/IStandaloneDiffEditorConstructionOptions.html-e734bd8f.js b/assets/IStandaloneDiffEditorConstructionOptions.html-e734bd8f.js
new file mode 100644
index 00000000..40fe4796
--- /dev/null
+++ b/assets/IStandaloneDiffEditorConstructionOptions.html-e734bd8f.js
@@ -0,0 +1,26 @@
+import{_ as t}from"./plugin-vue_export-helper-c27b6911.js";import{r as c,o as r,c as s,a as e,b as o,d as i,w as d,e as a}from"./app-5f5ef0a9.js";const u={},h=e("h1",{id:"istandalonediffeditorconstructionoptions",tabindex:"-1"},[e("a",{class:"header-anchor",href:"#istandalonediffeditorconstructionoptions","aria-hidden":"true"},"#"),o(" IStandaloneDiffEditorConstructionOptions")],-1),p=e("code",null,"interface",-1),f={href:"https://microsoft.github.io/monaco-editor/docs.html#interfaces/editor.IStandaloneDiffEditorConstructionOptions.html",target:"_blank",rel:"noopener noreferrer"},b=a(` 属性 Properties
acceptSuggestionOnCommitCharacter
- 类型:
boolean
可选
- 默认值:
true
- 可选项:
-
- 描述: 用于控制是否在输入特定字符时自动接受建议(suggestion) 如果将 acceptSuggestionOnCommitCharacter 设置为 true ,则在输入特定字符时,如果当前有建议,编辑器会自动接受建议并将其插入到文本中。可以使用 monaco.languages.registerCompletionItemProvider 方法注册一个代码补全提供程序,并在提供程序的 triggerCharacters 属性中指定要触发自动接受建议的字符。
下面是一个例子:
monaco.languages.registerCompletionItemProvider('javascript', {
+ triggerCharacters: ['.', ':'], // 指定触发自动接受建议的字符
+ provideCompletionItems: function(model, position, token, context) {
+ // 返回代码补全建议
+ return {
+ suggestions: [
+ {
+ label: 'console',
+ kind: monaco.languages.CompletionItemKind.Function,
+ insertText: 'console.', // 插入文本,如果用户按下 '.',则自动接受建议
+ commitCharacters: ['.'] // 指定插入建议后自动接受建议的字符
+ }
+ ]
+ };
+ }
+});
+// 将 acceptSuggestionOnCommitCharacter 设置为 true
+monaco.editor.create(document.getElementById('container'), {
+ value: '',
+ language: 'javascript',
+ acceptSuggestionOnCommitCharacter: true
+});
+
在上面的示例中,当用户输入 console. 时,会触发代码补全建议,建议中的 insertText 为 console. ,如果用户按下 . ,则自动接受建议。
acceptSuggestionOnEnter
- 类型:
string
可选
- 默认值:
'on'
- 可选项:
'on'
, 'smart'
, 'off'
- 描述: 用于控制是否在按下回车键时自动接受建议(suggestion) 如果将 acceptSuggestionOnEnter 设置为
'on'
,则在按下回车键时,如果当前有建议,编辑器会自动接受建议并将其插入到文本中。如果将其设置为 'smart'
,则只有在建议中存在文本更改时才会自动接受建议。如果将其设置为 'off'
,则不会自动接受建议。
accessibilityPageSize
- 类型:
number
可选
- 默认值:
10
- 可选项:
-
- 描述: 用于控制屏幕阅读器一次读取的行数 如果将 accessibilityPageSize 设置为一个正整数,则屏幕阅读器在读取编辑器内容时会一次读取指定行数的文本。
accessibilitySupport
- 类型:
string
可选
- 默认值:
'auto'
- 可选项:
'auto'
, 'off'
, 'on'
- 描述: 用于控制屏幕阅读器的支持级别 如果将 accessibilitySupport 设置为
'auto'
,则编辑器会自动检测当前环境是否支持屏幕阅读器,并相应地启用或禁用辅助功能。如果将其设置为 'on'
,则编辑器将始终启用辅助功能。如果将其设置为 'off'
,则编辑器将始终禁用辅助功能。
accessibilityVerbose
- 类型:
boolean
可选
- 默认值:
false
- 可选项:
-
- 描述: 用于控制屏幕阅读器的详细程度 如果将 accessibilityVerbose 设置为 true ,则屏幕阅读器在读取编辑器内容时会提供更详细的信息。
ariaLabel
- 类型:
string
可选
- 默认值:
''
- 可选项:
-
- 描述: 用于控制编辑器的 ARIA 标签 如果将 ariaLabel 设置为一个非空字符串,则编辑器会将其作为 ARIA 标签添加到编辑器的容器元素中,以提高可访问性。
autoClosingBrackets
`,17),g=e("code",null,"可选",-1),m=e("li",null,[o("默认值: "),e("code",null,"true")],-1),_=e("li",null,[o("可选项: "),e("code",null,"-")],-1),D=e("h2",{id:"autoclosingdelete",tabindex:"-1"},[e("a",{class:"header-anchor",href:"#autoclosingdelete","aria-hidden":"true"},"#"),o(" autoClosingDelete")],-1),y=e("code",null,"可选",-1),x=e("li",null,[o("默认值: "),e("code",null,"-")],-1),q=e("li",null,[o("可选项: "),e("code",null,"-")],-1),v=e("li",null,"描述: 用于控制是否在删除时自动删除闭合的括号",-1),C=e("h2",{id:"autoclosingovertype",tabindex:"-1"},[e("a",{class:"header-anchor",href:"#autoclosingovertype","aria-hidden":"true"},"#"),o(" autoClosingOvertype")],-1),w=e("code",null,"可选",-1),E=e("li",null,[o("默认值: "),e("code",null,"-")],-1),S=e("li",null,[o("可选项: "),e("code",null,"-")],-1),k=e("li",null,"描述: 用于控制是否在覆盖模式下自动闭合括号",-1),O=e("h2",{id:"autoclosingquotes",tabindex:"-1"},[e("a",{class:"header-anchor",href:"#autoclosingquotes","aria-hidden":"true"},"#"),o(" autoClosingQuotes")],-1),I=e("code",null,"可选",-1),F=e("li",null,[o("默认值: "),e("code",null,"-")],-1),L=e("li",null,[o("可选项: "),e("code",null,"-")],-1),A=e("li",null,"描述: 用于控制是否自动闭合引号",-1),z=a(' autoDetectHighContrast
- 类型:
boolean
可选
- 默认值:
true
- 可选项:
-
- 描述: 用于控制是否自动检测高对比度模式 如果将 autoDetectHighContrast 设置为 true ,则编辑器会自动检测当前是否处于高对比度模式,并相应地调整编辑器的外观。
autoIndent
- 类型:
string
可选
- 默认值:
advanced
- 可选项:
"none" | "advanced" | "full" | "brackets" | "keep"
- 描述: 用于控制是否自动缩进
autoSurround
',5),W=e("code",null,"可选",-1),H=e("li",null,[o("默认值: "),e("code",null,"languageDefined")],-1),P=e("li",null,[o("可选项: "),e("code",null,"-")],-1),R=e("li",null,"描述: 用于控制是否自动包围选定的文本",-1),B=a(' automaticLayout
- 类型:
boolean
可选
- 默认值:
false
- 可选项:
-
- 描述: 用于控制是否自动调整编辑器的大小 如果将 automaticLayout 设置为 true ,则编辑器会在窗口大小发生变化时自动调整大小以适应新的窗口大小。
bracketPairColorization
',3),T=e("code",null,"可选",-1),M=e("li",null,[o("默认值: "),e("code",null,"-")],-1),N=e("li",null,[o("可选项: "),e("code",null,"-")],-1),V=e("li",null,"描述: 用于控制是否高亮显示匹配的括号 如果将 bracketPairColorization 设置为 true ,则编辑器会在输入左括号时高亮显示相应的右括号,并在将光标放在左括号或右括号上时高亮显示相应的匹配括号。",-1),U=a(' codeActionsOnSaveTimeout
- 类型:
number
可选
- 默认值:
750
- 可选项:
-
- 描述: 用于控制代码保存时执行代码操作的超时时间 如果将 codeActionsOnSaveTimeout 设置为一个正整数,则在保存代码时,编辑器会等待指定的时间以执行代码操作。
codeLens
- 类型:
boolean
可选
- 默认值:
true
- 可选项:
-
- 描述: 用于控制是否启用代码镜头(CodeLens) 如果将 codeLens 设置为 true ,则编辑器会在代码中显示代码镜头,其中包含有关代码的其他信息,例如代码的引用和测试状态。
codeLensFontFamily
- 类型:
string
可选
- 默认值:
editor default
- 可选项:
-
- 描述: 用于控制代码镜头的字体系列 如果将 codeLensFontFamily 设置为一个非空字符串,则编辑器会使用指定的字体系列来呈现代码镜头。
codeLensFontSize
- 类型:
number
可选
- 默认值:
editor 字体大小的 90%
- 可选项:
-
- 描述: 用于控制代码镜头的字体大小 如果将 codeLensFontSize 设置为一个正整数,则编辑器会使用指定的字体大小来呈现代码镜头。
colorDecorators
- 类型:
boolean
可选
- 默认值:
true
- 可选项:
-
- 描述: 用于控制是否启用颜色修饰器 如果将 colorDecorators 设置为 true ,则编辑器会在代码中使用颜色修饰器,以提供有关代码的其他信息,例如代码的引用和测试状态。
colorDecoratorsLimit
- 类型:
number
可选
- 默认值:
5000
- 可选项:
-
- 描述: 控制文本编辑器中颜色装饰器的数量限制。
columnSelection
- 类型:
boolean
可选
- 默认值:
false
- 可选项:
-
- 描述: 控制是否启用列选择。
',15),j=e("code",null,"可选",-1),G=e("li",null,[o("默认值: "),e("code",null,"undefined")],-1),Q=e("li",null,[o("可选项: "),e("code",null,"-")],-1),K=e("li",null,"描述: 控制编辑器中注释的行为。",-1),Z=a('- 类型:
boolean
可选
- 默认值:
true
- 可选项:
-
- 描述: 控制是否启用上下文菜单。
copyWithSyntaxHighlighting
- 类型:
boolean
可选
- 默认值:
true
- 可选项:
-
- 描述: 控制复制时是否包含语法高亮。
cursorBlinking
- 类型:
string
可选
- 默认值:
blink
- 可选项:
blink
, smooth
, phase
, expand
, solid
- 描述: 控制光标闪烁的方式。
cursorSmoothCaretAnimation
- 类型:
string
可选
- 默认值:
off
- 可选项:
"on" | "off" | "explicit"
- 描述: 控制是否启用光标平滑动画。
cursorStyle
- 类型:
string
可选
- 默认值:
line
- 可选项:
line
, block
, underline
, line-thin
, block-outline
, underline-thin
- 描述: 控制光标样式。
cursorSurroundingLines
- 类型:
number
可选
- 默认值:
0
- 可选项:
-
- 描述: 控制光标周围可见的行数。
cursorSurroundingLinesStyle
- 类型:
string
可选
- 默认值:
default
- 可选项:
default
, all
- 描述: 控制光标周围可见的行的样式。
cursorWidth
- 类型:
number
可选
- 默认值:
0
- 可选项:
-
- 描述: 控制光标宽度。
defaultColorDecorators
- 类型:
boolean
可选
- 默认值:
true
- 可选项:
-
- 描述: 控制是否启用默认的颜色装饰器。
definitionLinkOpensInPeek
- 类型:
boolean
可选
- 默认值:
false
- 可选项:
-
- 描述: 控制定义链接是否在峰视图中打开。
diffAlgorithm
',21),$=e("li",null,[o("类型: "),e("code",null,"string"),o(),e("code",null,"可选")],-1),J=e("li",null,[o("默认值: "),e("code",null,"original")],-1),X=e("li",null,"描述: 控制差异算法。",-1),Y=a(` diffCodeLens
- 类型:
boolean
可选
- 默认值:
true
- 可选项:
-
- 描述: 控制是否启用差异代码镜头。
diffWordWrap
- 类型:
boolean
可选
- 默认值:
false
- 可选项:
-
- 描述: 控制差异编辑器中是否启用自动换行。
dimension
- 类型:
monaco.editor.IDimension
可选
- 默认值:
undefined
- 可选项:
-
- 描述: 控制编辑器的大小。
disableLayerHinting
- 类型:
boolean
可选
- 默认值:
false
- 可选项:
-
- 描述: 控制是否禁用层提示。
disableMonospaceOptimizations
- 类型:
boolean
可选
- 默认值:
false
- 可选项:
-
- 描述: 控制是否禁用等宽字体优化。
domReadOnly
- 类型:
boolean
可选
- 默认值:
false
- 可选项:
-
- 描述: 控制是否将编辑器设置为只读。
dragAndDrop
- 类型:
boolean
可选
- 默认值:
true
- 可选项:
-
- 描述: 控制是否启用拖放。
dropIntoEditor
- 类型:
boolean
可选
- 默认值:
true
- 可选项:
-
- 描述: 控制是否启用将文件拖放到编辑器中。
emptySelectionClipboard
- 类型:
boolean
可选
- 默认值:
true
- 可选项:
-
- 描述: 控制是否将空选择复制到剪贴板中。
enableSplitViewResizing
- 类型:
boolean
可选
- 默认值:
true
- 可选项:
-
- 描述: 控制是否启用分割视图调整大小。
experimental
- 类型:
如下代码
可选
- 默认值:
collapseUnchangedRegions 默认值为 false
- 可选项:
-
- 描述: 控制是否启用实验性特性。
experimental?: {
+ collapseUnchangedRegions?: boolean;
+}
+
experimentalWhitespaceRendering
- 类型:
enum
可选
- 默认值:
svg
- 可选项:
"off" | "svg" | "font"
- 描述: 控制是否启用实验性的空格渲染。
- 类型:
string
可选
- 默认值:
undefined
- 可选项:
-
- 描述: 控制编辑器的额外 CSS 类名。
- 类型:
number
可选
- 默认值:
5
- 可选项:
-
- 描述: 控制快速滚动的灵敏度。
find
`,30),ee=e("code",null,"可选",-1),oe=e("li",null,[o("默认值: "),e("code",null,"undefined")],-1),ie=e("li",null,[o("可选项: "),e("code",null,"-")],-1),le=e("li",null,"描述: 控制查找行为。",-1),de=a('- 类型:
boolean
可选
- 默认值:
false
- 可选项:
-
- 描述: 控制是否固定溢出的小部件。
folding
- 类型:
boolean
可选
- 默认值:
true
- 可选项:
-
- 描述: 控制是否启用折叠。
foldingHighlight
- 类型:
boolean
可选
- 默认值:
true
- 可选项:
-
- 描述: 控制是否突出显示折叠范围。
foldingImportsByDefault
- 类型:
boolean
可选
- 默认值:
false
- 可选项:
-
- 描述: 控制是否默认折叠导入语句。
foldingMaximumRegions
- 类型:
number
可选
- 默认值:
5000
- 可选项:
-
- 描述: 控制最大折叠区域数。
foldingStrategy
- 类型:
string
可选
- 默认值:
auto
- 可选项:
auto
, indentation
- 描述: 控制折叠策略。 'auto' 使用为当前文档的策略,'indentation' 使用基于缩进的折叠策略。默认为“自动”。
fontFamily
- 类型:
string
可选
- 默认值:
'Menlo', 'Monaco', 'Consolas', 'source-code-pro', 'monospace'
- 可选项:
-
- 描述: 控制字体系列。
fontLigatures
- 类型:
boolean
可选
- 默认值:
false
- 可选项:
-
- 描述: 控制是否启用字体连字。
fontSize
- 类型:
number
可选
- 默认值:
0
- 可选项:
-
- 描述: 控制字体大小。
fontVariations
- 类型:
string
可选
- 默认值:
undefined
- 可选项:
-
- 描述: 控制字体变体。
fontWeight
- 类型:
string
可选
- 默认值:
normal
- 可选项:
normal
, bold
, bolder
, lighter
, 100
, 200
, 300
, 400
, 500
, 600
, 700
, 800
, 900
- 描述: 控制字体粗细。
- 类型:
boolean
可选
- 默认值:
false
- 可选项:
-
- 描述: 控制是否在粘贴时格式化文本。
- 类型:
boolean
可选
- 默认值:
false
- 可选项:
-
- 描述: 控制是否在键入时格式化文本。
glyphMargin
- 类型:
boolean
可选
- 默认值:
true
- 可选项:
-
- 描述: 控制是否启用符号边距。
gotoLocation
',29),ae=e("code",null,"可选",-1),ce=e("li",null,[o("默认值: "),e("code",null,"-")],-1),ne=e("li",null,[o("可选项: "),e("code",null,"-")],-1),te=e("li",null,"描述: 控制跳转位置的行为。",-1),re=e("h2",{id:"guides",tabindex:"-1"},[e("a",{class:"header-anchor",href:"#guides","aria-hidden":"true"},"#"),o(" guides")],-1),se=e("code",null,"可选",-1),ue=e("li",null,[o("默认值: "),e("code",null,"-")],-1),he=e("li",null,[o("可选项: "),e("code",null,"-")],-1),pe=e("li",null,"描述: 控制是否显示编辑器中的垂直参考线。",-1),fe=a(' hideCursorInOverviewRuler
- 类型:
boolean
可选
- 默认值:
false
- 可选项:
-
- 描述: 控制是否在概览标尺中隐藏光标。
hover
',3),be=e("code",null,"可选",-1),ge=e("li",null,[o("默认值: "),e("code",null,"-")],-1),me=e("li",null,[o("可选项: "),e("code",null,"-")],-1),_e=e("li",null,"描述: 控制是否在编辑器中启用悬停提示。",-1),De=a(' ignoreTrimWhitespace
- 类型:
boolean
可选
- 默认值:
true
- 可选项:
-
- 描述: 控制是否在比较差异时忽略空格。
inDiffEditor
- 类型:
boolean
可选
- 默认值:
false
- 可选项:
-
- 描述: 控制是否在差异编辑器中启用编辑器。
inlayHints
',5),ye=e("code",null,"可选",-1),xe=e("li",null,[o("默认值: "),e("code",null,"-")],-1),qe=e("li",null,[o("可选项: "),e("code",null,"-")],-1),ve=e("li",null,"描述: 控制是否在编辑器中启用内联提示。",-1),Ce=e("h2",{id:"inlinesuggest",tabindex:"-1"},[e("a",{class:"header-anchor",href:"#inlinesuggest","aria-hidden":"true"},"#"),o(" inlineSuggest")],-1),we=e("code",null,"可选",-1),Ee=e("li",null,[o("默认值: "),e("code",null,"-")],-1),Se=e("li",null,[o("可选项: "),e("code",null,"-}")],-1),ke=e("li",null,"描述: 控制是否在编辑器中启用内联建议。",-1),Oe=a(' isInEmbeddedEditor
- 类型:
boolean
可选
- 默认值:
false
- 可选项:
-
- 描述: 控制是否在嵌入式编辑器中启用编辑器。
letterSpacing
- 类型:
number
可选
- 默认值:
0
- 可选项:
-
- 描述: 控制字符间距。
lightbulb
',5),Ie=e("code",null,"可选",-1),Fe=e("li",null,[o("默认值: "),e("code",null,"{ enabled: true }")],-1),Le=e("li",null,[o("可选项: "),e("code",null,"{ enabled: boolean }")],-1),Ae=e("li",null,"描述: 控制是否在编辑器中启用轻量级提示。",-1),ze=a(' lineDecorationsWidth
- 类型:
string
可选
- 默认值:
1px
- 可选项:
-
- 描述: 控制行装饰的宽度。
lineHeight
- 类型:
number
可选
- 默认值:
0
- 可选项:
-
- 描述: 控制行高。
lineNumbers
',5),We=e("code",null,"可选",-1),He=e("li",null,[o("默认值: "),e("code",null,"on")],-1),Pe=e("li",null,[o("可选项: "),e("code",null,"-")],-1),Re=e("li",null,"描述: 控制行号的呈现。 如果是函数,在渲染一个行号的时候会调用它,渲染返回值。 否则,如果它是真值,行号将被正常渲染(相当于使用恒等函数)。 否则,将不会呈现行号。 默认为开。",-1),Be=a(' lineNumbersMinChars
- 类型:
number
可选
- 默认值:
5
- 可选项:
-
- 描述: 控制行号的最小字符数。保留水平空间来呈现至少一定数量的数字.
linkedEditing
- 类型:
boolean
可选
- 默认值:
false
- 可选项:
-
- 描述: 控制是否启用链接编辑。
links
- 类型:
boolean
可选
- 默认值:
true
- 可选项:
-
- 描述: 控制是否启用链接。
matchBrackets
- 类型:
string
可选
- 默认值:
always
- 可选项:
"always" | "never" | "near"
- 描述: 控制是否突出显示匹配括号。
matchOnWordStartOnly
- 类型:
boolean
可选
- 默认值:
false
- 可选项:
-
- 描述: 控制是否仅在单词开头匹配。
maxComputationTime
- 类型:
number
可选
- 默认值:
5000
- 可选项:
-
- 描述: 控制计算的最大时间(以毫秒为单位)。
maxFileSize
- 类型:
number
可选
- 默认值:
50
- 可选项:
-
- 描述: 控制最大文件大小 单位MB。
minimap
',15),Te=e("code",null,"可选",-1),Me=e("li",null,[o("默认值: "),e("code",null,"{ enabled: true }")],-1),Ne=e("li",null,[o("可选项: "),e("code",null,"{ enabled: boolean, maxColumn: number, renderCharacters: boolean, showSlider: 'always' | 'mouseover' }")],-1),Ve=e("li",null,"描述: 控制是否显示缩略图。",-1),Ue=a(' modifiedAriaLabel
- 类型:
string
可选
- 默认值:
undefined
- 可选项:
-
- 描述: 控制修改版面板的 ARIA 标签。
mouseStyle
- 类型:
string
可选
- 默认值:
text
- 可选项:
'text' | 'default' | 'copy'
- 描述: 控制鼠标样式。
- 类型:
number
可选
- 默认值:
1
- 可选项:
-
- 描述: 用于控制鼠标滚轮滚动时的滚动速度。
mouseWheelZoom
- 类型:
boolean
可选
- 默认值:
false
- 可选项:
-
- 描述: 用于控制是否启用鼠标滚轮缩放。
multiCursorLimit
- 类型:
number
可选
- 默认值:
100
- 可选项:
-
- 描述: 用于控制多光标的数量限制。
multiCursorMergeOverlapping
- 类型:
boolean
可选
- 默认值:
true
- 可选项:
-
- 描述: 用于控制多光标是否可以合并重叠的部分。
multiCursorModifier
- 类型:
string
可选
- 默认值:
'alt'
- 可选项:
'alt'
, 'ctrlCmd'
- 描述: 用于控制触发多光标的修改键。
multiCursorPaste
- 类型:
string
可选
- 默认值:
'spread'
- 可选项:
'spread'
, 'full'
- 描述: 用于控制多光标粘贴时的行为。
occurrencesHighlight
- 类型:
boolean
可选
- 默认值:
true
- 可选项:
-
- 描述: 用于控制是否高亮显示所有匹配项。
originalAriaLabel
- 类型:
string
可选
- 默认值:
undefined
- 可选项:
-
- 描述: 用于控制编辑器的原始 ARIA 标签。
originalEditable
- 类型:
boolean
可选
- 默认值:
undefined
- 可选项:
-
- 描述: 用于控制编辑器是否可编辑。
- 类型:
HTMLElement
可选
- 默认值:
undefined
- 可选项:
-
- 描述: 用于控制溢出小部件的 DOM 节点。
overviewRulerBorder
- 类型:
boolean
可选
- 默认值:
true
- 可选项:
-
- 描述: 用于控制概览标尺是否显示边框。
overviewRulerLanes
- 类型:
number
可选
- 默认值:
3
- 可选项:
-
- 描述: 用于控制概览标尺的宽度。
padding
',29),je=e("code",null,"可选",-1),Ge=e("li",null,[o("默认值: "),e("code",null,"{ top: 0, bottom: 0 }")],-1),Qe=e("li",null,[o("可选项: "),e("code",null,"-")],-1),Ke=e("li",null,"描述: 用于控制编辑器的填充。",-1),Ze=e("h2",{id:"parameterhints",tabindex:"-1"},[e("a",{class:"header-anchor",href:"#parameterhints","aria-hidden":"true"},"#"),o(" parameterHints")],-1),$e=e("code",null,"可选",-1),Je=e("li",null,[o("默认值: "),e("code",null,"{ enabled: true }")],-1),Xe=e("li",null,[o("可选项: "),e("code",null,"-")],-1),Ye=e("li",null,"描述: 用于控制参数提示的行为。",-1),eo=e("h2",{id:"pasteas",tabindex:"-1"},[e("a",{class:"header-anchor",href:"#pasteas","aria-hidden":"true"},"#"),o(" pasteAs")],-1),oo=e("code",null,"可选",-1),io=e("li",null,[o("默认值: "),e("code",null,"{ pastedText: 'default' }")],-1),lo=e("li",null,[o("可选项: "),e("code",null,"-")],-1),ao=e("li",null,"描述: 用于控制粘贴时的行为。",-1),co=a('- 类型:
enum
可选
- 默认值:
false
- 可选项:
"tree" | "editor"
- 描述: 用于控制查看小部件的默认焦点。
quickSuggestions
',3),no=e("code",null,"boolean",-1),to=e("code",null,"可选",-1),ro=e("li",null,[o("默认值: "),e("code",null,"true")],-1),so=e("li",null,[o("可选项: "),e("code",null,"-")],-1),uo=e("li",null,"描述: 用于控制是否启用快速建议。",-1),ho=a(' quickSuggestionsDelay
- 类型:
number
可选
- 默认值:
10
- 可选项:
-
- 描述: 用于控制快速建议的延迟时间。单位 ms
readOnly
- 类型:
boolean
可选
- 默认值:
false
- 可选项:
-
- 描述: 用于控制编辑器是否只读。
renameOnType
- 类型:
boolean
可选
- 默认值:
false
- 可选项:
-
- 描述: 用于控制是否在输入时自动重命名符号。
renderControlCharacters
- 类型:
boolean
可选
- 默认值:
true
- 可选项:
-
- 描述: 用于控制是否渲染控制字符。
renderFinalNewline
- 类型:
boolean
可选
- 默认值:
on
- 可选项:
"on" | "off" | "dimmed"
- 描述: 用于控制是否渲染最终的换行符。
renderIndicators
- 类型:
boolean
可选
- 默认值:
true
- 可选项:
-
- 描述: 用于控制是否渲染指示器。
renderLineHighlight
- 类型:
string
可选
- 默认值:
'all'
- 可选项:
'none'
, 'gutter'
, 'line'
, 'all'
- 描述: 用于控制行高亮的行为。
renderLineHighlightOnlyWhenFocus
- 类型:
boolean
可选
- 默认值:
false
- 可选项:
-
- 描述: 用于控制是否只在编辑器获得焦点时才高亮显示行。
renderMarginRevertIcon
- 类型:
boolean
可选
- 默认值:
true
- 可选项:
-
- 描述: 用于控制是否渲染边距还原图标。
renderOverviewRuler
- 类型:
boolean
可选
- 默认值:
true
- 可选项:
-
- 描述: 用于控制是否渲染概览标尺。
renderSideBySide
- 类型:
boolean
可选
- 默认值:
true
- 可选项:
-
- 描述: 用于控制是否渲染并排视图。
renderValidationDecorations
- 类型:
string
可选
- 默认值:
'editable'
- 可选项:
'on'
, 'off'
, 'editable'
- 描述: 用于控制验证装饰的行为。
renderWhitespace
- 类型:
string
可选
- 默认值:
'selection'
- 可选项:
"all" | "none" | "boundary" | "selection" | "trailing"
- 描述: 用于控制渲染空白字符的行为。
revealHorizontalRightPadding
- 类型:
number
可选
- 默认值:
30
- 可选项:
-
- 描述: 控制编辑器在水平滚动时距离视窗右侧的像素数。
roundedSelection
- 类型:
boolean
可选
- 默认值:
true
- 可选项:
-
- 描述: 控制编辑器是否使用圆形选择。
rulers
',31),po=e("code",null,"number",-1),fo=e("code",null,"可选",-1),bo=e("li",null,[o("默认值: "),e("code",null,"[]")],-1),go=e("li",null,[o("可选项: "),e("code",null,"-")],-1),mo=e("li",null,"描述: 控制编辑器的垂直标尺的位置。",-1),_o=a(' screenReaderAnnounceInlineSuggestion
- 类型:
boolean
可选
- 默认值:
-
- 可选项:
-
- 描述: 控制编辑器是否应该在屏幕阅读器中宣布内联建议。
- 类型:
number
可选
- 默认值:
5
- 可选项:
-
- 描述: 控制编辑器在水平滚动时是否滚动超过最后一列。
- 类型:
boolean
可选
- 默认值:
true
- 可选项:
-
- 描述: 控制编辑器在垂直滚动时是否滚动超过最后一行。
- 类型:
boolean
可选
- 默认值:
true
- 可选项:
-
- 描述: 控制编辑器在垂直和水平滚动时是否只滚动主轴。
',9),Do=e("code",null,"可选",-1),yo=e("li",null,[o("默认值: "),e("code",null,"{}")],-1),xo=e("li",null,[o("可选项: "),e("code",null,"-")],-1),qo=e("li",null,"描述: 控制编辑器滚动条的外观和行为。",-1),vo=a(' selectOnLineNumbers
- 类型:
boolean
可选
- 默认值:
true
- 可选项:
-
- 描述: 控制编辑器是否应该在单击行号时选择整行。
selectionClipboard
- 类型:
boolean
可选
- 默认值:
true
- 可选项:
-
- 描述: 控制编辑器是否应该将选择内容复制到剪贴板。
selectionHighlight
- 类型:
boolean
可选
- 默认值:
true
- 可选项:
-
- 描述: 控制编辑器是否应该突出显示与所选内容相同的内容。
showDeprecated
- 类型:
boolean
可选
- 默认值:
false
- 可选项:
-
- 描述: 控制是否应该显示已弃用的代码。
showFoldingControls
- 类型:
string
可选
- 默认值:
"mouseover"
- 可选项:
"always" | "never" | "mouseover"
- 描述: 控制折叠控件何时可见。
showUnused
- 类型:
boolean
可选
- 默认值:
true
- 可选项:
-
- 描述: 控制是否应该显示未使用的代码。
smartSelect
',13),Co=e("code",null,"可选",-1),wo=e("li",null,[o("默认值: "),e("code",null,"true")],-1),Eo=e("li",null,[o("可选项: "),e("code",null,"-")],-1),So=e("li",null,"描述: 控制编辑器是否应该使用智能选择。",-1),ko=a('- 类型:
boolean
可选
- 默认值:
false
- 可选项:
-
- 描述: 控制编辑器是否应该使用平滑滚动。
snippetSuggestions
- 类型:
string
可选
- 默认值:
"bottom"
- 可选项:
"top"
, "bottom"
, "inline"
, "none"
- 描述: 控制代码段建议的位置。
splitViewDefaultRatio
- 类型:
number
可选
- 默认值:
0.5
- 可选项:
-
- 描述: 控制拆分编辑器的默认比率。必须是0-1之间的数字
',7),Oo=e("code",null,"可选",-1),Io=e("li",null,[o("默认值: "),e("code",null,"true")],-1),Fo=e("li",null,[o("可选项: "),e("code",null,"-")],-1),Lo=e("li",null,"描述: 控制编辑器是否应该在滚动时保持光标位置不变。",-1),Ao=a(' stickyTabStops
- 类型:
boolean
可选
- 默认值:
true
- 可选项:
-
- 描述: 控制编辑器是否应该使用固定的制表位。
stopRenderingLineAfter
- 类型:
number
可选
- 默认值:
10000
- 可选项:
-
- 描述: 控制编辑器在渲染时停止渲染行的数量。
suggest
',5),zo=e("code",null,"可选",-1),Wo=e("li",null,[o("默认值: "),e("code",null,"{}")],-1),Ho=e("li",null,[o("可选项: "),e("code",null,"-")],-1),Po=e("li",null,"描述: 控制编辑器的建议行为。",-1),Ro=a(' suggestFontSize
- 类型:
number
可选
- 默认值:
0
- 可选项:
-
- 描述: 控制建议列表中字体的大小。
suggestLineHeight
- 类型:
number
可选
- 默认值:
0
- 可选项:
-
- 描述: 控制建议列表中行高的大小。
suggestOnTriggerCharacters
- 类型:
boolean
可选
- 默认值:
true
- 可选项:
-
- 描述: 控制是否应该在输入触发字符时显示建议。
suggestSelection
- 类型:
string
可选
- 默认值:
"recentlyUsed"
- 可选项:
"first"
, "recentlyUsed"
, "recentlyUsedByPrefix"
- 描述: 控制建议列表中默认选择的建议。
tabCompletion
- 类型:
string
可选
- 默认值:
"off"
- 可选项:
"on"
, "off"
, "onlySnippets"
- 描述: 控制编辑器是否应该在按下 Tab 键时插入建议。
tabFocusMode
- 类型:
boolean
可选
- 默认值:
false
- 可选项:
-
- 描述: 控制编辑器是否应该在 Tab 键按下时启用焦点模式。
tabIndex
- 类型:
number
可选
- 默认值:
0
- 可选项:
-
- 描述: 控制编辑器的 Tab 键顺序。
theme
',15),Bo=a("类型: string
可选
默认值: "vs"
可选项: "vs"
, "vs-dark"
, "hc-black", “hc-light”
",3),To=a(' unfoldOnClickAfterEndOfLine
- 类型:
boolean
可选
- 默认值:
false
- 可选项:
-
- 描述: 控制编辑器是否应该在单击行末时展开该行。
unicodeHighlight
',4),Mo=e("code",null,"可选",-1),No=e("li",null,[o("默认值: "),e("code",null,"true")],-1),Vo=e("li",null,[o("可选项: "),e("code",null,"-")],-1),Uo=e("li",null,"描述: 控制编辑器是否应该突出显示 Unicode 字符。",-1),jo=a(' unusualLineTerminators
- 类型:
boolean
可选
- 默认值:
prompt
- 可选项:
"off" | "auto" | "prompt"
- 描述: 控制编辑器是否应该突出显示非常规换行符。
useShadowDOM
- 类型:
boolean
可选
- 默认值:
false
- 可选项:
-
- 描述: 控制编辑器是否应该使用 Shadow DOM。
useTabStops
- 类型:
boolean
可选
- 默认值:
true
- 可选项:
-
- 描述: 控制编辑器是否应该使用制表位。
wordBreak
- 类型:
string
可选
- 默认值:
"normal"
- 可选项:
"normal" | "keepAll"
- 描述: 控制编辑器的单词换行。
wordSeparators
- 类型:
string
可选
- 默认值:
" ~!@#$%^&*()-=+[{]}\\\\|;:'\\",.<>/?"
- 可选项:
-
- 描述: 用于定义单词分隔符。默认情况下,Monaco 编辑器使用空格和标点符号作为单词分隔符。可以使用此选项自定义单词分隔符。
wordWrap
- 类型:
string
可选
- 默认值:
"off"
- 可选项:
"off"
, "on"
, "wordWrapColumn"
, "bounded"
- 描述: 用于控制文本的换行。当设置为
"off"
时,文本不会自动换行。当设置为 "on"
时,文本将在视区宽度内自动换行。当设置为 "wordWrapColumn"
时,文本将在指定的列数处自动换行。当设置为 "bounded"
时,文本将在视区宽度和指定列数的较小值处自动换行。
wordWrapBreakAfterCharacters
- 类型:
string
可选
- 默认值:
"\\t\\r\\n\\x20.,;:!?'\\"\\\\)]}"
- 可选项:
-
- 描述: 用于定义单词换行符。默认情况下,Monaco 编辑器使用空格和标点符号作为单词换行符。可以使用此选项自定义单词换行符。
wordWrapBreakBeforeCharacters
- 类型:
string
可选
- 默认值:
"\\t\\r\\n\\x20.,;:!?'\\"([{"
- 可选项:
-
- 描述: 用于定义单词前的换行符。默认情况下,Monaco 编辑器使用空格和标点符号作为单词前的换行符。可以使用此选项自定义单词前的换行符。
wordWrapColumn
- 类型:
number
可选
- 默认值:
80
- 可选项:
-
- 描述: 用于定义文本的列数。当设置为
"wordWrapColumn"
时,文本将在指定的列数处自动换行。
wordWrapOverride1
- 类型:
Function
可选
- 默认值:
-
- 可选项:
"on" | "off" | "inherit"
- 描述: 用于定义自定义的文本换行逻辑。可以使用此选项自定义文本的换行方式。覆盖wordWrap的配置
wordWrapOverride2
- 类型:
Function
可选
- 默认值:
-
- 可选项:
-
- 描述: 用于定义自定义的文本换行逻辑。可以使用此选项自定义文本的换行方式。覆盖wordWrapOverride1的配置
wrappingIndent
- 类型:
string
可选
- 默认值:
"none"
- 可选项:
"none"
, "same"
, "indent"
, "deepIndent"
- 描述: 用于控制换行后的缩进方式。当设置为
"none"
时,换行后不进行缩进。当设置为 "same"
时,换行后的行与上一行的缩进相同。当设置为 "indent"
时,换行后的行会进行一次缩进。当设置为 "deepIndent"
时,换行后的行会进行两次缩进。
wrappingStrategy
- 类型:
string
可选
- 默认值:
"simple"
- 可选项:
"simple"
, "advanced"
- 描述: 用于控制文本的换行策略。当设置为
"simple"
时,文本将根据视区宽度自动换行。当设置为 "advanced"
时,文本将根据语言的语法规则和视区宽度自动换行。如果您的语言支持语法分析,则建议使用 "advanced"
模式。
',26);function Go(Qo,Ko){const n=c("ExternalLinkIcon"),l=c("RouterLink");return r(),s("div",null,[h,e("p",null,[p,o(),e("a",f,[o("官网地址"),i(n)])]),b,e("ul",null,[e("li",null,[o("类型: "),i(l,{to:"/editor/aliase.html#editorautoclosingstrategy"},{default:d(()=>[o("EditorAutoClosingStrategy")]),_:1}),o(),g]),m,_,e("li",null,[o("描述: 用于控制是否自动闭合括号 如果将 autoClosingBrackets 设置为 true ,则在输入左括号时,编辑器会自动插入相应的右括号,并将光标放置在括号之间。可以使用 "),i(l,{to:"/language/language.html#setlanguageconfiguration"},{default:d(()=>[o("monaco.languages.setLanguageConfiguration")]),_:1}),o(" 方法设置语言的括号匹配规则。默认以lanuage的设置为准")])]),D,e("ul",null,[e("li",null,[o("类型: "),i(l,{to:"/editor/aliase.html#editorautoclosingeditstrategy"},{default:d(()=>[o("EditorAutoClosingStrategy")]),_:1}),o(),y]),x,q,v]),C,e("ul",null,[e("li",null,[o("类型: "),i(l,{to:"/editor/aliase.html#editorautoclosingeditstrategy"},{default:d(()=>[o("EditorAutoClosingStrategy")]),_:1}),o(),w]),E,S,k]),O,e("ul",null,[e("li",null,[o("类型: "),i(l,{to:"/editor/aliase.html#editorautoclosingstrategy"},{default:d(()=>[o("EditorAutoClosingStrategy")]),_:1}),o(),I]),F,L,A]),z,e("ul",null,[e("li",null,[o("类型: "),i(l,{to:"/editor/aliase.html#editorautosurroundstrategy"},{default:d(()=>[o("EditorAutoSurroundStrategy")]),_:1}),o(),W]),H,P,R]),B,e("ul",null,[e("li",null,[o("类型: "),i(l,{to:"/editor/interfaces/IBracketPairColorizationOptions.html"},{default:d(()=>[o("IBracketPairColorizationOptions")]),_:1}),o(),T]),M,N,V]),U,e("ul",null,[e("li",null,[o("类型: "),i(l,{to:"/editor/interfaces/IEditorCommentsOptions.html"},{default:d(()=>[o("IEditorCommentsOptions")]),_:1}),o(),j]),G,Q,K]),Z,e("ul",null,[$,J,e("li",null,[o('可选项: "advanced" | "legacy" | '),i(l,{to:"/editor/interfaces/IDocumentDiffProvider.html"},{default:d(()=>[o("IDocumentDiffProvider")]),_:1})]),X]),Y,e("ul",null,[e("li",null,[o("类型: "),i(l,{to:"/editor/interfaces/IEditorFindOptions.html"},{default:d(()=>[o("monaco.editor.IEditorFindOptions")]),_:1}),o(),ee]),oe,ie,le]),de,e("ul",null,[e("li",null,[o("类型: "),i(l,{to:"/editor/interfaces/IGotoLocationOptions.html"},{default:d(()=>[o("monaco.editor.IGotoLocationOptions")]),_:1}),o(),ae]),ce,ne,te]),re,e("ul",null,[e("li",null,[o("类型: "),i(l,{to:"/editor/interfaces/IGuidesOptions.html"},{default:d(()=>[o("monaco.editor.IGuidesOptions")]),_:1}),o(),se]),ue,he,pe]),fe,e("ul",null,[e("li",null,[o("类型: "),i(l,{to:"/editor/interfaces/IEditorHoverOptions.html"},{default:d(()=>[o("monaco.editor.IEditorHoverOptions")]),_:1}),o(),be]),ge,me,_e]),De,e("ul",null,[e("li",null,[o("类型: "),i(l,{to:"/editor/interfaces/IEditorInlayHintsOptions.html"},{default:d(()=>[o("monaco.editor.IEditorInlayHintsOptions")]),_:1}),o(),ye]),xe,qe,ve]),Ce,e("ul",null,[e("li",null,[o("类型: "),i(l,{to:"/editor/interfaces/IInlineSuggestOptions.html"},{default:d(()=>[o("monaco.editor.IInlineSuggestOptions")]),_:1}),o(),we]),Ee,Se,ke]),Oe,e("ul",null,[e("li",null,[o("类型: "),i(l,{to:"/editor/interfaces/IEditorLightbulbOptions.html"},{default:d(()=>[o("monaco.editor.IEditorLightbulbOptions")]),_:1}),o(),Ie]),Fe,Le,Ae]),ze,e("ul",null,[e("li",null,[o("类型: "),i(l,{to:"/editor/aliase.html#linenumberstype"},{default:d(()=>[o("LineNumbersType")]),_:1}),o(),We]),He,Pe,Re]),Be,e("ul",null,[e("li",null,[o("类型: "),i(l,{to:"/editor/interfaces/IEditorMinimapOptions.html"},{default:d(()=>[o("editor.IEditorMinimapOptions")]),_:1}),o(),Te]),Me,Ne,Ve]),Ue,e("ul",null,[e("li",null,[o("类型: "),i(l,{to:"/editor/interfaces/IEditorPaddingOptions.html"},{default:d(()=>[o("editor.IEditorPaddingOptions")]),_:1}),o(),je]),Ge,Qe,Ke]),Ze,e("ul",null,[e("li",null,[o("类型: "),i(l,{to:"/editor/interfaces/IEditorParameterHintOptions.html"},{default:d(()=>[o("editor.IEditorParameterHintOptions")]),_:1}),o(),$e]),Je,Xe,Ye]),eo,e("ul",null,[e("li",null,[o("类型: "),i(l,{to:"/editor/interfaces/IPasteAsOptions.html"},{default:d(()=>[o("editor.IPasteOptions")]),_:1}),o(),oo]),io,lo,ao]),co,e("ul",null,[e("li",null,[o("类型: "),no,o(" | "),i(l,{to:"/editor/interfaces/IQuickSuggestionsOptions.html"},{default:d(()=>[o("editor.IQuickSuggestionsOptions")]),_:1}),o(),to]),ro,so,uo]),ho,e("ul",null,[e("li",null,[o("类型: ("),po,o("| "),i(l,{to:"/editor/interfaces/IRulerOption.html"},{default:d(()=>[o("IRulerOption")]),_:1}),o(")[] "),fo]),bo,go,mo]),_o,e("ul",null,[e("li",null,[o("类型: "),i(l,{to:"/editor/interfaces/IEditorScrollbarOptions.html"},{default:d(()=>[o("IEditorScrollbarOptions")]),_:1}),o(),Do]),yo,xo,qo]),vo,e("ul",null,[e("li",null,[o("类型: "),i(l,{to:"/editor/interfaces/ISmartSelectOptions.html"},{default:d(()=>[o("ISmartSelectOptions")]),_:1}),o(),Co]),wo,Eo,So]),ko,e("ul",null,[e("li",null,[o("类型: "),i(l,{to:"/editor/interfaces/IEditorStickyScrollOptions.html"},{default:d(()=>[o("IEditorStickyScrollOptions")]),_:1}),o(),Oo]),Io,Fo,Lo]),Ao,e("ul",null,[e("li",null,[o("类型: "),i(l,{to:"/editor/interfaces/ISuggestOptions.html"},{default:d(()=>[o("ISuggestOptions")]),_:1}),o(),zo]),Wo,Ho,Po]),Ro,e("ul",null,[Bo,e("li",null,[o("描述: 控制编辑器的主题。可以使用 "),i(l,{to:"/editor/editor.html#definetheme"},{default:d(()=>[o("monaco.editor.defineTheme")]),_:1}),o(",使用 "),i(l,{to:"/editor/editor.html#settheme"},{default:d(()=>[o("monaco.editor.setTheme")]),_:1}),o("设置主题.")])]),To,e("ul",null,[e("li",null,[o("类型: "),i(l,{to:"/editor/interfaces/IUnicodeHighlightOptions.html"},{default:d(()=>[o("IUnicodeHighlightOptions")]),_:1}),o(),Mo]),No,Vo,Uo]),jo])}const Jo=t(u,[["render",Go],["__file","IStandaloneDiffEditorConstructionOptions.html.vue"]]);export{Jo as default};
diff --git a/assets/IStandaloneEditorConstructionOptions.html-6c2874b5.js b/assets/IStandaloneEditorConstructionOptions.html-6c2874b5.js
new file mode 100644
index 00000000..40f6d128
--- /dev/null
+++ b/assets/IStandaloneEditorConstructionOptions.html-6c2874b5.js
@@ -0,0 +1 @@
+const e=JSON.parse('{"key":"v-86aaf94a","path":"/editor/interfaces/IStandaloneEditorConstructionOptions.html","title":"IStandaloneEditorConstructionOptions","lang":"zh-CN","frontmatter":{"description":"interface 官网地址 (https://microsoft.github.io/monaco-editor/docs.html#interfaces/editor.IStandaloneEditorConstructionOptions.html) 属性 Properties acceptSuggestionOnCommitCharacter ...","head":[["meta",{"property":"og:url","content":"http://aydk.site/editor/interfaces/IStandaloneEditorConstructionOptions.html"}],["meta",{"property":"og:site_name","content":"Monaco-editor 学习文档"}],["meta",{"property":"og:title","content":"IStandaloneEditorConstructionOptions"}],["meta",{"property":"og:description","content":"interface 官网地址 (https://microsoft.github.io/monaco-editor/docs.html#interfaces/editor.IStandaloneEditorConstructionOptions.html) 属性 Properties acceptSuggestionOnCommitCharacter ..."}],["meta",{"property":"og:type","content":"article"}],["meta",{"property":"og:locale","content":"zh-CN"}],["meta",{"property":"og:updated_time","content":"2023-06-16T20:04:45.000Z"}],["meta",{"property":"article:author","content":"aydk"}],["meta",{"property":"article:modified_time","content":"2023-06-16T20:04:45.000Z"}],["script",{"type":"application/ld+json"},"{\\"@context\\":\\"https://schema.org\\",\\"@type\\":\\"Article\\",\\"headline\\":\\"IStandaloneEditorConstructionOptions\\",\\"image\\":[\\"\\"],\\"dateModified\\":\\"2023-06-16T20:04:45.000Z\\",\\"author\\":[{\\"@type\\":\\"Person\\",\\"name\\":\\"aydk\\"}]}"]]},"headers":[{"level":2,"title":"属性 Properties","slug":"属性-properties","link":"#属性-properties","children":[]},{"level":2,"title":"acceptSuggestionOnCommitCharacter","slug":"acceptsuggestiononcommitcharacter","link":"#acceptsuggestiononcommitcharacter","children":[]},{"level":2,"title":"acceptSuggestionOnEnter","slug":"acceptsuggestiononenter","link":"#acceptsuggestiononenter","children":[]},{"level":2,"title":"accessibilityHelpUrl","slug":"accessibilityhelpurl","link":"#accessibilityhelpurl","children":[]},{"level":2,"title":"accessibilityPageSize","slug":"accessibilitypagesize","link":"#accessibilitypagesize","children":[]},{"level":2,"title":"accessibilitySupport","slug":"accessibilitysupport","link":"#accessibilitysupport","children":[]},{"level":2,"title":"ariaContainerElement","slug":"ariacontainerelement","link":"#ariacontainerelement","children":[]},{"level":2,"title":"ariaLabel","slug":"arialabel","link":"#arialabel","children":[]},{"level":2,"title":"autoClosingBrackets","slug":"autoclosingbrackets","link":"#autoclosingbrackets","children":[]},{"level":2,"title":"autoClosingDelete","slug":"autoclosingdelete","link":"#autoclosingdelete","children":[]},{"level":2,"title":"autoClosingOvertype","slug":"autoclosingovertype","link":"#autoclosingovertype","children":[]},{"level":2,"title":"autoClosingQuotes","slug":"autoclosingquotes","link":"#autoclosingquotes","children":[]},{"level":2,"title":"autoDetectHighContrast","slug":"autodetecthighcontrast","link":"#autodetecthighcontrast","children":[]},{"level":2,"title":"autoIndent","slug":"autoindent","link":"#autoindent","children":[]},{"level":2,"title":"autoSurround","slug":"autosurround","link":"#autosurround","children":[]},{"level":2,"title":"automaticLayout","slug":"automaticlayout","link":"#automaticlayout","children":[]},{"level":2,"title":"bracketPairColorization","slug":"bracketpaircolorization","link":"#bracketpaircolorization","children":[]},{"level":2,"title":"codeActionsOnSaveTimeout","slug":"codeactionsonsavetimeout","link":"#codeactionsonsavetimeout","children":[]},{"level":2,"title":"codeLens","slug":"codelens","link":"#codelens","children":[]},{"level":2,"title":"codeLensFontFamily","slug":"codelensfontfamily","link":"#codelensfontfamily","children":[]},{"level":2,"title":"codeLensFontSize","slug":"codelensfontsize","link":"#codelensfontsize","children":[]},{"level":2,"title":"colorDecorators","slug":"colordecorators","link":"#colordecorators","children":[]},{"level":2,"title":"colorDecoratorsLimit","slug":"colordecoratorslimit","link":"#colordecoratorslimit","children":[]},{"level":2,"title":"columnSelection","slug":"columnselection","link":"#columnselection","children":[]},{"level":2,"title":"comments","slug":"comments","link":"#comments","children":[]},{"level":2,"title":"contextmenu","slug":"contextmenu","link":"#contextmenu","children":[]},{"level":2,"title":"copyWithSyntaxHighlighting","slug":"copywithsyntaxhighlighting","link":"#copywithsyntaxhighlighting","children":[]},{"level":2,"title":"cursorBlinking","slug":"cursorblinking","link":"#cursorblinking","children":[]},{"level":2,"title":"cursorSmoothCaretAnimation","slug":"cursorsmoothcaretanimation","link":"#cursorsmoothcaretanimation","children":[]},{"level":2,"title":"cursorStyle","slug":"cursorstyle","link":"#cursorstyle","children":[]},{"level":2,"title":"cursorSurroundingLines","slug":"cursorsurroundinglines","link":"#cursorsurroundinglines","children":[]},{"level":2,"title":"cursorSurroundingLinesStyle","slug":"cursorsurroundinglinesstyle","link":"#cursorsurroundinglinesstyle","children":[]},{"level":2,"title":"cursorWidth","slug":"cursorwidth","link":"#cursorwidth","children":[]},{"level":2,"title":"definitionLinkOpensInPeek","slug":"definitionlinkopensinpeek","link":"#definitionlinkopensinpeek","children":[]},{"level":2,"title":"detectIndentation","slug":"detectindentation","link":"#detectindentation","children":[]},{"level":2,"title":"dimension","slug":"dimension","link":"#dimension","children":[]},{"level":2,"title":"disableLayerHinting","slug":"disablelayerhinting","link":"#disablelayerhinting","children":[]},{"level":2,"title":"disableMonospaceOptimizations","slug":"disablemonospaceoptimizations","link":"#disablemonospaceoptimizations","children":[]},{"level":2,"title":"domReadOnly","slug":"domreadonly","link":"#domreadonly","children":[]},{"level":2,"title":"dragAndDrop","slug":"draganddrop","link":"#draganddrop","children":[]},{"level":2,"title":"dropIntoEditor","slug":"dropintoeditor","link":"#dropintoeditor","children":[]},{"level":2,"title":"emptySelectionClipboard","slug":"emptyselectionclipboard","link":"#emptyselectionclipboard","children":[]},{"level":2,"title":"experimentalWhitespaceRendering","slug":"experimentalwhitespacerendering","link":"#experimentalwhitespacerendering","children":[]},{"level":2,"title":"extraEditorClassName","slug":"extraeditorclassname","link":"#extraeditorclassname","children":[]},{"level":2,"title":"fastScrollSensitivity","slug":"fastscrollsensitivity","link":"#fastscrollsensitivity","children":[]},{"level":2,"title":"find","slug":"find","link":"#find","children":[]},{"level":2,"title":"fixedOverflowWidgets","slug":"fixedoverflowwidgets","link":"#fixedoverflowwidgets","children":[]},{"level":2,"title":"folding","slug":"folding","link":"#folding","children":[]},{"level":2,"title":"foldingHighlight","slug":"foldinghighlight","link":"#foldinghighlight","children":[]},{"level":2,"title":"foldingImportsByDefault","slug":"foldingimportsbydefault","link":"#foldingimportsbydefault","children":[]},{"level":2,"title":"foldingMaximumRegions","slug":"foldingmaximumregions","link":"#foldingmaximumregions","children":[]},{"level":2,"title":"foldingStrategy","slug":"foldingstrategy","link":"#foldingstrategy","children":[]},{"level":2,"title":"fontFamily","slug":"fontfamily","link":"#fontfamily","children":[]},{"level":2,"title":"fontLigatures","slug":"fontligatures","link":"#fontligatures","children":[]},{"level":2,"title":"fontSize","slug":"fontsize","link":"#fontsize","children":[]},{"level":2,"title":"fontVariations","slug":"fontvariations","link":"#fontvariations","children":[]},{"level":2,"title":"fontWeight","slug":"fontweight","link":"#fontweight","children":[]},{"level":2,"title":"formatOnPaste","slug":"formatonpaste","link":"#formatonpaste","children":[]},{"level":2,"title":"formatOnType","slug":"formatontype","link":"#formatontype","children":[]},{"level":2,"title":"glyphMargin","slug":"glyphmargin","link":"#glyphmargin","children":[]},{"level":2,"title":"gotoLocation","slug":"gotolocation","link":"#gotolocation","children":[]},{"level":2,"title":"guides","slug":"guides","link":"#guides","children":[]},{"level":2,"title":"hideCursorInOverviewRuler","slug":"hidecursorinoverviewruler","link":"#hidecursorinoverviewruler","children":[]},{"level":2,"title":"hover","slug":"hover","link":"#hover","children":[]},{"level":2,"title":"inDiffEditor","slug":"indiffeditor","link":"#indiffeditor","children":[]},{"level":2,"title":"inlayHints","slug":"inlayhints","link":"#inlayhints","children":[]},{"level":2,"title":"inlineSuggest","slug":"inlinesuggest","link":"#inlinesuggest","children":[]},{"level":2,"title":"insertSpaces","slug":"insertspaces","link":"#insertspaces","children":[]},{"level":2,"title":"language","slug":"language","link":"#language","children":[]},{"level":2,"title":"largeFileOptimizations","slug":"largefileoptimizations","link":"#largefileoptimizations","children":[]},{"level":2,"title":"letterSpacing","slug":"letterspacing","link":"#letterspacing","children":[]},{"level":2,"title":"lightbulb","slug":"lightbulb","link":"#lightbulb","children":[]},{"level":2,"title":"lineDecorationsWidth","slug":"linedecorationswidth","link":"#linedecorationswidth","children":[]},{"level":2,"title":"lineHeight","slug":"lineheight","link":"#lineheight","children":[]},{"level":2,"title":"lineNumbers","slug":"linenumbers","link":"#linenumbers","children":[]},{"level":2,"title":"lineNumbersMinChars","slug":"linenumbersminchars","link":"#linenumbersminchars","children":[]},{"level":2,"title":"linkedEditing","slug":"linkedediting","link":"#linkedediting","children":[]},{"level":2,"title":"links","slug":"links","link":"#links","children":[]},{"level":2,"title":"matchBrackets","slug":"matchbrackets","link":"#matchbrackets","children":[]},{"level":2,"title":"matchOnWordStartOnly","slug":"matchonwordstartonly","link":"#matchonwordstartonly","children":[]},{"level":2,"title":"maxTokenizationLineLength","slug":"maxtokenizationlinelength","link":"#maxtokenizationlinelength","children":[]},{"level":2,"title":"minimap","slug":"minimap","link":"#minimap","children":[]},{"level":2,"title":"model","slug":"model","link":"#model","children":[]},{"level":2,"title":"mouseStyle","slug":"mousestyle","link":"#mousestyle","children":[]},{"level":2,"title":"mouseWheelScrollSensitivity","slug":"mousewheelscrollsensitivity","link":"#mousewheelscrollsensitivity","children":[]},{"level":2,"title":"mouseWheelZoom","slug":"mousewheelzoom","link":"#mousewheelzoom","children":[]},{"level":2,"title":"multiCursorLimit","slug":"multicursorlimit","link":"#multicursorlimit","children":[]},{"level":2,"title":"multiCursorMergeOverlapping","slug":"multicursormergeoverlapping","link":"#multicursormergeoverlapping","children":[]},{"level":2,"title":"multiCursorModifier","slug":"multicursormodifier","link":"#multicursormodifier","children":[]},{"level":2,"title":"multiCursorPaste","slug":"multicursorpaste","link":"#multicursorpaste","children":[]},{"level":2,"title":"occurrencesHighlight","slug":"occurrenceshighlight","link":"#occurrenceshighlight","children":[]},{"level":2,"title":"overflowWidgetsDomNode","slug":"overflowwidgetsdomnode","link":"#overflowwidgetsdomnode","children":[]},{"level":2,"title":"overviewRulerBorder","slug":"overviewrulerborder","link":"#overviewrulerborder","children":[]},{"level":2,"title":"overviewRulerLanes","slug":"overviewrulerlanes","link":"#overviewrulerlanes","children":[]},{"level":2,"title":"padding","slug":"padding","link":"#padding","children":[]},{"level":2,"title":"parameterHints","slug":"parameterhints","link":"#parameterhints","children":[]},{"level":2,"title":"peekWidgetDefaultFocus","slug":"peekwidgetdefaultfocus","link":"#peekwidgetdefaultfocus","children":[]},{"level":2,"title":"quickSuggestions","slug":"quicksuggestions","link":"#quicksuggestions","children":[]},{"level":2,"title":"quickSuggestionsDelay","slug":"quicksuggestionsdelay","link":"#quicksuggestionsdelay","children":[]},{"level":2,"title":"readOnly","slug":"readonly","link":"#readonly","children":[]},{"level":2,"title":"renameOnType","slug":"renameontype","link":"#renameontype","children":[]},{"level":2,"title":"renderControlCharacters","slug":"rendercontrolcharacters","link":"#rendercontrolcharacters","children":[]},{"level":2,"title":"renderFinalNewline","slug":"renderfinalnewline","link":"#renderfinalnewline","children":[]},{"level":2,"title":"renderLineHighlight","slug":"renderlinehighlight","link":"#renderlinehighlight","children":[]},{"level":2,"title":"renderLineHighlightOnlyWhenFocus","slug":"renderlinehighlightonlywhenfocus","link":"#renderlinehighlightonlywhenfocus","children":[]},{"level":2,"title":"renderValidationDecorations","slug":"rendervalidationdecorations","link":"#rendervalidationdecorations","children":[]},{"level":2,"title":"renderWhitespace","slug":"renderwhitespace","link":"#renderwhitespace","children":[]},{"level":2,"title":"revealHorizontalRightPadding","slug":"revealhorizontalrightpadding","link":"#revealhorizontalrightpadding","children":[]},{"level":2,"title":"roundedSelection","slug":"roundedselection","link":"#roundedselection","children":[]},{"level":2,"title":"rulers","slug":"rulers","link":"#rulers","children":[]},{"level":2,"title":"screenReaderAnnounceInlineSuggestion","slug":"screenreaderannounceinlinesuggestion","link":"#screenreaderannounceinlinesuggestion","children":[]},{"level":2,"title":"scrollBeyondLastColumn","slug":"scrollbeyondlastcolumn","link":"#scrollbeyondlastcolumn","children":[]},{"level":2,"title":"scrollBeyondLastLine","slug":"scrollbeyondlastline","link":"#scrollbeyondlastline","children":[]},{"level":2,"title":"scrollPredominantAxis","slug":"scrollpredominantaxis","link":"#scrollpredominantaxis","children":[]},{"level":2,"title":"scrollbar","slug":"scrollbar","link":"#scrollbar","children":[]},{"level":2,"title":"selectOnLineNumbers","slug":"selectonlinenumbers","link":"#selectonlinenumbers","children":[]},{"level":2,"title":"selectionClipboard","slug":"selectionclipboard","link":"#selectionclipboard","children":[]},{"level":2,"title":"selectionHighlight","slug":"selectionhighlight","link":"#selectionhighlight","children":[]},{"level":2,"title":"semanticHighlighting.enabled","slug":"semantichighlighting-enabled","link":"#semantichighlighting-enabled","children":[]},{"level":2,"title":"showDeprecated","slug":"showdeprecated","link":"#showdeprecated","children":[]},{"level":2,"title":"showFoldingControls","slug":"showfoldingcontrols","link":"#showfoldingcontrols","children":[]},{"level":2,"title":"showUnused","slug":"showunused","link":"#showunused","children":[]},{"level":2,"title":"smartSelect","slug":"smartselect","link":"#smartselect","children":[]},{"level":2,"title":"smoothScrolling","slug":"smoothscrolling","link":"#smoothscrolling","children":[]},{"level":2,"title":"snippetSuggestions","slug":"snippetsuggestions","link":"#snippetsuggestions","children":[]},{"level":2,"title":"stablePeek","slug":"stablepeek","link":"#stablepeek","children":[]},{"level":2,"title":"stickyScroll","slug":"stickyscroll","link":"#stickyscroll","children":[]},{"level":2,"title":"stickyTabStops","slug":"stickytabstops","link":"#stickytabstops","children":[]},{"level":2,"title":"stopRenderingLineAfter","slug":"stoprenderinglineafter","link":"#stoprenderinglineafter","children":[]},{"level":2,"title":"suggest","slug":"suggest","link":"#suggest","children":[]},{"level":2,"title":"suggestFontSize","slug":"suggestfontsize","link":"#suggestfontsize","children":[]},{"level":2,"title":"suggestLineHeight","slug":"suggestlineheight","link":"#suggestlineheight","children":[]},{"level":2,"title":"suggestOnTriggerCharacters","slug":"suggestontriggercharacters","link":"#suggestontriggercharacters","children":[]},{"level":2,"title":"suggestSelection","slug":"suggestselection","link":"#suggestselection","children":[]},{"level":2,"title":"tabCompletion","slug":"tabcompletion","link":"#tabcompletion","children":[]},{"level":2,"title":"tabFocusMode","slug":"tabfocusmode","link":"#tabfocusmode","children":[]},{"level":2,"title":"tabIndex","slug":"tabindex","link":"#tabindex","children":[]},{"level":2,"title":"tabSize","slug":"tabsize","link":"#tabsize","children":[]},{"level":2,"title":"theme","slug":"theme","link":"#theme","children":[]},{"level":2,"title":"trimAutoWhitespace","slug":"trimautowhitespace","link":"#trimautowhitespace","children":[]},{"level":2,"title":"unfoldOnClickAfterEndOfLine","slug":"unfoldonclickafterendofline","link":"#unfoldonclickafterendofline","children":[]},{"level":2,"title":"unicodeHighlight","slug":"unicodehighlight","link":"#unicodehighlight","children":[]},{"level":2,"title":"unusualLineTerminators","slug":"unusuallineterminators","link":"#unusuallineterminators","children":[]},{"level":2,"title":"useShadowDOM","slug":"useshadowdom","link":"#useshadowdom","children":[]},{"level":2,"title":"useTabStops","slug":"usetabstops","link":"#usetabstops","children":[]},{"level":2,"title":"value","slug":"value","link":"#value","children":[]},{"level":2,"title":"wordBasedSuggestions","slug":"wordbasedsuggestions","link":"#wordbasedsuggestions","children":[]},{"level":2,"title":"wordBasedSuggestionsOnlySameLanguage","slug":"wordbasedsuggestionsonlysamelanguage","link":"#wordbasedsuggestionsonlysamelanguage","children":[]},{"level":2,"title":"wordBreak","slug":"wordbreak","link":"#wordbreak","children":[]},{"level":2,"title":"wordSeparators","slug":"wordseparators","link":"#wordseparators","children":[]},{"level":2,"title":"wordWrap","slug":"wordwrap","link":"#wordwrap","children":[]},{"level":2,"title":"wordWrapBreakAfterCharacters","slug":"wordwrapbreakaftercharacters","link":"#wordwrapbreakaftercharacters","children":[]},{"level":2,"title":"wordWrapBreakBeforeCharacters","slug":"wordwrapbreakbeforecharacters","link":"#wordwrapbreakbeforecharacters","children":[]},{"level":2,"title":"wordWrapColumn","slug":"wordwrapcolumn","link":"#wordwrapcolumn","children":[]},{"level":2,"title":"wordWrapOverride1","slug":"wordwrapoverride1","link":"#wordwrapoverride1","children":[]},{"level":2,"title":"wordWrapOverride2","slug":"wordwrapoverride2","link":"#wordwrapoverride2","children":[]},{"level":2,"title":"wrappingIndent","slug":"wrappingindent","link":"#wrappingindent","children":[]},{"level":2,"title":"wrappingStrategy","slug":"wrappingstrategy","link":"#wrappingstrategy","children":[]}],"git":{"createdTime":1686945885000,"updatedTime":1686945885000,"contributors":[{"name":"xiaochaochao","email":"xiaochaochao","commits":1}]},"readingTime":{"minutes":35.45,"words":10636},"filePathRelative":"editor/interfaces/IStandaloneEditorConstructionOptions.md","localizedDate":"2023年6月16日","autoDesc":true}');export{e as data};
diff --git a/assets/IStandaloneEditorConstructionOptions.html-8aa64c05.js b/assets/IStandaloneEditorConstructionOptions.html-8aa64c05.js
new file mode 100644
index 00000000..115bba3c
--- /dev/null
+++ b/assets/IStandaloneEditorConstructionOptions.html-8aa64c05.js
@@ -0,0 +1,18 @@
+import{_ as r}from"./plugin-vue_export-helper-c27b6911.js";import{r as n,o as t,c as s,a as e,b as o,d as i,w as c,e as d}from"./app-5f5ef0a9.js";const h={},u=e("h1",{id:"istandaloneeditorconstructionoptions",tabindex:"-1"},[e("a",{class:"header-anchor",href:"#istandaloneeditorconstructionoptions","aria-hidden":"true"},"#"),o(" IStandaloneEditorConstructionOptions")],-1),p=e("code",null,"interface",-1),b={href:"https://microsoft.github.io/monaco-editor/docs.html#interfaces/editor.IStandaloneEditorConstructionOptions.html",target:"_blank",rel:"noopener noreferrer"},f=d(` 属性 Properties
acceptSuggestionOnCommitCharacter
- 类型:
Bollean
可选
- 默认值:
true
- 可选项:
true | false
- 描述:
用于控制在输入时是否自动接受建议。如果启用了该设置,当您输入一个特定的字符时,编辑器将自动接受建议。如果禁用了该设置,则不会自动接受建议。 如果要启用 acceptSuggestionOnCommitCharacter设置,将其设置为 true。如果要禁用该设置,则将其设置为 false。如果您希望在输入特定字符时自动接受建议,则可以将其设置为一个字符或字符数组。例如,如果要在输入 . 或 : 时自动接受建议,则可以将其设置为 ['.', ':']。
acceptSuggestionOnEnter
- 类型:
String
可选
- 默认值:
on
- 可选项:
"on" | "off" | "smart"
- 描述:
用于控制在按下 Enter键时是否自动接受建议。如果启用了该设置,当您按下Enter键时,编辑器将自动接受建议。如果禁用了该设置,则不会自动接受建议。
accessibilityHelpUrl
- 类型:
String
可选
- 默认值:
https://go.microsoft.com/fwlink/?linkid=852450
- 可选项:
-
- 描述:
用于指定辅助功能帮助文档的URL。如果启用了该设置,并且用户按下 F1键,则编辑器将打开指定的URL以显示帮助文档。如果禁用了该设置,则不会打开帮助文档。如果要禁用该设置,则将其设置为 null。
accessibilityPageSize
- 类型:
number
可选
- 默认值:
-
- 可选项:
-
- 描述:
用于指定辅助功能分页大小。如果启用了该设置,并且用户使用辅助功能浏览器或屏幕阅读器浏览编辑器内容,则编辑器将按照指定的分页大小进行分页。如果禁用了该设置,则不会进行分页。如果要禁用该设置,则将其设置为 null。
accessibilitySupport
- 类型:
string
可选
- 默认值:
auto
- 可选项:
"on" | "off" | "auto"
- 描述:
用于启用或禁用辅助功能支持。如果启用了该设置,则编辑器将支持辅助功能浏览器和屏幕阅读器。如果禁用了该设置,则不会支持辅助功能。
ariaContainerElement
- 类型:
HTMLElement
可选
- 默认值:
document.body
- 可选项:
-
- 描述:
用于指定ARIA元素的容器。如果启用了该设置,则编辑器将使用指定的容器来包装ARIA元素。如果禁用了该设置,则编辑器将使用默认的容器。如果要禁用该设置,则将其设置为 null。
ARIA元素
ARIA(Accessible Rich Internet Applications)是一组用于增强Web应用程序可访问性的技术。ARIA元素是一种特殊的HTML元素,用于描述Web应用程序中的交互元素和控件,以便辅助功能浏览器和屏幕阅读器可以正确地解释和呈现这些元素。
ARIA元素包括角色(role)、状态(state)和属性(property)。角色定义了元素的类型和功能,状态描述了元素的当前状态,属性提供了有关元素的其他信息。
例如,一个按钮可以使用 role="button" 属性来指定其角色,使用 aria-pressed="true" 属性来指定其状态,使用 aria-label="Click me" 属性来指定其标签文本。
使用ARIA元素可以使Web应用程序更易于使用和访问,特别是对于那些使用辅助功能浏览器和屏幕阅读器的用户。
ariaLabel
- 类型:
string
可选
- 默认值:
-
- 可选项:
-
- 描述:
用于指定编辑器的ARIA标签。如果启用了该设置,则编辑器将使用指定的ARIA标签来描述编辑器。如果禁用了该设置,则编辑器将使用默认的ARIA标签。如果要禁用该设置,则将其设置为 null。
autoClosingBrackets
- 类型:
EditorAutoClosingStrategy
可选
- 默认值:
-
- 可选项:
"always" | "languageDefined" | "beforeWhitespace" | "never"
- 描述:
用于控制在输入括号时是否自动闭合括号。如果启用了该设置,当您输入左括号时,编辑器将自动插入右括号。如果禁用了该设置,则不会自动插入右括号。
autoClosingDelete
- 类型:
EditorAutoClosingEditStrategy
可选
- 默认值:
-
- 可选项:
"always" | "auto" | "never"
- 描述:
用于控制在删除括号时是否同时删除相应的右括号。如果启用了该设置,当您删除一个左括号时,编辑器将自动删除相应的右括号。如果禁用了该设置,则不会自动删除右括号。
。
补充
如果您希望仅在删除特定类型的括号时同时删除相应的右括号,则可以将其设置为一个对象,该对象包含要自动删除右括号的括号类型。例如,如果要仅在删除圆括号时同时删除相应的右括号,则可以将其设置为 { brackets: false, parentheses: true, curlyBraces: false } 。
autoClosingOvertype
- 类型:
EditorAutoClosingEditStrategy
可选
- 默认值:
-
- 可选项:
"always" | "auto" | "never"
- 描述:
用于控制在覆盖模式下输入括号时是否自动闭合括号。如果启用了该设置,当您在覆盖模式下输入一个左括号时,编辑器将自动插入相应的右括号。如果禁用了该设置,则不会自动插入右括号。如果您希望仅在输入特定类型的括号时自动闭合括号,配置同autoClosingDelete
autoClosingQuotes
- 类型:
EditorAutoClosingStrategy
可选
- 默认值:
-
- 可选项:
"always" | "languageDefined" | "beforeWhitespace" | "never"
- 描述:
用于控制在输入引号时是否自动闭合引号。如果启用了该设置,当您输入一个引号时,编辑器将自动插入相应的另一个引号。如果禁用了该设置,则不会自动插入另一个引号。
补充
如果您希望仅在输入特定类型的引号时自动闭合引号,则可以将其设置为一个对象,该对象包含要自动闭合的引号类型。例如,如果要仅在输入双引号时自动闭合引号,则可以将其设置为 { languageDefined: false, mark: '"' }。
autoDetectHighContrast
- 类型:
Bollean
可选
- 默认值:
true
- 可选项:
true | false
- 描述:
用于控制编辑器是否自动检测高对比度模式。如果启用了该设置,当用户在操作系统中启用高对比度模式时,编辑器将自动应用高对比度主题。如果禁用了该设置,则不会自动应用高对比度主题。
autoIndent
- 类型:
string
可选
- 默认值:
advanced
- 可选项:
"none" | "advanced" | "full" | "brackets" | "keep"
- 描述:
用于控制在输入新行时是否自动缩进。如果启用了该设置,当您在新行中输入内容时,编辑器将自动缩进到与上一行相同的缩进级别。如果禁用了该设置,则不会自动缩进。
每个取值的含义
"none":禁用自动缩进。不会自动缩进。
"advanced":启用高级自动缩进。编辑器将尝试根据上下文自动缩进,而不仅仅是复制上一行的缩进级别。这是默认值。
"full":启用完全自动缩进。编辑器将尝试根据上下文自动缩进,并在需要时自动调整缩进级别。这可能会导致缩进级别的不一致。
"brackets":启用基于括号的自动缩进。编辑器将尝试根据括号匹配自动缩进,并在需要时自动调整缩进级别。这可能会导致缩进级别的不一致。
"keep":保持缩进不变。编辑器将不会自动缩进,而是保留输入的缩进
autoSurround
- 类型:
string
可选
- 默认值:
advanced
- 可选项:
"languageDefined" | "quotes" | "brackets" | "never"
- 描述:
用于控制在选中文本并输入括号或引号时是否自动将文本包裹在括号或引号中。如果启用了该设置,当您选中文本并输入括号或引号时,编辑器将自动将文本包裹在括号或引号中。如果禁用了该设置,则不会自动包裹文本。
每个取值的含义
"languageDefined":根据语言定义自动添加括号或引号。
"quotes":自动添加引号。
"brackets":自动添加括号。
"never":不自动添加括号或引号。
automaticLayout
- 类型:
boolean
可选
- 默认值:
false
- 可选项:
-
- 描述:
用于控制编辑器是否自动调整其布局以适应其容器的大小。如果启用了该设置,当编辑器所在的容器大小发生变化时,编辑器将自动调整其布局以适应新的容器大小。如果禁用了该设置,则编辑器将保持其初始大小,不会自动调整布局。
bracketPairColorization
- 类型:
IBracketPairColorizationOptions
可选
- 默认值:
disable
- 可选项:
-
- 描述:
用于控制是否启用括号配对颜色。
IBracketPairColorizationOptions
"enabled":如果启用了该设置,当您将光标放在一个括号上时,编辑器将突出显示与该括号配对的另一个括号。如果禁用了该设置,则不会突出显示括号配对。
"independentColorPoolPerBracketType":用于控制是否为不同类型的括号使用独立的颜色池。如果启用了该设置,编辑器将为每种类型的括号(例如圆括号、方括号、花括号等)使用独立的颜色池,以确保每种类型的括号都有不同的突出显示颜色。如果禁用了该设置,则编辑器将使用相同的颜色池为所有类型的括号分配颜色。
codeActionsOnSaveTimeout
- 类型:
number
可选
- 默认值:
-
- 可选项:
-
- 描述:
用于控制在保存文件时执行代码操作的超时时间。如果启用了该设置,当您保存文件时,编辑器将等待指定的时间(以毫秒为单位),以便在执行代码操作之前等待其他可能的代码操作完成。如果禁用了该设置,则编辑器将立即执行代码操作。(以毫秒为单位)
codeLens
- 类型:
boolean
可选
- 默认值:
true
- 可选项:
-
- 描述:
用于控制是否启用代码镜头功能。如果启用了该设置,编辑器将在代码中显示代码镜头,这些代码镜头可以提供有关代码的其他信息,例如代码的引用、测试覆盖率等。如果禁用了该设置,则不会显示代码镜头。
codeLensFontFamily
- 类型:
string
可选
- 默认值:
editor font family
- 可选项:
-
- 描述:
用于控制代码镜头中文本的字体系列。如果启用了该设置,编辑器将使用指定的字体系列来呈现代码镜头中的文本。如果禁用了该设置,则编辑器将使用默认的字体系列。
codeLensFontSize
- 类型:
number
可选
- 默认值:
90% of the editor font size
- 可选项:
-
- 描述:
用于控制代码镜头中文本的字体大小。如果启用了该设置,编辑器将使用指定的字体大小来呈现代码镜头中的文本。如果禁用了该设置,则编辑器将使用默认的字体大小。
colorDecorators
- 类型:
boolean
可选
- 默认值:
-
- 可选项:
-
- 描述:
用于控制是否启用颜色装饰器。如果启用了该设置,编辑器将使用颜色装饰器来突出显示代码中的特定文本,例如变量、函数等。如果禁用了该设置,则不会使用颜色装饰器。
colorDecoratorsLimit
- 类型:
number
可选
- 默认值:
-
- 可选项:
-
- 描述:
用于控制颜色装饰器的最大数量。如果启用了该设置,编辑器将限制颜色装饰器的数量,以避免性能问题。如果禁用了该设置,则编辑器将不会限制颜色装饰器的数量。
columnSelection
- 类型:
boolean
可选
- 默认值:
false
- 可选项:
-
- 描述:
用于控制是否启用列选择模式。如果启用了该设置,编辑器将允许您选择文本的列而不是行。如果禁用了该设置,则编辑器将只允许您选择文本的行。
- 类型:
IEditorCommentsOptions
可选
- 默认值:
-
- 可选项:
-
- 描述:
用于控制是否启用注释功能。如果启用了该设置,编辑器将允许您在代码中添加注释。如果禁用了该设置,则不会允许添加注释。
IEditorCommentsOptions
"ignoreEmptyLines":用于控制是否忽略空行。如果启用了该设置,编辑器将忽略注释中的空行。如果禁用了该设置,则不会忽略空行。
"insertSpace":用于控制是否在注释标记后插入空格。如果启用了该设置,编辑器将在注释标记后插入一个空格。如果禁用了该设置,则不会插入空格。
- 类型:
boolean
可选
- 默认值:
true
- 可选项:
-
- 描述:
用于控制编辑器中右键菜单的内容和行为,如果启用了该设置,编辑器将在右键单击时显示上下文菜单。如果禁用了该设置,则不会显示上下文菜单。
monaco.editor.create(domElement, {
+ // ...
+ contextmenu: true, // 启用右键菜单
+});
+
注意
contextmenuItems、contextmenuCommands 最新版本已经不再支持
copyWithSyntaxHighlighting
- 类型:
boolean
可选
- 默认值:
-
- 可选项:
-
- 描述:
可以将编辑器中的文本复制到剪贴板,并保留语法高亮。
cursorBlinking
- 类型:
string
可选
- 默认值:
blink
- 可选项:
"blink" | "smooth" | "phase" | "expand" | "solid"
- 描述:
用于控制光标的闪烁方式
提示
"blink": 光标以常规速度闪烁。
"smooth": 光标以平滑的方式闪烁。
"phase": 光标以相位的方式闪烁。
"expand": 光标在插入字符时扩展,然后再缩小。
"solid": 光标不闪烁,而是一直显示为实心。
cursorSmoothCaretAnimation
- 类型:
boolean
可选
- 默认值:
false
- 可选项:
-
- 描述:
用于控制光标的平滑动画。如果启用了该设置,光标将以平滑的方式移动。如果禁用了该设置,则光标将以常规方式移动。
cursorStyle
- 类型:
string
可选
- 默认值:
'line'
- 可选项:
'line' | 'block' | 'underline'
- 描述:
用于控制光标的样式。可以选择 'line'、'block' 或 'underline' 中的一种。
cursorSurroundingLines
- 类型:
number
可选
- 默认值:
0
- 可选项:
-
- 描述:
用于控制光标周围的行数。如果设置为 0,则不会滚动视图。如果设置为 1,则将滚动视图以确保光标周围的一行可见。如果设置为 2,则将滚动视图以确保光标周围的两行可见,依此类推。
cursorSurroundingLinesStyle
- 类型:
string
可选
- 默认值:
'default'
- 可选项:
'default' | 'all'
- 描述:
用于控制光标周围行的样式。如果设置为 'default',则只有当前行的背景色会发生变化。如果设置为 'all',则所有周围行的背景色都会发生变化。
cursorWidth
- 类型:
number
可选
- 默认值:
0
- 可选项:
-
- 描述:
用于控制光标的宽度。如果设置为 0,则使用默认宽度。如果设置为大于 0 的值,则使用指定的宽度。
definitionLinkOpensInPeek
- 类型:
boolean
可选
- 默认值:
false
- 可选项:
-
- 描述:
用于控制定义链接的行为。如果启用了该设置,单击定义链接将在 Peek 视图中打开定义。如果禁用了该设置,则单击定义链接将在新窗口中打开定义。
detectIndentation
- 类型:
boolean
可选
- 默认值:
true
- 可选项:
-
- 描述:
用于控制编辑器是否应自动检测缩进。如果启用了该设置,编辑器将自动检测缩进,并在新行中使用相同的缩进。如果禁用了该设置,则编辑器将不会自动检测缩进。
dimension
- 类型:
IDimension
可选
- 默认值:
-
- 可选项:
-
- 描述:
编辑器的初始尺寸。
disableLayerHinting
- 类型:
boolean
可选
- 默认值:
false
- 可选项:
-
- 描述:
用于控制是否禁用图层提示。如果启用了该设置,编辑器将不会显示图层提示。如果禁用了该设置,则会显示图层提示。
disableMonospaceOptimizations
- 类型:
boolean
可选
- 默认值:
false
- 可选项:
-
- 描述:
用于控制是否禁用等宽字体优化。如果启用了该设置,编辑器将不会使用等宽字体优化。如果禁用了该设置,则会使用等宽字体优化。
domReadOnly
- 类型:
boolean
可选
- 默认值:
false
- 可选项:
-
- 描述:
用于控制是否将编辑器设置为只读模式。如果启用了该设置,编辑器将无法编辑。如果禁用了该设置,则可以编辑编辑器。
dragAndDrop
- 类型:
boolean
可选
- 默认值:
true
- 可选项:
-
- 描述:
用于控制是否启用拖放功能。如果启用了该设置,编辑器将支持拖放文件和文本。如果禁用了该设置,则不会支持拖放。
dropIntoEditor
- 类型:
boolean
可选
- 默认值:
false
- 可选项:
-
- 描述:
用于控制是否启用将文件拖放到编辑器中的功能。如果启用了该设置,编辑器将支持将文件拖放到编辑器中。如果禁用了该设置,则不会支持将文件拖放到编辑器中。
emptySelectionClipboard
- 类型:
boolean
可选
- 默认值:
true
- 可选项:
-
- 描述:
用于控制是否启用空选择剪贴板功能。如果启用了该设置,编辑器将支持将空选择复制到剪贴板中。如果禁用了该设置,则不会支持将空选择复制到剪贴板中。
experimentalWhitespaceRendering
- 类型:
boolean
可选
- 默认值:
false
- 可选项:
-
- 描述:
用于控制是否启用实验性的空格渲染功能。如果启用了该设置,编辑器将使用实验性的空格渲染功能来渲染空格。如果禁用了该设置,则不会使用实验性的空格渲染功能。
- 类型:
string
可选
- 默认值:
-
- 可选项:
-
- 描述:
用于控制编辑器的额外类名。可以使用该设置来自定义编辑器的样式。
- 类型:
number
可选
- 默认值:
5
- 可选项:
-
- 描述:
用于控制快速滚动的灵敏度。如果启用了该设置,编辑器将在快速滚动时更加灵敏。如果禁用了该设置,则在快速滚动时不会更加灵敏。
find
- 类型:
Object
可选
- 默认值:
false
- 可选项:
-
- 描述:
用于控制
- 类型:
bool
可选
- 默认值:
-
- 可选项:
-
- 描述:
用于控制overflowingContentWidgets的现实方式
`,103),g={class:"hint-container tip"},m=e("p",{class:"hint-container-title"},"注意",-1),y={href:"https://github.com/microsoft/monaco-editor/issues/480",target:"_blank",rel:"noopener noreferrer"},D=d(' folding
- 类型:
boolean
可选
- 默认值:
true
- 可选项:
-
- 描述:
用于控制是否启用代码折叠功能。如果启用了该设置,编辑器将允许折叠代码块。如果禁用了该设置,则不会显示折叠控件。
foldingHighlight
- 类型:
boolean
可选
- 默认值:
true
- 可选项:
-
- 描述:
用于控制是否突出显示折叠范围。如果启用了该设置,编辑器将使用颜色装饰器来突出显示折叠范围。如果禁用了该设置,则不会使用颜色装饰器。
foldingImportsByDefault
- 类型:
boolean
可选
- 默认值:
false
- 可选项:
-
- 描述:
用于控制是否默认折叠导入语句。如果启用了该设置,编辑器将默认折叠导入语句。如果禁用了该设置,则不会默认折叠导入语句。
foldingMaximumRegions
- 类型:
number
可选
- 默认值:
-
- 可选项:
-
- 描述:
用于控制最大折叠区域数。如果设置为 -1,则没有限制。如果设置为大于 0 的值,则最多允许折叠指定数量的区域。
foldingStrategy
- 类型:
string
可选
- 默认值:
'auto'
- 可选项:
'auto' | 'indentation'
- 描述:
用于控制折叠策略。可以选择 'auto' 或 'indentation' 中的一种。如果选择 'auto',编辑器将尝试自动检测最佳折叠策略。如果选择 'indentation',编辑器将使用缩进级别来确定折叠范围。
fontFamily
- 类型:
string
可选
- 默认值:
-
- 可选项:
-
- 描述:
用于控制编辑器的字体系列。可以设置多个字体系列,以便在第一个不可用时使用备用字体系列。
fontLigatures
- 类型:
boolean
可选
- 默认值:
false
- 可选项:
-
- 描述:
用于控制是否启用字体连字。如果启用了该设置,编辑器将使用字体连字来显示代码。如果禁用了该设置,则不会使用字体连字。
fontSize
- 类型:
number
可选
- 默认值:
-
- 可选项:
-
- 描述:
用于控制编辑器的字体大小。可以设置为任何数字值。
fontVariations
- 类型:
string
可选
- 默认值:
-
- 可选项:
-
- 描述:
用于控制编辑器的字体变体。可以设置多个字体变体,以便在第一个不可用时使用备用字体变体。
fontWeight
- 类型:
string
可选
- 默认值:
-
- 可选项:
-
- 描述:
用于控制编辑器的字体粗细。可以设置为 'normal'、'bold' 或任何数字值。
- 类型:
boolean
可选
- 默认值:
false
- 可选项:
-
- 描述:
用于控制是否在粘贴时自动格式化代码。如果启用了该设置,编辑器将在粘贴时自动格式化代码。如果禁用了该设置,则不会在粘贴时自动格式化代码。
- 类型:
boolean
可选
- 默认值:
false
- 可选项:
-
- 描述:
用于控制是否在输入时自动格式化代码。如果启用了该设置,编辑器将在输入时自动格式化代码。如果禁用了该设置,则不会在输入时自动格式化代码。
glyphMargin
- 类型:
boolean
可选
- 默认值:
true
- 可选项:
-
- 描述:
用于控制是否显示字形边距。如果启用了该设置,编辑器将在左侧显示字形边距。如果禁用了该设置,则不会显示字形边距。
gotoLocation
- 类型:
Object
可选
- 默认值:
-
- 可选项:
-
- 描述:
用于控制转到定义和查找所有引用的行为。
guides
- 类型:
Object
可选
- 默认值:
-
- 可选项:
-
- 描述:
用于控制代码缩进指南的行为。
hideCursorInOverviewRuler
- 类型:
boolean
可选
- 默认值:
false
- 可选项:
-
- 描述:
用于控制是否在概览标尺中隐藏光标。如果启用了该设置,编辑器将在概览标尺中隐藏光标。如果禁用了该设置,则不会在概览标尺中隐藏光标。
hover
',33),x=e("code",null,"可选",-1),v=e("li",null,[o("默认值: "),e("code",null,"-")],-1),q=e("li",null,[o("可选项: "),e("code",null,"-")],-1),w=e("li",null,[o("描述: "),e("code",null,"用于控制悬停提示的行为。")],-1),C=d(' inDiffEditor
- 类型:
boolean
可选
- 默认值:
false
- 可选项:
-
- 描述:
用于控制编辑器是否在差异编辑器中。如果启用了该设置,编辑器将在差异编辑器中。如果禁用了该设置,则不会在差异编辑器中。
inlayHints
- 类型:
Object
可选
- 默认值:
-
- 可选项:
-
- 描述:
用于控制内联提示的行为。
inlineSuggest
- 类型:
Object
可选
- 默认值:
-
- 可选项:
-
- 描述:
用于控制内联建议的行为。
insertSpaces
- 类型:
boolean
可选
- 默认值:
true
- 可选项:
-
- 描述:
用于控制是否使用空格代替制表符。如果启用了该设置,编辑器将使用空格代替制表符。如果禁用了该设置,则使用制表符。
language
- 类型:
string
可选
- 默认值:
-
- 可选项:
-
- 描述:
用于设置编辑器的语言。可以设置为任何支持的语言。
largeFileOptimizations
- 类型:
boolean
可选
- 默认值:
true
- 可选项:
-
- 描述:
用于控制是否启用大文件优化。如果启用了该设置,编辑器将在处理大文件时进行优化。如果禁用了该设置,则不会进行优化。
letterSpacing
- 类型:
number
可选
- 默认值:
0
- 可选项:
-
- 描述:
用于控制编辑器的字母间距。可以设置为任何数字值。
lightbulb
- 类型:
Object
可选
- 默认值:
-
- 可选项:
-
- 描述:
用于控制灯泡提示的行为。
lineDecorationsWidth
- 类型:
number
可选
- 默认值:
1
- 可选项:
-
- 描述:
用于控制行装饰器的宽度。可以设置为任何数字值。
lineHeight
- 类型:
number
可选
- 默认值:
-
- 可选项:
-
- 描述:
用于控制编辑器的行高。可以设置为任何数字值。
lineNumbers
- 类型:
string
可选
- 默认值:
'on'
- 可选项:
'on' | 'off' | 'relative' | 'interval' | 'intervalRelative'
- 描述:
用于控制行号的显示方式。可以选择 'on'、'off'、'relative'、'interval' 或 'intervalRelative' 中的一种。
lineNumbersMinChars
- 类型:
number
可选
- 默认值:
5
- 可选项:
-
- 描述:
用于控制行号的最小字符数。可以设置为任何数字值。
linkedEditing
- 类型:
boolean
可选
- 默认值:
false
- 可选项:
-
- 描述:
用于控制是否启用链接编辑。如果启用了该设置,编辑器将在重命名符号时自动更新所有相关符号。如果禁用了该设置,则不会自动更新相关符号。
links
- 类型:
boolean
可选
- 默认值:
true
- 可选项:
-
- 描述:
用于控制是否启用链接。如果启用了该设置,编辑器将在代码中检测链接,并将其呈现为可单击的链接。如果禁用了该设置,则不会检测链接。
matchBrackets
- 类型:
boolean
可选
- 默认值:
true
- 可选项:
-
- 描述:
用于控制是否突出显示匹配的括号。如果启用了该设置,编辑器将使用颜色装饰器来突出显示匹配的括号。如果禁用了该设置,则不会使用颜色装饰器。
matchOnWordStartOnly
- 类型:
boolean
可选
- 默认值:
false
- 可选项:
-
- 描述:
用于控制是否仅在单词开头匹配。如果启用了该设置,编辑器将仅在单词开头匹配。如果禁用了该设置,则在单词中的任何位置都可以匹配。
maxTokenizationLineLength
- 类型:
number
可选
- 默认值:
20000
- 可选项:
-
- 描述:
用于控制最大标记化行长度。可以设置为任何数字值。
minimap
',35),k=e("code",null,"可选",-1),E=e("li",null,[o("默认值: "),e("code",null,"-")],-1),S=e("li",null,[o("可选项: "),e("code",null,"-")],-1),_=e("li",null,[o("描述: "),e("code",null,"用于控制缩略图的行为。")],-1),O=d(' model
- 类型:
Object
可选
- 默认值:
-
- 可选项:
-
- 描述:
用于设置编辑器的模型。
mouseStyle
- 类型:
string
可选
- 默认值:
'text'
- 可选项:
'text' | 'default' | 'copy'
- 描述:
用于控制鼠标样式。可以选择 'text'、'default' 或 'copy' 中的一种。
- 类型:
number
可选
- 默认值:
1
- 可选项:
-
- 描述:
用于控制鼠标滚轮滚动的灵敏度。可以设置为任何数字值。
mouseWheelZoom
- 类型:
boolean
可选
- 默认值:
false
- 可选项:
-
- 描述:
用于控制是否启用鼠标滚轮缩放。如果启用了该设置,编辑器将在使用鼠标滚轮时缩放。如果禁用了该设置,则不会缩放。
multiCursorLimit
- 类型:
number
可选
- 默认值:
-
- 可选项:
-
- 描述:
用于控制多光标的最大数量。可以设置为任何数字值。
multiCursorMergeOverlapping
- 类型:
boolean
可选
- 默认值:
true
- 可选项:
-
- 描述:
用于控制是否合并重叠的多光标。如果启用了该设置,编辑器将合并重叠的多光标。如果禁用了该设置,则不会合并重叠的多光标。
multiCursorModifier
- 类型:
string
可选
- 默认值:
'alt'
- 可选项:
'alt' | 'ctrl' | 'meta'
- 描述:
用于控制多光标的修改键。可以选择 'alt'、'ctrl' 或 'meta' 中的一种。
multiCursorPaste
- 类型:
string
可选
- 默认值:
'spread'
- 可选项:
'spread' | 'full'
- 描述:
用于控制多光标粘贴的行为。可以选择 'spread' 或 'full' 中的一种。
occurrencesHighlight
- 类型:
boolean
可选
- 默认值:
true
- 可选项:
-
- 描述:
用于控制是否突出显示所有出现。如果启用了该设置,编辑器将使用颜色装饰器来突出显示所有出现。如果禁用了该设置,则不会使用颜色装饰器。
- 类型:
Object
可选
- 默认值:
-
- 可选项:
-
- 描述:
用于设置溢出小部件的 DOM 节点。
overviewRulerBorder
- 类型:
boolean
可选
- 默认值:
true
- 可选项:
-
- 描述:
用于控制是否在概览标尺周围绘制边框。如果启用了该设置,编辑器将在概览标尺周围绘制边框。如果禁用了该设置,则不会绘制边框。
overviewRulerLanes
- 类型:
number
可选
- 默认值:
3
- 可选项:
-
- 描述:
用于控制概览标尺的宽度。可以设置为任何数字值。
padding
- 类型:
Object
可选
- 默认值:
-
- 可选项:
-
- 描述:
用于设置编辑器的填充。
parameterHints
- 类型:
Object
可选
- 默认值:
-
- 可选项:
-
- 描述:
用于控制参数提示的行为。
- 类型:
string
可选
- 默认值:
'editor'
- 可选项:
'editor' | 'tree'
- 描述:
用于控制查看小部件的默认焦点。可以选择 'editor' 或 'tree' 中的一种。
quickSuggestions
- 类型:
Object
可选
- 默认值:
true
- 可选项:
-
- 描述:
用于控制快速建议的行为。
quickSuggestionsDelay
- 类型:
number
可选
- 默认值:
10
- 可选项:
-
- 描述:
用于控制快速建议的延迟时间。可以设置为任何数字值。
readOnly
- 类型:
boolean
可选
- 默认值:
false
- 可选项:
-
- 描述:
用于控制编辑器是否为只读。如果启用了该设置,编辑器将为只读。如果禁用了该设置,则可以编辑。
renameOnType
- 类型:
boolean
可选
- 默认值:
false
- 可选项:
-
- 描述:
用于控制是否在输入时自动重命名符号。如果启用了该设置,编辑器将在输入时自动重命名符号。如果禁用了该设置,则不会自动重命名符号。
renderControlCharacters
- 类型:
boolean
可选
- 默认值:
false
- 可选项:
-
- 描述:
用于控制是否呈现控制字符。如果启用了该设置,编辑器将呈现控制字符。如果禁用了该设置,则不会呈现控制字符。
renderFinalNewline
- 类型:
boolean
可选
- 默认值:
true
- 可选项:
-
- 描述:
用于控制是否呈现最终换行符。如果启用了该设置,编辑器将呈现最终换行符。如果禁用了该设置,则不会呈现最终换行符。
renderLineHighlight
- 类型:
string
可选
- 默认值:
'line'
- 可选项:
'none' | 'gutter' | 'line' | 'all'
- 描述:
用于控制行高亮的行为。可以选择 'none'、'gutter'、'line' 或 'all' 中的一种。
renderLineHighlightOnlyWhenFocus
- 类型:
boolean
可选
- 默认值:
false
- 可选项:
-
- 描述:
用于控制是否仅在编辑器获得焦点时才突出显示行。如果启用了该设置,编辑器将仅在获得焦点时突出显示行。如果禁用了该设置,则始终突出显示行。
renderValidationDecorations
- 类型:
string
可选
- 默认值:
'on'
- 可选项:
'on' | 'off' | 'editable'
- 描述:
用于控制验证装饰的行为。可以选择 'on'、'off' 或 'editable' 中的一种。
renderWhitespace
- 类型:
string
可选
- 默认值:
'none'
- 可选项:
'none' | 'boundary' | 'all'
- 描述:
用于控制空格的呈现方式。可以选择 'none'、'boundary' 或 'all' 中的一种。
revealHorizontalRightPadding
- 类型:
number
可选
- 默认值:
0
- 可选项:
-
- 描述:
用于控制水平滚动时的右侧填充。可以设置为任何数字值。
roundedSelection
- 类型:
boolean
可选
- 默认值:
true
- 可选项:
-
- 描述:
用于控制是否使用圆角选择。如果启用了该设置,编辑器将使用圆角选择。如果禁用了该设置,则不会使用圆角选择。
rulers
- 类型:
Array
可选
- 默认值:
[]
- 可选项:
-
- 描述:
用于控制标尺的行为。
screenReaderAnnounceInlineSuggestion
- 类型:
string
可选
- 默认值:
'off'
- 可选项:
'off' | 'on' | 'auto'
- 描述:
用于控制屏幕阅读器是否应该在内联建议上进行注释。可以选择 'off'、'on' 或 'auto' 中的一种。
- 类型:
number
可选
- 默认值:
5
- 可选项:
-
- 描述:
用于控制水平滚动时的额外滚动量。可以设置为任何数字值。
- 类型:
boolean
可选
- 默认值:
true
- 可选项:
-
- 描述:
用于控制是否允许滚动超过最后一行。如果启用了该设置,编辑器将允许滚动超过最后一行。如果禁用了该设置,则不会滚动超过最后一行。
- 类型:
boolean
可选
- 默认值:
true
- 可选项:
-
- 描述:
用于控制是否优先滚动主轴。如果启用了该设置,编辑器将优先滚动主轴。如果禁用了该设置,则不会优先滚动主轴。
',65),A=e("code",null,"可选",-1),I=e("li",null,[o("默认值: "),e("code",null,"-")],-1),W=e("li",null,[o("可选项: "),e("code",null,"-")],-1),L=e("li",null,[o("描述: "),e("code",null,"用于设置滚动条的行为。配置如下")],-1),z=d(` selectOnLineNumbers
- 类型:
boolean
可选
- 默认值:
true
- 可选项:
-
- 描述:
用于控制是否在单击行号时选择整行。如果启用了该设置,编辑器将在单击行号时选择整行。如果禁用了该设置,则不会选择整行。
selectionClipboard
- 类型:
boolean
可选
- 默认值:
true
- 可选项:
-
- 描述:
用于控制是否将选择复制到剪贴板。如果启用了该设置,编辑器将将选择复制到剪贴板。如果禁用了该设置,则不会将选择复制到剪贴板。
selectionHighlight
- 类型:
boolean
可选
- 默认值:
true
- 可选项:
-
- 描述:
用于控制是否突出显示选定文本。如果启用了该设置,编辑器将突出显示选定文本。如果禁用了该设置,则不会突出显示选定文本。
semanticHighlighting.enabled
- 类型:
boolean
可选
- 默认值:
false
- 可选项:
-
- 描述:
用于控制是否启用语义突出显示。如果启用了该设置,编辑器将使用语义信息来突出显示代码中的特定文本,例如变量、函数等。如果禁用了该设置,则不会使用语义信息。
showDeprecated
- 类型:
boolean
可选
- 默认值:
false
- 可选项:
-
- 描述:
用于控制是否显示已弃用的代码。如果启用了该设置,编辑器将显示已弃用的代码。如果禁用了该设置,则不会显示已弃用的代码。
showFoldingControls
- 类型:
string
可选
- 默认值:
'mouseover'
- 可选项:
'always' | 'mouseover'
- 描述:
用于控制折叠控件的显示方式。可以选择 'always' 或 'mouseover' 中的一种。
showUnused
- 类型:
boolean
可选
- 默认值:
true
- 可选项:
-
- 描述:
用于控制是否显示未使用的代码。如果启用了该设置,编辑器将显示未使用的代码。如果禁用了该设置,则不会显示未使用的代码。
smartSelect
- 类型:
boolean
可选
- 默认值:
true
- 可选项:
-
- 描述:
用于控制是否启用智能选择。如果启用了该设置,编辑器将使用智能算法来选择文本。如果禁用了该设置,则不会使用智能算法。
- 类型:
boolean
可选
- 默认值:
false
- 可选项:
-
- 描述:
用于控制是否启用平滑滚动。如果启用了该设置,编辑器将使用平滑滚动。如果禁用了该设置,则不会使用平滑滚动。
snippetSuggestions
- 类型:
string
可选
- 默认值:
'inline'
- 可选项:
'top' | 'bottom' | 'inline' | 'none'
- 描述:
用于控制代码段建议的显示位置。可以选择 'top'、'bottom'、'inline' 或 'none' 中的一种。
stablePeek
- 类型:
boolean
可选
- 默认值:
false
- 可选项:
-
- 描述:
用于控制是否在查看定义时保持查看窗口打开。如果启用了该设置,编辑器将在查看定义时保持查看窗口打开。如果禁用了该设置,则不会保持查看窗口打开。
- 类型:
boolean
可选
- 默认值:
true
- 可选项:
-
- 描述:
用于控制是否启用粘性滚动。如果启用了该设置,编辑器将使用粘性滚动。如果禁用了该设置,则不会使用粘性滚动。
stickyTabStops
- 类型:
boolean
可选
- 默认值:
true
- 可选项:
-
- 描述:
用于控制是否启用粘性制表符。如果启用了该设置,编辑器将使用粘性制表符。如果禁用了该设置,则不会使用粘性制表符。
stopRenderingLineAfter
- 类型:
number
可选
- 默认值:
10000
- 可选项:
-
- 描述:
用于控制编辑器停止呈现行的数量。可以设置为任何数字值。
suggest
- 类型:
Object
可选
- 默认值:
-
- 可选项:
-
- 描述:
用于设置建议的行为。
suggestFontSize
- 类型:
number
可选
- 默认值:
-
- 可选项:
-
- 描述:
用于设置建议的字体大小。可以设置为任何数字值。
suggestLineHeight
- 类型:
number
可选
- 默认值:
-
- 可选项:
-
- 描述:
用于设置建议的行高。可以设置为任何数字值。
suggestOnTriggerCharacters
- 类型:
boolean
可选
- 默认值:
true
- 可选项:
-
- 描述:
用于控制是否在输入触发字符时显示建议。如果启用了该设置,编辑器将在输入触发字符时显示建议。如果禁用了该设置,则不会在输入触发字符时显示建议。
suggestSelection
- 类型:
string
可选
- 默认值:
'recentlyUsed'
- 可选项:
'first' | 'recentlyUsed' | 'recentlyUsedByPrefix'
- 描述:
用于控制建议列表中的默认选择。可以选择 'first'、'recentlyUsed' 或 'recentlyUsedByPrefix' 中的一种。
tabCompletion
- 类型:
string
可选
- 默认值:
'off'
- 可选项:
'on' | 'off' | 'onlySnippets'
- 描述:
用于控制制表符完成的行为。可以选择 'on'、'off' 或 'onlySnippets' 中的一种。
tabFocusMode
- 类型:
boolean
可选
- 默认值:
false
- 可选项:
-
- 描述:
用于控制是否启用制表符焦点模式。如果启用了该设置,编辑器将使用制表符焦点模式。如果禁用了该设置,则不会使用制表符焦点模式。
tabIndex
- 类型:
number
可选
- 默认值:
0
- 可选项:
-
- 描述:
用于设置编辑器的制表符索引。可以设置为任何数字值。
tabSize
- 类型:
number
可选
- 默认值:
4
- 可选项:
-
- 描述:
用于设置制表符的大小。可以设置为任何数字值。
例子:
codemonaco.editor.setTheme('vs-dark');
+monaco.editor.setLanguage('javascript');
+
+var editor = monaco.editor.create(document.getElementById('container'), {
+ tabSize: 2,
+ insertSpaces: true
+});
+
在上面的代码中,我们使用tabSize
属性设置tab键的大小为2个空格,使用insertSpaces
属性设置是否使用空格代替制表符。你可以根据需要调整这些属性的值。
theme
- 类型:
string
可选
- 默认值:
'vs'
- 可选项:
"vs" | "vs-dark" | "hc-black" | "hc-light"
- 描述:
用于设置编辑器的主题。可以选择任何可用的主题。
trimAutoWhitespace
- 类型:
boolean
可选
- 默认值:
false
- 可选项:
-
- 描述:
用于控制是否自动删除行末空格。如果启用了该设置,编辑器将自动删除行末空格。如果禁用了该设置,则不会自动删除行末空格。
unfoldOnClickAfterEndOfLine
- 类型:
boolean
可选
- 默认值:
false
- 可选项:
-
- 描述:
用于控制是否在行末单击时展开代码。如果启用了该设置,编辑器将在行末单击时展开代码。如果禁用了该设置,则不会在行末单击时展开代码。
unicodeHighlight
- 类型:
boolean
可选
- 默认值:
true
- 可选项:
-
- 描述:
用于控制是否突出显示 Unicode 字符。如果启用了该设置,编辑器将突出显示 Unicode 字符。如果禁用了该设置,则不会突出显示 Unicode 字符。
unusualLineTerminators
- 类型:
string
可选
- 默认值:
'prompt'
- 可选项:
'off' | 'prompt' | 'auto'
- 描述:
用于控制是否在文件中检测到非常规行终止符时显示警告。可以选择 'off'、'prompt' 或 'auto' 中的一种。
useShadowDOM
- 类型:
boolean
可选
- 默认值:
false
- 可选项:
-
- 描述:
用于控制是否使用 Shadow DOM。如果启用了该设置,编辑器将使用 Shadow DOM。如果禁用了该设置,则不会使用 Shadow DOM。
useTabStops
- 类型:
boolean
可选
- 默认值:
true
- 可选项:
-
- 描述:
用于控制是否使用制表符停止。如果启用了该设置,编辑器将使用制表符停止。如果禁用了该设置,则不会使用制表符停止。
value
- 类型:
string
可选
- 默认值:
''
- 可选项:
-
- 描述:
用于设置编辑器的初始值。可以设置为任何字符串值。
wordBasedSuggestions
- 类型:
boolean
可选
- 默认值:
true
- 可选项:
-
- 描述:
用于控制是否基于单词提供建议。如果启用了该设置,编辑器将基于单词提供建议。如果禁用了该设置,则不会基于单词提供建议。
wordBasedSuggestionsOnlySameLanguage
- 类型:
boolean
可选
- 默认值:
false
- 可选项:
-
- 描述:
用于控制是否仅在同一语言中提供基于单词的建议。如果启用了该设置,编辑器将仅在同一语言中提供基于单词的建议。如果禁用了该设置,则不会仅在同一语言中提供基于单词的建议。
wordBreak
- 类型:
string
可选
- 默认值:
'default'
- 可选项:
'default' | 'none' | 'camelCase' | 'hyphenated'
- 描述:
用于控制单词如何断开。可以选择 'default'、'none'、'camelCase' 或 'hyphenated' 中的一种。
wordSeparators
- 类型:
string
可选
- 默认值:
'~!@#+%^&*()-=+[{]}\\|;:\\'",.<>/?'
- 可选项:
-
- 描述:
用于设置单词分隔符。可以设置为任何字符串值。
wordWrap
- 类型:
string
可选
- 默认值:
'off'
- 可选项:
'off' | 'on' | 'wordWrapColumn' | 'bounded'
- 描述:
用于控制文本如何换行。可以选择 'off'、'on'、'wordWrapColumn' 或 'bounded' 中的一种。
设置 Monaco Editor 中的单行最大长度,可以使用 wordWrap
选项和 wordWrapColumn
选项。
wordWrap
选项用于启用或禁用自动换行。如果禁用自动换行,则文本将在指定的列数内换行。wordWrapColumn
选项用于指定文本在哪个列数内换行。如果设置为0
,则禁用自动换行。
以下是一个示例代码,演示如何设置 Monaco Editor 中的单行最大长度:
codeconst editor = monaco.editor.create(document.getElementById("container"), {
+ value: "Lorem ipsum dolor sit amet, consectetur adipiscing elit.",
+ language: "javascript",
+ wordWrap: "on",
+ wordWrapColumn: 80
+});
+
在上面的示例中,wordWrap
选项设置为 on
,这意味着编辑器将在指定的列数(wordWrapColumn
选项)处换行。在这个例子中,wordWrapColumn
被设置为 80
,这意味着编辑器将在第 80 个字符处换行。 您可以根据需要调整 wordWrapColum
选项的值来设置单行最大长度。
wordWrapBreakAfterCharacters
- 类型:
string
可选
- 默认值: \`' \\t})]?|&,;'\`\`
- 可选项:
-
- 描述:
用于设置单词换行后的字符。可以设置为任何字符串值。
wordWrapBreakBeforeCharacters
- 类型:
string
可选
- 默认值: \`'([{<'\`\`
- 可选项:
-
- 描述:
用于设置单词换行前的字符。可以设置为任何字符串值。
wordWrapColumn
- 类型:
number
可选
- 默认值:
80
- 可选项:
-
- 描述:
用于设置文本的换行列。可以设置为任何数字值。
wordWrapOverride1
- 类型:
Function
可选
- 默认值:
-
- 可选项:
-
- 描述:
用于设置文本的自定义换行逻辑。可以设置为任何函数。
wordWrapOverride2
- 类型:
Function
可选
- 默认值:
-
- 可选项:
-
- 描述:
用于设置文本的自定义换行逻辑。可以设置为任何函数。
wrappingIndent
- 类型:
string
可选
- 默认值:
'none'
- 可选项:
'none' | 'same' | 'indent'
- 描述:
用于控制换行后的缩进。可以选择 'none'、'same' 或 'indent' 中的一种。
wrappingStrategy
- 类型:
string
可选
- 默认值:
'simple'
- 可选项:
'simple' | 'advanced'
- 描述:
用于控制文本的换行策略。可以选择 'simple' 或 'advanced' 中的一种。
`,94);function F(B,R){const a=n("ExternalLinkIcon"),l=n("RouterLink");return t(),s("div",null,[u,e("p",null,[p,o(),e("a",b,[o("官网地址"),i(a)])]),f,e("div",g,[m,e("p",null,[o("官方关于hover的演示样式,没有设置这个属性,但是此版本会发现hover的位置不符合预期,查看样式发现官方的是overflowingWidgets,当前版本的是overflowingContentWidgets,参考了"),e("a",y,[o("官方的issue"),i(a)]),o(" 加上此选项才正常")])]),D,e("ul",null,[e("li",null,[o("类型: "),i(l,{to:"/editor/interfaces/IEditorHoverOptions.html"},{default:c(()=>[o("editor.IEditorHoverOptions")]),_:1}),o(),x]),v,q,w]),C,e("ul",null,[e("li",null,[o("类型: "),i(l,{to:"/editor/interfaces/IEditorMinimapOptions.html"},{default:c(()=>[o("editor.IEditorMinimapOptions")]),_:1}),o(),k]),E,S,_]),O,e("ul",null,[e("li",null,[o("类型: "),i(l,{to:"/editor/interfaces/IEditorScrollbarOptions.html"},{default:c(()=>[o("IEditorScrollbarOptions")]),_:1}),o(),A]),I,W,L]),z])}const M=r(h,[["render",F],["__file","IStandaloneEditorConstructionOptions.html.vue"]]);export{M as default};
diff --git a/assets/IStandaloneThemeData.html-40997400.js b/assets/IStandaloneThemeData.html-40997400.js
new file mode 100644
index 00000000..6bd73113
--- /dev/null
+++ b/assets/IStandaloneThemeData.html-40997400.js
@@ -0,0 +1 @@
+import{_ as i}from"./plugin-vue_export-helper-c27b6911.js";import{r as a,o as s,c as d,a as e,b as o,d as n,w as l}from"./app-5f5ef0a9.js";const h={},c=e("h1",{id:"istandalonethemedata",tabindex:"-1"},[e("a",{class:"header-anchor",href:"#istandalonethemedata","aria-hidden":"true"},"#"),o(" IStandaloneThemeData")],-1),u=e("code",null,"interface",-1),_={href:"https://microsoft.github.io/monaco-editor/docs.html#interfaces/editor.IStandaloneThemeData.html",target:"_blank",rel:"noopener noreferrer"},m=e("h2",{id:"属性-properties",tabindex:"-1"},[e("a",{class:"header-anchor",href:"#属性-properties","aria-hidden":"true"},"#"),o(" 属性 Properties")],-1),f=e("h3",{id:"base",tabindex:"-1"},[e("a",{class:"header-anchor",href:"#base","aria-hidden":"true"},"#"),o(" base")],-1),b=e("li",null,"描述:表示主题的基础样式规则。",-1),p=e("h3",{id:"inherit",tabindex:"-1"},[e("a",{class:"header-anchor",href:"#inherit","aria-hidden":"true"},"#"),o(" inherit")],-1),x=e("ul",null,[e("li",null,[o("类型: "),e("code",null,"boolean")]),e("li",null,[o("默认值: "),e("code",null,"true")]),e("li",null,"描述:如果为 true,则继承父级主题的样式规则。")],-1),k=e("h3",{id:"rules",tabindex:"-1"},[e("a",{class:"header-anchor",href:"#rules","aria-hidden":"true"},"#"),o(" rules")],-1),T=e("li",null,"描述:表示主题的样式规则。",-1),I=e("h3",{id:"colors",tabindex:"-1"},[e("a",{class:"header-anchor",href:"#colors","aria-hidden":"true"},"#"),o(" colors")],-1),D=e("li",null,[o("默认值: "),e("code",null,"[]")],-1),S=e("li",null,"描述:表示颜色。",-1),B=e("h3",{id:"encodedtokenscolors",tabindex:"-1"},[e("a",{class:"header-anchor",href:"#encodedtokenscolors","aria-hidden":"true"},"#"),o(" encodedTokensColors")],-1),C=e("ul",null,[e("li",null,[o("类型: string[] "),e("code",null,"可选")]),e("li",null,"默认值: []"),e("li",null,"描述:表示编码颜色的字符串数组。 使用 IStandaloneThemeData 接口,可以描述 Monaco 编辑器的主题数据,并将其应用于编辑器。可以使用 base 属性指定基础样式规则,使用 inherit 属性指定是否继承父级主题的样式规则,使用 rules 属性指定主题的样式规则,使用 encodedTokensColors 属性指定编码颜色的字符串数组。")],-1);function L(R,g){const r=a("ExternalLinkIcon"),t=a("RouterLink");return s(),d("div",null,[c,e("p",null,[u,o(),e("a",_,[o("官网地址"),n(r)]),o(" 描述 Monaco 编辑器的主题数据")]),m,f,e("ul",null,[e("li",null,[o("类型: "),n(t,{to:"/editor/aliase.html#builtintheme"},{default:l(()=>[o("BuiltinTheme")]),_:1})]),b]),p,x,k,e("ul",null,[e("li",null,[o("类型: "),n(t,{to:"/editor/interfaces/ITokenThemeRule.html"},{default:l(()=>[o("ITokenThemeRule")]),_:1}),o(" []")]),T]),I,e("ul",null,[e("li",null,[o("类型: "),n(t,{to:"/editor/aliase.html#icolors"},{default:l(()=>[o("Icolor")]),_:1})]),D,S]),B,C])}const N=i(h,[["render",L],["__file","IStandaloneThemeData.html.vue"]]);export{N as default};
diff --git a/assets/IStandaloneThemeData.html-f519a1d0.js b/assets/IStandaloneThemeData.html-f519a1d0.js
new file mode 100644
index 00000000..c4655230
--- /dev/null
+++ b/assets/IStandaloneThemeData.html-f519a1d0.js
@@ -0,0 +1 @@
+const e=JSON.parse('{"key":"v-698f4008","path":"/editor/interfaces/IStandaloneThemeData.html","title":"IStandaloneThemeData","lang":"zh-CN","frontmatter":{"description":"interface 官网地址 (https://microsoft.github.io/monaco-editor/docs.html#interfaces/editor.IStandaloneThemeData.html) 描述 Monaco 编辑器的主题数据 属性 Properties base 类型: BuiltinTheme (../alias...","head":[["meta",{"property":"og:url","content":"http://aydk.site/editor/interfaces/IStandaloneThemeData.html"}],["meta",{"property":"og:site_name","content":"Monaco-editor 学习文档"}],["meta",{"property":"og:title","content":"IStandaloneThemeData"}],["meta",{"property":"og:description","content":"interface 官网地址 (https://microsoft.github.io/monaco-editor/docs.html#interfaces/editor.IStandaloneThemeData.html) 描述 Monaco 编辑器的主题数据 属性 Properties base 类型: BuiltinTheme (../alias..."}],["meta",{"property":"og:type","content":"article"}],["meta",{"property":"og:locale","content":"zh-CN"}],["meta",{"property":"og:updated_time","content":"2023-06-16T20:04:45.000Z"}],["meta",{"property":"article:author","content":"aydk"}],["meta",{"property":"article:modified_time","content":"2023-06-16T20:04:45.000Z"}],["script",{"type":"application/ld+json"},"{\\"@context\\":\\"https://schema.org\\",\\"@type\\":\\"Article\\",\\"headline\\":\\"IStandaloneThemeData\\",\\"image\\":[\\"\\"],\\"dateModified\\":\\"2023-06-16T20:04:45.000Z\\",\\"author\\":[{\\"@type\\":\\"Person\\",\\"name\\":\\"aydk\\"}]}"]]},"headers":[{"level":2,"title":"属性 Properties","slug":"属性-properties","link":"#属性-properties","children":[{"level":3,"title":"base","slug":"base","link":"#base","children":[]},{"level":3,"title":"inherit","slug":"inherit","link":"#inherit","children":[]},{"level":3,"title":"rules","slug":"rules","link":"#rules","children":[]},{"level":3,"title":"colors","slug":"colors","link":"#colors","children":[]},{"level":3,"title":"encodedTokensColors","slug":"encodedtokenscolors","link":"#encodedtokenscolors","children":[]}]}],"git":{"createdTime":1686945885000,"updatedTime":1686945885000,"contributors":[{"name":"xiaochaochao","email":"xiaochaochao","commits":1}]},"readingTime":{"minutes":0.72,"words":216},"filePathRelative":"editor/interfaces/IStandaloneThemeData.md","localizedDate":"2023年6月16日","autoDesc":true}');export{e as data};
diff --git a/assets/IState.html-2eec590e.js b/assets/IState.html-2eec590e.js
new file mode 100644
index 00000000..44a8f3d8
--- /dev/null
+++ b/assets/IState.html-2eec590e.js
@@ -0,0 +1 @@
+const t=JSON.parse('{"key":"v-adbec34c","path":"/language/interfaces/IState.html","title":"IState","lang":"zh-CN","frontmatter":{"description":"interface 官网地址 (https://microsoft.github.io/monaco-editor/docs.html#interfaces/languages.IState.html) 属性 Properties 方法 Methods","head":[["meta",{"property":"og:url","content":"http://aydk.site/language/interfaces/IState.html"}],["meta",{"property":"og:site_name","content":"Monaco-editor 学习文档"}],["meta",{"property":"og:title","content":"IState"}],["meta",{"property":"og:description","content":"interface 官网地址 (https://microsoft.github.io/monaco-editor/docs.html#interfaces/languages.IState.html) 属性 Properties 方法 Methods"}],["meta",{"property":"og:type","content":"article"}],["meta",{"property":"og:locale","content":"zh-CN"}],["meta",{"property":"og:updated_time","content":"2023-06-16T19:55:24.000Z"}],["meta",{"property":"article:author","content":"aydk"}],["meta",{"property":"article:modified_time","content":"2023-06-16T19:55:24.000Z"}],["script",{"type":"application/ld+json"},"{\\"@context\\":\\"https://schema.org\\",\\"@type\\":\\"Article\\",\\"headline\\":\\"IState\\",\\"image\\":[\\"\\"],\\"dateModified\\":\\"2023-06-16T19:55:24.000Z\\",\\"author\\":[{\\"@type\\":\\"Person\\",\\"name\\":\\"aydk\\"}]}"]]},"headers":[{"level":2,"title":"属性 Properties","slug":"属性-properties","link":"#属性-properties","children":[]},{"level":2,"title":"方法 Methods","slug":"方法-methods","link":"#方法-methods","children":[]}],"git":{"createdTime":1686945324000,"updatedTime":1686945324000,"contributors":[{"name":"xiaochaochao","email":"xiaochaochao","commits":1}]},"readingTime":{"minutes":0.05,"words":16},"filePathRelative":"language/interfaces/IState.md","localizedDate":"2023年6月16日","autoDesc":true}');export{t as data};
diff --git a/assets/IState.html-96e6e0ac.js b/assets/IState.html-96e6e0ac.js
new file mode 100644
index 00000000..039139d7
--- /dev/null
+++ b/assets/IState.html-96e6e0ac.js
@@ -0,0 +1 @@
+import{_ as o}from"./plugin-vue_export-helper-c27b6911.js";import{r,o as n,c as s,a as e,b as t,d as c}from"./app-5f5ef0a9.js";const i={},d=e("h1",{id:"istate",tabindex:"-1"},[e("a",{class:"header-anchor",href:"#istate","aria-hidden":"true"},"#"),t(" IState")],-1),h=e("code",null,"interface",-1),_={href:"https://microsoft.github.io/monaco-editor/docs.html#interfaces/languages.IState.html",target:"_blank",rel:"noopener noreferrer"},l=e("h2",{id:"属性-properties",tabindex:"-1"},[e("a",{class:"header-anchor",href:"#属性-properties","aria-hidden":"true"},"#"),t(" 属性 Properties")],-1),f=e("h2",{id:"方法-methods",tabindex:"-1"},[e("a",{class:"header-anchor",href:"#方法-methods","aria-hidden":"true"},"#"),t(" 方法 Methods")],-1);function m(p,u){const a=r("ExternalLinkIcon");return n(),s("div",null,[d,e("p",null,[h,t(),e("a",_,[t("官网地址"),c(a)])]),l,f])}const I=o(i,[["render",m],["__file","IState.html.vue"]]);export{I as default};
diff --git a/assets/ISuggestOptions.html-7cf715b6.js b/assets/ISuggestOptions.html-7cf715b6.js
new file mode 100644
index 00000000..67ac2da0
--- /dev/null
+++ b/assets/ISuggestOptions.html-7cf715b6.js
@@ -0,0 +1 @@
+const e=JSON.parse('{"key":"v-c531807c","path":"/editor/interfaces/ISuggestOptions.html","title":"ISuggestOptions","lang":"zh-CN","frontmatter":{"description":"interface 官网地址 (https://microsoft.github.io/monaco-editor/docs.html#interfaces/editor.ISuggestOptions.html) 属性 Properties filterGraceful 类型: boolean ,可选; 默认值: true ; 可选项:无; 描述:启...","head":[["meta",{"property":"og:url","content":"http://aydk.site/editor/interfaces/ISuggestOptions.html"}],["meta",{"property":"og:site_name","content":"Monaco-editor 学习文档"}],["meta",{"property":"og:title","content":"ISuggestOptions"}],["meta",{"property":"og:description","content":"interface 官网地址 (https://microsoft.github.io/monaco-editor/docs.html#interfaces/editor.ISuggestOptions.html) 属性 Properties filterGraceful 类型: boolean ,可选; 默认值: true ; 可选项:无; 描述:启..."}],["meta",{"property":"og:type","content":"article"}],["meta",{"property":"og:locale","content":"zh-CN"}],["meta",{"property":"og:updated_time","content":"2023-06-16T20:04:45.000Z"}],["meta",{"property":"article:author","content":"aydk"}],["meta",{"property":"article:modified_time","content":"2023-06-16T20:04:45.000Z"}],["script",{"type":"application/ld+json"},"{\\"@context\\":\\"https://schema.org\\",\\"@type\\":\\"Article\\",\\"headline\\":\\"ISuggestOptions\\",\\"image\\":[\\"\\"],\\"dateModified\\":\\"2023-06-16T20:04:45.000Z\\",\\"author\\":[{\\"@type\\":\\"Person\\",\\"name\\":\\"aydk\\"}]}"]]},"headers":[{"level":2,"title":"属性 Properties","slug":"属性-properties","link":"#属性-properties","children":[{"level":3,"title":"filterGraceful","slug":"filtergraceful","link":"#filtergraceful","children":[]},{"level":3,"title":"insertMode","slug":"insertmode","link":"#insertmode","children":[]},{"level":3,"title":"localityBonus","slug":"localitybonus","link":"#localitybonus","children":[]},{"level":3,"title":"matchOnWordStartOnly","slug":"matchonwordstartonly","link":"#matchonwordstartonly","children":[]},{"level":3,"title":"preview","slug":"preview","link":"#preview","children":[]},{"level":3,"title":"previewMode","slug":"previewmode","link":"#previewmode","children":[]},{"level":3,"title":"selectionMode","slug":"selectionmode","link":"#selectionmode","children":[]},{"level":3,"title":"shareSuggestSelections","slug":"sharesuggestselections","link":"#sharesuggestselections","children":[]},{"level":3,"title":"showClasses","slug":"showclasses","link":"#showclasses","children":[]},{"level":3,"title":"showColors","slug":"showcolors","link":"#showcolors","children":[]},{"level":3,"title":"showConstants","slug":"showconstants","link":"#showconstants","children":[]},{"level":3,"title":"showConstructors","slug":"showconstructors","link":"#showconstructors","children":[]},{"level":3,"title":"showDeprecated","slug":"showdeprecated","link":"#showdeprecated","children":[]},{"level":3,"title":"showEnumMembers","slug":"showenummembers","link":"#showenummembers","children":[]},{"level":3,"title":"showEnums","slug":"showenums","link":"#showenums","children":[]},{"level":3,"title":"showEvents","slug":"showevents","link":"#showevents","children":[]},{"level":3,"title":"showFields","slug":"showfields","link":"#showfields","children":[]},{"level":3,"title":"showFiles","slug":"showfiles","link":"#showfiles","children":[]},{"level":3,"title":"showFolders","slug":"showfolders","link":"#showfolders","children":[]},{"level":3,"title":"showFunctions","slug":"showfunctions","link":"#showfunctions","children":[]},{"level":3,"title":"showIcons","slug":"showicons","link":"#showicons","children":[]},{"level":3,"title":"showInlineDetails","slug":"showinlinedetails","link":"#showinlinedetails","children":[]},{"level":3,"title":"showInterfaces","slug":"showinterfaces","link":"#showinterfaces","children":[]},{"level":3,"title":"showIssues","slug":"showissues","link":"#showissues","children":[]},{"level":3,"title":"showKeywords","slug":"showkeywords","link":"#showkeywords","children":[]},{"level":3,"title":"showMethods","slug":"showmethods","link":"#showmethods","children":[]},{"level":3,"title":"showModules","slug":"showmodules","link":"#showmodules","children":[]},{"level":3,"title":"showOperators","slug":"showoperators","link":"#showoperators","children":[]},{"level":3,"title":"showProperties","slug":"showproperties","link":"#showproperties","children":[]},{"level":3,"title":"showReferences","slug":"showreferences","link":"#showreferences","children":[]},{"level":3,"title":"showSnippets","slug":"showsnippets","link":"#showsnippets","children":[]},{"level":3,"title":"showStatusBar","slug":"showstatusbar","link":"#showstatusbar","children":[]},{"level":3,"title":"showStructs","slug":"showstructs","link":"#showstructs","children":[]},{"level":3,"title":"showTypeParameters","slug":"showtypeparameters","link":"#showtypeparameters","children":[]},{"level":3,"title":"showUnits","slug":"showunits","link":"#showunits","children":[]},{"level":3,"title":"showUsers","slug":"showusers","link":"#showusers","children":[]},{"level":3,"title":"showValues","slug":"showvalues","link":"#showvalues","children":[]},{"level":3,"title":"showVariables","slug":"showvariables","link":"#showvariables","children":[]},{"level":3,"title":"showWords","slug":"showwords","link":"#showwords","children":[]},{"level":3,"title":"snippetsPreventQuickSuggestions","slug":"snippetspreventquicksuggestions","link":"#snippetspreventquicksuggestions","children":[]}]}],"git":{"createdTime":1686945885000,"updatedTime":1686945885000,"contributors":[{"name":"xiaochaochao","email":"xiaochaochao","commits":1}]},"readingTime":{"minutes":3.49,"words":1047},"filePathRelative":"editor/interfaces/ISuggestOptions.md","localizedDate":"2023年6月16日","autoDesc":true}');export{e as data};
diff --git a/assets/ISuggestOptions.html-9ae65b49.js b/assets/ISuggestOptions.html-9ae65b49.js
new file mode 100644
index 00000000..2d3c6da7
--- /dev/null
+++ b/assets/ISuggestOptions.html-9ae65b49.js
@@ -0,0 +1 @@
+import{_ as d}from"./plugin-vue_export-helper-c27b6911.js";import{r as l,o as a,c,a as e,b as o,d as s,e as r}from"./app-5f5ef0a9.js";const h={},t=e("h1",{id:"isuggestoptions",tabindex:"-1"},[e("a",{class:"header-anchor",href:"#isuggestoptions","aria-hidden":"true"},"#"),o(" ISuggestOptions")],-1),n=e("code",null,"interface",-1),u={href:"https://microsoft.github.io/monaco-editor/docs.html#interfaces/editor.ISuggestOptions.html",target:"_blank",rel:"noopener noreferrer"},w=r(' 属性 Properties
filterGraceful
- 类型:
boolean
,可选 - 默认值:
true
- 可选项:无
- 描述:启用优雅匹配。默认为真。
insertMode
- 类型:
string
,可选 - 默认值:
"insert"
- 可选项:
"insert"
, "replace"
- 描述:插入模式或替换模式。默认为插入模式。
localityBonus
- 类型:
boolean
,可选 - 默认值:
true
- 可选项:无
- 描述:启用局部匹配奖励。默认为真。
matchOnWordStartOnly
- 类型:
boolean
,可选 - 默认值:
true
- 可选项:无
- 描述:只在单词开头匹配。默认为真。
preview
- 类型:
boolean
,可选 - 默认值:
true
- 可选项:无
- 描述:启用预览。默认为真。
previewMode
- 类型:
string
,可选 - 默认值:
"prefix"
- 可选项:
"prefix"
, "subword"
, "subwordSmart"
, "plaintext"
- 描述:预览模式。默认为前缀模式。
selectionMode
- 类型:
string
,可选 - 默认值:
"recentlyUsed"
- 可选项:
"recentlyUsed"
, "first"
, "recentlyUsedByPrefix"
, "recentlyUsedByScore"
- 描述:选择模式。默认为最近使用的模式。
shareSuggestSelections
- 类型:
boolean
,可选 - 默认值:
false
- 可选项:无
- 描述:共享建议选择。默认为假。
showClasses
- 类型:
boolean
,可选 - 默认值:
true
- 可选项:无
- 描述:显示类。默认为真。
showColors
- 类型:
boolean
,可选 - 默认值:
true
- 可选项:无
- 描述:显示颜色。默认为真。
showConstants
- 类型:
boolean
,可选 - 默认值:
true
- 可选项:无
- 描述:显示常量。默认为真。
showConstructors
- 类型:
boolean
,可选 - 默认值:
true
- 可选项:无
- 描述:显示构造函数。默认为真。
showDeprecated
- 类型:
boolean
,可选 - 默认值:
false
- 可选项:无
- 描述:显示已弃用的内容。默认为假。
showEnumMembers
- 类型:
boolean
,可选 - 默认值:
true
- 可选项:无
- 描述:显示枚举成员。默认为真。
showEnums
- 类型:
boolean
,可选 - 默认值:
true
- 可选项:无
- 描述:显示枚举。默认为真。
showEvents
- 类型:
boolean
,可选 - 默认值:
true
- 可选项:无
- 描述:显示事件。默认为真。
showFields
- 类型:
boolean
,可选 - 默认值:
true
- 可选项:无
- 描述:显示字段。默认为真。
showFiles
- 类型:
boolean
,可选 - 默认值:
true
- 可选项:无
- 描述:显示文件。默认为真。
showFolders
- 类型:
boolean
,可选 - 默认值:
true
- 可选项:无
- 描述:显示文件夹。默认为真。
showFunctions
- 类型:
boolean
,可选 - 默认值:
true
- 可选项:无
- 描述:显示函数。默认为真。
showIcons
- 类型:
boolean
,可选 - 默认值:
true
- 可选项:无
- 描述:显示图标。默认为真。
showInlineDetails
- 类型:
boolean
,可选 - 默认值:
false
- 可选项:无
- 描述:显示内联细节。默认为假。 以下是
editor.ISuggestOptions
接口中的属性,按照题目要求的顺序和格式进行排列:
showInterfaces
- 类型:
boolean
可选
- 默认值:
true
- 可选项:
-
- 描述:
是否显示接口建议
showIssues
- 类型:
boolean
可选
- 默认值:
true
- 可选项:
-
- 描述:
是否显示问题建议
showKeywords
- 类型:
boolean
可选
- 默认值:
true
- 可选项:
-
- 描述:
是否显示关键字建议
showMethods
- 类型:
boolean
可选
- 默认值:
true
- 可选项:
-
- 描述:
是否显示方法建议
showModules
- 类型:
boolean
可选
- 默认值:
true
- 可选项:
-
- 描述:
是否显示模块建议
showOperators
- 类型:
boolean
可选
- 默认值:
true
- 可选项:
-
- 描述:
是否显示运算符建议
showProperties
- 类型:
boolean
可选
- 默认值:
true
- 可选项:
-
- 描述:
是否显示属性建议
showReferences
- 类型:
boolean
可选
- 默认值:
true
- 可选项:
-
- 描述:
是否显示引用建议
showSnippets
- 类型:
boolean
可选
- 默认值:
true
- 可选项:
-
- 描述:
是否显示代码片段建议
showStatusBar
- 类型:
boolean
可选
- 默认值:
false
- 可选项:
-
- 描述:
是否在状态栏中显示建议
showStructs
- 类型:
boolean
可选
- 默认值:
true
- 可选项:
-
- 描述:
是否显示结构建议
showTypeParameters
- 类型:
boolean
可选
- 默认值:
true
- 可选项:
-
- 描述:
是否显示类型参数建议
showUnits
- 类型:
boolean
可选
- 默认值:
true
- 可选项:
-
- 描述:
是否显示单位建议
showUsers
- 类型:
boolean
可选
- 默认值:
true
- 可选项:
-
- 描述:
是否显示用户建议
showValues
- 类型:
boolean
可选
- 默认值:
true
- 可选项:
-
- 描述:
是否显示值建议
showVariables
- 类型:
boolean
可选
- 默认值:
true
- 可选项:
-
- 描述:
是否显示变量建议
showWords
- 类型:
boolean
可选
- 默认值:
true
- 可选项:
-
- 描述:
是否显示单词建议
snippetsPreventQuickSuggestions
- 类型:
boolean
可选
- 默认值:
true
- 可选项:
-
- 描述:
是否禁用快速建议,以便在代码片段中进行建议
',81);function b(f,p){const i=l("ExternalLinkIcon");return a(),c("div",null,[t,e("p",null,[n,o(),e("a",u,[o("官网地址"),s(i)])]),w])}const g=d(h,[["render",b],["__file","ISuggestOptions.html.vue"]]);export{g as default};
diff --git a/assets/ITextModel.html-a42c722d.js b/assets/ITextModel.html-a42c722d.js
new file mode 100644
index 00000000..34696442
--- /dev/null
+++ b/assets/ITextModel.html-a42c722d.js
@@ -0,0 +1,100 @@
+import{_ as l}from"./plugin-vue_export-helper-c27b6911.js";import{r as e,o,c as i,a as s,b as n,d as t,e as p}from"./app-5f5ef0a9.js";const r={},c=s("h1",{id:"itextmodel",tabindex:"-1"},[s("a",{class:"header-anchor",href:"#itextmodel","aria-hidden":"true"},"#"),n(" ITextModel")],-1),D=s("code",null,"interface",-1),d={href:"https://microsoft.github.io/monaco-editor/docs.html#interfaces/editor.ITextModel.html",target:"_blank",rel:"noopener noreferrer"},y=p(` 属性 Properties
applyEdits
- 语法 applyEdits(operations: IIdentifiedSingleEditOperation[]): void
- 参数 operations
- 返回值 -
- 描述: 用于将一组文本编辑应用于模型。该方法接受一个编辑操作数组和一个选项对象作为参数,并返回一个IMarkerData数组,其中包含所有已插入的标记的位置和数据。
operations
operations参数是一个IIdentifiedSingleEditOperation类型的数组,用来描述操作的类型。它包含以下属性:
- forceMoveMarkers: bool类型,表示用于控制是否强制移动标记 markers。标记是一段文本的注释,通常用于标记某些位置或者标记某些文本的属性。当文本被修改时,标记也会相应地被修改。如果 forceMoveMarkers属性为 true,那么当文本被修改时,标记也会被强制移动,即它们会被重新计算并移动到新的位置。如果 forceMoveMarkers属性为 false,那么标记不会被强制移动,而是保持原来的位置。在一些情况下,如果文本被修改了,标记的位置可能已经发生了变化,这时如果不强制移动标记,可能会导致标记的位置不准确或者出现错误。因此,如果需要保证标记的位置准确性,可以将 forceMoveMarkers属性设置为 true。
- range: IRange类型,表示替换的范围。这可以为空以模拟简单的插入。
- text: string类型,表示要替换为的文本。这可以为 null以模拟简单的删除。
以下是一个示例代码,演示如何使用 applyEdits方法将文本编辑应用于模型:
const editor = monaco.editor.create(document.getElementById("container"), {
+ value: "Hello, world!",
+ language: "javascript"
+});
+const model = editor.getModel();
+const edits = [
+ {
+ range: new monaco.Range(1, 1, 1, 5),
+ text: "Hello"
+ },
+ {
+ range: new monaco.Range(1, 6, 1, 10),
+ text: "Monaco"
+ }
+];
+const markerData = model.applyEdits(edits);
+console.log(markerData);
+
我们首先创建了一个编辑器实例,并获取了其模型。然后,我们定义了一个编辑操作数组,其中包含两个文本编辑操作。最后,我们使用 applyEdits方法将编辑操作应用于模型,并将返回的 IMarkerData
数组打印到控制台中。 需要注意的是,applyEdits方法返回的 IMarkerData数组包含所有已插入的标记的位置和数据。如果您不想插入标记,可以将 IMarkerData数组作为第二个参数传递给 applyEdits方法,并将其设置为 null
。
createSnapshot
- 语法 createSnapshot(): number
- 参数 -
- 返回值 number
- 描述: 创建一个模型的快照,并返回该快照的 ID。快照是一段时间点的模型状态,可以用于撤销和重做操作。
以下是一个示例代码,演示如何使用 createSnapshot 方法创建一个模型的例子:
const editor = monaco.editor.create(document.getElementById("container"), {
+ value: "Hello, world!",
+ language: "javascript"
+});
+const model = editor.getModel();
+const snapshotId = model.createSnapshot();
+console.log(snapshotId);
+
我们首先创建了一个编辑器实例,并获取了其模型。然后,我们使用 createSnapshot 方法创建一个模型的快照,并将返回的快照 ID 打印到控制台中。
需要注意的是,创建快照后,模型的状态将被锁定,直到调用 dispose 方法释放该快照。
deltaDecorations
语法 deltaDecorations(oldDecorations: string[], newDecorations: IDecorationOptions[]): string[]
参数:
- oldDecorations: string[]类型,表示要修改的装饰器 ID 数组。
- newDecorations:
IDecorationOptions[]
类型,表示要添加或修改的装饰器选项数组。
返回值 string[] 类型,表示修改后的装饰器 ID 数组。
描述: 用于修改模型中的装饰器。该方法接受两个参数,分别是要修改的装饰器 ID 数组和要添加或修改的装饰器选项数组。该方法返回一个数组,其中包含修改后的装饰器 ID 数组。
以下是一个示例代码,演示如何使用 deltaDecorations 方法修改模型中的装饰器:
const editor = monaco.editor.create(document.getElementById("container"), {
+ value: "Hello, world!",
+ language: "javascript"
+});
+const model = editor.getModel();
+const oldDecorations = [
+ {
+ range: new monaco.Range(1, 1, 1, 5),
+ options: {
+ inlineClassName: "inline-class-name"
+ }
+ }
+];
+const newDecorations = [
+ {
+ range: new monaco.Range(1, 1, 1, 5),
+ options: {
+ inlineClassName: "new-inline-class-name"
+ }
+ }
+];
+const newDecorationsIds = model.deltaDecorations(oldDecorations, newDecorations);
+console.log(newDecorationsIds);
+
我们首先创建了一个编辑器实例,并获取了其模型。然后,我们定义了一个要修改的装饰器选项数组和一个要添加或修改的装饰器选项数组。最后,我们使用 deltaDecorations 方法修改模型中的装饰器,并将返回的修改后的装饰器 ID 数组打印到控制台中。
需要注意的是, deltaDecorations 方法可以用于添加、删除或修改模型中的装饰器。如果要删除装饰器,可以将要修改的装饰器 ID 数组设置为一个空数组。
dispose
- 语法 dispose(): void
- 参数 -
- 返回值 -
- 描述: 释放模型和编辑器实例。释放模型和编辑器实例后,它们将不再可用。
以下是一个示例代码,演示如何使用 dispose 方法释放模型和编辑器实例:
const editor = monaco.editor.create(document.getElementById("container"), {
+ value: "Hello, world!",
+ language: "javascript"
+});
+const model = editor.getModel();
+model.dispose();
+editor.dispose();
+
我们首先创建了一个编辑器实例,并获取了其模型。然后,我们使用 dispose 方法释放模型和编辑器实例。
需要注意的是,释放模型和编辑器实例后,它们将不再可用。如果您需要重新使用这些实例,请重新创建它们。
findMatches
- 语法 findMatches(searchString: string, searchOnlyEditableRange: boolean, isRegex: boolean, matchCase: boolean, wordSeparators: string | null): IFindMatch[]
- 参数 searchString : string 类型,表示要查找的字符串。 searchOnlyEditableRange : boolean 类型,表示是否仅在可编辑范围内查找。 isRegex : boolean 类型,表示是否使用正则表达式进行查找。 matchCase : boolean 类型,表示是否区分大小写。 wordSeparators : string | null 类型,表示单词分隔符。 返回值 IFindMatch[] 类型,表示查找结果。
- 描述: 查找模型中的文本,并返回查找结果。该方法接受五个参数,分别是要查找的字符串、是否仅在可编辑范围内查找、是否使用正则表达式进行查找、是否区分大小写以及单词分隔符。该方法返回一个 IFindMatch 类型的数组,其中包含查找结果。
以下是一个示例代码,演示如何使用 findMatches 方法查找模型中的文本:
const editor = monaco.editor.create(document.getElementById("container"), {
+ value: "Hello, world!",
+ language: "javascript"
+});
+const model = editor.getModel();
+const searchString = "world";
+const searchOnlyEditableRange = false;
+constisRegex = false;
+const matchCase = false;
+const wordSeparators = null;
+const matches = model.findMatches(searchString, searchOnlyEditableRange, isRegex, matchCase, wordSeparators);
+console.log(matches);
+
我们首先创建了一个编辑器实例,并获取了其模型。然后,我们定义了要查找的字符串、是否仅在可编辑范围内查找、是否使用正则表达式进行查找、是否区分大小写以及单词分隔符。最后,我们使用 findMatches
方法查找模型中的文本,并将返回的查找结果打印到控制台中。
需要注意的是,findMatches
方法返回的 IFindMatch
类型的数组包含查找结果的位置和匹配项。如果没有找到匹配项,该数组将为空。
findNextMatch
语法 findNextMatch(previousMatch: IFindMatch, searchString: string, searchOnlyEditableRange: boolean, isRegex: boolean, matchCase: boolean, wordSeparators: string | null): IFindMatch | null
参数
previousMatch
: IFindMatch
类型,表示上一个匹配项。searchString
: string
类型,表示要查找的字符串。searchOnlyEditableRange
: boolean
类型,表示是否仅在可编辑范围内查找。isRegex
: boolean
类型,表示是否使用正则表达式进行查找。matchCase
: boolean
类型,表示是否区分大小写。wordSeparators
: string | null
类型,表示单词分隔符。
返回值 IFindMatch | null
类型,表示下一个匹配项。
描述 查找模型中的文本,并返回下一个匹配项。该方法接受六个参数,分别是上一个匹配项、要查找的字符串、是否仅在可编辑范围内查找、是否使用正则表达式进行查找、是否区分大小写以及单词分隔符。该方法返回一个 IFindMatch
类型的对象,表示下一个匹配项。如果没有找到下一个匹配项,该方法将返回 null
。
以下是一个示例代码,演示如何使用 findNextMatch
方法查找模型中的文本:
const editor = monaco.editor.create(document.getElementById("container"), {
+value: "Hello, world!",
+language: "javascript"
+});
+const model = editor.getModel();
+const searchString = "world";
+const searchOnlyEditableRange = false;
+const isRegex = false;
+const matchCase = false;
+const wordSeparators = null;
+const previousMatch = null;
+const nextMatch = model.findNextMatch(previousMatch, searchString, searchOnlyEditableRange, isRegex, matchCase, wordSeparators);
+console.log(nextMatch);
+
我们首先创建了一个编辑器实例,并获取了其模型。然后,我们定义了要查找的字符串、是否仅在可编辑范围内查找、是否使用正则表达式进行查找、是否区分大小写以及单词分隔符。最后,我们使用 findNextMatch
方法查找模型中的文本,并将返回的下一个匹配项打印到控制台中。
需要注意的是,findNextMatch
方法返回的 IFindMatch
类型的对象表示下一个匹配项。如果没有找到下一个匹配项,该方法将返回 null
。
findPreviousMatch
语法 findPreviousMatch(nextMatch: IFindMatch, searchString: string, searchOnlyEditableRange: boolean, isRegex: boolean, matchCase: boolean, wordSeparators: string | null): IFindMatch | null
参数
nextMatch
: IFindMatch
类型,表示下一个匹配项。searchString
: string
类型,表示要查找的字符串。searchOnlyEditableRange
: boolean
类型,表示是否仅在可编辑范围内查找。isRegex
: boolean
类型,表示是否使用正则表达式进行查找。matchCase
: boolean
类型,表示是否区分大小写。wordSeparators
: string | null
类型,表示单词分隔符。
返回值 IFindMatch | null
类型,表示上一个匹配项。
描述 模型中的文本,并返回上一个匹配项。该方法接受六个参数,分别是下一个匹配项、要查找的字符串、是否仅在可编辑范围内查找、是否使用正则表达式进行查找、是否区分大小写以及单词分隔符。该方法返回一个 IFindMatch 类型的对象,表示上一个匹配项。如果没有找到上一个匹配项,该方法将返回 null 。
以下是一个示例代码,演示如何使用 findPreviousMatch 方法查找模型中的文本:
const editor = monaco.editor.create(document.getElementById("container"), {
+ value: "Hello, world!",
+ language: "javascript"
+});
+const model = editor.getModel();
+const searchString = "world";
+const searchOnlyEditableRange = false;
+const isRegex = false;
+const matchCase = false;
+const wordSeparators = null;
+const nextMatch = null;
+const previousMatch = model.findPreviousMatch(nextMatch, searchString, searchOnlyEditableRange, isRegex, matchCase, wordSeparators);
+console.log(previousMatch);
+
我们首先创建了一个编辑器实例,并获取了其模型。然后,我们定义了要查找的字符串、是否仅在可编辑范围内查找、是否使用正则表达式进行查找、是否区分大小写以及单词分隔符。最后,我们使用 findPreviousMatch 方法查找模型中的文本,并将返回的上一个匹配项打印到控制台中。
需要注意的是, findPreviousMatch 方法返回的 IFindMatch 类型的对象表示上一个匹配项。如果没有找到上一个匹配项,该方法将返回 null 。
getAllDecorations
- 语法: getAllDecorations(ownerId?: number, filterOutValidation?: boolean): IModelDecoration[]
- 参数: ownerId , filterOutValidation
- 返回值: IModelDecoration[]
- 描述: 获取模型中的所有装饰。可以通过 ownerId 和 filterOutValidation 参数来过滤装饰。 其中, ownerId 参数是一个可选的数字,用于指定装饰的所有者。如果提供了 ownerId ,则只返回属于该所有者的装饰。 filterOutValidation 参数是一个可选的布尔值,用于指定是否过滤掉验证装饰。如果将其设置为 true ,则不会返回验证装饰。
示例代码: const decorations = model.getAllDecorations(); console.log(decorations);
getAlternativeVersionId
- 语法: getAlternativeVersionId(): number
- 参数: 无
- 返回值: number
- 描述: 获取模型的替代版本ID。此ID在每次编辑时都会递增。
示例代码: const alternativeVersionId = model.getAlternativeVersionId(); console.log(alternativeVersionId);
getCharacterCountInRange
- 语法: getCharacterCountInRange(range: IRange, eol: EndOfLinePreference): number
- 参数: range , eol
- 返回值: number
- 描述: 获取指定范围内的字符数量。可以通过 eol 参数来指定行尾字符的偏好。 其中, range 参数是一个 IRange 类型的对象,用于指定要计算字符数量的范围。 eol 参数是一个 EndOfLinePreference 枚举值,用于指定行尾字符的偏好。可选的值有: TextDefined (使用文本中定义的行尾字符)、 LF (使用 \\n 作为行尾字符)和 CRLF (使用 \\r\\n 作为行尾字符)。
示例代码: const range = new monaco.Range(1, 1, 2, 1); const characterCount = model.getCharacterCountInRange(range, monaco.editor.EndOfLinePreference.TextDefined); console.log(characterCount);
getDecorationOptions
- 语法: getDecorationOptions(id: string): IModelDecorationOptions | null
- 参数: id
- 返回值: IModelDecorationOptions | null
- 描述: 根据装饰ID获取装饰选项。如果找不到指定ID的装饰,返回 null 。 其中, id 参数是一个字符串,用于指定要获取装饰选项的装饰ID。
示例代码: const decorationOptions = model.getDecorationOptions("decoration-id"); console.log(decorationOptions);
getDecorationRange
- 语法: getDecorationRange(id: string): Range | null
- 参数: id
- 返回值: Range | null
- 描述: 根据装饰ID获取装饰范围。如果找不到指定ID的装饰,返回 null 。 其中, id 参数是一个字符串,用于指定要获取装饰范围的装饰ID。
示例代码: const decorationRange = model.getDecorationRange("decoration-id"); console.log(decorationRange);
getDecorationsInRange
- 语法: getDecorationsInRange(range: IRange, ownerId?: number, filterOutValidation?: boolean): IModelDecoration[]
- 参数: range , ownerId , filterOutValidation
- 返回值: IModelDecoration[]
- 描述: 获取指定范围内的装饰。可以通过 ownerId 和 filterOutValidation 参数来过滤装饰。 其中, range 参数是一个 IRange 类型的对象,用于指定要获取装饰的范围。 ownerId 参数是一个可选的数字,用于指定装饰的所有者。如果提供了 ownerId ,则只返回属于该所有者的装饰。 filterOutValidation 参数是一个可选的布尔值,用于指定是否过滤掉验证装饰。如果将其设置为 true ,则不会返回验证装饰。
示例代码: const range = new monaco.Range(1, 1, 2, 1); const decorations = model.getDecorationsInRange(range); console.log(decorations);
getEOL
- 语法: getEOL(): string
- 参数: 无
- 返回值: string
- 描述: 获取当前模型的行结束符。行结束符是用于分隔文本中各行的字符,通常为 \\n (UNIX风格)或 \\r\\n (Windows风格)。
getEndOfLineSequence
- 语法: getEndOfLineSequence(): string
- 参数: 无
- 返回值: string
- 描述: 获取当前模型的行结束符序列。
getFullModelRange
- 语法: getFullModelRange(): IRange
- 参数: 无
- 返回值: IRange
- 描述: 获取模型的完整范围,即从第一行的第一个字符到最后一行的最后一个字符的范围。
getInjectedTextDecorations
- 语法: getInjectedTextDecorations(lineNumber: number): IModelDecoration[]
- 参数: lineNumber
- 返回值: IModelDecoration[]
- 描述: 获取指定行的注入文本装饰。 lineNumber 参数是一个数字,表示要获取注入文本装饰的行号。
getLanguageId
- 语法: getLanguageId(): string
- 参数: 无
- 返回值: string
- 描述: 获取模型的语言ID。
getLineContent
- 语法: getLineContent(lineNumber: number): string
- 参数: lineNumber
- 返回值: string
- 描述: 获取指定行的内容。 lineNumber 参数是一个数字,表示要获取内容的行号。
getLineCount
- 语法: getLineCount(): number
- 参数: 无
- 返回值: number
- 描述: 获取模型的行数。
getLineDecorations
- 语法: getLineDecorations(lineNumber: number): IModelDecoration[]
- 参数: lineNumber
- 返回值: IModelDecoration[]
- 描述: 获取指定行的装饰。 lineNumber 参数是一个数字,表示要获取装饰的行号。
getLineFirstNonWhitespaceColumn
- 语法: getLineFirstNonWhitespaceColumn(lineNumber: number): number
- 参数: lineNumber
- 返回值: number
- 描述: 获取指定行的第一个非空白字符的列号。 lineNumber 参数是一个数字,表示要获取列号的行号。
getLineLastNonWhitespaceColumn
- 语法: getLineLastNonWhitespaceColumn(lineNumber: number): number
- 参数: lineNumber
- 返回值: number
- 描述: 获取指定行的最后一个非空白字符的列号。 lineNumber 参数是一个数字,表示要获取列号的行号。
getLineLength
- 语法: getLineLength(lineNumber: number): number
- 参数: lineNumber
- 返回值: number
- 描述: 获取指定行的长度。 lineNumber 参数是一个数字,表示要获取长度的行号。
getLineMaxColumn
- 语法: getLineMaxColumn(lineNumber: number): number
- 参数: lineNumber
- 返回值: number
- 描述: 获取指定行的最大列号。 lineNumber 参数是一个数字,表示要获取列号的行号。
getLineMinColumn
- 语法: getLineMinColumn(lineNumber: number): number
- 参数: lineNumber
- 返回值: number
- 描述: 获取指定行的最小列号。 lineNumber 参数是一个数字,表示要获取列号的行号。
getLinesContent
- 语法: getLinesContent(): string[]
- 参数: 无
- 返回值: string[]
- 描述: 获取模型的所有行的内容。
getLinesDecorations
- 语法: getLinesDecorations(startLineNumber: number, endLineNumber: number): IModelDecoration[]
- 参数: startLineNumber , endLineNumber
- 返回值: IModelDecoration[]
- 描述: 获取指定行范围内的装饰。 startLineNumber 和 endLineNumber 参数分别表示要获取装饰的起始行号和结束行号。
getOffsetAt
- 语法: getOffsetAt(position: IPosition): number
- 参数: position
- 返回值: number
- 描述: 用于获取给定位置的偏移量。 position 参数是一个 IPosition 类型,表示要获取偏移量的位置。
getOptions
- 语法: getOptions(): ITextModelResolvedOptions
- 参数: 无
- 返回值: ITextModelResolvedOptions
- 描述: 用于获取模型的选项。
getOverviewRulerDecorations
- 语法: getOverviewRulerDecorations(ownerId: number, filterOutValidation: boolean): IModelDecoration[]
- 参数: ownerId , filterOutValidation
- 返回值: IModelDecoration[]
- 描述: 用于获取概览标尺装饰。 ownerId 参数是一个 number 类型,表示装饰的所有者ID。 filterOutValidation 参数是一个 boolean 类型,表示是否过滤掉验证装饰。
getPositionAt
- 语法: getPositionAt(offset: number): IPosition
- 参数: offset
- 返回值: IPosition
- 描述: 用于获取给定偏移量的位置。 offset 参数是一个 number 类型,表示要获取位置的偏移量。
getValue
- 语法: getValue(options?: { preserveBOM: boolean; eol: string }): string
- 参数: options
- 返回值: string
- 描述: 用于获取模型的值。 options 参数是一个对象,包含两个可选属性: preserveBOM 和 eol 。
getValueInRange
- 语法: getValueInRange(range: IRange, eol?: string): string
- 参数: range , eol
- 返回值: string
- 描述: 用于获取指定范围内的值。 range 参数是一个 IRange 类型,表示要获取值的范围。 eol 参数是一个可选的 string 类型,表示行结束符。
getValueLength
- 语法: getValueLength(options?: { preserveBOM: boolean; eol: string }): number
- 参数: options
- 返回值: number
- 描述: 用于获取模型值的长度。 options 参数是一个对象,包含两个可选属性: preserveBOM 和 eol 。
getValueLengthInRange
- 语法: getValueLengthInRange(range: IRange, eol?: string): number
- 参数: range , eol
- 返回值: number
- 描述: 用于获取指定范围内的值的长度。 range 参数是一个 IRange 类型,表示要获取值长度的范围。 eol 参数是一个可选的 string 类型,表示行结束符。
getVersionId
- 语法: getVersionId(): number
- 参数: 无
- 返回值: number
- 描述: 用于获取模型的版本ID。
getWordAtPosition
- 语法: getWordAtPosition(position: IPosition): IWordAtPosition
- 参数: position
- 返回值: IWordAtPosition
- 描述: 用于获取给定位置的单词。该方法接受一个位置对象作为参数,并返回一个 IWordAtPosition 对象,其中包含单词的名称、起始列和结束列。如果给定位置不包含单词,则返回 null 。
其中, position 参数是一个 IPosition 类型的对象,用来描述位置。它包含以下属性:
- lineNumber: number 类型,表示行号。
- column: number 类型,表示列号。
以下是一个示例代码,演示如何使用 getWordAtPosition 方法获取给定位置的单词:
const editor = monaco.editor.create(document.getElementById("container"), {
+ value: "function helloWorld() {\\n console.log('Hello, world!');\\n}",
+ language: "javascript"
+});
+const position = { lineNumber: 1, column: 9 }; // 获取第一行第九列的单词
+const word = editor.getModel().getWordAtPosition(position);
+console.log(word); // 输出:{ word: 'helloWorld', startColumn: 9, endColumn: 19 }
+
在上面的例子中,我们创建了一个 monaco-editor 实例,并在其中输入了一段 JavaScript 代码。然后,我们使用 getWordAtPosition 方法获取第一行第九列的单词,并将结果输出到控制台。
getWordAtPosition 方法返回一个对象,其中包含单词的名称、起始列和结束列。如果给定位置不包含单词,则返回 null 。
getWordUntilPosition
- 语法: getWordUntilPosition(position: IPosition): IWordAtPosition
- 参数: position
- 返回值: IWordAtPosition
- 描述: 用于获取给定位置之前的单词。该方法接受一个位置对象作为参数,并返回一个 IWordAtPosition 对象,其中包含单词的名称、起始列和结束列。如果给定位置之前没有单词,则返回 null 。
isAttachedToEditor
- 语法: isAttachedToEditor(): boolean
- 参数: 无
- 返回值: boolean
- 描述: 用于检查模型是否附加到编辑器。如果模型已附加到编辑器,则返回 true ,否则返回 false 。
isDisposed
- 语法: isDisposed(): boolean
- 参数: 无
- 返回值: boolean
- 描述: 用于检查模型是否已被销毁。如果模型已被销毁,则返回 true ,否则返回 false 。
modifyPosition
- 语法: modifyPosition(position: IPosition, offset: number): IPosition
- 参数: position , offset
- 返回值: IPosition
- 描述: 用于修改给定位置的列。该方法接受一个位置对象和一个偏移量作为参数,并返回一个新的位置对象,其中列已根据偏移量进行了修改。
normalizeIndentation
- 语法: normalizeIndentation(str: string): string
- 参数: str
- 返回值: string
- 描述: 用于将字符串中的制表符和空格转换为适当的缩进。该方法接受一个字符串作为参数,并返回一个新的字符串,其中制表符和空格已被转换为适当的缩进。
onDidChangeContent
- 语法: onDidChangeContent(listener: (e: IModelContentChangedEvent) => void): IDisposable
- 参数: listener
- 返回值: IDisposable
- 描述: 用于在模型内容发生更改时触发一个事件。该方法接受一个事件监听器作为参数,并返回一个 IDisposable 对象,用于取消事件监听。
popStackElement
- 语法: popStackElement(): void
- 参数: 无
- 返回值: 无
- 描述: 用于从撤销/重做堆栈中弹出一个元素。
pushEOL
- 语法: pushEOL(eol: EndOfLineSequence): void
- 参数: eol
- 返回值: 无
- 描述: 用于将一个换行符推送到模型的末尾。该方法接受一个 EndOfLineSequence 枚举值作为参数。
pushEditOperations
- 语法: pushEditOperations(beforeCursorState: Selection[], editOperations: IIdentifiedSingleEditOperation[], cursorStateComputer: ICursorStateComputer): Selection[]
- 参数: beforeCursorState , editOperations , cursorStateComputer
- 返回值: Selection[]
- 描述: 用于将一组编辑操作推送到模型。该方法接受三个参数:一个选择对象数组,一个编辑操作数组,以及一个计算光标状态的函数。方法返回一个新的选择对象数组,表示在编辑操作应用后的光标状态。
pushStackElement
- 语法: pushStackElement(): void
- 参数: 无
- 返回值: 无
- 描述: 用于将一个元素推送到撤销/重做堆栈中。
setEOL
- 语法: setEOL(eol: EndOfLineSequence): void
- 参数: eol
- 返回值: 无
- 描述: 用于设置模型的换行符。该方法接受一个 EndOfLineSequence 枚举值作为参数。
setValue
- 语法: setValue(newValue: string): void
- 参数: newValue
- 返回值: 无
- 描述: 用于设置模型的内容。该方法接受一个字符串作为参数,表示新的模型内容。
updateOptions
- 语法: updateOptions(newOpts: ITextModelUpdateOptions): void
- 参数: newOpts
- 返回值: 无
- 描述: 用于更新模型的选项。该方法接受一个 ITextModelUpdateOptions 对象作为参数,其中包含要更新的选项。
validatePosition
- 语法: validatePosition(position: IPosition): IPosition
- 参数: position
- 返回值: IPosition
- 描述: 用于验证给定位置是否有效。如果位置无效,则返回一个修正后的有效位置。
validateRange
- 语法: validateRange(range: IRange): IRange
- 参数: range
- 返回值: IRange
- 描述: 用于验证给定范围是否有效。如果范围无效,则返回一个修正后的有效范围。
`,147);function u(C,h){const a=e("ExternalLinkIcon");return o(),i("div",null,[c,s("p",null,[D,n(),s("a",d,[n("官网地址"),t(a)])]),y])}const v=l(r,[["render",u],["__file","ITextModel.html.vue"]]);export{v as default};
diff --git a/assets/ITextModel.html-fb618571.js b/assets/ITextModel.html-fb618571.js
new file mode 100644
index 00000000..8fea9888
--- /dev/null
+++ b/assets/ITextModel.html-fb618571.js
@@ -0,0 +1 @@
+const e=JSON.parse('{"key":"v-789e754c","path":"/editor/interfaces/ITextModel.html","title":"ITextModel","lang":"zh-CN","frontmatter":{"description":"interface 官网地址 (https://microsoft.github.io/monaco-editor/docs.html#interfaces/editor.ITextModel.html) 属性 Properties applyEdits 语法 applyEdits(operations: IIdentifiedSingleEditOp...","head":[["meta",{"property":"og:url","content":"http://aydk.site/editor/interfaces/ITextModel.html"}],["meta",{"property":"og:site_name","content":"Monaco-editor 学习文档"}],["meta",{"property":"og:title","content":"ITextModel"}],["meta",{"property":"og:description","content":"interface 官网地址 (https://microsoft.github.io/monaco-editor/docs.html#interfaces/editor.ITextModel.html) 属性 Properties applyEdits 语法 applyEdits(operations: IIdentifiedSingleEditOp..."}],["meta",{"property":"og:type","content":"article"}],["meta",{"property":"og:locale","content":"zh-CN"}],["meta",{"property":"og:updated_time","content":"2023-12-15T05:37:04.000Z"}],["meta",{"property":"article:author","content":"aydk"}],["meta",{"property":"article:modified_time","content":"2023-12-15T05:37:04.000Z"}],["script",{"type":"application/ld+json"},"{\\"@context\\":\\"https://schema.org\\",\\"@type\\":\\"Article\\",\\"headline\\":\\"ITextModel\\",\\"image\\":[\\"\\"],\\"dateModified\\":\\"2023-12-15T05:37:04.000Z\\",\\"author\\":[{\\"@type\\":\\"Person\\",\\"name\\":\\"aydk\\"}]}"]]},"headers":[{"level":2,"title":"属性 Properties","slug":"属性-properties","link":"#属性-properties","children":[]},{"level":2,"title":"applyEdits","slug":"applyedits","link":"#applyedits","children":[]},{"level":2,"title":"createSnapshot","slug":"createsnapshot","link":"#createsnapshot","children":[]},{"level":2,"title":"deltaDecorations","slug":"deltadecorations","link":"#deltadecorations","children":[]},{"level":2,"title":"dispose","slug":"dispose","link":"#dispose","children":[]},{"level":2,"title":"findMatches","slug":"findmatches","link":"#findmatches","children":[]},{"level":2,"title":"findNextMatch","slug":"findnextmatch","link":"#findnextmatch","children":[]},{"level":2,"title":"findPreviousMatch","slug":"findpreviousmatch","link":"#findpreviousmatch","children":[]},{"level":2,"title":"getAllDecorations","slug":"getalldecorations","link":"#getalldecorations","children":[]},{"level":2,"title":"getAlternativeVersionId","slug":"getalternativeversionid","link":"#getalternativeversionid","children":[]},{"level":2,"title":"getCharacterCountInRange","slug":"getcharactercountinrange","link":"#getcharactercountinrange","children":[]},{"level":2,"title":"getDecorationOptions","slug":"getdecorationoptions","link":"#getdecorationoptions","children":[]},{"level":2,"title":"getDecorationRange","slug":"getdecorationrange","link":"#getdecorationrange","children":[]},{"level":2,"title":"getDecorationsInRange","slug":"getdecorationsinrange","link":"#getdecorationsinrange","children":[]},{"level":2,"title":"getEOL","slug":"geteol","link":"#geteol","children":[]},{"level":2,"title":"getEndOfLineSequence","slug":"getendoflinesequence","link":"#getendoflinesequence","children":[]},{"level":2,"title":"getFullModelRange","slug":"getfullmodelrange","link":"#getfullmodelrange","children":[]},{"level":2,"title":"getInjectedTextDecorations","slug":"getinjectedtextdecorations","link":"#getinjectedtextdecorations","children":[]},{"level":2,"title":"getLanguageId","slug":"getlanguageid","link":"#getlanguageid","children":[]},{"level":2,"title":"getLineContent","slug":"getlinecontent","link":"#getlinecontent","children":[]},{"level":2,"title":"getLineCount","slug":"getlinecount","link":"#getlinecount","children":[]},{"level":2,"title":"getLineDecorations","slug":"getlinedecorations","link":"#getlinedecorations","children":[]},{"level":2,"title":"getLineFirstNonWhitespaceColumn","slug":"getlinefirstnonwhitespacecolumn","link":"#getlinefirstnonwhitespacecolumn","children":[]},{"level":2,"title":"getLineLastNonWhitespaceColumn","slug":"getlinelastnonwhitespacecolumn","link":"#getlinelastnonwhitespacecolumn","children":[]},{"level":2,"title":"getLineLength","slug":"getlinelength","link":"#getlinelength","children":[]},{"level":2,"title":"getLineMaxColumn","slug":"getlinemaxcolumn","link":"#getlinemaxcolumn","children":[]},{"level":2,"title":"getLineMinColumn","slug":"getlinemincolumn","link":"#getlinemincolumn","children":[]},{"level":2,"title":"getLinesContent","slug":"getlinescontent","link":"#getlinescontent","children":[]},{"level":2,"title":"getLinesDecorations","slug":"getlinesdecorations","link":"#getlinesdecorations","children":[]},{"level":2,"title":"getOffsetAt","slug":"getoffsetat","link":"#getoffsetat","children":[]},{"level":2,"title":"getOptions","slug":"getoptions","link":"#getoptions","children":[]},{"level":2,"title":"getOverviewRulerDecorations","slug":"getoverviewrulerdecorations","link":"#getoverviewrulerdecorations","children":[]},{"level":2,"title":"getPositionAt","slug":"getpositionat","link":"#getpositionat","children":[]},{"level":2,"title":"getValue","slug":"getvalue","link":"#getvalue","children":[]},{"level":2,"title":"getValueInRange","slug":"getvalueinrange","link":"#getvalueinrange","children":[]},{"level":2,"title":"getValueLength","slug":"getvaluelength","link":"#getvaluelength","children":[]},{"level":2,"title":"getValueLengthInRange","slug":"getvaluelengthinrange","link":"#getvaluelengthinrange","children":[]},{"level":2,"title":"getVersionId","slug":"getversionid","link":"#getversionid","children":[]},{"level":2,"title":"getWordAtPosition","slug":"getwordatposition","link":"#getwordatposition","children":[]},{"level":2,"title":"getWordUntilPosition","slug":"getworduntilposition","link":"#getworduntilposition","children":[]},{"level":2,"title":"isAttachedToEditor","slug":"isattachedtoeditor","link":"#isattachedtoeditor","children":[]},{"level":2,"title":"isDisposed","slug":"isdisposed","link":"#isdisposed","children":[]},{"level":2,"title":"modifyPosition","slug":"modifyposition","link":"#modifyposition","children":[]},{"level":2,"title":"normalizeIndentation","slug":"normalizeindentation","link":"#normalizeindentation","children":[]},{"level":2,"title":"onDidChangeContent","slug":"ondidchangecontent","link":"#ondidchangecontent","children":[]},{"level":2,"title":"popStackElement","slug":"popstackelement","link":"#popstackelement","children":[]},{"level":2,"title":"pushEOL","slug":"pusheol","link":"#pusheol","children":[]},{"level":2,"title":"pushEditOperations","slug":"pusheditoperations","link":"#pusheditoperations","children":[]},{"level":2,"title":"pushStackElement","slug":"pushstackelement","link":"#pushstackelement","children":[]},{"level":2,"title":"setEOL","slug":"seteol","link":"#seteol","children":[]},{"level":2,"title":"setValue","slug":"setvalue","link":"#setvalue","children":[]},{"level":2,"title":"updateOptions","slug":"updateoptions","link":"#updateoptions","children":[]},{"level":2,"title":"validatePosition","slug":"validateposition","link":"#validateposition","children":[]},{"level":2,"title":"validateRange","slug":"validaterange","link":"#validaterange","children":[]}],"git":{"createdTime":1686945885000,"updatedTime":1702618624000,"contributors":[{"name":"xiaochaochao","email":"xiaochaochao","commits":2}]},"readingTime":{"minutes":18.53,"words":5558},"filePathRelative":"editor/interfaces/ITextModel.md","localizedDate":"2023年6月16日","autoDesc":true}');export{e as data};
diff --git a/assets/ITextModelUpdateOptions.html-127555b1.js b/assets/ITextModelUpdateOptions.html-127555b1.js
new file mode 100644
index 00000000..db76d465
--- /dev/null
+++ b/assets/ITextModelUpdateOptions.html-127555b1.js
@@ -0,0 +1 @@
+const e=JSON.parse('{"key":"v-9e1db4ba","path":"/editor/interfaces/ITextModelUpdateOptions.html","title":"ITextModelUpdateOptions","lang":"zh-CN","frontmatter":{"description":"interface 官网地址 (https://microsoft.github.io/monaco-editor/docs.html#interfaces/editor.ITextModelUpdateOptions.html) 用于描述更新文本模型时的选项 属性 Properties tabSize 类型: number `可选 ; 描述:指定制表...","head":[["meta",{"property":"og:url","content":"http://aydk.site/editor/interfaces/ITextModelUpdateOptions.html"}],["meta",{"property":"og:site_name","content":"Monaco-editor 学习文档"}],["meta",{"property":"og:title","content":"ITextModelUpdateOptions"}],["meta",{"property":"og:description","content":"interface 官网地址 (https://microsoft.github.io/monaco-editor/docs.html#interfaces/editor.ITextModelUpdateOptions.html) 用于描述更新文本模型时的选项 属性 Properties tabSize 类型: number `可选 ; 描述:指定制表..."}],["meta",{"property":"og:type","content":"article"}],["meta",{"property":"og:locale","content":"zh-CN"}],["meta",{"property":"og:updated_time","content":"2023-06-16T20:04:45.000Z"}],["meta",{"property":"article:author","content":"aydk"}],["meta",{"property":"article:modified_time","content":"2023-06-16T20:04:45.000Z"}],["script",{"type":"application/ld+json"},"{\\"@context\\":\\"https://schema.org\\",\\"@type\\":\\"Article\\",\\"headline\\":\\"ITextModelUpdateOptions\\",\\"image\\":[\\"\\"],\\"dateModified\\":\\"2023-06-16T20:04:45.000Z\\",\\"author\\":[{\\"@type\\":\\"Person\\",\\"name\\":\\"aydk\\"}]}"]]},"headers":[{"level":2,"title":"属性 Properties","slug":"属性-properties","link":"#属性-properties","children":[{"level":3,"title":"tabSize","slug":"tabsize","link":"#tabsize","children":[]},{"level":3,"title":"insertSpaces","slug":"insertspaces","link":"#insertspaces","children":[]},{"level":3,"title":"trimAutoWhitespace","slug":"trimautowhitespace","link":"#trimautowhitespace","children":[]},{"level":3,"title":"bracketColorizationOptions?","slug":"bracketcolorizationoptions","link":"#bracketcolorizationoptions","children":[]},{"level":3,"title":"indentSize?","slug":"indentsize","link":"#indentsize","children":[]}]}],"git":{"createdTime":1686945885000,"updatedTime":1686945885000,"contributors":[{"name":"xiaochaochao","email":"xiaochaochao","commits":1}]},"readingTime":{"minutes":0.59,"words":176},"filePathRelative":"editor/interfaces/ITextModelUpdateOptions.md","localizedDate":"2023年6月16日","autoDesc":true}');export{e as data};
diff --git a/assets/ITextModelUpdateOptions.html-57d8ed84.js b/assets/ITextModelUpdateOptions.html-57d8ed84.js
new file mode 100644
index 00000000..0443bab8
--- /dev/null
+++ b/assets/ITextModelUpdateOptions.html-57d8ed84.js
@@ -0,0 +1 @@
+import{_ as r}from"./plugin-vue_export-helper-c27b6911.js";import{r as o,o as c,c as l,a as e,b as t,d as i,w as s,e as a}from"./app-5f5ef0a9.js";const h={},u=e("h1",{id:"itextmodelupdateoptions",tabindex:"-1"},[e("a",{class:"header-anchor",href:"#itextmodelupdateoptions","aria-hidden":"true"},"#"),t(" ITextModelUpdateOptions")],-1),p=e("code",null,"interface",-1),_={href:"https://microsoft.github.io/monaco-editor/docs.html#interfaces/editor.ITextModelUpdateOptions.html",target:"_blank",rel:"noopener noreferrer"},m=a(' 属性 Properties
tabSize
- 类型:
number
可选
- 描述:指定制表符的大小。
insertSpaces
- 类型:
boolean
可选
- 描述:如果为 true,则使用空格而不是制表符进行缩进。
trimAutoWhitespace
- 类型:
boolean
可选
- 描述:如果为 true,则自动删除空格。 使用 ITextModelUpdateOptions 接口,可以在更新文本模型时指定选项,例如指定制表符的大小、使用空格而不是制表符进行缩进以及自动删除空格。
bracketColorizationOptions?
',8),f=e("code",null,"可选",-1),b=e("li",null,[t("默认值: "),e("code",null,"-")],-1),x=e("li",null,[t("可选项: "),e("code",null,"-")],-1),k=e("li",null,"描述: ``",-1),z=a(' indentSize?
- 类型:
number | "tabSize"
可选
- 默认值:
-
- 可选项:
-
- 描述:
缩进值的大小
',2);function O(I,T){const n=o("ExternalLinkIcon"),d=o("RouterLink");return c(),l("div",null,[u,e("p",null,[p,t(),e("a",_,[t("官网地址"),i(n)]),t(" 用于描述更新文本模型时的选项")]),m,e("ul",null,[e("li",null,[t("类型: "),i(d,{to:"/editor/interfaces/BracketPairColorizationOptions.html"},{default:s(()=>[t("BracketPairColorizationOptions")]),_:1}),t(),f]),b,x,k]),z])}const M=r(h,[["render",O],["__file","ITextModelUpdateOptions.html.vue"]]);export{M as default};
diff --git a/assets/ITextSnapshot.html-6a9db5e7.js b/assets/ITextSnapshot.html-6a9db5e7.js
new file mode 100644
index 00000000..d2173973
--- /dev/null
+++ b/assets/ITextSnapshot.html-6a9db5e7.js
@@ -0,0 +1 @@
+import{_ as o}from"./plugin-vue_export-helper-c27b6911.js";import{r,o as n,c as s,a as e,b as t,d,e as i}from"./app-5f5ef0a9.js";const c={},h=e("h1",{id:"itextsnapshot",tabindex:"-1"},[e("a",{class:"header-anchor",href:"#itextsnapshot","aria-hidden":"true"},"#"),t(" ITextSnapshot")],-1),l=e("code",null,"interface",-1),_={href:"https://microsoft.github.io/monaco-editor/docs.html#interfaces/editor.ITextSnapshot.html",target:"_blank",rel:"noopener noreferrer"},p=i('像迭代器一样工作的文本快照。将尝试返回大约 ~64KB 大小的块。完成后将返回 null。
方法 Methods
read
- 语法:
read(): string
- 参数: ``
- 返回值:
-
- 描述: ``
',4);function f(m,x){const a=r("ExternalLinkIcon");return n(),s("div",null,[h,e("p",null,[l,t(),e("a",_,[t("官网地址"),d(a)])]),p])}const I=o(c,[["render",f],["__file","ITextSnapshot.html.vue"]]);export{I as default};
diff --git a/assets/ITextSnapshot.html-a16b11b7.js b/assets/ITextSnapshot.html-a16b11b7.js
new file mode 100644
index 00000000..594a7088
--- /dev/null
+++ b/assets/ITextSnapshot.html-a16b11b7.js
@@ -0,0 +1 @@
+const t=JSON.parse('{"key":"v-0d97434b","path":"/editor/interfaces/ITextSnapshot.html","title":"ITextSnapshot","lang":"zh-CN","frontmatter":{"description":"interface 官网地址 (https://microsoft.github.io/monaco-editor/docs.html#interfaces/editor.ITextSnapshot.html) 像迭代器一样工作的文本快照。将尝试返回大约 ~64KB 大小的块。完成后将返回 null。 方法 Methods read 语法: read(...","head":[["meta",{"property":"og:url","content":"http://aydk.site/editor/interfaces/ITextSnapshot.html"}],["meta",{"property":"og:site_name","content":"Monaco-editor 学习文档"}],["meta",{"property":"og:title","content":"ITextSnapshot"}],["meta",{"property":"og:description","content":"interface 官网地址 (https://microsoft.github.io/monaco-editor/docs.html#interfaces/editor.ITextSnapshot.html) 像迭代器一样工作的文本快照。将尝试返回大约 ~64KB 大小的块。完成后将返回 null。 方法 Methods read 语法: read(..."}],["meta",{"property":"og:type","content":"article"}],["meta",{"property":"og:locale","content":"zh-CN"}],["meta",{"property":"og:updated_time","content":"2023-06-16T20:04:45.000Z"}],["meta",{"property":"article:author","content":"aydk"}],["meta",{"property":"article:modified_time","content":"2023-06-16T20:04:45.000Z"}],["script",{"type":"application/ld+json"},"{\\"@context\\":\\"https://schema.org\\",\\"@type\\":\\"Article\\",\\"headline\\":\\"ITextSnapshot\\",\\"image\\":[\\"\\"],\\"dateModified\\":\\"2023-06-16T20:04:45.000Z\\",\\"author\\":[{\\"@type\\":\\"Person\\",\\"name\\":\\"aydk\\"}]}"]]},"headers":[{"level":2,"title":"方法 Methods","slug":"方法-methods","link":"#方法-methods","children":[{"level":3,"title":"read","slug":"read","link":"#read","children":[]}]}],"git":{"createdTime":1686945885000,"updatedTime":1686945885000,"contributors":[{"name":"xiaochaochao","email":"xiaochaochao","commits":1}]},"readingTime":{"minutes":0.19,"words":57},"filePathRelative":"editor/interfaces/ITextSnapshot.md","localizedDate":"2023年6月16日","autoDesc":true}');export{t as data};
diff --git a/assets/IToken.html-a60e8545.js b/assets/IToken.html-a60e8545.js
new file mode 100644
index 00000000..553bb7f6
--- /dev/null
+++ b/assets/IToken.html-a60e8545.js
@@ -0,0 +1 @@
+const e=JSON.parse('{"key":"v-86846c1c","path":"/language/interfaces/IToken.html","title":"IToken","lang":"zh-CN","frontmatter":{"description":"interface 官网地址 (https://microsoft.github.io/monaco-editor/docs.html#interfaces/languages.IToken.html) 属性 Properties 方法 Methods","head":[["meta",{"property":"og:url","content":"http://aydk.site/language/interfaces/IToken.html"}],["meta",{"property":"og:site_name","content":"Monaco-editor 学习文档"}],["meta",{"property":"og:title","content":"IToken"}],["meta",{"property":"og:description","content":"interface 官网地址 (https://microsoft.github.io/monaco-editor/docs.html#interfaces/languages.IToken.html) 属性 Properties 方法 Methods"}],["meta",{"property":"og:type","content":"article"}],["meta",{"property":"og:locale","content":"zh-CN"}],["meta",{"property":"og:updated_time","content":"2023-06-16T19:55:24.000Z"}],["meta",{"property":"article:author","content":"aydk"}],["meta",{"property":"article:modified_time","content":"2023-06-16T19:55:24.000Z"}],["script",{"type":"application/ld+json"},"{\\"@context\\":\\"https://schema.org\\",\\"@type\\":\\"Article\\",\\"headline\\":\\"IToken\\",\\"image\\":[\\"\\"],\\"dateModified\\":\\"2023-06-16T19:55:24.000Z\\",\\"author\\":[{\\"@type\\":\\"Person\\",\\"name\\":\\"aydk\\"}]}"]]},"headers":[{"level":2,"title":"属性 Properties","slug":"属性-properties","link":"#属性-properties","children":[]},{"level":2,"title":"方法 Methods","slug":"方法-methods","link":"#方法-methods","children":[]}],"git":{"createdTime":1686945324000,"updatedTime":1686945324000,"contributors":[{"name":"xiaochaochao","email":"xiaochaochao","commits":1}]},"readingTime":{"minutes":0.05,"words":16},"filePathRelative":"language/interfaces/IToken.md","localizedDate":"2023年6月16日","autoDesc":true}');export{e as data};
diff --git a/assets/IToken.html-ab543a73.js b/assets/IToken.html-ab543a73.js
new file mode 100644
index 00000000..82b949fd
--- /dev/null
+++ b/assets/IToken.html-ab543a73.js
@@ -0,0 +1 @@
+import{_ as r}from"./plugin-vue_export-helper-c27b6911.js";import{r as n,o as a,c as s,a as e,b as o,d as c}from"./app-5f5ef0a9.js";const i={},d=e("h1",{id:"itoken",tabindex:"-1"},[e("a",{class:"header-anchor",href:"#itoken","aria-hidden":"true"},"#"),o(" IToken")],-1),h=e("code",null,"interface",-1),_={href:"https://microsoft.github.io/monaco-editor/docs.html#interfaces/languages.IToken.html",target:"_blank",rel:"noopener noreferrer"},l=e("h2",{id:"属性-properties",tabindex:"-1"},[e("a",{class:"header-anchor",href:"#属性-properties","aria-hidden":"true"},"#"),o(" 属性 Properties")],-1),f=e("h2",{id:"方法-methods",tabindex:"-1"},[e("a",{class:"header-anchor",href:"#方法-methods","aria-hidden":"true"},"#"),o(" 方法 Methods")],-1);function m(p,u){const t=n("ExternalLinkIcon");return a(),s("div",null,[d,e("p",null,[h,o(),e("a",_,[o("官网地址"),c(t)])]),l,f])}const b=r(i,[["render",m],["__file","IToken.html.vue"]]);export{b as default};
diff --git a/assets/ITokenThemeRule.html-5d30a78a.js b/assets/ITokenThemeRule.html-5d30a78a.js
new file mode 100644
index 00000000..95015048
--- /dev/null
+++ b/assets/ITokenThemeRule.html-5d30a78a.js
@@ -0,0 +1 @@
+const e=JSON.parse('{"key":"v-259a5710","path":"/editor/interfaces/ITokenThemeRule.html","title":"ITokenThemeRule","lang":"zh-CN","frontmatter":{"description":"interface 官网地址 (https://microsoft.github.io/monaco-editor/docs.html#interfaces/editor.ITokenThemeRule.html) 属性 Properties background? 类型: string 可选; 默认值: -; 可选项: -; 描述: 背景; font...","head":[["meta",{"property":"og:url","content":"http://aydk.site/editor/interfaces/ITokenThemeRule.html"}],["meta",{"property":"og:site_name","content":"Monaco-editor 学习文档"}],["meta",{"property":"og:title","content":"ITokenThemeRule"}],["meta",{"property":"og:description","content":"interface 官网地址 (https://microsoft.github.io/monaco-editor/docs.html#interfaces/editor.ITokenThemeRule.html) 属性 Properties background? 类型: string 可选; 默认值: -; 可选项: -; 描述: 背景; font..."}],["meta",{"property":"og:type","content":"article"}],["meta",{"property":"og:locale","content":"zh-CN"}],["meta",{"property":"og:updated_time","content":"2023-06-16T20:04:45.000Z"}],["meta",{"property":"article:author","content":"aydk"}],["meta",{"property":"article:modified_time","content":"2023-06-16T20:04:45.000Z"}],["script",{"type":"application/ld+json"},"{\\"@context\\":\\"https://schema.org\\",\\"@type\\":\\"Article\\",\\"headline\\":\\"ITokenThemeRule\\",\\"image\\":[\\"\\"],\\"dateModified\\":\\"2023-06-16T20:04:45.000Z\\",\\"author\\":[{\\"@type\\":\\"Person\\",\\"name\\":\\"aydk\\"}]}"]]},"headers":[{"level":2,"title":"属性 Properties","slug":"属性-properties","link":"#属性-properties","children":[{"level":3,"title":"background?","slug":"background","link":"#background","children":[]},{"level":3,"title":"fontStyle?","slug":"fontstyle","link":"#fontstyle","children":[]},{"level":3,"title":"foreground?","slug":"foreground","link":"#foreground","children":[]},{"level":3,"title":"token","slug":"token","link":"#token","children":[]}]}],"git":{"createdTime":1686945885000,"updatedTime":1686945885000,"contributors":[{"name":"xiaochaochao","email":"xiaochaochao","commits":1}]},"readingTime":{"minutes":0.25,"words":75},"filePathRelative":"editor/interfaces/ITokenThemeRule.md","localizedDate":"2023年6月16日","autoDesc":true}');export{e as data};
diff --git a/assets/ITokenThemeRule.html-d75b4ed5.js b/assets/ITokenThemeRule.html-d75b4ed5.js
new file mode 100644
index 00000000..de14a9c4
--- /dev/null
+++ b/assets/ITokenThemeRule.html-d75b4ed5.js
@@ -0,0 +1 @@
+import{_ as i}from"./plugin-vue_export-helper-c27b6911.js";import{r,o as c,c as a,a as e,b as o,d as t,e as l}from"./app-5f5ef0a9.js";const n={},h=e("h1",{id:"itokenthemerule",tabindex:"-1"},[e("a",{class:"header-anchor",href:"#itokenthemerule","aria-hidden":"true"},"#"),o(" ITokenThemeRule")],-1),s=e("code",null,"interface",-1),u={href:"https://microsoft.github.io/monaco-editor/docs.html#interfaces/editor.ITokenThemeRule.html",target:"_blank",rel:"noopener noreferrer"},f=l(' 属性 Properties
background?
- 类型:
string
可选
- 默认值:
-
- 可选项:
-
- 描述:
背景
fontStyle?
- 类型:
string
可选
- 默认值:
-
- 可选项:
字体
- 描述: ``
foreground?
- 类型:
string
可选
- 默认值:
-
- 可选项:
-
- 描述:
前景
token
- 类型:
string
可选
- 默认值:
-
- 可选项:
-
- 描述: ``
',9);function _(m,k){const d=r("ExternalLinkIcon");return c(),a("div",null,[h,e("p",null,[s,o(),e("a",u,[o("官网地址"),t(d)])]),f])}const g=i(n,[["render",_],["__file","ITokenThemeRule.html.vue"]]);export{g as default};
diff --git a/assets/IUnicodeHighlightOptions.html-4a08478d.js b/assets/IUnicodeHighlightOptions.html-4a08478d.js
new file mode 100644
index 00000000..f7dbb890
--- /dev/null
+++ b/assets/IUnicodeHighlightOptions.html-4a08478d.js
@@ -0,0 +1 @@
+import{_ as c}from"./plugin-vue_export-helper-c27b6911.js";import{r as d,o as a,c as l,a as e,b as o,d as r,e as t}from"./app-5f5ef0a9.js";const n={},s=e("h1",{id:"iunicodehighlightoptions",tabindex:"-1"},[e("a",{class:"header-anchor",href:"#iunicodehighlightoptions","aria-hidden":"true"},"#"),o(" IUnicodeHighlightOptions")],-1),h=e("code",null,"interface",-1),u={href:"https://microsoft.github.io/monaco-editor/docs.html#interfaces/editor.IUnicodeHighlightOptions.html",target:"_blank",rel:"noopener noreferrer"},b=t(' 属性 Properties
allowedCharacters?
- 类型:
Record<string, true>
可选
- 默认值:
-
- 可选项:
-
- 描述:
定义未突出显示的允许字符
allowedLocales?
- 类型:
Record<string, true>
可选
- 默认值:
-
- 可选项:
-
- 描述:
未突出显示在允许的语言环境中常见的 Unicode 字符。
ambiguousCharacters?
- 类型:
boolean
可选
- 默认值:
-
- 可选项:
-
- 描述:
控制是否突出显示可能与基本 ASCII 字符混淆的字符,当前用户区域设置中常见的字符除外。
- 类型:
boolean | "inUntrustedWorkspace"
可选
- 默认值:
-
- 可选项:
-
- 描述:
控制注释中的字符是否也应使用 unicode 高亮显示。
includeStrings?
- 类型:
boolean | "inUntrustedWorkspace"
可选
- 默认值:
-
- 可选项:
-
- 描述:
控制字符串中的字符是否也应进行 unicode 突出显示。
invisibleCharacters?
- 类型:
boolean
可选
- 默认值:
-
- 可选项:
-
- 描述:
控制是否突出显示仅保留空间或根本没有宽度的字符。
nonBasicASCII?
- 类型:
boolean | "inUntrustedWorkspace"
可选
- 默认值:
-
- 可选项:
-
- 描述:
控制是否突出显示所有非基本 ASCII 字符。只有 U+0020 和 U+007E 之间的字符、制表符、换行符和回车符被认为是基本 ASCII。
',15);function g(p,m){const i=d("ExternalLinkIcon");return a(),l("div",null,[s,e("p",null,[h,o(),e("a",u,[o("官网地址"),r(i)]),o(" 定义Unicode高亮的选项")]),b])}const x=c(n,[["render",g],["__file","IUnicodeHighlightOptions.html.vue"]]);export{x as default};
diff --git a/assets/IUnicodeHighlightOptions.html-9b7dde6f.js b/assets/IUnicodeHighlightOptions.html-9b7dde6f.js
new file mode 100644
index 00000000..5a51afc5
--- /dev/null
+++ b/assets/IUnicodeHighlightOptions.html-9b7dde6f.js
@@ -0,0 +1 @@
+const e=JSON.parse('{"key":"v-20f9732f","path":"/editor/interfaces/IUnicodeHighlightOptions.html","title":"IUnicodeHighlightOptions","lang":"zh-CN","frontmatter":{"description":"interface 官网地址 (https://microsoft.github.io/monaco-editor/docs.html#interfaces/editor.IUnicodeHighlightOptions.html) 定义Unicode高亮的选项 属性 Properties allowedCharacters? 类型: Record `...","head":[["meta",{"property":"og:url","content":"http://aydk.site/editor/interfaces/IUnicodeHighlightOptions.html"}],["meta",{"property":"og:site_name","content":"Monaco-editor 学习文档"}],["meta",{"property":"og:title","content":"IUnicodeHighlightOptions"}],["meta",{"property":"og:description","content":"interface 官网地址 (https://microsoft.github.io/monaco-editor/docs.html#interfaces/editor.IUnicodeHighlightOptions.html) 定义Unicode高亮的选项 属性 Properties allowedCharacters? 类型: Record `..."}],["meta",{"property":"og:type","content":"article"}],["meta",{"property":"og:locale","content":"zh-CN"}],["meta",{"property":"og:updated_time","content":"2023-06-16T20:04:45.000Z"}],["meta",{"property":"article:author","content":"aydk"}],["meta",{"property":"article:modified_time","content":"2023-06-16T20:04:45.000Z"}],["script",{"type":"application/ld+json"},"{\\"@context\\":\\"https://schema.org\\",\\"@type\\":\\"Article\\",\\"headline\\":\\"IUnicodeHighlightOptions\\",\\"image\\":[\\"\\"],\\"dateModified\\":\\"2023-06-16T20:04:45.000Z\\",\\"author\\":[{\\"@type\\":\\"Person\\",\\"name\\":\\"aydk\\"}]}"]]},"headers":[{"level":2,"title":"属性 Properties","slug":"属性-properties","link":"#属性-properties","children":[{"level":3,"title":"allowedCharacters?","slug":"allowedcharacters","link":"#allowedcharacters","children":[]},{"level":3,"title":"allowedLocales?","slug":"allowedlocales","link":"#allowedlocales","children":[]},{"level":3,"title":"ambiguousCharacters?","slug":"ambiguouscharacters","link":"#ambiguouscharacters","children":[]},{"level":3,"title":"includeComments?","slug":"includecomments","link":"#includecomments","children":[]},{"level":3,"title":"includeStrings?","slug":"includestrings","link":"#includestrings","children":[]},{"level":3,"title":"invisibleCharacters?","slug":"invisiblecharacters","link":"#invisiblecharacters","children":[]},{"level":3,"title":"nonBasicASCII?","slug":"nonbasicascii","link":"#nonbasicascii","children":[]}]}],"git":{"createdTime":1686945885000,"updatedTime":1686945885000,"contributors":[{"name":"xiaochaochao","email":"xiaochaochao","commits":1}]},"readingTime":{"minutes":1.01,"words":302},"filePathRelative":"editor/interfaces/IUnicodeHighlightOptions.md","localizedDate":"2023年6月16日","autoDesc":true}');export{e as data};
diff --git a/assets/IValidEditOperation.html-069a082d.js b/assets/IValidEditOperation.html-069a082d.js
new file mode 100644
index 00000000..342766de
--- /dev/null
+++ b/assets/IValidEditOperation.html-069a082d.js
@@ -0,0 +1 @@
+const t=JSON.parse('{"key":"v-4713853b","path":"/editor/interfaces/IValidEditOperation.html","title":"IValidEditOperation","lang":"zh-CN","frontmatter":{"description":"interface 官网地址 (https://microsoft.github.io/monaco-editor/docs.html#interfaces/editor.IValidEditOperation.html) 属性 Properties range 类型: Range (../../global/classes/Range.md) 可选;...","head":[["meta",{"property":"og:url","content":"http://aydk.site/editor/interfaces/IValidEditOperation.html"}],["meta",{"property":"og:site_name","content":"Monaco-editor 学习文档"}],["meta",{"property":"og:title","content":"IValidEditOperation"}],["meta",{"property":"og:description","content":"interface 官网地址 (https://microsoft.github.io/monaco-editor/docs.html#interfaces/editor.IValidEditOperation.html) 属性 Properties range 类型: Range (../../global/classes/Range.md) 可选;..."}],["meta",{"property":"og:type","content":"article"}],["meta",{"property":"og:locale","content":"zh-CN"}],["meta",{"property":"og:updated_time","content":"2023-06-16T20:04:45.000Z"}],["meta",{"property":"article:author","content":"aydk"}],["meta",{"property":"article:modified_time","content":"2023-06-16T20:04:45.000Z"}],["script",{"type":"application/ld+json"},"{\\"@context\\":\\"https://schema.org\\",\\"@type\\":\\"Article\\",\\"headline\\":\\"IValidEditOperation\\",\\"image\\":[\\"\\"],\\"dateModified\\":\\"2023-06-16T20:04:45.000Z\\",\\"author\\":[{\\"@type\\":\\"Person\\",\\"name\\":\\"aydk\\"}]}"]]},"headers":[{"level":2,"title":"属性 Properties","slug":"属性-properties","link":"#属性-properties","children":[{"level":3,"title":"range","slug":"range","link":"#range","children":[]},{"level":3,"title":"text","slug":"text","link":"#text","children":[]}]}],"git":{"createdTime":1686945885000,"updatedTime":1686945885000,"contributors":[{"name":"xiaochaochao","email":"xiaochaochao","commits":1}]},"readingTime":{"minutes":0.27,"words":81},"filePathRelative":"editor/interfaces/IValidEditOperation.md","localizedDate":"2023年6月16日","autoDesc":true}');export{t as data};
diff --git a/assets/IValidEditOperation.html-6d93b55b.js b/assets/IValidEditOperation.html-6d93b55b.js
new file mode 100644
index 00000000..d0441c76
--- /dev/null
+++ b/assets/IValidEditOperation.html-6d93b55b.js
@@ -0,0 +1 @@
+import{_ as r}from"./plugin-vue_export-helper-c27b6911.js";import{r as o,o as d,c as l,a as e,b as t,d as i,w as c,e as s}from"./app-5f5ef0a9.js";const h={},_=e("h1",{id:"ivalideditoperation",tabindex:"-1"},[e("a",{class:"header-anchor",href:"#ivalideditoperation","aria-hidden":"true"},"#"),t(" IValidEditOperation")],-1),u=e("code",null,"interface",-1),p={href:"https://microsoft.github.io/monaco-editor/docs.html#interfaces/editor.IValidEditOperation.html",target:"_blank",rel:"noopener noreferrer"},f=e("h2",{id:"属性-properties",tabindex:"-1"},[e("a",{class:"header-anchor",href:"#属性-properties","aria-hidden":"true"},"#"),t(" 属性 Properties")],-1),m=e("h3",{id:"range",tabindex:"-1"},[e("a",{class:"header-anchor",href:"#range","aria-hidden":"true"},"#"),t(" range")],-1),x=e("code",null,"可选",-1),g=e("li",null,[t("默认值: "),e("code",null,"-")],-1),b=e("li",null,[t("可选项: "),e("code",null,"-")],-1),V=e("li",null,[t("描述: "),e("code",null,"要替换的范围。这可以为空以模拟简单的插入。")],-1),k=s(' text
- 类型:
string
可选
- 默认值:
-
- 可选项:
-
- 描述:
要替换为的文本。这可以为空以模拟简单的删除。
',2);function E(I,v){const n=o("ExternalLinkIcon"),a=o("RouterLink");return d(),l("div",null,[_,e("p",null,[u,t(),e("a",p,[t("官网地址"),i(n)])]),f,m,e("ul",null,[e("li",null,[t("类型: "),i(a,{to:"/global/classes/Range.html"},{default:c(()=>[t("Range")]),_:1}),t(),x]),g,b,V]),k])}const O=r(h,[["render",E],["__file","IValidEditOperation.html.vue"]]);export{O as default};
diff --git a/assets/IViewState.html-8c733d18.js b/assets/IViewState.html-8c733d18.js
new file mode 100644
index 00000000..c9ff6262
--- /dev/null
+++ b/assets/IViewState.html-8c733d18.js
@@ -0,0 +1 @@
+const t=JSON.parse('{"key":"v-3a23c72c","path":"/editor/interfaces/IViewState.html","title":"IViewState","lang":"zh-CN","frontmatter":{"description":"interface 官网地址 (https://microsoft.github.io/monaco-editor/docs.html#interfaces/editor.IViewState.html) 视图的(可序列化的)状态。 属性 Properties firstPosition 类型:IPosition (../../global/inter...","head":[["meta",{"property":"og:url","content":"http://aydk.site/editor/interfaces/IViewState.html"}],["meta",{"property":"og:site_name","content":"Monaco-editor 学习文档"}],["meta",{"property":"og:title","content":"IViewState"}],["meta",{"property":"og:description","content":"interface 官网地址 (https://microsoft.github.io/monaco-editor/docs.html#interfaces/editor.IViewState.html) 视图的(可序列化的)状态。 属性 Properties firstPosition 类型:IPosition (../../global/inter..."}],["meta",{"property":"og:type","content":"article"}],["meta",{"property":"og:locale","content":"zh-CN"}],["meta",{"property":"og:updated_time","content":"2023-06-16T20:04:45.000Z"}],["meta",{"property":"article:author","content":"aydk"}],["meta",{"property":"article:modified_time","content":"2023-06-16T20:04:45.000Z"}],["script",{"type":"application/ld+json"},"{\\"@context\\":\\"https://schema.org\\",\\"@type\\":\\"Article\\",\\"headline\\":\\"IViewState\\",\\"image\\":[\\"\\"],\\"dateModified\\":\\"2023-06-16T20:04:45.000Z\\",\\"author\\":[{\\"@type\\":\\"Person\\",\\"name\\":\\"aydk\\"}]}"]]},"headers":[{"level":2,"title":"属性 Properties","slug":"属性-properties","link":"#属性-properties","children":[{"level":3,"title":"firstPosition","slug":"firstposition","link":"#firstposition","children":[]},{"level":3,"title":"firstPositionDeltaTop","slug":"firstpositiondeltatop","link":"#firstpositiondeltatop","children":[]},{"level":3,"title":"scrollLeft","slug":"scrollleft","link":"#scrollleft","children":[]},{"level":3,"title":"scrollTop","slug":"scrolltop","link":"#scrolltop","children":[]},{"level":3,"title":"scrollTopWithoutViewZones","slug":"scrolltopwithoutviewzones","link":"#scrolltopwithoutviewzones","children":[]}]}],"git":{"createdTime":1686945885000,"updatedTime":1686945885000,"contributors":[{"name":"xiaochaochao","email":"xiaochaochao","commits":1}]},"readingTime":{"minutes":0.43,"words":130},"filePathRelative":"editor/interfaces/IViewState.md","localizedDate":"2023年6月16日","autoDesc":true}');export{t as data};
diff --git a/assets/IViewState.html-e54b9614.js b/assets/IViewState.html-e54b9614.js
new file mode 100644
index 00000000..d37eb8d4
--- /dev/null
+++ b/assets/IViewState.html-e54b9614.js
@@ -0,0 +1 @@
+import{_ as d}from"./plugin-vue_export-helper-c27b6911.js";import{r as i,o as r,c as a,a as e,b as o,d as t,w as n,e as s}from"./app-5f5ef0a9.js";const h={},u=e("h1",{id:"iviewstate",tabindex:"-1"},[e("a",{class:"header-anchor",href:"#iviewstate","aria-hidden":"true"},"#"),o(" IViewState")],-1),_=e("code",null,"interface",-1),f={href:"https://microsoft.github.io/monaco-editor/docs.html#interfaces/editor.IViewState.html",target:"_blank",rel:"noopener noreferrer"},p=e("h2",{id:"属性-properties",tabindex:"-1"},[e("a",{class:"header-anchor",href:"#属性-properties","aria-hidden":"true"},"#"),o(" 属性 Properties")],-1),m=e("h3",{id:"firstposition",tabindex:"-1"},[e("a",{class:"header-anchor",href:"#firstposition","aria-hidden":"true"},"#"),o(" firstPosition")],-1),b=e("li",null,[o("默认值: "),e("code",null,"-")],-1),x=e("li",null,[o("可选项: "),e("code",null,"-")],-1),w=e("li",null,[o("描述: "),e("code",null,"起始位置。")],-1),V=s(' firstPositionDeltaTop
- 类型:
number
- 默认值:
-
- 可选项:
-
- 描述:
第一个可见字符的垂直偏移量。
- 类型:
number
- 默认值:
-
- 可选项:
-
- 描述:
水平滚动位置。
- 类型:
number
可选
- 默认值:
-
- 可选项:
-
- 描述:
垂直滚动位置。
- 类型:
number
可选
- 默认值:
-
- 可选项:
-
- 描述:
垂直滚动位置,不包括视区区域。
',8);function I(k,v){const l=i("ExternalLinkIcon"),c=i("RouterLink");return r(),a("div",null,[u,e("p",null,[_,o(),e("a",f,[o("官网地址"),t(l)]),o(" 视图的(可序列化的)状态。")]),p,m,e("ul",null,[e("li",null,[o("类型:"),t(c,{to:"/global/interfaces/IPosition.html"},{default:n(()=>[o("IPosition")]),_:1})]),b,x,w]),V])}const S=d(h,[["render",I],["__file","IViewState.html.vue"]]);export{S as default};
diff --git a/assets/IViewZone.html-25d61dee.js b/assets/IViewZone.html-25d61dee.js
new file mode 100644
index 00000000..a570114a
--- /dev/null
+++ b/assets/IViewZone.html-25d61dee.js
@@ -0,0 +1 @@
+import{_ as a}from"./plugin-vue_export-helper-c27b6911.js";import{r as o,o as r,c as t,a as e,b as i,d,w as h,e as n}from"./app-5f5ef0a9.js";const s={},u=e("h1",{id:"iviewzone",tabindex:"-1"},[e("a",{class:"header-anchor",href:"#iviewzone","aria-hidden":"true"},"#"),i(" IViewZone")],-1),m=e("code",null,"interface",-1),f={href:"https://microsoft.github.io/monaco-editor/docs.html#interfaces/editor.BracketPairColorizationOptions.html",target:"_blank",rel:"noopener noreferrer"},p=n(' 属性 Properties
afterColumn
- 类型:
number
可选
- 默认值:
-
- 可选项:
-
- 描述:
该区域应出现在其后的列。如果未设置,将使用 afterLineNumber 的 maxLineColumn。这与换行有关。
afterColumnAffinity
',4),_=e("code",null,"可选",-1),x=e("li",null,[i("默认值: "),e("code",null,"none")],-1),b=e("li",null,[i("可选项: "),e("code",null,"-")],-1),g=e("li",null,[i("描述: "),e("code",null,"如果 afterColumn 有多个视图列,亲和力指定使用哪一个。默认为none。")],-1),I=n(' afterLineNumber
- 类型:
number
- 默认值:
-
- 可选项:
-
- 描述:
该区域应出现在其后的行号。使用 0 在第一行号之前放置一个视图区域。
domNode
- 类型:
HTMLElement
- 默认值:
-
- 可选项:
-
- 描述:
此视图区域的DOM节点。
heightInLines
- 类型:
number
可选
- 默认值:
-
- 可选项:
-
- 描述:
区的行高。如果指定,将使用 heightInPx 代替它。如果既未指定 heightInPx 也未指定 heightInLines,则将选择默认值 heightInLines = 1。
heightInPx
- 类型:
number
可选
- 默认值:
-
- 可选项:
-
- 描述:
视图区域的高度(以像素为单位)。如果设置了此项,编辑器将优先考虑它而不是上面的 heightInLines。如果既未指定 heightInPx 也未指定 heightInLines,则将选择默认值 heightInLines = 1。
marginDomNode
- 类型:
HTMLElement
可选
- 默认值:
-
- 可选项:
-
- 描述:
此视图区域的边距DOM节点。
minWidthInPx
- 类型:
number
可选
- 默认值:
-
- 可选项:
-
- 描述:
视图区域的最小宽度(以 px 为单位)。如果设置了这个,编辑器将确保滚动宽度 >= 比这个值。
onComputedHeight
- 类型:
(height: number) => void
可选
- 默认值:
undefined
- 可选项:
-
- 描述:
当视图区域的高度已计算并可用时调用的回调函数。
onDomNodeTop
- 类型:
(top: number) => void
可选
- 默认值:
undefined
- 可选项:
-
- 描述:
当视图区域的DOM节点的顶部位置已计算并可用时调用的回调函数。
ordinal
- 类型:
number
可选
- 默认值:
-
- 可选项:
-
- 描述:
当多个视图区域想要位于同一行之后时使用的决胜局。默认为 afterColumn 否则为 10000;
showInHiddenAreas
- 类型:
boolean
可选
- 默认值:
false
- 可选项:
-
- 描述:
如果为true,则即使编辑器中的文本被折叠,视图区域也将保持可见。
suppressMouseDown
- 类型:
boolean
可选
- 默认值:
false
- 可选项:
-
- 描述:
抑制鼠标按下事件。如果设置,编辑器会将鼠标按下侦听器附加到视图区域并在其上添加 .preventDefault。默认为false
',22);function w(L,C){const l=o("ExternalLinkIcon"),c=o("RouterLink");return r(),t("div",null,[u,e("p",null,[m,i(),e("a",f,[i("官网地址"),d(l)])]),p,e("ul",null,[e("li",null,[i("类型: "),d(c,{to:"/editor/enumerations.html#positionaffinity"},{default:h(()=>[i("PositionAffinity")]),_:1}),i(),_]),x,b,g]),I])}const v=a(s,[["render",w],["__file","IViewZone.html.vue"]]);export{v as default};
diff --git a/assets/IViewZone.html-71bdbc64.js b/assets/IViewZone.html-71bdbc64.js
new file mode 100644
index 00000000..a6b9c22e
--- /dev/null
+++ b/assets/IViewZone.html-71bdbc64.js
@@ -0,0 +1 @@
+const e=JSON.parse('{"key":"v-56a462eb","path":"/editor/interfaces/IViewZone.html","title":"IViewZone","lang":"zh-CN","frontmatter":{"description":"interface 官网地址 (https://microsoft.github.io/monaco-editor/docs.html#interfaces/editor.BracketPairColorizationOptions.html) 属性 Properties afterColumn 类型: number 可选 ; 默认值: - ; 可选项...","head":[["meta",{"property":"og:url","content":"http://aydk.site/editor/interfaces/IViewZone.html"}],["meta",{"property":"og:site_name","content":"Monaco-editor 学习文档"}],["meta",{"property":"og:title","content":"IViewZone"}],["meta",{"property":"og:description","content":"interface 官网地址 (https://microsoft.github.io/monaco-editor/docs.html#interfaces/editor.BracketPairColorizationOptions.html) 属性 Properties afterColumn 类型: number 可选 ; 默认值: - ; 可选项..."}],["meta",{"property":"og:type","content":"article"}],["meta",{"property":"og:locale","content":"zh-CN"}],["meta",{"property":"og:updated_time","content":"2023-06-16T20:04:45.000Z"}],["meta",{"property":"article:author","content":"aydk"}],["meta",{"property":"article:modified_time","content":"2023-06-16T20:04:45.000Z"}],["script",{"type":"application/ld+json"},"{\\"@context\\":\\"https://schema.org\\",\\"@type\\":\\"Article\\",\\"headline\\":\\"IViewZone\\",\\"image\\":[\\"\\"],\\"dateModified\\":\\"2023-06-16T20:04:45.000Z\\",\\"author\\":[{\\"@type\\":\\"Person\\",\\"name\\":\\"aydk\\"}]}"]]},"headers":[{"level":2,"title":"属性 Properties","slug":"属性-properties","link":"#属性-properties","children":[{"level":3,"title":"afterColumn","slug":"aftercolumn","link":"#aftercolumn","children":[]},{"level":3,"title":"afterColumnAffinity","slug":"aftercolumnaffinity","link":"#aftercolumnaffinity","children":[]},{"level":3,"title":"afterLineNumber","slug":"afterlinenumber","link":"#afterlinenumber","children":[]},{"level":3,"title":"domNode","slug":"domnode","link":"#domnode","children":[]},{"level":3,"title":"heightInLines","slug":"heightinlines","link":"#heightinlines","children":[]},{"level":3,"title":"heightInPx","slug":"heightinpx","link":"#heightinpx","children":[]},{"level":3,"title":"marginDomNode","slug":"margindomnode","link":"#margindomnode","children":[]},{"level":3,"title":"minWidthInPx","slug":"minwidthinpx","link":"#minwidthinpx","children":[]},{"level":3,"title":"onComputedHeight","slug":"oncomputedheight","link":"#oncomputedheight","children":[]},{"level":3,"title":"onDomNodeTop","slug":"ondomnodetop","link":"#ondomnodetop","children":[]},{"level":3,"title":"ordinal","slug":"ordinal","link":"#ordinal","children":[]},{"level":3,"title":"showInHiddenAreas","slug":"showinhiddenareas","link":"#showinhiddenareas","children":[]},{"level":3,"title":"suppressMouseDown","slug":"suppressmousedown","link":"#suppressmousedown","children":[]}]}],"git":{"createdTime":1686945885000,"updatedTime":1686945885000,"contributors":[{"name":"xiaochaochao","email":"xiaochaochao","commits":1}]},"readingTime":{"minutes":1.94,"words":581},"filePathRelative":"editor/interfaces/IViewZone.md","localizedDate":"2023年6月16日","autoDesc":true}');export{e as data};
diff --git a/assets/IViewZoneChangeAccessor.html-6f4427c5.js b/assets/IViewZoneChangeAccessor.html-6f4427c5.js
new file mode 100644
index 00000000..c4cc89a3
--- /dev/null
+++ b/assets/IViewZoneChangeAccessor.html-6f4427c5.js
@@ -0,0 +1 @@
+const e=JSON.parse('{"key":"v-0b7fd0d8","path":"/editor/interfaces/IViewZoneChangeAccessor.html","title":"IViewZoneChangeAccessor","lang":"zh-CN","frontmatter":{"description":"interface 官网地址 (https://microsoft.github.io/monaco-editor/docs.html#interfaces/editor.IViewZoneChangeAccessor.html) 允许添加或删除区域的访问器。 方法 Methods addZone 语法: addZone(zone: IViewZone...","head":[["meta",{"property":"og:url","content":"http://aydk.site/editor/interfaces/IViewZoneChangeAccessor.html"}],["meta",{"property":"og:site_name","content":"Monaco-editor 学习文档"}],["meta",{"property":"og:title","content":"IViewZoneChangeAccessor"}],["meta",{"property":"og:description","content":"interface 官网地址 (https://microsoft.github.io/monaco-editor/docs.html#interfaces/editor.IViewZoneChangeAccessor.html) 允许添加或删除区域的访问器。 方法 Methods addZone 语法: addZone(zone: IViewZone..."}],["meta",{"property":"og:type","content":"article"}],["meta",{"property":"og:locale","content":"zh-CN"}],["meta",{"property":"og:updated_time","content":"2023-06-16T20:04:45.000Z"}],["meta",{"property":"article:author","content":"aydk"}],["meta",{"property":"article:modified_time","content":"2023-06-16T20:04:45.000Z"}],["script",{"type":"application/ld+json"},"{\\"@context\\":\\"https://schema.org\\",\\"@type\\":\\"Article\\",\\"headline\\":\\"IViewZoneChangeAccessor\\",\\"image\\":[\\"\\"],\\"dateModified\\":\\"2023-06-16T20:04:45.000Z\\",\\"author\\":[{\\"@type\\":\\"Person\\",\\"name\\":\\"aydk\\"}]}"]]},"headers":[{"level":2,"title":"方法 Methods","slug":"方法-methods","link":"#方法-methods","children":[{"level":3,"title":"addZone","slug":"addzone","link":"#addzone","children":[]},{"level":3,"title":"layoutZone","slug":"layoutzone","link":"#layoutzone","children":[]},{"level":3,"title":"removeZone","slug":"removezone","link":"#removezone","children":[]}]}],"git":{"createdTime":1686945885000,"updatedTime":1686945885000,"contributors":[{"name":"xiaochaochao","email":"xiaochaochao","commits":1}]},"readingTime":{"minutes":0.36,"words":108},"filePathRelative":"editor/interfaces/IViewZoneChangeAccessor.md","localizedDate":"2023年6月16日","autoDesc":true}');export{e as data};
diff --git a/assets/IViewZoneChangeAccessor.html-c14ea995.js b/assets/IViewZoneChangeAccessor.html-c14ea995.js
new file mode 100644
index 00000000..c11a279b
--- /dev/null
+++ b/assets/IViewZoneChangeAccessor.html-c14ea995.js
@@ -0,0 +1 @@
+import{_ as i}from"./plugin-vue_export-helper-c27b6911.js";import{r as n,o as r,c as d,a as e,b as o,d as c,e as t}from"./app-5f5ef0a9.js";const l={},s=e("h1",{id:"iviewzonechangeaccessor",tabindex:"-1"},[e("a",{class:"header-anchor",href:"#iviewzonechangeaccessor","aria-hidden":"true"},"#"),o(" IViewZoneChangeAccessor")],-1),h=e("code",null,"interface",-1),u={href:"https://microsoft.github.io/monaco-editor/docs.html#interfaces/editor.IViewZoneChangeAccessor.html",target:"_blank",rel:"noopener noreferrer"},_=t(' 方法 Methods
addZone
- 语法:
addZone(zone: IViewZone): string
- 参数: ``
- 返回值:
string
- 描述:
创建一个新的视图区域。
layoutZone
- 语法:
layoutZone(id: string): void
- 参数: ``
- 返回值:
-
- 描述:
更改区域的位置。编辑器将重新扫描视图区域的 afterLineNumber 和 afterColumn 属性。
removeZone
- 语法:
removeZone(id: string): void
- 参数: ``
- 返回值:
-
- 描述:
删除区域
',7);function m(f,g){const a=n("ExternalLinkIcon");return r(),d("div",null,[s,e("p",null,[h,o(),e("a",u,[o("官网地址"),c(a)]),o(" 允许添加或删除区域的访问器。")]),_])}const Z=i(l,[["render",m],["__file","IViewZoneChangeAccessor.html.vue"]]);export{Z as default};
diff --git a/assets/IWebWorkerOptions.html-45c0027e.js b/assets/IWebWorkerOptions.html-45c0027e.js
new file mode 100644
index 00000000..41c6a9e1
--- /dev/null
+++ b/assets/IWebWorkerOptions.html-45c0027e.js
@@ -0,0 +1 @@
+const e=JSON.parse('{"key":"v-2c7a1a70","path":"/editor/interfaces/IWebWorkerOptions.html","title":"IWebWorkerOptions","lang":"zh-CN","frontmatter":{"description":"interface 官网地址 (https://microsoft.github.io/monaco-editor/docs.html#interfaces/editor.IWebWorkerOptions.html) 用于在Web Worker中创建monaco编辑器实例 属性 Properties ### createData 类型: any ; ...","head":[["meta",{"property":"og:url","content":"http://aydk.site/editor/interfaces/IWebWorkerOptions.html"}],["meta",{"property":"og:site_name","content":"Monaco-editor 学习文档"}],["meta",{"property":"og:title","content":"IWebWorkerOptions"}],["meta",{"property":"og:description","content":"interface 官网地址 (https://microsoft.github.io/monaco-editor/docs.html#interfaces/editor.IWebWorkerOptions.html) 用于在Web Worker中创建monaco编辑器实例 属性 Properties ### createData 类型: any ; ..."}],["meta",{"property":"og:type","content":"article"}],["meta",{"property":"og:locale","content":"zh-CN"}],["meta",{"property":"og:updated_time","content":"2023-06-16T20:04:45.000Z"}],["meta",{"property":"article:author","content":"aydk"}],["meta",{"property":"article:modified_time","content":"2023-06-16T20:04:45.000Z"}],["script",{"type":"application/ld+json"},"{\\"@context\\":\\"https://schema.org\\",\\"@type\\":\\"Article\\",\\"headline\\":\\"IWebWorkerOptions\\",\\"image\\":[\\"\\"],\\"dateModified\\":\\"2023-06-16T20:04:45.000Z\\",\\"author\\":[{\\"@type\\":\\"Person\\",\\"name\\":\\"aydk\\"}]}"]]},"headers":[{"level":2,"title":"属性 Properties","slug":"属性-properties","link":"#属性-properties","children":[{"level":3,"title":"createData","slug":"createdata","link":"#createdata","children":[]},{"level":3,"title":"host","slug":"host","link":"#host","children":[]},{"level":3,"title":"keepIdleModels","slug":"keepidlemodels","link":"#keepidlemodels","children":[]},{"level":3,"title":"label","slug":"label","link":"#label","children":[]},{"level":3,"title":"moduleId","slug":"moduleid","link":"#moduleid","children":[]}]}],"git":{"createdTime":1686945885000,"updatedTime":1686945885000,"contributors":[{"name":"xiaochaochao","email":"xiaochaochao","commits":1}]},"readingTime":{"minutes":0.34,"words":101},"filePathRelative":"editor/interfaces/IWebWorkerOptions.md","localizedDate":"2023年6月16日","autoDesc":true}');export{e as data};
diff --git a/assets/IWebWorkerOptions.html-57186665.js b/assets/IWebWorkerOptions.html-57186665.js
new file mode 100644
index 00000000..5c11f8a7
--- /dev/null
+++ b/assets/IWebWorkerOptions.html-57186665.js
@@ -0,0 +1 @@
+import{_ as r}from"./plugin-vue_export-helper-c27b6911.js";import{r as i,o as t,c as d,a as e,b as a,d as l,e as n}from"./app-5f5ef0a9.js";const c={},s=e("h1",{id:"iwebworkeroptions",tabindex:"-1"},[e("a",{class:"header-anchor",href:"#iwebworkeroptions","aria-hidden":"true"},"#"),a(" IWebWorkerOptions")],-1),h=e("code",null,"interface",-1),u={href:"https://microsoft.github.io/monaco-editor/docs.html#interfaces/editor.IWebWorkerOptions.html",target:"_blank",rel:"noopener noreferrer"},p=n(' 属性 Properties
createData
host
keepIdleModels
label
moduleId
- 类型:
string
- 描述:要加载的monaco编辑器模块的ID。
',11);function _(b,m){const o=i("ExternalLinkIcon");return t(),d("div",null,[s,e("p",null,[h,a(),e("a",u,[a("官网地址"),l(o)]),a(" 用于在Web Worker中创建monaco编辑器实例")]),p])}const x=r(c,[["render",_],["__file","IWebWorkerOptions.html.vue"]]);export{x as default};
diff --git a/assets/IWordAtPosition.html-56a1bfcf.js b/assets/IWordAtPosition.html-56a1bfcf.js
new file mode 100644
index 00000000..5c23b0ef
--- /dev/null
+++ b/assets/IWordAtPosition.html-56a1bfcf.js
@@ -0,0 +1 @@
+import{_ as t}from"./plugin-vue_export-helper-c27b6911.js";import{r as a,o as i,c as n,a as e,b as o,d,e as c}from"./app-5f5ef0a9.js";const s={},l=e("h1",{id:"iwordatposition",tabindex:"-1"},[e("a",{class:"header-anchor",href:"#iwordatposition","aria-hidden":"true"},"#"),o(" IWordAtPosition")],-1),h=e("code",null,"interface",-1),u={href:"https://microsoft.github.io/monaco-editor/docs.html#interfaces/editor.IWordAtPosition.html",target:"_blank",rel:"noopener noreferrer"},m=c(' 属性 Properties
word
startColumn
endColumn
',7);function _(f,p){const r=a("ExternalLinkIcon");return i(),n("div",null,[l,e("p",null,[h,o(),e("a",u,[o("官网地址"),d(r)]),o(" 用于描述monaco编辑器中给定位置的单词")]),m])}const I=t(s,[["render",_],["__file","IWordAtPosition.html.vue"]]);export{I as default};
diff --git a/assets/IWordAtPosition.html-b1053b84.js b/assets/IWordAtPosition.html-b1053b84.js
new file mode 100644
index 00000000..2d39ab0a
--- /dev/null
+++ b/assets/IWordAtPosition.html-b1053b84.js
@@ -0,0 +1 @@
+const t=JSON.parse('{"key":"v-1194f896","path":"/editor/interfaces/IWordAtPosition.html","title":"IWordAtPosition","lang":"zh-CN","frontmatter":{"description":"interface 官网地址 (https://microsoft.github.io/monaco-editor/docs.html#interfaces/editor.IWordAtPosition.html) 用于描述monaco编辑器中给定位置的单词 属性 Properties ### word 类型: string ; 描述:给定位置的单词。...","head":[["meta",{"property":"og:url","content":"http://aydk.site/editor/interfaces/IWordAtPosition.html"}],["meta",{"property":"og:site_name","content":"Monaco-editor 学习文档"}],["meta",{"property":"og:title","content":"IWordAtPosition"}],["meta",{"property":"og:description","content":"interface 官网地址 (https://microsoft.github.io/monaco-editor/docs.html#interfaces/editor.IWordAtPosition.html) 用于描述monaco编辑器中给定位置的单词 属性 Properties ### word 类型: string ; 描述:给定位置的单词。..."}],["meta",{"property":"og:type","content":"article"}],["meta",{"property":"og:locale","content":"zh-CN"}],["meta",{"property":"og:updated_time","content":"2023-06-16T20:04:45.000Z"}],["meta",{"property":"article:author","content":"aydk"}],["meta",{"property":"article:modified_time","content":"2023-06-16T20:04:45.000Z"}],["script",{"type":"application/ld+json"},"{\\"@context\\":\\"https://schema.org\\",\\"@type\\":\\"Article\\",\\"headline\\":\\"IWordAtPosition\\",\\"image\\":[\\"\\"],\\"dateModified\\":\\"2023-06-16T20:04:45.000Z\\",\\"author\\":[{\\"@type\\":\\"Person\\",\\"name\\":\\"aydk\\"}]}"]]},"headers":[{"level":2,"title":"属性 Properties","slug":"属性-properties","link":"#属性-properties","children":[{"level":3,"title":"word","slug":"word","link":"#word","children":[]},{"level":3,"title":"startColumn","slug":"startcolumn","link":"#startcolumn","children":[]},{"level":3,"title":"endColumn","slug":"endcolumn","link":"#endcolumn","children":[]}]}],"git":{"createdTime":1686945885000,"updatedTime":1686945885000,"contributors":[{"name":"xiaochaochao","email":"xiaochaochao","commits":1}]},"readingTime":{"minutes":0.22,"words":66},"filePathRelative":"editor/interfaces/IWordAtPosition.md","localizedDate":"2023年6月16日","autoDesc":true}');export{t as data};
diff --git a/assets/IWorkerContext.html-7df9666e.js b/assets/IWorkerContext.html-7df9666e.js
new file mode 100644
index 00000000..97880853
--- /dev/null
+++ b/assets/IWorkerContext.html-7df9666e.js
@@ -0,0 +1 @@
+const e=JSON.parse('{"key":"v-1bdd4174","path":"/worker/interfaces/IWorkerContext.html","title":"IWorkerContext","lang":"zh-CN","frontmatter":{"description":"interface 官网地址 (https://microsoft.github.io/monaco-editor/docs.html#interfaces/worker.IWorkerContext.html) 属性 Properties 方法 Methods","head":[["meta",{"property":"og:url","content":"http://aydk.site/worker/interfaces/IWorkerContext.html"}],["meta",{"property":"og:site_name","content":"Monaco-editor 学习文档"}],["meta",{"property":"og:title","content":"IWorkerContext"}],["meta",{"property":"og:description","content":"interface 官网地址 (https://microsoft.github.io/monaco-editor/docs.html#interfaces/worker.IWorkerContext.html) 属性 Properties 方法 Methods"}],["meta",{"property":"og:type","content":"article"}],["meta",{"property":"og:locale","content":"zh-CN"}],["meta",{"property":"og:updated_time","content":"2023-06-16T20:04:45.000Z"}],["meta",{"property":"article:author","content":"aydk"}],["meta",{"property":"article:modified_time","content":"2023-06-16T20:04:45.000Z"}],["script",{"type":"application/ld+json"},"{\\"@context\\":\\"https://schema.org\\",\\"@type\\":\\"Article\\",\\"headline\\":\\"IWorkerContext\\",\\"image\\":[\\"\\"],\\"dateModified\\":\\"2023-06-16T20:04:45.000Z\\",\\"author\\":[{\\"@type\\":\\"Person\\",\\"name\\":\\"aydk\\"}]}"]]},"headers":[{"level":2,"title":"属性 Properties","slug":"属性-properties","link":"#属性-properties","children":[]},{"level":2,"title":"方法 Methods","slug":"方法-methods","link":"#方法-methods","children":[]}],"git":{"createdTime":1686945885000,"updatedTime":1686945885000,"contributors":[{"name":"xiaochaochao","email":"xiaochaochao","commits":1}]},"readingTime":{"minutes":0.05,"words":16},"filePathRelative":"worker/interfaces/IWorkerContext.md","localizedDate":"2023年6月16日","autoDesc":true}');export{e as data};
diff --git a/assets/IWorkerContext.html-e79b111c.js b/assets/IWorkerContext.html-e79b111c.js
new file mode 100644
index 00000000..f98527d7
--- /dev/null
+++ b/assets/IWorkerContext.html-e79b111c.js
@@ -0,0 +1 @@
+import{_ as r}from"./plugin-vue_export-helper-c27b6911.js";import{r as n,o as a,c as s,a as e,b as t,d as c}from"./app-5f5ef0a9.js";const i={},d=e("h1",{id:"iworkercontext",tabindex:"-1"},[e("a",{class:"header-anchor",href:"#iworkercontext","aria-hidden":"true"},"#"),t(" IWorkerContext")],-1),h=e("code",null,"interface",-1),_={href:"https://microsoft.github.io/monaco-editor/docs.html#interfaces/worker.IWorkerContext.html",target:"_blank",rel:"noopener noreferrer"},l=e("h2",{id:"属性-properties",tabindex:"-1"},[e("a",{class:"header-anchor",href:"#属性-properties","aria-hidden":"true"},"#"),t(" 属性 Properties")],-1),f=e("h2",{id:"方法-methods",tabindex:"-1"},[e("a",{class:"header-anchor",href:"#方法-methods","aria-hidden":"true"},"#"),t(" 方法 Methods")],-1);function m(p,x){const o=n("ExternalLinkIcon");return a(),s("div",null,[d,e("p",null,[h,t(),e("a",_,[t("官网地址"),c(o)])]),l,f])}const b=r(i,[["render",m],["__file","IWorkerContext.html.vue"]]);export{b as default};
diff --git a/assets/IWorkspaceFileEdit.html-065800c3.js b/assets/IWorkspaceFileEdit.html-065800c3.js
new file mode 100644
index 00000000..4da1a95b
--- /dev/null
+++ b/assets/IWorkspaceFileEdit.html-065800c3.js
@@ -0,0 +1 @@
+const e=JSON.parse('{"key":"v-04b810d0","path":"/language/interfaces/IWorkspaceFileEdit.html","title":"IWorkspaceFileEdit","lang":"zh-CN","frontmatter":{"description":"interface 官网地址 (https://microsoft.github.io/monaco-editor/docs.html#interfaces/languages.IWorkspaceFileEdit.html) 属性 Properties 方法 Methods","head":[["meta",{"property":"og:url","content":"http://aydk.site/language/interfaces/IWorkspaceFileEdit.html"}],["meta",{"property":"og:site_name","content":"Monaco-editor 学习文档"}],["meta",{"property":"og:title","content":"IWorkspaceFileEdit"}],["meta",{"property":"og:description","content":"interface 官网地址 (https://microsoft.github.io/monaco-editor/docs.html#interfaces/languages.IWorkspaceFileEdit.html) 属性 Properties 方法 Methods"}],["meta",{"property":"og:type","content":"article"}],["meta",{"property":"og:locale","content":"zh-CN"}],["meta",{"property":"og:updated_time","content":"2023-06-16T19:55:24.000Z"}],["meta",{"property":"article:author","content":"aydk"}],["meta",{"property":"article:modified_time","content":"2023-06-16T19:55:24.000Z"}],["script",{"type":"application/ld+json"},"{\\"@context\\":\\"https://schema.org\\",\\"@type\\":\\"Article\\",\\"headline\\":\\"IWorkspaceFileEdit\\",\\"image\\":[\\"\\"],\\"dateModified\\":\\"2023-06-16T19:55:24.000Z\\",\\"author\\":[{\\"@type\\":\\"Person\\",\\"name\\":\\"aydk\\"}]}"]]},"headers":[{"level":2,"title":"属性 Properties","slug":"属性-properties","link":"#属性-properties","children":[]},{"level":2,"title":"方法 Methods","slug":"方法-methods","link":"#方法-methods","children":[]}],"git":{"createdTime":1686945324000,"updatedTime":1686945324000,"contributors":[{"name":"xiaochaochao","email":"xiaochaochao","commits":1}]},"readingTime":{"minutes":0.05,"words":16},"filePathRelative":"language/interfaces/IWorkspaceFileEdit.md","localizedDate":"2023年6月16日","autoDesc":true}');export{e as data};
diff --git a/assets/IWorkspaceFileEdit.html-528a4a08.js b/assets/IWorkspaceFileEdit.html-528a4a08.js
new file mode 100644
index 00000000..1353077e
--- /dev/null
+++ b/assets/IWorkspaceFileEdit.html-528a4a08.js
@@ -0,0 +1 @@
+import{_ as r}from"./plugin-vue_export-helper-c27b6911.js";import{r as a,o as s,c as i,a as e,b as t,d as n}from"./app-5f5ef0a9.js";const c={},d=e("h1",{id:"iworkspacefileedit",tabindex:"-1"},[e("a",{class:"header-anchor",href:"#iworkspacefileedit","aria-hidden":"true"},"#"),t(" IWorkspaceFileEdit")],-1),h=e("code",null,"interface",-1),l={href:"https://microsoft.github.io/monaco-editor/docs.html#interfaces/languages.IWorkspaceFileEdit.html",target:"_blank",rel:"noopener noreferrer"},_=e("h2",{id:"属性-properties",tabindex:"-1"},[e("a",{class:"header-anchor",href:"#属性-properties","aria-hidden":"true"},"#"),t(" 属性 Properties")],-1),p=e("h2",{id:"方法-methods",tabindex:"-1"},[e("a",{class:"header-anchor",href:"#方法-methods","aria-hidden":"true"},"#"),t(" 方法 Methods")],-1);function f(m,u){const o=a("ExternalLinkIcon");return s(),i("div",null,[d,e("p",null,[h,t(),e("a",l,[t("官网地址"),n(o)])]),_,p])}const E=r(c,[["render",f],["__file","IWorkspaceFileEdit.html.vue"]]);export{E as default};
diff --git a/assets/IWorkspaceTextEdit.html-487fdad1.js b/assets/IWorkspaceTextEdit.html-487fdad1.js
new file mode 100644
index 00000000..23d65cf9
--- /dev/null
+++ b/assets/IWorkspaceTextEdit.html-487fdad1.js
@@ -0,0 +1 @@
+const e=JSON.parse('{"key":"v-3c21d83f","path":"/language/interfaces/IWorkspaceTextEdit.html","title":"IWorkspaceTextEdit","lang":"zh-CN","frontmatter":{"description":"interface 官网地址 (https://microsoft.github.io/monaco-editor/docs.html#interfaces/languages.IWorkspaceTextEdit.html) 属性 Properties 方法 Methods","head":[["meta",{"property":"og:url","content":"http://aydk.site/language/interfaces/IWorkspaceTextEdit.html"}],["meta",{"property":"og:site_name","content":"Monaco-editor 学习文档"}],["meta",{"property":"og:title","content":"IWorkspaceTextEdit"}],["meta",{"property":"og:description","content":"interface 官网地址 (https://microsoft.github.io/monaco-editor/docs.html#interfaces/languages.IWorkspaceTextEdit.html) 属性 Properties 方法 Methods"}],["meta",{"property":"og:type","content":"article"}],["meta",{"property":"og:locale","content":"zh-CN"}],["meta",{"property":"og:updated_time","content":"2023-06-16T19:55:24.000Z"}],["meta",{"property":"article:author","content":"aydk"}],["meta",{"property":"article:modified_time","content":"2023-06-16T19:55:24.000Z"}],["script",{"type":"application/ld+json"},"{\\"@context\\":\\"https://schema.org\\",\\"@type\\":\\"Article\\",\\"headline\\":\\"IWorkspaceTextEdit\\",\\"image\\":[\\"\\"],\\"dateModified\\":\\"2023-06-16T19:55:24.000Z\\",\\"author\\":[{\\"@type\\":\\"Person\\",\\"name\\":\\"aydk\\"}]}"]]},"headers":[{"level":2,"title":"属性 Properties","slug":"属性-properties","link":"#属性-properties","children":[]},{"level":2,"title":"方法 Methods","slug":"方法-methods","link":"#方法-methods","children":[]}],"git":{"createdTime":1686945324000,"updatedTime":1686945324000,"contributors":[{"name":"xiaochaochao","email":"xiaochaochao","commits":1}]},"readingTime":{"minutes":0.05,"words":16},"filePathRelative":"language/interfaces/IWorkspaceTextEdit.md","localizedDate":"2023年6月16日","autoDesc":true}');export{e as data};
diff --git a/assets/IWorkspaceTextEdit.html-beb6c9bc.js b/assets/IWorkspaceTextEdit.html-beb6c9bc.js
new file mode 100644
index 00000000..658d2260
--- /dev/null
+++ b/assets/IWorkspaceTextEdit.html-beb6c9bc.js
@@ -0,0 +1 @@
+import{_ as r}from"./plugin-vue_export-helper-c27b6911.js";import{r as a,o as s,c as n,a as e,b as t,d as c}from"./app-5f5ef0a9.js";const i={},d=e("h1",{id:"iworkspacetextedit",tabindex:"-1"},[e("a",{class:"header-anchor",href:"#iworkspacetextedit","aria-hidden":"true"},"#"),t(" IWorkspaceTextEdit")],-1),h=e("code",null,"interface",-1),_={href:"https://microsoft.github.io/monaco-editor/docs.html#interfaces/languages.IWorkspaceTextEdit.html",target:"_blank",rel:"noopener noreferrer"},l=e("h2",{id:"属性-properties",tabindex:"-1"},[e("a",{class:"header-anchor",href:"#属性-properties","aria-hidden":"true"},"#"),t(" 属性 Properties")],-1),p=e("h2",{id:"方法-methods",tabindex:"-1"},[e("a",{class:"header-anchor",href:"#方法-methods","aria-hidden":"true"},"#"),t(" 方法 Methods")],-1);function f(m,x){const o=a("ExternalLinkIcon");return s(),n("div",null,[d,e("p",null,[h,t(),e("a",_,[t("官网地址"),c(o)])]),l,p])}const E=r(i,[["render",f],["__file","IWorkspaceTextEdit.html.vue"]]);export{E as default};
diff --git a/assets/ImplementationProvider.html-bf8dfc30.js b/assets/ImplementationProvider.html-bf8dfc30.js
new file mode 100644
index 00000000..798f0421
--- /dev/null
+++ b/assets/ImplementationProvider.html-bf8dfc30.js
@@ -0,0 +1 @@
+import{_ as r}from"./plugin-vue_export-helper-c27b6911.js";import{r as n,o as a,c as i,a as e,b as t,d as s}from"./app-5f5ef0a9.js";const d={},c=e("h1",{id:"implementationprovider",tabindex:"-1"},[e("a",{class:"header-anchor",href:"#implementationprovider","aria-hidden":"true"},"#"),t(" ImplementationProvider")],-1),h=e("code",null,"interface",-1),l={href:"https://microsoft.github.io/monaco-editor/docs.html#interfaces/languages.ImplementationProvider.html",target:"_blank",rel:"noopener noreferrer"},m=e("h2",{id:"属性-properties",tabindex:"-1"},[e("a",{class:"header-anchor",href:"#属性-properties","aria-hidden":"true"},"#"),t(" 属性 Properties")],-1),_=e("h2",{id:"方法-methods",tabindex:"-1"},[e("a",{class:"header-anchor",href:"#方法-methods","aria-hidden":"true"},"#"),t(" 方法 Methods")],-1);function p(f,u){const o=n("ExternalLinkIcon");return a(),i("div",null,[c,e("p",null,[h,t(),e("a",l,[t("官网地址"),s(o)])]),m,_])}const b=r(d,[["render",p],["__file","ImplementationProvider.html.vue"]]);export{b as default};
diff --git a/assets/ImplementationProvider.html-deaa7f7f.js b/assets/ImplementationProvider.html-deaa7f7f.js
new file mode 100644
index 00000000..bcf5c5cd
--- /dev/null
+++ b/assets/ImplementationProvider.html-deaa7f7f.js
@@ -0,0 +1 @@
+const e=JSON.parse('{"key":"v-e9cfa1c2","path":"/language/interfaces/ImplementationProvider.html","title":"ImplementationProvider","lang":"zh-CN","frontmatter":{"description":"interface 官网地址 (https://microsoft.github.io/monaco-editor/docs.html#interfaces/languages.ImplementationProvider.html) 属性 Properties 方法 Methods","head":[["meta",{"property":"og:url","content":"http://aydk.site/language/interfaces/ImplementationProvider.html"}],["meta",{"property":"og:site_name","content":"Monaco-editor 学习文档"}],["meta",{"property":"og:title","content":"ImplementationProvider"}],["meta",{"property":"og:description","content":"interface 官网地址 (https://microsoft.github.io/monaco-editor/docs.html#interfaces/languages.ImplementationProvider.html) 属性 Properties 方法 Methods"}],["meta",{"property":"og:type","content":"article"}],["meta",{"property":"og:locale","content":"zh-CN"}],["meta",{"property":"og:updated_time","content":"2023-06-16T19:55:24.000Z"}],["meta",{"property":"article:author","content":"aydk"}],["meta",{"property":"article:modified_time","content":"2023-06-16T19:55:24.000Z"}],["script",{"type":"application/ld+json"},"{\\"@context\\":\\"https://schema.org\\",\\"@type\\":\\"Article\\",\\"headline\\":\\"ImplementationProvider\\",\\"image\\":[\\"\\"],\\"dateModified\\":\\"2023-06-16T19:55:24.000Z\\",\\"author\\":[{\\"@type\\":\\"Person\\",\\"name\\":\\"aydk\\"}]}"]]},"headers":[{"level":2,"title":"属性 Properties","slug":"属性-properties","link":"#属性-properties","children":[]},{"level":2,"title":"方法 Methods","slug":"方法-methods","link":"#方法-methods","children":[]}],"git":{"createdTime":1686945324000,"updatedTime":1686945324000,"contributors":[{"name":"xiaochaochao","email":"xiaochaochao","commits":1}]},"readingTime":{"minutes":0.05,"words":16},"filePathRelative":"language/interfaces/ImplementationProvider.md","localizedDate":"2023年6月16日","autoDesc":true}');export{e as data};
diff --git a/assets/IndentationRule.html-a846de4a.js b/assets/IndentationRule.html-a846de4a.js
new file mode 100644
index 00000000..091b4c7b
--- /dev/null
+++ b/assets/IndentationRule.html-a846de4a.js
@@ -0,0 +1 @@
+import{_ as o}from"./plugin-vue_export-helper-c27b6911.js";import{r,o as a,c as s,a as e,b as t,d as i}from"./app-5f5ef0a9.js";const d={},c=e("h1",{id:"indentationrule",tabindex:"-1"},[e("a",{class:"header-anchor",href:"#indentationrule","aria-hidden":"true"},"#"),t(" IndentationRule")],-1),h=e("code",null,"interface",-1),l={href:"https://microsoft.github.io/monaco-editor/docs.html#interfaces/languages.IndentationRule.html",target:"_blank",rel:"noopener noreferrer"},_=e("h2",{id:"属性-properties",tabindex:"-1"},[e("a",{class:"header-anchor",href:"#属性-properties","aria-hidden":"true"},"#"),t(" 属性 Properties")],-1),u=e("h2",{id:"方法-methods",tabindex:"-1"},[e("a",{class:"header-anchor",href:"#方法-methods","aria-hidden":"true"},"#"),t(" 方法 Methods")],-1);function f(m,p){const n=r("ExternalLinkIcon");return a(),s("div",null,[c,e("p",null,[h,t(),e("a",l,[t("官网地址"),i(n)])]),_,u])}const I=o(d,[["render",f],["__file","IndentationRule.html.vue"]]);export{I as default};
diff --git a/assets/IndentationRule.html-b2b26940.js b/assets/IndentationRule.html-b2b26940.js
new file mode 100644
index 00000000..fa38c9c9
--- /dev/null
+++ b/assets/IndentationRule.html-b2b26940.js
@@ -0,0 +1 @@
+const e=JSON.parse('{"key":"v-588aff8b","path":"/language/interfaces/IndentationRule.html","title":"IndentationRule","lang":"zh-CN","frontmatter":{"description":"interface 官网地址 (https://microsoft.github.io/monaco-editor/docs.html#interfaces/languages.IndentationRule.html) 属性 Properties 方法 Methods","head":[["meta",{"property":"og:url","content":"http://aydk.site/language/interfaces/IndentationRule.html"}],["meta",{"property":"og:site_name","content":"Monaco-editor 学习文档"}],["meta",{"property":"og:title","content":"IndentationRule"}],["meta",{"property":"og:description","content":"interface 官网地址 (https://microsoft.github.io/monaco-editor/docs.html#interfaces/languages.IndentationRule.html) 属性 Properties 方法 Methods"}],["meta",{"property":"og:type","content":"article"}],["meta",{"property":"og:locale","content":"zh-CN"}],["meta",{"property":"og:updated_time","content":"2023-06-16T19:55:24.000Z"}],["meta",{"property":"article:author","content":"aydk"}],["meta",{"property":"article:modified_time","content":"2023-06-16T19:55:24.000Z"}],["script",{"type":"application/ld+json"},"{\\"@context\\":\\"https://schema.org\\",\\"@type\\":\\"Article\\",\\"headline\\":\\"IndentationRule\\",\\"image\\":[\\"\\"],\\"dateModified\\":\\"2023-06-16T19:55:24.000Z\\",\\"author\\":[{\\"@type\\":\\"Person\\",\\"name\\":\\"aydk\\"}]}"]]},"headers":[{"level":2,"title":"属性 Properties","slug":"属性-properties","link":"#属性-properties","children":[]},{"level":2,"title":"方法 Methods","slug":"方法-methods","link":"#方法-methods","children":[]}],"git":{"createdTime":1686945324000,"updatedTime":1686945324000,"contributors":[{"name":"xiaochaochao","email":"xiaochaochao","commits":1}]},"readingTime":{"minutes":0.05,"words":16},"filePathRelative":"language/interfaces/IndentationRule.md","localizedDate":"2023年6月16日","autoDesc":true}');export{e as data};
diff --git a/assets/InjectedTextOptions.html-26e6e9b9.js b/assets/InjectedTextOptions.html-26e6e9b9.js
new file mode 100644
index 00000000..5cb15a4b
--- /dev/null
+++ b/assets/InjectedTextOptions.html-26e6e9b9.js
@@ -0,0 +1 @@
+const e=JSON.parse('{"key":"v-1d19c1b8","path":"/editor/interfaces/InjectedTextOptions.html","title":"InjectedTextOptions","lang":"zh-CN","frontmatter":{"description":"interface 官网地址 (https://microsoft.github.io/monaco-editor/docs.html#interfaces/editor.InjectedTextOptions.html) 用于描述注入文本的选项。 属性 Properties attachedData 类型: unknown 可选 只读 ; 默认值: ...","head":[["meta",{"property":"og:url","content":"http://aydk.site/editor/interfaces/InjectedTextOptions.html"}],["meta",{"property":"og:site_name","content":"Monaco-editor 学习文档"}],["meta",{"property":"og:title","content":"InjectedTextOptions"}],["meta",{"property":"og:description","content":"interface 官网地址 (https://microsoft.github.io/monaco-editor/docs.html#interfaces/editor.InjectedTextOptions.html) 用于描述注入文本的选项。 属性 Properties attachedData 类型: unknown 可选 只读 ; 默认值: ..."}],["meta",{"property":"og:type","content":"article"}],["meta",{"property":"og:locale","content":"zh-CN"}],["meta",{"property":"og:updated_time","content":"2023-06-16T20:04:45.000Z"}],["meta",{"property":"article:author","content":"aydk"}],["meta",{"property":"article:modified_time","content":"2023-06-16T20:04:45.000Z"}],["script",{"type":"application/ld+json"},"{\\"@context\\":\\"https://schema.org\\",\\"@type\\":\\"Article\\",\\"headline\\":\\"InjectedTextOptions\\",\\"image\\":[\\"\\"],\\"dateModified\\":\\"2023-06-16T20:04:45.000Z\\",\\"author\\":[{\\"@type\\":\\"Person\\",\\"name\\":\\"aydk\\"}]}"]]},"headers":[{"level":2,"title":"属性 Properties","slug":"属性-properties","link":"#属性-properties","children":[{"level":3,"title":"attachedData","slug":"attacheddata","link":"#attacheddata","children":[]},{"level":3,"title":"content","slug":"content","link":"#content","children":[]},{"level":3,"title":"cursorStops","slug":"cursorstops","link":"#cursorstops","children":[]},{"level":3,"title":"inlineClassName","slug":"inlineclassname","link":"#inlineclassname","children":[]},{"level":3,"title":"inlineClassNameAffectsLetterSpacing","slug":"inlineclassnameaffectsletterspacing","link":"#inlineclassnameaffectsletterspacing","children":[]}]}],"git":{"createdTime":1686945885000,"updatedTime":1686945885000,"contributors":[{"name":"xiaochaochao","email":"xiaochaochao","commits":1}]},"readingTime":{"minutes":0.64,"words":192},"filePathRelative":"editor/interfaces/InjectedTextOptions.md","localizedDate":"2023年6月16日","autoDesc":true}');export{e as data};
diff --git a/assets/InjectedTextOptions.html-410015d4.js b/assets/InjectedTextOptions.html-410015d4.js
new file mode 100644
index 00000000..df1406a4
--- /dev/null
+++ b/assets/InjectedTextOptions.html-410015d4.js
@@ -0,0 +1 @@
+import{_ as d}from"./plugin-vue_export-helper-c27b6911.js";import{r as a,o as i,c as t,a as e,b as o,d as n,e as l}from"./app-5f5ef0a9.js";const r={},s=e("h1",{id:"injectedtextoptions",tabindex:"-1"},[e("a",{class:"header-anchor",href:"#injectedtextoptions","aria-hidden":"true"},"#"),o(" InjectedTextOptions")],-1),h=e("code",null,"interface",-1),u={href:"https://microsoft.github.io/monaco-editor/docs.html#interfaces/editor.InjectedTextOptions.html",target:"_blank",rel:"noopener noreferrer"},f=l(' 属性 Properties
attachedData
- 类型:
unknown
可选
只读
- 默认值:
-
- 可选项:
-
- 描述:
该字段允许将数据附加到此注入的文本。当查询给定位置的注入文本时,可以读取数据。
content
- 类型:
string
- 默认值:
-
- 可选项:
-
- 描述:
注入的文本内容。
cursorStops
- 类型:
boolean
可选
只读
- 默认值:
false
- 可选项:
-
- 描述:
指示注入文本的末尾是否应该成为光标停止的标志。
inlineClassName
- 类型:
string
可选
- 默认值:
-
- 可选项:
-
- 描述:
注入文本的 CSS 类名。
inlineClassNameAffectsLetterSpacing
- 类型:
boolean
可选
只读
- 默认值:
false
- 可选项:
-
- 描述:
指示注入文本的 CSS 类名是否应影响字母间距。
',11);function p(_,m){const c=a("ExternalLinkIcon");return i(),t("div",null,[s,e("p",null,[h,o(),e("a",u,[o("官网地址"),n(c)]),o(" 用于描述注入文本的选项。")]),f])}const g=d(r,[["render",p],["__file","InjectedTextOptions.html.vue"]]);export{g as default};
diff --git a/assets/InlayHint.html-214fbd91.js b/assets/InlayHint.html-214fbd91.js
new file mode 100644
index 00000000..1ad3f842
--- /dev/null
+++ b/assets/InlayHint.html-214fbd91.js
@@ -0,0 +1 @@
+const t=JSON.parse('{"key":"v-ccbcd76c","path":"/language/interfaces/InlayHint.html","title":"InlayHint","lang":"zh-CN","frontmatter":{"description":"interface 官网地址 (https://microsoft.github.io/monaco-editor/docs.html#interfaces/languages.InlayHint.html) 属性 Properties 方法 Methods","head":[["meta",{"property":"og:url","content":"http://aydk.site/language/interfaces/InlayHint.html"}],["meta",{"property":"og:site_name","content":"Monaco-editor 学习文档"}],["meta",{"property":"og:title","content":"InlayHint"}],["meta",{"property":"og:description","content":"interface 官网地址 (https://microsoft.github.io/monaco-editor/docs.html#interfaces/languages.InlayHint.html) 属性 Properties 方法 Methods"}],["meta",{"property":"og:type","content":"article"}],["meta",{"property":"og:locale","content":"zh-CN"}],["meta",{"property":"og:updated_time","content":"2023-06-16T19:55:24.000Z"}],["meta",{"property":"article:author","content":"aydk"}],["meta",{"property":"article:modified_time","content":"2023-06-16T19:55:24.000Z"}],["script",{"type":"application/ld+json"},"{\\"@context\\":\\"https://schema.org\\",\\"@type\\":\\"Article\\",\\"headline\\":\\"InlayHint\\",\\"image\\":[\\"\\"],\\"dateModified\\":\\"2023-06-16T19:55:24.000Z\\",\\"author\\":[{\\"@type\\":\\"Person\\",\\"name\\":\\"aydk\\"}]}"]]},"headers":[{"level":2,"title":"属性 Properties","slug":"属性-properties","link":"#属性-properties","children":[]},{"level":2,"title":"方法 Methods","slug":"方法-methods","link":"#方法-methods","children":[]}],"git":{"createdTime":1686945324000,"updatedTime":1686945324000,"contributors":[{"name":"xiaochaochao","email":"xiaochaochao","commits":1}]},"readingTime":{"minutes":0.05,"words":16},"filePathRelative":"language/interfaces/InlayHint.md","localizedDate":"2023年6月16日","autoDesc":true}');export{t as data};
diff --git a/assets/InlayHint.html-c120fe65.js b/assets/InlayHint.html-c120fe65.js
new file mode 100644
index 00000000..9509cf4b
--- /dev/null
+++ b/assets/InlayHint.html-c120fe65.js
@@ -0,0 +1 @@
+import{_ as a}from"./plugin-vue_export-helper-c27b6911.js";import{r as o,o as r,c as s,a as e,b as t,d as i}from"./app-5f5ef0a9.js";const c={},d=e("h1",{id:"inlayhint",tabindex:"-1"},[e("a",{class:"header-anchor",href:"#inlayhint","aria-hidden":"true"},"#"),t(" InlayHint")],-1),h=e("code",null,"interface",-1),l={href:"https://microsoft.github.io/monaco-editor/docs.html#interfaces/languages.InlayHint.html",target:"_blank",rel:"noopener noreferrer"},_=e("h2",{id:"属性-properties",tabindex:"-1"},[e("a",{class:"header-anchor",href:"#属性-properties","aria-hidden":"true"},"#"),t(" 属性 Properties")],-1),f=e("h2",{id:"方法-methods",tabindex:"-1"},[e("a",{class:"header-anchor",href:"#方法-methods","aria-hidden":"true"},"#"),t(" 方法 Methods")],-1);function m(p,u){const n=o("ExternalLinkIcon");return r(),s("div",null,[d,e("p",null,[h,t(),e("a",l,[t("官网地址"),i(n)])]),_,f])}const y=a(c,[["render",m],["__file","InlayHint.html.vue"]]);export{y as default};
diff --git a/assets/InlayHintLabelPart.html-09b9e01f.js b/assets/InlayHintLabelPart.html-09b9e01f.js
new file mode 100644
index 00000000..1c3a3f4c
--- /dev/null
+++ b/assets/InlayHintLabelPart.html-09b9e01f.js
@@ -0,0 +1 @@
+const t=JSON.parse('{"key":"v-f0694ffe","path":"/language/interfaces/InlayHintLabelPart.html","title":"InlayHintLabelPart","lang":"zh-CN","frontmatter":{"description":"interface 官网地址 (https://microsoft.github.io/monaco-editor/docs.html#interfaces/languages.InlayHintLabelPart.html) 属性 Properties 方法 Methods","head":[["meta",{"property":"og:url","content":"http://aydk.site/language/interfaces/InlayHintLabelPart.html"}],["meta",{"property":"og:site_name","content":"Monaco-editor 学习文档"}],["meta",{"property":"og:title","content":"InlayHintLabelPart"}],["meta",{"property":"og:description","content":"interface 官网地址 (https://microsoft.github.io/monaco-editor/docs.html#interfaces/languages.InlayHintLabelPart.html) 属性 Properties 方法 Methods"}],["meta",{"property":"og:type","content":"article"}],["meta",{"property":"og:locale","content":"zh-CN"}],["meta",{"property":"og:updated_time","content":"2023-06-16T19:55:24.000Z"}],["meta",{"property":"article:author","content":"aydk"}],["meta",{"property":"article:modified_time","content":"2023-06-16T19:55:24.000Z"}],["script",{"type":"application/ld+json"},"{\\"@context\\":\\"https://schema.org\\",\\"@type\\":\\"Article\\",\\"headline\\":\\"InlayHintLabelPart\\",\\"image\\":[\\"\\"],\\"dateModified\\":\\"2023-06-16T19:55:24.000Z\\",\\"author\\":[{\\"@type\\":\\"Person\\",\\"name\\":\\"aydk\\"}]}"]]},"headers":[{"level":2,"title":"属性 Properties","slug":"属性-properties","link":"#属性-properties","children":[]},{"level":2,"title":"方法 Methods","slug":"方法-methods","link":"#方法-methods","children":[]}],"git":{"createdTime":1686945324000,"updatedTime":1686945324000,"contributors":[{"name":"xiaochaochao","email":"xiaochaochao","commits":1}]},"readingTime":{"minutes":0.05,"words":16},"filePathRelative":"language/interfaces/InlayHintLabelPart.md","localizedDate":"2023年6月16日","autoDesc":true}');export{t as data};
diff --git a/assets/InlayHintLabelPart.html-4f0168d5.js b/assets/InlayHintLabelPart.html-4f0168d5.js
new file mode 100644
index 00000000..816d359d
--- /dev/null
+++ b/assets/InlayHintLabelPart.html-4f0168d5.js
@@ -0,0 +1 @@
+import{_ as r}from"./plugin-vue_export-helper-c27b6911.js";import{r as n,o,c as s,a as e,b as t,d as i}from"./app-5f5ef0a9.js";const l={},c=e("h1",{id:"inlayhintlabelpart",tabindex:"-1"},[e("a",{class:"header-anchor",href:"#inlayhintlabelpart","aria-hidden":"true"},"#"),t(" InlayHintLabelPart")],-1),d=e("code",null,"interface",-1),h={href:"https://microsoft.github.io/monaco-editor/docs.html#interfaces/languages.InlayHintLabelPart.html",target:"_blank",rel:"noopener noreferrer"},_=e("h2",{id:"属性-properties",tabindex:"-1"},[e("a",{class:"header-anchor",href:"#属性-properties","aria-hidden":"true"},"#"),t(" 属性 Properties")],-1),p=e("h2",{id:"方法-methods",tabindex:"-1"},[e("a",{class:"header-anchor",href:"#方法-methods","aria-hidden":"true"},"#"),t(" 方法 Methods")],-1);function f(m,b){const a=n("ExternalLinkIcon");return o(),s("div",null,[c,e("p",null,[d,t(),e("a",h,[t("官网地址"),i(a)])]),_,p])}const y=r(l,[["render",f],["__file","InlayHintLabelPart.html.vue"]]);export{y as default};
diff --git a/assets/InlayHintList.html-3fe3d5ac.js b/assets/InlayHintList.html-3fe3d5ac.js
new file mode 100644
index 00000000..6e39f812
--- /dev/null
+++ b/assets/InlayHintList.html-3fe3d5ac.js
@@ -0,0 +1 @@
+const t=JSON.parse('{"key":"v-b2f8d468","path":"/language/interfaces/InlayHintList.html","title":"InlayHintList","lang":"zh-CN","frontmatter":{"description":"interface 官网地址 (https://microsoft.github.io/monaco-editor/docs.html#interfaces/languages.InlayHintList.html) 属性 Properties 方法 Methods","head":[["meta",{"property":"og:url","content":"http://aydk.site/language/interfaces/InlayHintList.html"}],["meta",{"property":"og:site_name","content":"Monaco-editor 学习文档"}],["meta",{"property":"og:title","content":"InlayHintList"}],["meta",{"property":"og:description","content":"interface 官网地址 (https://microsoft.github.io/monaco-editor/docs.html#interfaces/languages.InlayHintList.html) 属性 Properties 方法 Methods"}],["meta",{"property":"og:type","content":"article"}],["meta",{"property":"og:locale","content":"zh-CN"}],["meta",{"property":"og:updated_time","content":"2023-06-16T19:55:24.000Z"}],["meta",{"property":"article:author","content":"aydk"}],["meta",{"property":"article:modified_time","content":"2023-06-16T19:55:24.000Z"}],["script",{"type":"application/ld+json"},"{\\"@context\\":\\"https://schema.org\\",\\"@type\\":\\"Article\\",\\"headline\\":\\"InlayHintList\\",\\"image\\":[\\"\\"],\\"dateModified\\":\\"2023-06-16T19:55:24.000Z\\",\\"author\\":[{\\"@type\\":\\"Person\\",\\"name\\":\\"aydk\\"}]}"]]},"headers":[{"level":2,"title":"属性 Properties","slug":"属性-properties","link":"#属性-properties","children":[]},{"level":2,"title":"方法 Methods","slug":"方法-methods","link":"#方法-methods","children":[]}],"git":{"createdTime":1686945324000,"updatedTime":1686945324000,"contributors":[{"name":"xiaochaochao","email":"xiaochaochao","commits":1}]},"readingTime":{"minutes":0.05,"words":16},"filePathRelative":"language/interfaces/InlayHintList.md","localizedDate":"2023年6月16日","autoDesc":true}');export{t as data};
diff --git a/assets/InlayHintList.html-5206702e.js b/assets/InlayHintList.html-5206702e.js
new file mode 100644
index 00000000..78d72e4b
--- /dev/null
+++ b/assets/InlayHintList.html-5206702e.js
@@ -0,0 +1 @@
+import{_ as a}from"./plugin-vue_export-helper-c27b6911.js";import{r as o,o as r,c as s,a as e,b as t,d as i}from"./app-5f5ef0a9.js";const c={},d=e("h1",{id:"inlayhintlist",tabindex:"-1"},[e("a",{class:"header-anchor",href:"#inlayhintlist","aria-hidden":"true"},"#"),t(" InlayHintList")],-1),h=e("code",null,"interface",-1),l={href:"https://microsoft.github.io/monaco-editor/docs.html#interfaces/languages.InlayHintList.html",target:"_blank",rel:"noopener noreferrer"},_=e("h2",{id:"属性-properties",tabindex:"-1"},[e("a",{class:"header-anchor",href:"#属性-properties","aria-hidden":"true"},"#"),t(" 属性 Properties")],-1),f=e("h2",{id:"方法-methods",tabindex:"-1"},[e("a",{class:"header-anchor",href:"#方法-methods","aria-hidden":"true"},"#"),t(" 方法 Methods")],-1);function m(p,u){const n=o("ExternalLinkIcon");return r(),s("div",null,[d,e("p",null,[h,t(),e("a",l,[t("官网地址"),i(n)])]),_,f])}const y=a(c,[["render",m],["__file","InlayHintList.html.vue"]]);export{y as default};
diff --git a/assets/InlayHintsProvider.html-cebf82c0.js b/assets/InlayHintsProvider.html-cebf82c0.js
new file mode 100644
index 00000000..9ed322c4
--- /dev/null
+++ b/assets/InlayHintsProvider.html-cebf82c0.js
@@ -0,0 +1 @@
+const e=JSON.parse('{"key":"v-1ffdf0f8","path":"/language/interfaces/InlayHintsProvider.html","title":"InlayHintsProvider","lang":"zh-CN","frontmatter":{"description":"interface 官网地址 (https://microsoft.github.io/monaco-editor/docs.html#interfaces/languages.InlayHintsProvider.html) 属性 Properties 方法 Methods","head":[["meta",{"property":"og:url","content":"http://aydk.site/language/interfaces/InlayHintsProvider.html"}],["meta",{"property":"og:site_name","content":"Monaco-editor 学习文档"}],["meta",{"property":"og:title","content":"InlayHintsProvider"}],["meta",{"property":"og:description","content":"interface 官网地址 (https://microsoft.github.io/monaco-editor/docs.html#interfaces/languages.InlayHintsProvider.html) 属性 Properties 方法 Methods"}],["meta",{"property":"og:type","content":"article"}],["meta",{"property":"og:locale","content":"zh-CN"}],["meta",{"property":"og:updated_time","content":"2023-06-16T19:55:24.000Z"}],["meta",{"property":"article:author","content":"aydk"}],["meta",{"property":"article:modified_time","content":"2023-06-16T19:55:24.000Z"}],["script",{"type":"application/ld+json"},"{\\"@context\\":\\"https://schema.org\\",\\"@type\\":\\"Article\\",\\"headline\\":\\"InlayHintsProvider\\",\\"image\\":[\\"\\"],\\"dateModified\\":\\"2023-06-16T19:55:24.000Z\\",\\"author\\":[{\\"@type\\":\\"Person\\",\\"name\\":\\"aydk\\"}]}"]]},"headers":[{"level":2,"title":"属性 Properties","slug":"属性-properties","link":"#属性-properties","children":[]},{"level":2,"title":"方法 Methods","slug":"方法-methods","link":"#方法-methods","children":[]}],"git":{"createdTime":1686945324000,"updatedTime":1686945324000,"contributors":[{"name":"xiaochaochao","email":"xiaochaochao","commits":1}]},"readingTime":{"minutes":0.05,"words":16},"filePathRelative":"language/interfaces/InlayHintsProvider.md","localizedDate":"2023年6月16日","autoDesc":true}');export{e as data};
diff --git a/assets/InlayHintsProvider.html-e7c3aa5b.js b/assets/InlayHintsProvider.html-e7c3aa5b.js
new file mode 100644
index 00000000..51776c37
--- /dev/null
+++ b/assets/InlayHintsProvider.html-e7c3aa5b.js
@@ -0,0 +1 @@
+import{_ as o}from"./plugin-vue_export-helper-c27b6911.js";import{r as n,o as a,c as s,a as e,b as r,d as i}from"./app-5f5ef0a9.js";const d={},c=e("h1",{id:"inlayhintsprovider",tabindex:"-1"},[e("a",{class:"header-anchor",href:"#inlayhintsprovider","aria-hidden":"true"},"#"),r(" InlayHintsProvider")],-1),h=e("code",null,"interface",-1),l={href:"https://microsoft.github.io/monaco-editor/docs.html#interfaces/languages.InlayHintsProvider.html",target:"_blank",rel:"noopener noreferrer"},_=e("h2",{id:"属性-properties",tabindex:"-1"},[e("a",{class:"header-anchor",href:"#属性-properties","aria-hidden":"true"},"#"),r(" 属性 Properties")],-1),p=e("h2",{id:"方法-methods",tabindex:"-1"},[e("a",{class:"header-anchor",href:"#方法-methods","aria-hidden":"true"},"#"),r(" 方法 Methods")],-1);function f(m,u){const t=n("ExternalLinkIcon");return a(),s("div",null,[c,e("p",null,[h,r(),e("a",l,[r("官网地址"),i(t)])]),_,p])}const b=o(d,[["render",f],["__file","InlayHintsProvider.html.vue"]]);export{b as default};
diff --git a/assets/InlineCompletion.html-9a70c75a.js b/assets/InlineCompletion.html-9a70c75a.js
new file mode 100644
index 00000000..60962665
--- /dev/null
+++ b/assets/InlineCompletion.html-9a70c75a.js
@@ -0,0 +1 @@
+const e=JSON.parse('{"key":"v-7855b98d","path":"/language/interfaces/InlineCompletion.html","title":"InlineCompletion","lang":"zh-CN","frontmatter":{"description":"interface 官网地址 (https://microsoft.github.io/monaco-editor/docs.html#interfaces/languages.InlineCompletion.html) 属性 Properties 方法 Methods","head":[["meta",{"property":"og:url","content":"http://aydk.site/language/interfaces/InlineCompletion.html"}],["meta",{"property":"og:site_name","content":"Monaco-editor 学习文档"}],["meta",{"property":"og:title","content":"InlineCompletion"}],["meta",{"property":"og:description","content":"interface 官网地址 (https://microsoft.github.io/monaco-editor/docs.html#interfaces/languages.InlineCompletion.html) 属性 Properties 方法 Methods"}],["meta",{"property":"og:type","content":"article"}],["meta",{"property":"og:locale","content":"zh-CN"}],["meta",{"property":"og:updated_time","content":"2023-06-16T19:55:24.000Z"}],["meta",{"property":"article:author","content":"aydk"}],["meta",{"property":"article:modified_time","content":"2023-06-16T19:55:24.000Z"}],["script",{"type":"application/ld+json"},"{\\"@context\\":\\"https://schema.org\\",\\"@type\\":\\"Article\\",\\"headline\\":\\"InlineCompletion\\",\\"image\\":[\\"\\"],\\"dateModified\\":\\"2023-06-16T19:55:24.000Z\\",\\"author\\":[{\\"@type\\":\\"Person\\",\\"name\\":\\"aydk\\"}]}"]]},"headers":[{"level":2,"title":"属性 Properties","slug":"属性-properties","link":"#属性-properties","children":[]},{"level":2,"title":"方法 Methods","slug":"方法-methods","link":"#方法-methods","children":[]}],"git":{"createdTime":1686945324000,"updatedTime":1686945324000,"contributors":[{"name":"xiaochaochao","email":"xiaochaochao","commits":1}]},"readingTime":{"minutes":0.05,"words":16},"filePathRelative":"language/interfaces/InlineCompletion.md","localizedDate":"2023年6月16日","autoDesc":true}');export{e as data};
diff --git a/assets/InlineCompletion.html-9d4804d0.js b/assets/InlineCompletion.html-9d4804d0.js
new file mode 100644
index 00000000..9e607ccb
--- /dev/null
+++ b/assets/InlineCompletion.html-9d4804d0.js
@@ -0,0 +1 @@
+import{_ as t}from"./plugin-vue_export-helper-c27b6911.js";import{r,o as a,c as i,a as e,b as o,d as s}from"./app-5f5ef0a9.js";const c={},l=e("h1",{id:"inlinecompletion",tabindex:"-1"},[e("a",{class:"header-anchor",href:"#inlinecompletion","aria-hidden":"true"},"#"),o(" InlineCompletion")],-1),d=e("code",null,"interface",-1),h={href:"https://microsoft.github.io/monaco-editor/docs.html#interfaces/languages.InlineCompletion.html",target:"_blank",rel:"noopener noreferrer"},_=e("h2",{id:"属性-properties",tabindex:"-1"},[e("a",{class:"header-anchor",href:"#属性-properties","aria-hidden":"true"},"#"),o(" 属性 Properties")],-1),m=e("h2",{id:"方法-methods",tabindex:"-1"},[e("a",{class:"header-anchor",href:"#方法-methods","aria-hidden":"true"},"#"),o(" 方法 Methods")],-1);function p(f,u){const n=r("ExternalLinkIcon");return a(),i("div",null,[l,e("p",null,[d,o(),e("a",h,[o("官网地址"),s(n)])]),_,m])}const I=t(c,[["render",p],["__file","InlineCompletion.html.vue"]]);export{I as default};
diff --git a/assets/InlineCompletionContext.html-63b37fa9.js b/assets/InlineCompletionContext.html-63b37fa9.js
new file mode 100644
index 00000000..38314447
--- /dev/null
+++ b/assets/InlineCompletionContext.html-63b37fa9.js
@@ -0,0 +1 @@
+import{_ as n}from"./plugin-vue_export-helper-c27b6911.js";import{r,o as a,c as i,a as e,b as t,d as s}from"./app-5f5ef0a9.js";const c={},l=e("h1",{id:"inlinecompletioncontext",tabindex:"-1"},[e("a",{class:"header-anchor",href:"#inlinecompletioncontext","aria-hidden":"true"},"#"),t(" InlineCompletionContext")],-1),d=e("code",null,"interface",-1),h={href:"https://microsoft.github.io/monaco-editor/docs.html#interfaces/languages.InlineCompletionContext.html",target:"_blank",rel:"noopener noreferrer"},_=e("h2",{id:"属性-properties",tabindex:"-1"},[e("a",{class:"header-anchor",href:"#属性-properties","aria-hidden":"true"},"#"),t(" 属性 Properties")],-1),m=e("h2",{id:"方法-methods",tabindex:"-1"},[e("a",{class:"header-anchor",href:"#方法-methods","aria-hidden":"true"},"#"),t(" 方法 Methods")],-1);function p(f,x){const o=r("ExternalLinkIcon");return a(),i("div",null,[l,e("p",null,[d,t(),e("a",h,[t("官网地址"),s(o)])]),_,m])}const b=n(c,[["render",p],["__file","InlineCompletionContext.html.vue"]]);export{b as default};
diff --git a/assets/InlineCompletionContext.html-c80a0850.js b/assets/InlineCompletionContext.html-c80a0850.js
new file mode 100644
index 00000000..f89e01d9
--- /dev/null
+++ b/assets/InlineCompletionContext.html-c80a0850.js
@@ -0,0 +1 @@
+const e=JSON.parse('{"key":"v-23e6a976","path":"/language/interfaces/InlineCompletionContext.html","title":"InlineCompletionContext","lang":"zh-CN","frontmatter":{"description":"interface 官网地址 (https://microsoft.github.io/monaco-editor/docs.html#interfaces/languages.InlineCompletionContext.html) 属性 Properties 方法 Methods","head":[["meta",{"property":"og:url","content":"http://aydk.site/language/interfaces/InlineCompletionContext.html"}],["meta",{"property":"og:site_name","content":"Monaco-editor 学习文档"}],["meta",{"property":"og:title","content":"InlineCompletionContext"}],["meta",{"property":"og:description","content":"interface 官网地址 (https://microsoft.github.io/monaco-editor/docs.html#interfaces/languages.InlineCompletionContext.html) 属性 Properties 方法 Methods"}],["meta",{"property":"og:type","content":"article"}],["meta",{"property":"og:locale","content":"zh-CN"}],["meta",{"property":"og:updated_time","content":"2023-06-16T19:55:24.000Z"}],["meta",{"property":"article:author","content":"aydk"}],["meta",{"property":"article:modified_time","content":"2023-06-16T19:55:24.000Z"}],["script",{"type":"application/ld+json"},"{\\"@context\\":\\"https://schema.org\\",\\"@type\\":\\"Article\\",\\"headline\\":\\"InlineCompletionContext\\",\\"image\\":[\\"\\"],\\"dateModified\\":\\"2023-06-16T19:55:24.000Z\\",\\"author\\":[{\\"@type\\":\\"Person\\",\\"name\\":\\"aydk\\"}]}"]]},"headers":[{"level":2,"title":"属性 Properties","slug":"属性-properties","link":"#属性-properties","children":[]},{"level":2,"title":"方法 Methods","slug":"方法-methods","link":"#方法-methods","children":[]}],"git":{"createdTime":1686945324000,"updatedTime":1686945324000,"contributors":[{"name":"xiaochaochao","email":"xiaochaochao","commits":1}]},"readingTime":{"minutes":0.05,"words":16},"filePathRelative":"language/interfaces/InlineCompletionContext.md","localizedDate":"2023年6月16日","autoDesc":true}');export{e as data};
diff --git a/assets/InlineCompletions.html-6216835f.js b/assets/InlineCompletions.html-6216835f.js
new file mode 100644
index 00000000..5635b583
--- /dev/null
+++ b/assets/InlineCompletions.html-6216835f.js
@@ -0,0 +1 @@
+import{_ as t}from"./plugin-vue_export-helper-c27b6911.js";import{r,o as s,c as a,a as e,b as o,d as i}from"./app-5f5ef0a9.js";const c={},l=e("h1",{id:"inlinecompletions",tabindex:"-1"},[e("a",{class:"header-anchor",href:"#inlinecompletions","aria-hidden":"true"},"#"),o(" InlineCompletions")],-1),d=e("code",null,"interface",-1),h={href:"https://microsoft.github.io/monaco-editor/docs.html#interfaces/languages.InlineCompletions.html",target:"_blank",rel:"noopener noreferrer"},_=e("h2",{id:"属性-properties",tabindex:"-1"},[e("a",{class:"header-anchor",href:"#属性-properties","aria-hidden":"true"},"#"),o(" 属性 Properties")],-1),m=e("h2",{id:"方法-methods",tabindex:"-1"},[e("a",{class:"header-anchor",href:"#方法-methods","aria-hidden":"true"},"#"),o(" 方法 Methods")],-1);function p(f,u){const n=r("ExternalLinkIcon");return s(),a("div",null,[l,e("p",null,[d,o(),e("a",h,[o("官网地址"),i(n)])]),_,m])}const I=t(c,[["render",p],["__file","InlineCompletions.html.vue"]]);export{I as default};
diff --git a/assets/InlineCompletions.html-def5317b.js b/assets/InlineCompletions.html-def5317b.js
new file mode 100644
index 00000000..602ff64c
--- /dev/null
+++ b/assets/InlineCompletions.html-def5317b.js
@@ -0,0 +1 @@
+const e=JSON.parse('{"key":"v-04e92e12","path":"/language/interfaces/InlineCompletions.html","title":"InlineCompletions","lang":"zh-CN","frontmatter":{"description":"interface 官网地址 (https://microsoft.github.io/monaco-editor/docs.html#interfaces/languages.InlineCompletions.html) 属性 Properties 方法 Methods","head":[["meta",{"property":"og:url","content":"http://aydk.site/language/interfaces/InlineCompletions.html"}],["meta",{"property":"og:site_name","content":"Monaco-editor 学习文档"}],["meta",{"property":"og:title","content":"InlineCompletions"}],["meta",{"property":"og:description","content":"interface 官网地址 (https://microsoft.github.io/monaco-editor/docs.html#interfaces/languages.InlineCompletions.html) 属性 Properties 方法 Methods"}],["meta",{"property":"og:type","content":"article"}],["meta",{"property":"og:locale","content":"zh-CN"}],["meta",{"property":"og:updated_time","content":"2023-06-16T19:55:24.000Z"}],["meta",{"property":"article:author","content":"aydk"}],["meta",{"property":"article:modified_time","content":"2023-06-16T19:55:24.000Z"}],["script",{"type":"application/ld+json"},"{\\"@context\\":\\"https://schema.org\\",\\"@type\\":\\"Article\\",\\"headline\\":\\"InlineCompletions\\",\\"image\\":[\\"\\"],\\"dateModified\\":\\"2023-06-16T19:55:24.000Z\\",\\"author\\":[{\\"@type\\":\\"Person\\",\\"name\\":\\"aydk\\"}]}"]]},"headers":[{"level":2,"title":"属性 Properties","slug":"属性-properties","link":"#属性-properties","children":[]},{"level":2,"title":"方法 Methods","slug":"方法-methods","link":"#方法-methods","children":[]}],"git":{"createdTime":1686945324000,"updatedTime":1686945324000,"contributors":[{"name":"xiaochaochao","email":"xiaochaochao","commits":1}]},"readingTime":{"minutes":0.05,"words":16},"filePathRelative":"language/interfaces/InlineCompletions.md","localizedDate":"2023年6月16日","autoDesc":true}');export{e as data};
diff --git a/assets/InlineCompletionsProvider.html-6c17a1f1.js b/assets/InlineCompletionsProvider.html-6c17a1f1.js
new file mode 100644
index 00000000..01fb3f46
--- /dev/null
+++ b/assets/InlineCompletionsProvider.html-6c17a1f1.js
@@ -0,0 +1 @@
+import{_ as n}from"./plugin-vue_export-helper-c27b6911.js";import{r as t,o as i,c as s,a as e,b as o,d as a}from"./app-5f5ef0a9.js";const d={},c=e("h1",{id:"inlinecompletionsprovider",tabindex:"-1"},[e("a",{class:"header-anchor",href:"#inlinecompletionsprovider","aria-hidden":"true"},"#"),o(" InlineCompletionsProvider")],-1),l=e("code",null,"interface",-1),h={href:"https://microsoft.github.io/monaco-editor/docs.html#interfaces/languages.InlineCompletionsProvider.html",target:"_blank",rel:"noopener noreferrer"},_=e("h2",{id:"属性-properties",tabindex:"-1"},[e("a",{class:"header-anchor",href:"#属性-properties","aria-hidden":"true"},"#"),o(" 属性 Properties")],-1),p=e("h2",{id:"方法-methods",tabindex:"-1"},[e("a",{class:"header-anchor",href:"#方法-methods","aria-hidden":"true"},"#"),o(" 方法 Methods")],-1);function m(f,u){const r=t("ExternalLinkIcon");return i(),s("div",null,[c,e("p",null,[l,o(),e("a",h,[o("官网地址"),a(r)])]),_,p])}const b=n(d,[["render",m],["__file","InlineCompletionsProvider.html.vue"]]);export{b as default};
diff --git a/assets/InlineCompletionsProvider.html-e4b5f379.js b/assets/InlineCompletionsProvider.html-e4b5f379.js
new file mode 100644
index 00000000..81d83b80
--- /dev/null
+++ b/assets/InlineCompletionsProvider.html-e4b5f379.js
@@ -0,0 +1 @@
+const e=JSON.parse('{"key":"v-2f41c4be","path":"/language/interfaces/InlineCompletionsProvider.html","title":"InlineCompletionsProvider","lang":"zh-CN","frontmatter":{"description":"interface 官网地址 (https://microsoft.github.io/monaco-editor/docs.html#interfaces/languages.InlineCompletionsProvider.html) 属性 Properties 方法 Methods","head":[["meta",{"property":"og:url","content":"http://aydk.site/language/interfaces/InlineCompletionsProvider.html"}],["meta",{"property":"og:site_name","content":"Monaco-editor 学习文档"}],["meta",{"property":"og:title","content":"InlineCompletionsProvider"}],["meta",{"property":"og:description","content":"interface 官网地址 (https://microsoft.github.io/monaco-editor/docs.html#interfaces/languages.InlineCompletionsProvider.html) 属性 Properties 方法 Methods"}],["meta",{"property":"og:type","content":"article"}],["meta",{"property":"og:locale","content":"zh-CN"}],["meta",{"property":"og:updated_time","content":"2023-06-16T19:55:24.000Z"}],["meta",{"property":"article:author","content":"aydk"}],["meta",{"property":"article:modified_time","content":"2023-06-16T19:55:24.000Z"}],["script",{"type":"application/ld+json"},"{\\"@context\\":\\"https://schema.org\\",\\"@type\\":\\"Article\\",\\"headline\\":\\"InlineCompletionsProvider\\",\\"image\\":[\\"\\"],\\"dateModified\\":\\"2023-06-16T19:55:24.000Z\\",\\"author\\":[{\\"@type\\":\\"Person\\",\\"name\\":\\"aydk\\"}]}"]]},"headers":[{"level":2,"title":"属性 Properties","slug":"属性-properties","link":"#属性-properties","children":[]},{"level":2,"title":"方法 Methods","slug":"方法-methods","link":"#方法-methods","children":[]}],"git":{"createdTime":1686945324000,"updatedTime":1686945324000,"contributors":[{"name":"xiaochaochao","email":"xiaochaochao","commits":1}]},"readingTime":{"minutes":0.05,"words":16},"filePathRelative":"language/interfaces/InlineCompletionsProvider.md","localizedDate":"2023年6月16日","autoDesc":true}');export{e as data};
diff --git a/assets/InternalEditorRenderLineNumbersOptions.html-0f69716d.js b/assets/InternalEditorRenderLineNumbersOptions.html-0f69716d.js
new file mode 100644
index 00000000..28d0322f
--- /dev/null
+++ b/assets/InternalEditorRenderLineNumbersOptions.html-0f69716d.js
@@ -0,0 +1 @@
+import{_ as d}from"./plugin-vue_export-helper-c27b6911.js";import{r,o as a,c as l,a as e,b as n,d as t,w as s,e as c}from"./app-5f5ef0a9.js";const h={},u=e("h1",{id:"internaleditorrenderlinenumbersoptions",tabindex:"-1"},[e("a",{class:"header-anchor",href:"#internaleditorrenderlinenumbersoptions","aria-hidden":"true"},"#"),n(" InternalEditorRenderLineNumbersOptions")],-1),_=e("code",null,"interface",-1),m={href:"https://microsoft.github.io/monaco-editor/docs.html#interfaces/editor.InternalEditorRenderLineNumbersOptions.html",target:"_blank",rel:"noopener noreferrer"},p=c(' 属性 Properties
renderFn
- 类型:
((lineNumber: number) => string)
只读
- 默认值:
-
- 可选项:
-
- 描述: ``
renderType
',4),f=e("code",null,"只读",-1),b=e("li",null,[n("默认值: "),e("code",null,"-")],-1),x=e("li",null,[n("可选项: "),e("code",null,"-")],-1),N=e("li",null,"描述: ``",-1);function L(k,E){const o=r("ExternalLinkIcon"),i=r("RouterLink");return a(),l("div",null,[u,e("p",null,[_,n(),e("a",m,[n("官网地址"),t(o)])]),p,e("ul",null,[e("li",null,[n("类型: "),t(i,{to:"/editor/enumerations.html#renderlinenumberstype"},{default:s(()=>[n("RenderLineNumbersType")]),_:1}),n(),f]),b,x,N])])}const y=d(h,[["render",L],["__file","InternalEditorRenderLineNumbersOptions.html.vue"]]);export{y as default};
diff --git a/assets/InternalEditorRenderLineNumbersOptions.html-56b1a0a8.js b/assets/InternalEditorRenderLineNumbersOptions.html-56b1a0a8.js
new file mode 100644
index 00000000..969a1d2e
--- /dev/null
+++ b/assets/InternalEditorRenderLineNumbersOptions.html-56b1a0a8.js
@@ -0,0 +1 @@
+const e=JSON.parse('{"key":"v-20e2f525","path":"/editor/interfaces/InternalEditorRenderLineNumbersOptions.html","title":"InternalEditorRenderLineNumbersOptions","lang":"zh-CN","frontmatter":{"description":"interface 官网地址 (https://microsoft.github.io/monaco-editor/docs.html#interfaces/editor.InternalEditorRenderLineNumbersOptions.html) 属性 Properties renderFn 类型: ((lineNumber: numbe...","head":[["meta",{"property":"og:url","content":"http://aydk.site/editor/interfaces/InternalEditorRenderLineNumbersOptions.html"}],["meta",{"property":"og:site_name","content":"Monaco-editor 学习文档"}],["meta",{"property":"og:title","content":"InternalEditorRenderLineNumbersOptions"}],["meta",{"property":"og:description","content":"interface 官网地址 (https://microsoft.github.io/monaco-editor/docs.html#interfaces/editor.InternalEditorRenderLineNumbersOptions.html) 属性 Properties renderFn 类型: ((lineNumber: numbe..."}],["meta",{"property":"og:type","content":"article"}],["meta",{"property":"og:locale","content":"zh-CN"}],["meta",{"property":"og:updated_time","content":"2023-06-16T20:04:45.000Z"}],["meta",{"property":"article:author","content":"aydk"}],["meta",{"property":"article:modified_time","content":"2023-06-16T20:04:45.000Z"}],["script",{"type":"application/ld+json"},"{\\"@context\\":\\"https://schema.org\\",\\"@type\\":\\"Article\\",\\"headline\\":\\"InternalEditorRenderLineNumbersOptions\\",\\"image\\":[\\"\\"],\\"dateModified\\":\\"2023-06-16T20:04:45.000Z\\",\\"author\\":[{\\"@type\\":\\"Person\\",\\"name\\":\\"aydk\\"}]}"]]},"headers":[{"level":2,"title":"属性 Properties","slug":"属性-properties","link":"#属性-properties","children":[{"level":3,"title":"renderFn","slug":"renderfn","link":"#renderfn","children":[]},{"level":3,"title":"renderType","slug":"rendertype","link":"#rendertype","children":[]}]}],"git":{"createdTime":1686945885000,"updatedTime":1686945885000,"contributors":[{"name":"xiaochaochao","email":"xiaochaochao","commits":1}]},"readingTime":{"minutes":0.15,"words":45},"filePathRelative":"editor/interfaces/InternalEditorRenderLineNumbersOptions.md","localizedDate":"2023年6月16日","autoDesc":true}');export{e as data};
diff --git a/assets/InternalEditorScrollbarOptions.html-e37f3aeb.js b/assets/InternalEditorScrollbarOptions.html-e37f3aeb.js
new file mode 100644
index 00000000..5e437e9d
--- /dev/null
+++ b/assets/InternalEditorScrollbarOptions.html-e37f3aeb.js
@@ -0,0 +1 @@
+import{_ as n}from"./plugin-vue_export-helper-c27b6911.js";import{r as a,o as t,c as s,a as e,b as o,d as l,w as c,e as i}from"./app-5f5ef0a9.js";const h={},u=e("h1",{id:"internaleditorscrollbaroptions",tabindex:"-1"},[e("a",{class:"header-anchor",href:"#internaleditorscrollbaroptions","aria-hidden":"true"},"#"),o(" InternalEditorScrollbarOptions")],-1),b=e("code",null,"interface",-1),_={href:"https://microsoft.github.io/monaco-editor/docs.html#interfaces/editor.InternalEditorScrollbarOptions.html",target:"_blank",rel:"noopener noreferrer"},f=i(' 属性 Properties
alwaysConsumeMouseWheel
- 类型:
boolean
只读
- 默认值:
false
- 可选项:
-
- 描述:
在滚动条上滚动鼠标滚轮时,是否始终消耗鼠标滚轮事件。
arrowSize
- 类型:
number
只读
- 默认值:
11
- 可选项:
-
- 描述:
滚动条箭头的大小。
handleMouseWheel
- 类型:
boolean
只读
- 默认值:
true
- 可选项:
-
- 描述:
是否使用鼠标滚轮滚动滚动条。
horizontal
',8),m=e("code",null,"只读",-1),z=e("li",null,[o("默认值: "),e("code",null,"auto")],-1),p=e("li",null,[o("可选项: "),e("code",null,"auto"),o(" 、 "),e("code",null,"hidden"),o(" 、 "),e("code",null,"visible")],-1),x=e("li",null,[o("描述: "),e("code",null,"水平滚动条的可见性。")],-1),w=i(' horizontalHasArrows
- 类型:
boolean
只读
- 默认值:
false
- 可选项:
-
- 描述:
水平滚动条是否包含箭头。
- 类型:
number
只读
- 默认值:
10
- 可选项:
-
- 描述:
水平滚动条的大小。
horizontalSliderSize
- 类型:
number
只读
- 默认值:
0
- 可选项:
-
- 描述:
水平滑块的大小。
scrollByPage
- 类型:
boolean
只读
- 默认值:
true
- 可选项:
-
- 描述:
是否启用使用页面滚动而不是行滚动的滚动条滚动。
useShadows
- 类型:
boolean
只读
- 默认值:
true
- 可选项:
-
- 描述:
是否在滚动条两侧显示阴影。
vertical
',11),v=e("code",null,"只读",-1),S=e("li",null,[o("默认值: "),e("code",null,"auto")],-1),y=e("li",null,[o("可选项: "),e("code",null,"auto"),o(" 、 "),e("code",null,"hidden"),o(" 、 "),e("code",null,"visible")],-1),k=e("li",null,[o("描述: "),e("code",null,"垂直滚动条的可见性。")],-1),E=i(' verticalHasArrows
- 类型:
boolean
只读
- 默认值:
false
- 可选项:
-
- 描述:
垂直滚动条是否包含箭头。
- 类型:
number
只读
- 默认值:
10
- 可选项:
-
- 描述:
垂直滚动条的大小。
verticalSliderSize
- 类型:
number
只读
- 默认值:
0
- 可选项:
-
- 描述:
垂直滑块的大小。
',6);function I(V,g){const r=a("ExternalLinkIcon"),d=a("RouterLink");return t(),s("div",null,[u,e("p",null,[b,o(),e("a",_,[o("官网地址"),l(r)])]),f,e("ul",null,[e("li",null,[o("类型: "),l(d,{to:"/editor/enumerations.html#scrollbarvisibility"},{default:c(()=>[o("ScrollbarVisibility")]),_:1}),o(),m]),z,p,x]),w,e("ul",null,[e("li",null,[o("类型: "),l(d,{to:"/editor/enumerations.html#scrollbarvisibility"},{default:c(()=>[o("ScrollbarVisibility")]),_:1}),o(),v]),S,y,k]),E])}const N=n(h,[["render",I],["__file","InternalEditorScrollbarOptions.html.vue"]]);export{N as default};
diff --git a/assets/InternalEditorScrollbarOptions.html-ef0c8c47.js b/assets/InternalEditorScrollbarOptions.html-ef0c8c47.js
new file mode 100644
index 00000000..a30b2509
--- /dev/null
+++ b/assets/InternalEditorScrollbarOptions.html-ef0c8c47.js
@@ -0,0 +1 @@
+const e=JSON.parse('{"key":"v-324cb40b","path":"/editor/interfaces/InternalEditorScrollbarOptions.html","title":"InternalEditorScrollbarOptions","lang":"zh-CN","frontmatter":{"description":"interface 官网地址 (https://microsoft.github.io/monaco-editor/docs.html#interfaces/editor.InternalEditorScrollbarOptions.html) 属性 Properties alwaysConsumeMouseWheel 类型: boolean `只读 ...","head":[["meta",{"property":"og:url","content":"http://aydk.site/editor/interfaces/InternalEditorScrollbarOptions.html"}],["meta",{"property":"og:site_name","content":"Monaco-editor 学习文档"}],["meta",{"property":"og:title","content":"InternalEditorScrollbarOptions"}],["meta",{"property":"og:description","content":"interface 官网地址 (https://microsoft.github.io/monaco-editor/docs.html#interfaces/editor.InternalEditorScrollbarOptions.html) 属性 Properties alwaysConsumeMouseWheel 类型: boolean `只读 ..."}],["meta",{"property":"og:type","content":"article"}],["meta",{"property":"og:locale","content":"zh-CN"}],["meta",{"property":"og:updated_time","content":"2023-06-16T20:04:45.000Z"}],["meta",{"property":"article:author","content":"aydk"}],["meta",{"property":"article:modified_time","content":"2023-06-16T20:04:45.000Z"}],["script",{"type":"application/ld+json"},"{\\"@context\\":\\"https://schema.org\\",\\"@type\\":\\"Article\\",\\"headline\\":\\"InternalEditorScrollbarOptions\\",\\"image\\":[\\"\\"],\\"dateModified\\":\\"2023-06-16T20:04:45.000Z\\",\\"author\\":[{\\"@type\\":\\"Person\\",\\"name\\":\\"aydk\\"}]}"]]},"headers":[{"level":2,"title":"属性 Properties","slug":"属性-properties","link":"#属性-properties","children":[{"level":3,"title":"alwaysConsumeMouseWheel","slug":"alwaysconsumemousewheel","link":"#alwaysconsumemousewheel","children":[]},{"level":3,"title":"arrowSize","slug":"arrowsize","link":"#arrowsize","children":[]},{"level":3,"title":"handleMouseWheel","slug":"handlemousewheel","link":"#handlemousewheel","children":[]},{"level":3,"title":"horizontal","slug":"horizontal","link":"#horizontal","children":[]},{"level":3,"title":"horizontalHasArrows","slug":"horizontalhasarrows","link":"#horizontalhasarrows","children":[]},{"level":3,"title":"horizontalScrollbarSize","slug":"horizontalscrollbarsize","link":"#horizontalscrollbarsize","children":[]},{"level":3,"title":"horizontalSliderSize","slug":"horizontalslidersize","link":"#horizontalslidersize","children":[]},{"level":3,"title":"scrollByPage","slug":"scrollbypage","link":"#scrollbypage","children":[]},{"level":3,"title":"useShadows","slug":"useshadows","link":"#useshadows","children":[]},{"level":3,"title":"vertical","slug":"vertical","link":"#vertical","children":[]},{"level":3,"title":"verticalHasArrows","slug":"verticalhasarrows","link":"#verticalhasarrows","children":[]},{"level":3,"title":"verticalScrollbarSize","slug":"verticalscrollbarsize","link":"#verticalscrollbarsize","children":[]},{"level":3,"title":"verticalSliderSize","slug":"verticalslidersize","link":"#verticalslidersize","children":[]}]}],"git":{"createdTime":1686945885000,"updatedTime":1686945885000,"contributors":[{"name":"xiaochaochao","email":"xiaochaochao","commits":1}]},"readingTime":{"minutes":1.22,"words":367},"filePathRelative":"editor/interfaces/InternalEditorScrollbarOptions.md","localizedDate":"2023年6月16日","autoDesc":true}');export{e as data};
diff --git a/assets/InternalQuickSuggestionsOptions.html-a6116049.js b/assets/InternalQuickSuggestionsOptions.html-a6116049.js
new file mode 100644
index 00000000..88674880
--- /dev/null
+++ b/assets/InternalQuickSuggestionsOptions.html-a6116049.js
@@ -0,0 +1 @@
+import{_ as a}from"./plugin-vue_export-helper-c27b6911.js";import{r as i,o as l,c,a as e,b as t,d as n,w as s}from"./app-5f5ef0a9.js";const u={},d=e("h1",{id:"internalquicksuggestionsoptions",tabindex:"-1"},[e("a",{class:"header-anchor",href:"#internalquicksuggestionsoptions","aria-hidden":"true"},"#"),t(" InternalQuickSuggestionsOptions")],-1),h=e("code",null,"interface",-1),_={href:"https://microsoft.github.io/monaco-editor/docs.html#interfaces/editor.InternalQuickSuggestionsOptions.html",target:"_blank",rel:"noopener noreferrer"},g=e("h2",{id:"属性-properties",tabindex:"-1"},[e("a",{class:"header-anchor",href:"#属性-properties","aria-hidden":"true"},"#"),t(" 属性 Properties")],-1),m=e("h3",{id:"comments",tabindex:"-1"},[e("a",{class:"header-anchor",href:"#comments","aria-hidden":"true"},"#"),t(" comments")],-1),p=e("code",null,"只读",-1),f=e("li",null,[t("描述: "),e("code",null,"是否在注释中启用快速建议。")],-1),k=e("h3",{id:"othertriggercharacter",tabindex:"-1"},[e("a",{class:"header-anchor",href:"#othertriggercharacter","aria-hidden":"true"},"#"),t(" otherTriggerCharacter")],-1),x=e("code",null,"只读",-1),b=e("li",null,[t("描述: "),e("code",null,"触发快速建议的其他字符。")],-1),Q=e("h3",{id:"strings",tabindex:"-1"},[e("a",{class:"header-anchor",href:"#strings","aria-hidden":"true"},"#"),t(" strings")],-1),S=e("code",null,"只读",-1),v=e("li",null,[t("描述: "),e("code",null,"是否在字符串中启用快速建议。")],-1);function I(V,q){const r=i("ExternalLinkIcon"),o=i("RouterLink");return l(),c("div",null,[d,e("p",null,[h,t(),e("a",_,[t("官网地址"),n(r)]),t(" 用于配置快速建议的选项")]),g,m,e("ul",null,[e("li",null,[t("类型: "),n(o,{to:"/editor/aliase.html#quicksuggestionsvalue"},{default:s(()=>[t("QuickSuggestionsValue")]),_:1}),t(),p]),f]),k,e("ul",null,[e("li",null,[t("类型: "),n(o,{to:"/editor/aliase.html#quicksuggestionsvalue"},{default:s(()=>[t("QuickSuggestionsValue")]),_:1}),t(),x]),b]),Q,e("ul",null,[e("li",null,[t("类型: "),n(o,{to:"/editor/aliase.html#quicksuggestionsvalue"},{default:s(()=>[t("QuickSuggestionsValue")]),_:1}),t(),S]),v])])}const B=a(u,[["render",I],["__file","InternalQuickSuggestionsOptions.html.vue"]]);export{B as default};
diff --git a/assets/InternalQuickSuggestionsOptions.html-f252b320.js b/assets/InternalQuickSuggestionsOptions.html-f252b320.js
new file mode 100644
index 00000000..2baefaa9
--- /dev/null
+++ b/assets/InternalQuickSuggestionsOptions.html-f252b320.js
@@ -0,0 +1 @@
+const t=JSON.parse('{"key":"v-13029686","path":"/editor/interfaces/InternalQuickSuggestionsOptions.html","title":"InternalQuickSuggestionsOptions","lang":"zh-CN","frontmatter":{"description":"interface 官网地址 (https://microsoft.github.io/monaco-editor/docs.html#interfaces/editor.InternalQuickSuggestionsOptions.html) 用于配置快速建议的选项 属性 Properties comments 类型: QuickSuggestio...","head":[["meta",{"property":"og:url","content":"http://aydk.site/editor/interfaces/InternalQuickSuggestionsOptions.html"}],["meta",{"property":"og:site_name","content":"Monaco-editor 学习文档"}],["meta",{"property":"og:title","content":"InternalQuickSuggestionsOptions"}],["meta",{"property":"og:description","content":"interface 官网地址 (https://microsoft.github.io/monaco-editor/docs.html#interfaces/editor.InternalQuickSuggestionsOptions.html) 用于配置快速建议的选项 属性 Properties comments 类型: QuickSuggestio..."}],["meta",{"property":"og:type","content":"article"}],["meta",{"property":"og:locale","content":"zh-CN"}],["meta",{"property":"og:updated_time","content":"2023-06-16T20:04:45.000Z"}],["meta",{"property":"article:author","content":"aydk"}],["meta",{"property":"article:modified_time","content":"2023-06-16T20:04:45.000Z"}],["script",{"type":"application/ld+json"},"{\\"@context\\":\\"https://schema.org\\",\\"@type\\":\\"Article\\",\\"headline\\":\\"InternalQuickSuggestionsOptions\\",\\"image\\":[\\"\\"],\\"dateModified\\":\\"2023-06-16T20:04:45.000Z\\",\\"author\\":[{\\"@type\\":\\"Person\\",\\"name\\":\\"aydk\\"}]}"]]},"headers":[{"level":2,"title":"属性 Properties","slug":"属性-properties","link":"#属性-properties","children":[{"level":3,"title":"comments","slug":"comments","link":"#comments","children":[]},{"level":3,"title":"otherTriggerCharacter","slug":"othertriggercharacter","link":"#othertriggercharacter","children":[]},{"level":3,"title":"strings","slug":"strings","link":"#strings","children":[]}]}],"git":{"createdTime":1686945885000,"updatedTime":1686945885000,"contributors":[{"name":"xiaochaochao","email":"xiaochaochao","commits":1}]},"readingTime":{"minutes":0.3,"words":90},"filePathRelative":"editor/interfaces/InternalQuickSuggestionsOptions.md","localizedDate":"2023年6月16日","autoDesc":true}');export{t as data};
diff --git a/assets/KaTeX_AMS-Regular-0cdd387c.woff2 b/assets/KaTeX_AMS-Regular-0cdd387c.woff2
new file mode 100644
index 0000000000000000000000000000000000000000..0acaaff03d4bb7606de02a827aeee338e5a86910
GIT binary patch
literal 28076
zcmV)4K+3;&Pew8T0RR910Bx)Q4gdfE0Qryr0ButM0RR9100000000000000000000
z00006U;u_x2rvnp3=s$lgQIMM!gK*P0we>6dJBXK00bZfh;RpzAq;^h8yChW*tQI)
zf474tf9UWmvjer;At_qJJ4ObAjRSzte{IG8|DTss#?U6Pq$r5$-28t~$dN6wErwJo
za~1SqW}?_^GLyD_B})qv!-NCu+2=w|xZXP?WH@?W-qc{t=*Dc@7G{&*Rr|f2PJS1C
zhC(0s6eQ>iMjQ6NMr%a(8W(NUg-6j?jOV&o6a!>CRL6BUiA-uV3!83tjRD8w9Q
zTS)(|WV)+(idwaDgvnbaZjk7gd`Q54BYKt#$^sjr>VY-r-3%|Gm46yDaW9
zA*>`MVXTA%2t!Ch7$IRKA?zg}h>8dZvc$1L!HHv{b?xdd&bo@Vt*u>ZTiaS|hyA~G
z{@0vZsQ;#>ocmS+q4P+Q6bJ==`li~vx<@m2JRmS77FvoOGC`1MckSwYimL)UDdBE=
zU(y{*T007`?KlPI+1(^67zzMC`>m=oco?9F7&)oE+s{ZQpTPk8{JE5yXE%chKZB_X8HRih-qey
z+?Q-qv53jN4{v&CO1eskfOCJa3iT;f#6SE4=USD}rard`&95=?zssa(BF1FNtXLQ1
zZ~TM@OYAGf@a}&8C9fbbx97ge(q^cIwlr8&Knje!sSE&n4+)%A=~R~^uDx$0UY7!KfcrV?PMq?9a+|xdk4sNTo`xT10ZSpv)=wBog^+?
zNVtS)ZhL_W7i(KX_NCm#VEfLsy7t$Ty`QJ}p`|<%v{So>8SwJ~C
zVK#U35`M*$l6LT#61}{p@LooR$I7G?Dbu5I6a`IQ*PrM2%Vs~gE%8~3WQvFrG9l=GIBt*Od}N}61FZQE
zW6Mf!kslWpsbCTqTnlB6*K#9)4p5JHZFH&`%3(OTE6|h<2UbL>qb*@
zdi((~nNq)2{fN5qp6w(l(`U|}JCzK7tnN9WM5dL+$_%{~I)_r%rEhNQi6GO2QuU|q
zeCl;wSf6R{mi}5F*{a2Ew{h$Ct$E8+)>QbX{}q~VpXSif8urVbHvX((@}GE29{i8L
zdCj)1>qpnEU9o)e&|rUG`^nIk^FgQGs+6Mq7+)?5!iR%5FP^Z$K>>>T{oB_sI_aRj
z=9+1$iKKyw1w6$4+{2v=0HnltxENCns)G`v`tJa?H5C^c{juAGRGbNd1U~z~&9i35
zPX9k@-dqCC`5V$MzXfWS>31JT$j&<=o~|q+%#X&U=D9f&}Tb07^pC
z8A4D}Ml(bpUi=JEpgBQj?p@Q0JR(Ld$V{b0(M=-!GzM9T2&>ePayD*}t}aHUw0`1U
zqAh3k`sNdyBBCu%ryXEL5@d#BYlYf%ScoEm1_cZV79k;{9@e1&FV>h?{?_{GD7(Wh
zY1_fC_`40h2NZQV*O+^9i~e{hP2`(RmzukYLXF#SsKVb3koS}
zGo%7tkm9K+i*(iji%E%L;JlwSijC1)9V3dU&^wAc&}hpw0=5-5{wk5$_LeV+$da!^
z8b#IXq~ya8YnKKV#JowMzYH67;%Gnw>#XGHksliuD1
z4sf2#;qa0o2PoYrWJNAO?TE>sT
z(}xekn~&2z=l3sY6JDxL>F`|BeZ8tw6Rv1#*+3OHNX<
z6Jb%r3)h9~LdqRcRT&Wfvm>kue;~LdmM3h6LKGkfF^IU8yo`jrf;@Q@`SKnV$Px-=
z8AY;!Vp&Crj0UxsKu8w4l2+b)3W8a}=W_;cvxDj&lQ4Yr2Pb9t{F(&UxJI&j!s=|A
z<1R_0NRVOpV8}5P7)lIZ3_lEii~y|Wp%7rZ-=ff1q-#NSB&_OKTwxOwuB*af#BQ|f
zM??*vkDP{**5&fvK8-pFP?$Oi3#V_p?0Qk%E>xZEhIvbsX2u8>zi?VTqAUP95iv1Z-#B
z=N-iKV>YNunx63yVCj{mUVk1=D0bUi8Rgqcrq|mFgUCL9zVxEZ%afMIYo2;A`#8NO_<8}^*$kwG$g0S*nh%*GK&lT^8}ewM5-i*4~PGo@f>
zQ|k56T$}Ui2}bS8DNA0<8BIMu8^0zw&=xd4=Co{hrlVawYC0<=E|wNC)NWt_+csNN
zIy2>Yd&9>MT)nU{K-+%zI01}~!&aNXn8=b73hfeR-9NCa#96A=SYpGWNUbctpU67Y
z7J#K8lOvdw^(gTq6h@CLI^DB(i+(9XVsJIP3jUo<&yY*F$chz@DY6b+v_FGDRQ
zy(J{GB{=zc3(j-n&Ty}Y_Pdh0y#)opnLCVBN>(uHh0=;ZxGnJ@^m0Zr-cbtrHMS^?
zNh(@23`?3Er0)Zf3>h_v5-VE(Y6BoSvdJz^&>)f|Z%vTDFGLE~pdncXIU=Aj2&7~U
znnsprIfEI^0gwtAEr}8*R{&ZAK!m#T20JKi7ISYQ2W{gW>o46
zflKhulrmUm$h6DSOL}awKG4ZM+dIT|p`by_jEb^GApmv6KB2nvQHeZ)Bec)KjUew6
z96^GE+JOPt)+pLSTRO>XsgQHp+4~%Em#xTZYp-nt7~)
zx>HM4mn5}Jn?yBpa1fmen=5abpF<0#|07r1x*O`frFy%cL+Gimn`I)c4HKN#m
zIKP%|dFF3UwR1vwX))!j>Nu3_PfWXtKLY38%rwbGl%u1PA>WCOBNV-~J@vg!lslo^
zYZ`v&sQQ0TM(3S7?nAqSA7gcey?MoKbXm86K8X*vv$vTW^zOCGmqfT^j!2N>PZqZfU)eC3Hb=u8e
zO(~5mfdl(i5Kvx$-1BDNYtAtCNL=20#}ueqcbJhU~P*IcLl;
z_D~AMFpw4E&FV%7kVH&Sk>@9*V4hMowiiV^D{Vaf<0(?tMI
z!^6Y$H6U*loW&SHRI80w+*uN#o0TldfGdFDIh(u^5M-9+S(fEm791Xq1en<(E`WZ6
zY39v5wG>wsT>%2gf>|(4v}JCy!t}XDU!K8qg~_%fowg_lAny~xeM$xPO-}y=1??
zl>_t&c4JmZy-T#|)&oQ%RCGob^~BW&0fsh&y1&k{YJq4JVCR?|L58Ww7K?n)UERVA
z%`4e&0A?&QXtKa8#S;_8R7T)_Ea$uiq=H)v0Jx!8LPoOm1m;~rE!qOoj*j3OJJdj+
z05v90+M(b?$=H(9nX4=8K}=AQA2w0?3q(E3p48wbMsRExq6(SBe!I&9u)Lb1a43Q-6}sEG!ZVxyG*+ll5axyIqi^b^#xIg-4M!a8D~7gc)W`%hsSj`=6n#R
z2nNeT2BXREw+j#eH={#a3@`KtE{I8(Jkdjpaiww8X_6=iaLKnWS3VPbG`C3}A|VmX
z+Aq!x2@T`sJKJVXV_Yga8fN@u9SGcCj^nP)J}#;q#Jq%rK>)A&Wg6zXGD!u#KIjuD
zB>XhDF{W@f(MJLSmc!m7-|fYj-rD)`h10aRICwFz08JX)*Or>@iG};P;bsK
z(jq_Zaxq2`?3gT@0pj~5(adkYJ|UWb=E@!D5U?e_c3wX3#SVwz5qc2jBK}6b>ja5}
z{(nLRYH-nvzS1}&c!f!a)lr6cfl)SvzegRtip%46O`#a^@;Aeo1xf$@nZhAKK;9|V$kRhc(i4W4rk&j=S-bD3~YSEZpd
z&mnxiE6#B(4E}^+Pkq1_K1!kyP!*p=FmbV?sG#^7M)ajCIHM7gQ7C$u5C)UI%5@dmt5!KkyX@MMhBbKDvLxX`695gPgE3LGx@MYKA6bkf+6Xu$acWM7t=Ij!ylQ3qP;rEJ
zx_s%uS38Y>gG!in0FosChn+Qb$GdqOFA!kPUI#H=sVFFVF6DPFHBF5SD^v+E9*(If
zLTg_->iw;naC?0xk_55eZhYD5FrIHQ{7kBFn=x*w{Dh8`wktpnH)O}X;?U(3V!^b=q;!l^%
z<>sZ7$q@#b_Co1k-HVn&0^PKjU_qOrxFZtqY!x&1Pst~6%H!ur@c|VasfMCHS^ZIX
zQey%IW}(33o2;{wHGH%~htcTvASztNZo;%dd&x=Z6UUCB3VQ+>VF+Pwaxa0R9LfP(
zjDJTatKub0J~rX<$%x|0hU&+RE%;g)E$ulF)PxHVWrgF%i5fd^{7BzN2Z3RB{jyt)
z+#WoqSS@m~OQuj|oU=!epU@V`D>FG~Lc{R*%_0O?tPL9Qn=B#k_daZGk0W_hMhgI`
zVtW+%+0P%LHDvrIi{4<^w9}TR;a~qzML7oUuWEo&>+D36`9&~p=tRvbsScY`y=itX^5edpPEjaOB{VPKhoX^^yT_NbSpi961y^v
z75v621(PDv+Ajhy6ePLGKw8^|S#$#^5E_R
zZF-Pi1Qe{>@HB-z${K|-j}jdu4GG?C%p;gUQ2Z=qm(q=@wn(ey1lUXP@Qf3$BeegO
zg_3>vteALF12*~I(NIxcE>Y$3!Dh7_88cZ3!wWX-Ayouf9Dqp_^59!dG}DrfX_wul
zBV5W@s1XEPoNwMfkCS0O>SQCN+kGtX@=Npz$LfJiHh;9cfz7JUZL_t{$y_p~L7Mui
zG=(Yim3hR8*Gce~gJXc|WP=GSB)F)G!H}pI%kkxr2(mGu6#7K!{JMs69JL7FR|m1t
zr2Q&Z!h8wC69E8|8n*PJdCbFrvf;BzZk+#2^kX6wKV|<;PxLA`{k>XT43WLeoUwHk
z67mboKunnX-BRpz4ZmH{CV0>o
zA~@vboi2WP90`@UIuS{(VG9hRR{}nRtNLg)dfNp5v6gl$*Bb9_?XVS`kY0tPr)S(NtH+wJ!g5QUlgDUEZKrtZjMk4+JEuJ+HGJR5r
zbS#dVZHBH1Z2+h4VOHgRc`C~6TImqW>^MPP?`$ZWMrTPGzF}j_gBy{Epj_ohbrGsK
z!vU3sneup*>`z%PTVmr8Dt^08m)c3oBfkDnDWG=m#vFTq3M^~AQV+m}GzxenP@FA$
z39x0}3idwGqahrl;Ee2}+1%{Jd^N=iL)?9D3WOz1ij4QNGBX0-0Kp_$m{Une52HFD
zs}L0br;yY5{`zwPwF8#GCQfu^yjM_L^b_d_Hag!~x=pwUtKPSSUV>A|V#tN1E3_@d
z)DjTH)>iqi%^DyB&RN~
zd>&`gIGQR}aPvopY1UbqUj&d$3QnNofF4W_6aa!#Jp?J&1rm9REVXWxp3dASFW76CuhjO}
zhSI!56VvR{lb1<}RDt$Qc?&QzMg~xRhm3BS#QvkpW*}xJUX#le^0*z%+SYx`F~jIp
zhixpJN8UBf*B`&Wnyz~+=a@Ry1lx&7BBB=v=cDd>?`|tgyWh?J2bW>yKlkxbV05{Y
z+>Gn=7tyRV!_H$bYUc@X41pLJg^CUuK``255lAx&;D~D3e<6S{u)bN?<
zT}6dXn0R_6tb{4Fuh^K7vM{*9yh?_gz$8!F;dl-cO-*;)X^UNLz!*5WdQdpV1ST7-
zvIRN^qi#Eq2%T7&yG-B#Drx1U{@OehANOBAjLBLP$V9u<#_?*!3V1eF!Zd|c1E@cA
zz%7gsd4SpQaBo>WQdL01Vv%3&B-4)bMvbBBt?p`%o(q6$6^soh^4Wzrt?t_-+unv1
z%&JV>Tcg9Z_N5|EZ5AAABnqNyv_CeMl&Q3ZW0b@CZ=`v(;c#&@O{^5>d)e)k)0kk@
zj>A57T%OcJmeqQ%-->Zbp#48b|6q{D+7}Dzswks6t;de`%Zf`x{u)3M7
z_nAQiL3kd;Yb#i<){4}srT>dS*cRAS8gp^PvP%M07Ru~j;L@GTc{6IhsD-WT>zVpI
zc`HMcZo9K^R~<;yA&cGuOWZ=oV{ZtY_=$FVWr+b?=WGb#tsA5Qj!6;!1i`V`leUjo
zSH~U2SLdBxCQfV2SGRF%!fC?`Wyl``6Y0Y3JebJ5dFruCi-Os<&|R`=TDcWZAR80<
znFxee=5V@Ks(g8kjUb{Ve_`|ty88K8t~QV)D;N%E>!}Gl<|eIG-;{z
z9_~T@3^MF*U#a<1!AyItjaSOp^7|YV(Edu-v&iBa;;gP{Gp225p%jvw0G+9bn#yJ<
zDi|)T1+mw_D?Yb~i2QPZ=nu2G8xcWtSm`src%&gMzCB?eG8#BXcH}Y7a+~SlpaD
zoQ%}Qj8ihBRJ){>JiLN>rKhxOn#Hj7gVBb`e>`|5<65>Bj5R`<4NLu@5>1kMQz^+<
zz;mwP4iktg(%~h0o&$D|e3dZB<+0-gsK
z%6{kt&mo$1K9sfk^l@qA=9TYEpi9PYLc@gF6Ji-O4Bm7hl5MqA$k~y3#}=~;tnu$w
z0w`q;>47{Vg~{ZuTgiV2jpF%#MIyG>owW#0
z)VVIDrHCHIPhnIknv*@IAyKW&Z$@7sl=F}ABLjYBkF*cPt`A8U^MO5OCg)KFOx%*
zcJw#xI>tLYELSjpU*^q3A67}vVwbr%p?ZemwaY)HGV-KG
zF7<-UiIv6IV7kgqno~qI+RbunKTLT7%h?+|EynV^w|p*aGQ8(Dd==Vzug}(KKi~kN
zZFC>9cL`=R)%uN`7*1&y%9j80>!7l!Hlr1tBUun9c7r{CgoNb87C+4noXH+edK4eX
zKGgS(!KG2;Xy*To+51xU7S6PIeFpPZ08zO7?7Hpo1)?QQKxq(Uu~qZRbL*GtTkQ7M
zfDWI+i@2l3SYF2tK*KJJq0+`9t@D_XmYWUd#lsx02k$9ej_n2Zb=eZ9NRxJSZ7f*6Rc+->2g3_7A?CcgP=NnL
zqsT#3du#KdNUNGer&VpfJav%R=AEditkuKy2Q=X3QpuiE9N9|-|5GE6M#2an{y|z+
zGLg!&HsUyP^GE5PBQ?aY4eL3cQBXzJ4@2-uYxy>|&e#5iBXWMAJXt=cBcGuCn1P;W
z^ovAfAGQ~SQfXTiaBC_+>@rGGX}r0jw>VC5Af9LBcyQ?TmTGEy1*t7GNurL$I#yCS
zdDfY3;+KlEJC2I>GGVcAy)#R-Mk=s%btQB-sWMNILas6C-?FM4CmNeIp;!YPMJ}eV
zH>!Qpg=3$hs=Ifn_pOJ?Ti^lAtv88@)S}s*Q^wmhS=NiunoH;RY5czhEPeLVW8A-Tr(q=sQd3qtnm605pU_t@>npbbUe7ry
zHvwStEvghqUsx(>WtMlyw;=Ezp?iCRW9C2G(aV-A6w#!NwJ#r{5PI_~KKBHCeQ|Tr
zlbqsENO;YdvO~xG*4GizyUF-JR|75DM}RJmtfrShDtA2l&~8E2&4#=0Hm@kMwBR{+
z|MSwZ@4ow{+9Kn8`XyM5F}AP{ljYS9^`cs=Mumni(-CtRNll)~cs;IuV)d3
zBl)=N(*0(j`PKCtGkiC~YkZ3N?cBUd4P>C4NOp}O;hBpi{3=s~$Za*6K
z_FSNto>>KgDIdhV@wf~}(Ok`t09KxT8|$UeqWb4kCxOu+E?A%SA^W+u?Q%dV8BaM(
zUVw^yT4X;_@eMkYOuJmAZGE+YH#tc~WiIot?Qn3)Jt-YQAEH!)?LUvyL
ziyBQ!zizfU(ZPWVXjq2$C~2k(+rbF*@b1-J*rWl27
zjI=J|-2ncP<(I_YCuk$#6@pX~0H`;RuR}h1G5nuj3yOl>?lo#37fd>)l%9sYOI>qU
ztJo0{OYH<``2Y&9)Usj`P6LTmks%qged!X0m@{m4w^AgHp9Tq#9`AR-bX5m2cp3Q^
zcSMgN%LYZAFtHu=T7E;!;xG&_TsdU>}4_-wPn{)QAGQ%}SF9IBGt
zlxHky@I(|6#FPZWXk;c_zOx5B-~&BdKNH#K4o^U?^>(>D@bo$@MKf_%34PGRKRGEV
znxXHnPy1R{HM-{40f29HSIl)@9Lyf(;5d@GAdUc1H)GK&Zf!m1>?kp6vYVO5cA(gb6rSz{o*nyoPdbyr
zh23@5qDlD&>5kN|AYJv3@@fZuTg#;WIP(48@ow#bu`y~3?b;;mMB-(AICtnfzT>#B
zeGzIL&7sHpTAqve)wq(X4jmC41$2QyOU&Rn>+cDw-xPM|V{7g_aEP*(l(I-FINtB5uJjH>5+fMZC
zujOyP(p$jmN%f3hbaj5}CM?p2;=EOt{>BaP*xq!Ps}|l6Sh)Z<<43{-V}ZsVZ7LJJ
zyyI4Wtyv9<)CDuplSa9U6;13xX68;I7yW@3OqJn*g}OpqLBrV&(#9A)3o^`v!fPNF
zm8UczpVvIYtsFQdlH*G3@Oa^-4}$QqT2S`~Yz5!o*39jbdLo(2J6VTL@UxNxeU`vpX>8_9E;kOtP3Zg;w`
zsfy9lzhyM)a#inf2f*yh<{%-NG{$F*kZtt7Xwb;s=0mU!^BmMx!p{M9nsbVt7%qqs5yPr?B>1^3?@!Ci1%buN;eI@>
z-3q|HVmO&008!m_8E!Mw7Crww9+`Ck8=A{Str5^Y@wwp9uxz)ZunfJjkWf1m-M?s#
zjBzJkK-9t#!3{3<*AE_xsE0ahl0puQIBQ(?a$}1|sw4`FS7ImNv|-f6lE$>wjNC$NY(BWR>)kgK(A9ScNj6zs-eP>6BE(VFQhYa+i&|Xo2o%I
zKO^{>NmA2I#3j&7^4vPPB$dd#XTP!BF%M>dHO_y5Nw3{kBYV}VIA-gYTA6qUMiCWp
zE?(Ms$!y!-LXLqMz+={EW0qZ2Bjqx%zE5WWgmXTkgJZ{Wjt+>JnMp0Ze9neplA|Y8
z!#_{9yAINCDte;t0%yUE=br1zk{6WJq2Y?38;+^%Tv2W(ht*LEwjeJU-v1ISHzy;p
z&peZcAL*)Z*p8)}_7pf
z3*8MaLDCtQZ8y-ccFL984f;RW`Joakxgasl_5&9R;lNF~_iX$fV~f)z6>@)1r0!GU
zE9!})=fyYtblFKRXijR}8tJ3YI;#|0#>X2nrf$a@DyT4)kPZ15(V&{Ahz^T#_+saP0D0lf(*g8Ytax
z3J?E<*7z~>u_|V=FwgXL0V9iJU8soR@})KkX3ToUN)1HGLG5p)Q(OU
zSV?GU=Dh82Q$#J_$7kKd2w~8GVdt)gal=L7wo#z|UDw~T(sI&I0Sk7jCA^a^=9#P&
zPF|imA@!XfY@_u*r)?_dN2_R_pFEW*{1(qshy9>6$^4z4UiR))#+yMyOVir=TtQgJ
zei6~)8p+nZnSagKraJ!#7`G}YFnekCnba$VT3p2Db^Wn%`!Wf0YjvV3wLL)RD*N3*
z=X@YwI_PR8C<3ELIx^j;Z(kvV+m1*UL5dOscR^WMxY
z@7U^9{ZLkA+R%WMBgquwAm2N$27^96|L8vGTVfaX}n~e
zh*#&$0Gzg%xc0|Qd{)0YogI2mi#vd+o;@`-(}s0~tv^(?S*w%rG5ci;g{r_7`foD^
z-E$`j(sj)Kuc3qe@Uz>T3h&S&6&(h(5q~;rLfG(&kZFVHG2Q^-hlCQg=f4nl67gm
zvVkr80D-OD$@V@=7p*|cGm~h_T~toC4=?>fwo{rTHoUK}cO9^eFOQjv@ih16oZ{d?
z8kpqH{E|%!HwVh=(g@$&Z9Ok(C)>B``(V_t$-?)k{hf&GM_o-Tf(u}@Wq1CRq|Wka
zj~};*%<2vNW-ooc(?X}&luxqmrm&G*oeao;Fw$6fM!V`9gSrz?<2QySUfAU(Ct|QZ
zr`OxVzD-xfeWtykzNAqN&3`0vch7gdyy#$DW4Vwg{+|Tb5r1{ujirL
zftA-mV$YvnVq+;I)VWAC<%c_;kH~DunfC*wo|lg3gtJAj0}{EEOZ0fqhSu9H&=T0Z
z($vS19blLK?7{4qe&d#YXE8nX4t5lXXcy(yLhA5eR{ums@urK+X!y>78sLMyQ&zia
zTve{Phx{HasWft{YlZwRK3Cq+?$2G=D}23RkGcP~dNTS#p68Nkd|s;v{qA8`T3`SG0n;V{8;M6Wa8n?f+&2mvaP`*v
zPby$$WY67>g+?fOvBc+MeyX#w5AzA^FH+O`$D`>9onaCW?WToO_oT1=G!5(T-ysC@
zK2ice3NlEDh6YNM0!tG+6H}NknCjn%r0l2^x-3hf0g>HS$1h;A>~@i*Kk(g#EW4{@
zUg0G47A)~{FtceGtJC?6&(YEz;SWhCAlErHBiv-aTork+$j#{{c-gWz^tOzvIspV(
zcGFvTA3$Ivv>li9r?(|oXD7psKspBK#fP9|r)D7^HOS?1-0Q(BWyAl==3~YBZn$w`
zzOnR2l&rORr%HThtffMg9vMGHb@R%}`~n5qHgDlq}0`}VgYrcF+G?4@CZ0W
zTxKy(K>9efWzHZ0B@w{jusVPtQUc|vD`_Z|SqhJ^nZ4Hn5xYlO4o~R-gW()
zJbUo^>@r8e5c@tAzNYD3ey3o2v#`A!jR~_mFq4KeB#6G5lN-@2begj9P9D|zt4}n7wl;PR)hp?oM95|8cpKL9bWCng=D#IoW*=DKW;&q`)*jvE
z3_N?Uk0hzRyAzvDd(6xSM
z4Z;o
zqPvRdqaQ{t;u&81q+5IR@KWK1KBKNwm&vpWlqwKXQH54krd~;Xh6+Hm-`bry!Z`JT
zp6-N;J2U#APj##rNj?ioX$e`@tOS}AvQ>yJhy+H84;Uk**uXyN_Fg?LAFdRHLbdJ>
zPwAiMo!rdlh^p#E-m~M#MRcZb01^dEZ$PMj3{{8NCx`0)Qe9#T*R|jREQv0592G6bVF#A50kF`WYS6!>RO|bl~T|w?`HK@
zrGLyy&{to*aPSL&ii2iJ3HCN(e#JeliB9t5?OipMKP6=)J4cW2e|mpB?6dm!>iUVD
zFM2)j+|CS0pll}79~MNJToGhnMVhV9B*=j40D1GR+>c9TH-1H1M?u{$0s3&%a9h_d
zF_3
zx;AU-!wr7v62r{!=*#am;
z1j?0QvIQdY0!huN%U0DXBJza1_rn0yhhWiSU+_nen>kKH3-mi=IpR+$d4}}*GxMqS^0^cJ_756I=NoX|0=y|HZwUu`I{U-P(E6^Rz9}_%@H?s2K%4_B4~qv!9BxsKzQLt+xaIT(ISMA5qI5A
zZ;kXn4+a;yXTX1V*9U3P((wXZ$QeAmU}
zue^rZVoEbc^K0l5dx5=lW-7c03ol)kyXZgMcKSXZc0GjO@XV<)xt)5L6UDRVxJf_g
z9GgSK^upXpbf_nbb#L>ZLgMN+UyFFb#Oio5R4)Wo@L5&{4FlO)U7JsTMnmYZr
zh|>)18@*g1=8|-iwlt-H_|90z;J(t$h;C599NYcWiOaC`%aSh?bvRZBYUPdLR$M^e
zi?Oy7|Nq(e);VKU7l<4#i4kbmzm8+LF1MTh4!!DA?8Hv`%
zfgKun;HTFW%K20SwLiZNnorgF6|oQ)pI+2rVq{QprmxQs;2I4`_`JITwL}FSBJvH3
z_g^Zb^7D&G7ruf-zd!{CF6kQBdFx4`&l8ejNxY~^t*hPrDfg(W|8qJm$m>Co5lj=B
zWS=l(w}vEM@Qzu_ppVfJ3QRH(>&Mi?Owui$6c#Nzocp|~DI4|R7m@gSI%BG?-cjA?
zd+F{s*B3X$CAS`8dVkKtHqaSs)Wajhwvi5sp#R%g+v0nD*KXWqVm(X#+5Nx5C6|4T
zNeR$f3IRl+E}V8-7We;winUQ$*+W0E|M2MpggG?L*0g4=iAG;fC;t{!ZcUv#6U_00
zyr97zUb_b7wNY3z4gBWnnhwf}Ggr1vU8sAF_T<#oy|vG3_X@%wqc?8x9(?Q@%@!TY
zg3T@=cNkPS=Rq5{0#wjpj6aG*=@8UE2GT)81GoOGTr$iDZe~n>LtRIqyWa!!VZu*M
z>-L#jrHo1h$Mwvdlu{oTRxxJB>^y~C`i8jXfpj#=V73!nGBX+~7>UW}SB|)QKtTf9
z21%CyJ3K5stKD2}NIBuZn~-RhK+uIi1XS%kn8a3)q#H?dOK={zQj;T_9mf`Sk@UTE
z=CJyv&}u*2O-A?aXzBoIQ0hkCKxb_uHmdEu$fJiybG6A&z#PZ1F~Xr~HWw2+ne43c
z@>~y?S(V!~m%q39TQ=RP8Fw}kJG)AJ{CtshRG0xen?Oefq^?8q5ncA5)j}Z>!M`~<
zZN9UlJ+l%5qoJzv#Y2Fx(KlTkZtzDIRMz%jn-4z(zn>FrTEGb5mbS|%VadUB>;0bTgVRDRF(~JP6c53;71>AV
zAuj2Z9X^Gl$f(p1oA=rbvM0jxyu0S(cMds(fRL2p9Flc8)xz_A@J*;N#4-Xyg5i;E
zTaN^!U`sz72vGOT<{ax&m43b{)k6?cI!=3x*&zw=|I$RVYaJTSgCg*rAv414!
z2__vhy?2iP?2RtP$?iNKPh!!v%ZrJ_GU?%&tU~ighs^n$nVvp8_hh0{pINnlx^UZv
z+b};4FB6R9tw_=wJ(S7g`1LJ!Tubwd4UiCm=5LoLRD3u87~6R8FkfQDt6XQ{Zi{u#
z-6;}DF_SdBM=N4f-{F`7P`n~jk!-1kt~s(V`O-XvVYN_7aitP^K)KR_+gK1EH4ayXY0Zl{6hjKDluYkIRmm7xF{bfEPTOYyt{<*GPo9a
z+Zt&I*NQ@VgS!YJyPfI5dJy1X^EtXRs-)L`ZoXa$VnfJWRzipB8+r7hmz8KVK37;ayl*S+rHP5;$-fx
zC7J?t3h|4b@xKlG5loOP@i+fHq`cVu%5pZtr6Ia7EXBnlzVblP^=Y@^c+2)D3nmxR
zR@-NMUB!>IOjTMCeuL%y^*+>LC}qLeoa&Vh4O0xAY3K*FiVnwjWha)5_yO}0#3FS#T3Ra6)DBcA*bHo82HTKY4%|0r75iW
zzFeXHOoL>>?-AN2yn*gu&dlo&zQsu{!E1AN_IQTkbowL>~vK2zpmi0c)(BGo&S+40{w5dSaBprlCFaw!xt
zFHa+de*4BebNyQA33Simx>-4Xr7h}}0&jYPUyDyoPqhaF%JnIEP6#BUsM5eC3B&7{7`73etK>!#q#P@E`Hj+RPtDXwVD0M^_fK
z7B|YI;7*!&>UHE6)_CJ6f6vF@{*-uX(EByuy<<@2$sBH`;m04Qo}j_|AKU}i?q-r9
zgmBkiOU)JLmOJ;r_4An+fY9B|J{6B@D+#q57+a)S!HD2(=ZzN|)XVCz1&Ue&L~fI_
z)N|(i&7{4Vqakdy^>+(vzQ1)alNyK=vx)dQIktvI(2@q)7K-2Wv7m(<;^7%V$u6Fe
zGrksaEammn(6=AoH6kj^{_H9E5GWPObtnE7{=MNF*|)0#%!e|hRf}1LcpT0uc!So(
zwaEW=$|7w@TX%`*ej_Fl6~HMl+AI6!hlww+8o
zWqMDooGi&`$*SenX0>FLkn-A|=_xpKr^Lfk+G-7`aD+T|ee4JUw~hi2S9`_vRxgDw
z0r0IAYU_|lV7*a&&#DITTFSdtgMr2CEsMtB28fYA!xs?oi|Lg5?3d8kcMYMlK
zap()yixRb8S#-rkSDadQ{{8#3t;~ZDGYOQjQv7FZ!Sk!&YS;*fe8-;Jewzs|8{VHU
zrQxpk5>oxjO4RnSFa)6_j1;T<%Tp8XxiTo_cYXoNBI6y}X$4Rq&=M`q457<*)DI~GHNeSr0!^TDsD6ix9wN@PL=Se=9Nh5+fg+(oUS2(oB&y;;
z7`ateT^~;pbq4P;(Zg(Iso?9UXmnV8FrZ(D!92iz6j4w*C=o&AyLzKf1=0ubvCr}y
z^3;mL?94oiF(a9&0e3Bk(zF5%Y!o-b$7S;WpGvx$sBdplv(<`{9DyaZ=dG&h^$}Ox
zNR4+ji(p=G*vNLtc(3_qV+%Az#Q)^9OHjfqd^Db%3)N71Wh
zpnF$6&9^orN^I<^>8z<%&l;AT%e0SGFPf{G*}Hyy`;hasWO$ak+QRN~s)`CZk+<2X
zERPASZ<%saqT0ZfnY7llu;BsK@F+4eDj66Kv!-cHGOj_LXnNU(MWvR&Vo-E+(a3(@
zh6Q?6QIxWpJHa32u3rKo*s(^sSx?blN-huh03ZX2_Xuu*YXO%+`FEnDmkL9y9;Ph}
zEDZd24~j&}n(DYPGAU5(<+@f
zx@`M{R^c_d@{>BjrX8#nv5V}}<5XNkW15a#PD?86#%K*8#pMCllGx-rVUibRAA?aB
zpRF>kwq?Zyztcgxx+lQz&L7=%vd7Ky901%C202Y^I-md
ze+^Q-57~IP>Z864&xV!EV$UE?PHVb-_Tyw9TiAa^9$mxC8d@}skyA35d&qhba*wwc{Zi>5J)8dha^_IHaL|y8CPH
z|IYOA^SYJjS2ypPH($I7K3e
z;3KDo=6CZfVhayU?w!s*cI=8)-SdY|jo=6riC*OH0_XR}aM-CmtKHmxIxwpTcO0@O
z2;*+pjL`)Fc3?ny-1WHh#n^b38`lR-FN+Q{7U=w{MIz))-=_8b1H?lY)`)swaM7~K
zdvd7ZFmRyiW8z~t=zh6V#F;-KB9YW_F?y#=eKREsibP1!Oy2eSMT3Ln4z|lfVxWKh
zrallYJ^qBrSgRf!T=d#q&-0T*{)mVEnfJp-y_UhA8UO?D@8z{3A<{(0-kl@)k$#oD
zUf;Yd&B)HZi4JK9w<7P}d!QfL#28=78XY|Fo&rUpN{OM7uMIS31boc-I3pm)Y>ug}
z_Z5jC^{f5sMp;Y8S&g7?U{v+QY_OLbo~TAa#1_^|2D+0ei1IBD9q0$o*(4u!gb(F@
zJa_$Ty}|c;_A{FIGe%WU4CQu%`H5r-UH<2g+_RHngw7?U5
zGi^en^mGp`Ngh92p(4kCff@gyj_mD_|Cr_Pl909=JYbAg7KNZG|q}Rw`srEbe-(0rvI@EtA)y+1M>QL?DEd-cD@Ch^#`Z
z#+S0-42ERB$A`RSS4KuMycV|20k)M3+uGo^Nm1$wuwtQC#?T}Xna`f8k)(TD$A~i+
z>XGD?4EY1$jT|YWD-vh@L?I}A8hyd}Iy;MxiFSWW^^RT!aJN%z=BJAn17l#-#6Iw7
zIgJ|~XbGN$83Q61Q^61>^QuH)h)fop{q)M*U3WXOzmAs4kT6jdRB*Wf22U|q?^4>M
z)2&g1EiLMuY}O8SwUfd0Se>Ok2WsmxKtp@AySD{
z5JPaei06<1iPWuAj`H^mfC0p3OvmO|@gpLq7UayKNY{GIM`2c0OYIS_WesGyN{#gN
z_*WhuiU$O$u+$8aUJSmT)Hf;*`|~<|C5=uf=U_!
zvUfHlaH>=Re-I>}@KLHt7?P5h+#K+T%}YLxEE}N<0qnQ=xBY(hd&(1h;dVnj6|ezp
z*od>6!UG<^fbd3fV_kBfU_CZLr%B5LH=$Y@_8Eq%C86U87u;71UDbI(hc_Sfuk_to
z5~Rv_kYTJ1E7?(d*(61q)bV_FH($$s*}^#$E7s*Fwkwte}-A+VSM%0<6WxqRlVa-%fLjzC{jmUB*)
zgZe@Q^y&u~*aVLB29eU|0y!oZ9Lt_)x?uClDn=TQep3V~rv(Pk!525~avY7=4L1MS
z#AYl7?(T7CPQ3zQv^AxVG1eG!7#v*6U@qMZHpQ)>;}bU<8Di21V)r;PRzC01LtZ`$
zbDF^JUEtR|7Cr`c?FObA?qJc2b8#lqr>5ro`Q}DqgS*e(QWI3{EQSb_DM{v3&+lDK
zCko5zhn;UqZ3u=QK4wnwVj>{ci=|>$Sy+A`&OUUPxx1;{TqSPe-#0|LbKTuYvD+JM
zJP^K)!SAk}@(x7oOLsKxi`}KsbB3{BljEUL&^GR`G0Yirw
zFI5sCyKh6W35==$%0e{RDf=f-it)zOTVn>zxt2VMjl$*Ad0kjktay(Pl9W>Z^sTUR
zLF5PGsje5UFS1%JL2xF5$}=ds
z?{E(m$4j4@b#|4|EvuXYgDin*aP3-!fK7<1dTz81Gn&DWA|RRTgxZ{Xe+TR>}*j{lW<@eoOk5+LVq^@*AB~
zRivSmvV&6OUnp2oHhm!{Aw9!L=Xf=nYb+VhS~+Wf8Long%65CeJ&0d+XrY#`7r2tZ
z@s6678M?<^n)YL2u>8s7Tw-_}pPm}P3SY8fePh;q}|S3rcTi+%6umz;6{HUxxZ@
zjXmrU`ft8IeoagImwplZGR4|as?eAI40od7!q*fIRgr%#nbc5@wvkn0`3frQ&)Usg
zxQRsKe)?d(&is0D^}C??=8XPgL-GAY6|gBKL)+74Xcy|e7itw$E=dapN{7fw7UOtp
zAT9nH^JT)H;^&D|?8$Xu<~s)aIj}#aEu~}fAdKU7-XzIP9pZ|yVGq1Bc$-@U!zpIRU8{#lFJCn!vUL1CYqwRk_*
zr}m$|x9^C=5BZileD+MM4!AD9*GUS4VAenJu_a!I+|Pw#!2a-
zsFvs{u=+G@Q#gE7O;qwLWi1B)IsboT1e@fdbq|O8%KuD}(g>2}Buj&f0|T=^3oX_)
zY_)8&l2sUOGaXMDL(<36H<00PDrO&S2+fc0N|p6YOOp1%JsDv30r>t}#4(#mjr!L>
z$uusavm-6CAa3ZJzT9{+d-`h2ZC1V0FC_|&C>FFaNc5U(wl9Z73QzuwEHxxa!GaH)
zqL*vC0ldBInaPPU*V;b$RIFDPkkxeTscY0yBs@aBlZ81o(y(c9>$b>qA?%7?5UaWS
z3atDP!t$SB6dOB@QK1#{aqd5-o*ed7|V0m}h3^$jfAv{~Pg37uME+b7I4qh4*%lExMnA(vtw=2CVY{aTbtO8|__yrW1>+jR%O>k50cwFUl}Q8OWd
z=CN9kLGC?sV85VhvhpKM1cUw=hC+VP>B8fX7CahF^hlEX2nsfV$s}oco+a`%@!zEA
z3SF{v8PURmOe&wpF+++7b$q3%JL-QKly^1Q%IRU?5~P?!Zk1&=9lJ%GYlg^o3j%_2
zzjBEEXA@^|YNmYr^Qdo=bv~=)MthzlO@>Wi6rwL#GJSrGsaHBM|5`smT1g<+2T*uD
ziEagqOi;5xJXLo#xcO`P&UlGxFxF
zC*h6nfTKV>HMYI)@2Ajw2uWpY5=(u{6uC%(BS+_1u{FdeiE#9FIEjJMKyQn;6<)oD
zWKws)T{%>Zro>ZSUa4LdfD{)$XEP^jt3mlsHR`sF5Lpv+taRhL69K%UZwkKzh%5&h
zmDxIBL7k~ikdqPN0FJ!2@l7+CkoU|t%yq+?MVrBHfPm6WUSk6*gYGV-Z?=?9=UmgO
z7J)7OwsdS$X(c||%`Hsg?q@%zhs3FD2sVMyxN@(MHZZrQ&^;tr?a9E7z_}%%O^sj@
z*lW5&^X-$9gj6`Tpn~4Kag6N2Y>BQ926>MCVyk*!()icE=cblz^5*iqH>H+N4>?XT
zx*1G9BBEINy}^cJXR&3R;Nn-!U?!D9YQ67M(H}q)Ug+rfL>VzhO$);3L2m<%6OD$&
zfD7W^iKiON+XLFm8!fZEvcJs&ZrY2He$7>!G=nphKPx;XoG4FBv82~?9r9pZk#ONE
zqU6?Y>rR{6Cnnmf^|rSsGWFH-uIOsj2ai7$^X?B#EOHmSFFv~`Q<=Hv>|*71o}Ku#
zIB=bPyJCVa4BX@pp
z&I^_NLXNRrrf|4aa^~2vCvQfmN9c0`P4;p%<{~3FL&fkPqVuIWBtp7wt|Y<9btXvW
zu2mo9ut4(Bm{ee{t>|8-T*KcJ2lx#hTn~!}>EUbgNza;)4`7E>lZAD9Ip`{H
zU)Nr)9pafN?6L6^=U>0OOd+Fk45XrWp?2S|i>hm2-w?fVrt?hS;{L&Yz~}?O&*58U
zDT{xr<+{;icTmh}9A|A=8$#ecK5xFdom+p-&l%`^wd=z9c|bFc0FM+rkdtY?*v;CkDnJ!PYzfLhH&glf2Fg`S)K{(lejl5D_cL!
zV5w?#b76sM5V5nH%~<*$`2XnYDry2LlysxPQC5KMO&VUhYRNDddDUcpKPPJ(=QM%N
zuBtLs4Q`ybH=HwvTWEk;Mlg1c{nx97jtp5H*T%U1ahpMSKY$~6cJs^`cK6(5hCeN$?!~|8QL3!AvEnj08QxnmwIT_no-cZjKh*
zpKi8KbDQ&-KI&wtV45R&*bN|Q>9OF8TzVP;))lMtMoqw(0D&N2Vw+76k~WkHrX7!r
zSbqigH~?^_H5GgsyW4Q#!;yh;ru*j>U?*cl=l
z7#20Xlv`%MwQPw3)gRsZn~DGP$qUyPAmTJ*YKlbT9=&^gIE>0jB4@pA{hemuu=2sf
zGY<-q7}z|Jf%3^CrP&f()N(^%8=%SZV?w{=RNH9H$(1dU~sQUfw)4{hD}+T~uUE
zOQfqbb8OPOn%df$8mrZtil4kIY^H26v$#mmR3-X>1X2__i9FLvUO
zEUKu8{q8b`NrKrPT~-Z0csbQJT!G6Wvc^Wu{xy+jf+lc5Fk3XA{phGhT{;g%b#)DZ
zauEt1ik%}lli2fpm*rOfm*oVJ8~yKK%rOw<&{_o$f!ODC%migRZq}MD*Ew&_R!swqXraaPGqa5JASn9$E@s2ax
zXyFT5-X&-(y1RXW!j}EkvP5qV%af?y=gUN`S@%n;--NYv)c5{8Q~RH6){D+5U=QYr
z=&FYDAu1`Gbp+JN>2yAs
zK-y4NK39SM5Ia9^K^t*|%M%Njt3o4g-^URc6x4+1U!8PU(M3G&k!)5}lCy#Hn+!PK
z*$&T?%Q9In{r(z53uhc9mY*jo(-ra?IPZQfjUioGue
z*`uT0xe*$Ep(H|H;^t>x*D0gBlg#`g%B{)OY;og(#cb=ge*;wsx*XAg1C8Rwi6zX`
z&W6rZ=8_4J?qn{93%UwbN$CTz1u@s!Ty+iv^RT;KrNb+;H2A$ZHZBhbhKFy(K1lB5ogW6gg`){=#i^+0T29*ST#KD|0;EITWiCXVs2~v&N8N!+L!QF=Dn48n-)G0Qu*|Y4b*-#?(h$
zxLn--5t$Gg&MQBLedOKBd>OhHA$7JM$8TXO<$dD_lTj%PeuVHyPQT>w+2sF~deAHH
zWPpA^)s$mralQY;FwUy*e}rQb81vfOi;d1207W3(G+PN*n}$D~ySB
z9>JCQ!BBO~P!}T2-a-U&@%Oz2zUTby|b
zI$$coBSODG3L%ID`eE-Kl)Mk4*Q@aIAp4^pfq)WOd-(94=P^kt|2ra+eXr_%)i!>FP9@eat
z-F<~r?uIaWL3AH<5@(3gPq$ltZ{o>$7Ub!j*6=$~JyEAy2AXC>=^&!_N|$E`rYSGy
z=lbXQ!-9{wB&Zih8NHSmiUJ|T14Fu)WB8C73R@$VIx*a-zFM>;HEKabw@Jyu_7S1=
zgR|jQD~)a8k()#^calY=KmxQye^|kufBdOLW0yO8EffE`9L_>eMgA=aUAnu>#nPzhOszZ^aS
z;QZ*`X_~vQ;Klq8^ZaJ27m_9hk6>8tE;9&9hO1p!FkQR+f;hF@w#4MU-J1Uv!ga~{
zv0r}P)1T{ryw!&`Nyl5KA=h#%L*c8tvaysE37KUcX$Q#K)ad+x*~hMYTTfv@HCmmQ
zC>=?x2!S4H9_dk=VCrCFLC|J%E@^mb{CVPBqej`_+n|EpIY0eGyImg!*ChjMJAM$1^daevVkgl
z^ed&_9C->OxwOXti37z}&LbcBBb&>rMzH%TVb}92B_pf7D?}!9ws*QLtEW3ln&z41
zw0JtDJ>9Y_@AT|15BJYAi;g}$)!cOYR80d-MOn)DGp-lMM~23EdG))K&LtPJ2@ODT{O_-H%+ObAKO&ldS{wF+>l$E==@{0NLDjDohGW9
z;IN&v_-s?Muf|`zzu@}*`quNY=^){#^ym@wPS>64-Me=8(=paufK63QQ(jWe}O7sZgmz2feB|9TzB~00|MY!
zTJjjcxHzm@fN59vJ(qS|?zx$hLZPN)_uNv1QZ+|?qiWpBj-b;buDwV=mL+v0wqvM|
zrTC}^?Gv{E3q+tFIx~uR_yf3niQ+uyq@YL`*-D&h!0wW$M7Kqnvwr(f*r7cpP_MG}
zmzS{~3Q;n=SH5gT7SS)2qaBG-S0~w46ky$CnDEfq?QfL6Iu7ai;|tJMcYoII#ChV}
z1GGsx!W?L8|%w`tQDlq7iG`!j^o_a9auBH9-Pf1>8`@GyvnBGvft|!$eqTM19?-sFHPAyYf?@MPMNS)JpO0q
zOYxV##F23nNOgJr+6?w|`}wxx{n|$3l4N$u}kH&(tirc0S0y!S4BTC46~TC
z%A+184~eG|pNpR-vd{eQz&YUCqa^yieGMD0lEpp3NG@v!5Fwyy9y>-#;~vVYaP}H|
z)O{81b}7Ox(k_rYKmmIyF;Ah56v*nEHjp@#yp^D06U~!laY-!hk*t!z8ir(*XWcvu
z!p>v#s`;X#d4kS3VN>Do;)axFaYmbSF4b5am+Di3AavL#JTzfb-@^>6?X7?2_xffi
zii7&&ta8zRm0BJP5TIm?Qoii
z(>PUPkm!fMk&(g5Yr7J$Gf)1xt)fd8Nr1y-EIK#nKJ
zF9h0ySDNO=v|_al#r9!z$Xl_+1{^hU*ZW3yf?emK4c|{ol78-ErQHrD8Mxe>>bzY$
zQ>4S?{{tGnd_5fNIqTV(c3`9+&?le8%;N?Jxme2J1TSfG_GAat{JPh$^@ABn
zO-$@_Iz)uZ*u(E#&HpKUbyqV#X09%HAbY``gQW+mRO~*M#Xru@!5Wy|8I
z%#t)V_SDtro?+EFTiWzlhU(8E
zpgI&1D7GJC?zFu(#1UH}#*y}@&S)8VYoGpmE3|ygozR^7?^mRRhd|gNS=bp39BlE_
zE@@h+f0P-bC%#J*RaWv6wubm5a|`5)K`o5~Z@LU5T}sgQ?12InCy@kkSF*Qv)88}R
z!R0F?VQ!9sQPb!daCVZ(n7jh6N-a_={Qmpr;^$A_dL@vFIQ<4j_cxCy1W0Tsa*uwJ
zRGAeqr+)SY2on+nnU}LIkx8>^GMKc+zf=K!XI&{zt~Rb0jZo`QDAl`|?B`YGqm`hF
zDt-%?skGS!cE~*h4)OU0Bb9y*qb%gZi7D~aeN12T_xkl?%1<*r^9
zFDtxwiF2eI;AY(DOYozZ$9=5|)#_MreorwDb@V7x$fJ?|Ka0eML=zv-G%N7_3B?vT
zyE@8k2T!QNC#J+x*LgWt>gPEnHU!&;(@3bzfB@2Iw2a!ojqMy`
zGo`M~(ld$+9QM>W6+#IM)N@uYS=c*!dS!{-><(#d!pXwyv;=P#)Ierz+c2`QV@4_@
zD`agPTe)KKqWLpJXw>rGqjDxl|
zRuoTJi;qY_O+}%@YKjQ*Wc?^(O>A4cdhtL{gE!=NnE9Rcxz3DG%AsWbxb;{I)xBz>e>LR!$-
zK5Is4h=_65-{!k<(Bsd0bwr)Cfa5CHtZ2}UT$$2~ob-hTw!qgMg%z&{`ijbR$}
z4*_`q2xJ4mD;uSS&p|4R&L{&Yi6k5VeE1g71J{+{fgS>+nkh-?5NrMT@#Jzu1f)NiYkT;}6A<~VRe_!gu>wlsUZ
zO;FmoE-P(lO484c+DbF!NJWB*BDZ_*Z|JoTS~Bz~IfBtBPtY5nFnN0ovf+Z1kiUT=
z=!~EkG^HnAqJ{%q0Iykgl}=(lou1Dk&YH-HL4d)xg`*jvC1<+}ttWf%1CbrYeLvStRbah;WfPd%&S>%x+{elZ@bsa0*xsqn#81fUD18
z*}_tlaWh?8%~?5o8*m)N^?e+IH0N>bb_wds<e>Z7g+DSZCZ)`-lfj{-
zasb1m%scBU(kxgxj^ETbHF*_o6UKr$SryQ&Rzp0~_0hkdOT~GqSIhsXb
zaNK;^*n(p|<0(T}OevbdoL8ZlGbP561vrH4IGNY|prMAIr{k6Cl-^&2ae?*T0S1$^
zb8vET^YHTV3kVj>@2(M1F>wh=DQOv5IeCM)vesfh2I^DCuU9FQDz!$d(;JK?Gs)
z*&R-o+vD~5JuQS_1QLbDU~zZ?kwm6YX>Sq-Is^$n6ap)Msb-*0qd5#mMINy`
z%@|D%*bzb=+96ysvTsf%%ECVgez2m5=9h12ja#q5->$P9sZ?wxAgr{B%>qc7R5mV~
zFrkbKskE_iIjLfDp-l4xxF~;bMzF2o+TY_rqI}Z-4={Lgn+qg|*QirRAxykg{oa$H
zy(ng|=~N01>848ylAnkPE5eGC(S0<1ztqA+@oc
z^>Ps~@wikMeP4;%2S>EA+y)_)Ha0E?Ai{()E~K(?xd18SLMmOJ37;qUy|n*L8zF?$
z{9WM+m89h{d4*Sa7$I5HTrLDM=~mC{G%?(|00|>mg8saiNWkO9V(67xKT_YG649
zChfV0AzYq!2)?}d7tMzO-FO5*5HPE4&$;P&A+qP}nwr$(?#xDf
zCI$ck{Ij4d0Q`UBTf+aY|C|4RlUJr^0sveD{&|)D!9XlPiq_cH(BYpi1pom4rv_2^
z9PVj0c5@*B0DSNMaq#|u0ip<^#mvFn765Q70RX_e0RVVdBf3v-b3^BU+MuI<9LWCz
zqPdNy82|tz0sz=e0s!+DnI`Mq7N&+K0Du$EKMvb}&?gcGviRrxmzUt*8vh?iK*b>u
zENopo{_$M?=_~)$^09G5%w%J4{Ez3r@UK4T|KRw}yJKtU@h`6f;y>MgdIF#>_%%C2
zTT=kQ@1GAS4*&pl(Czjab+C8-7t6olUn~{?0E%!_0k6ct$@HJr*WjNn_8-bkMe1@q
zHgYt<3^rH0R)6r3H=9U=b2!3=uh2Y+vZ4bRqe5J90>kj61di`GRxax1>&svmaw%uE4X?k{{xHOxc&3n<$ZgWDpFRs
z-GJM9bc@ZF-VMbWO)I=V?Z%%UBhCq{=5XLeN_DE-*J8cfb}ihsX0>WioqL7}v*Xe`
z6SkfBx|MR=$#SL3V#RrNU`2}Q_?X44M03?E*lLp(&2WmgtkiT!Z{V+yOq65q$d0x>_wdZ;SZ#)W)0)j%ko5UDaCJB`dMZ%l?5O8G
zJ3|Ou0yO&$bEv<4KmblO?VH4i@XzVcpdAv(B1wqA5=@E%GsCV0pDQ=s!G78r%{~zG
z4dCe0{Qj_upGe^TUf)#^Kzi&G`?kEog!JH8b(T8JBxV?g`WDipM&vD*t==tTtoD_k
z^S$mnZY!eVbDMp12t9mL_Uwz9T_3GO0WgV@;_gAx(;=X>D_6^x*I|RUgl!l`t?M?b
z)vZpYI(2GCb@(qt>G(D()~fWB@~VsH1h}At){|(F#gL?wxn*7PeGPl(a!=2H&je_-
zu39!_k_dLy2W7Yj{C~n&7~|8GVZvz3J4Zzt=(d&Ly8Fe(zzrJ-w*>&mFAjq=Krhlz
z!P20@CI`p{po_x6ZbfAAcACDIlG%hfRRACm!xe$1Hpj$~3O+t5^y{5iSaq!Tp2oJ
zG8qX0rGA8{Z9O^fs;0Toe%NKYT`vWJ&1#+PkigM#d(*Z&&DI(6ymYC*C(&pQ3hIZgFmP=8wzGQ5o776cMEq+XXTq>1~TisCr5Uu~iZ4yE8Lb?wSMy@bOXxPZK4?#DzvkK3K!8h6
zeJcFXm^bjLZu?Kx$8LMRo1O(y{V=9gf$dnzLZ~}HDZX)W
zlq~3%Yd6LvGSh@TccdpD1&Pt=MS@fWpfG|No|cfVinf(-5)~eg<^TZ03xvV?osnC=
z=eY?Q-ihzOS*o&iLu?DkB$`ci;`
z-s;<8HS`ig$-W)W{b
zZ&|O7G;M?4`=b!zw)3+rJ;t%jh+aLhO{FH4T+4hg)WxT{H$lyK{!n4T5~F+wmVWBh
z9JI1b+%YD^)519?kLLbMiMYnwv&7QG8O`o{*?d|4^vK
z-i&XB@hkNni4WHOpE^tDQ2Ca_KP9wIa{)TWT{SkcZ2Ln|1^>FXwCG?5Z@s+`)I
zX25h=@yw29axWMNubCUYWh)0!`VR^K`0^yP&prD37z#$oe`2)xWP?4+Uxot=nvpsU
zVI{T|lWt-J8D+^l`HUiJvSw0B7^2xX
zRLi^aN?B=F0lOBbGmW)&}VBT
zC~}DAVSrrKXQQo52smL^xgyqifBbH0qF=blvCu^H(b0x99gmm8niCag;K#HCUGNu6
z2an9CT|!lQI+0M=*E`F$#d!0B1ZEEb@3?Oy4NLi>aVchF(EQV9eZa
zwonf#Ct|V6JQCzBL>^gU16+RFZYXc)PxgFtmE(Jy0~1iWirh&IcL1~7NRY}$_pE1j
zR$ApS$mP4Xz6eFPXw#k-atwS|Mf&<2Kf%HP5`955%d%&oRuy2TA4*bXu8O9QcbGJ~p_~8GQ{|h*0!ZI^mm#iaw8r6e$`%P7?#Qh>#v;3OW
z+E|B)X(p=5kXbO{rZnlPqA7J)@*``;@8Lol9PJNhk^vc72r>ZhPE;|0Oriql|2VM%
zZ5Wxw6XJ2Epwr|>IA8(-DAO-7OmUOMDDQm9y>32)B8dcK?#bpi5JEwDe}o7*2y4W&ivdqS>*jxb5)=FBKA=|SXpKheLg-~J+}Q(_uV5sBtRBNY(=Y>M>5?<
z#~RX7y*ABCbs~9Hz^xZ2+KNrR
zhN{!5{9&ABbO{-ecmh(_vHVwl5o9KRu61jxX(A<^K2pKZNxXz0kYbZ!Ml`W-VIwD7
znb`Z3KAS7Ld{&wfa=AK5${&oI7vhS8Lde=)Z*xiV@pYMUNB$`4Urww2YA*MtbA`g&
zm-F-0sfabuX^m1CvF(R8#cQ`F^kF<*zp{<_i1~&u);0&0+#yG$o1CEzU?1D<&!zEHmupf&WN6TaWfRBq2C^8UwDD5vSAOP5e
zg=+zReXdMN7xz+LMw!4|8HqEtb!tsn}9-7#FbKvU7ryHq)y4nrEgm)3TWZAjq*^2@enJ
zt6+XGLxiRHYv(hQ;O@Wm)rkcSrfmJvgZTZXekp;VG|2V!fuM086ohtZCd0+&CXHq+)dz#2^Yx
zmvSf&Y{$FvLl2J3I9z{i|6q-U%;OaQpOp6Ux6k{DGfa6Sq#VyRUjV
zpy~0pd&{SArrG~}*T37`-vAoU=5w@8JLNkoU7zu%%YVIi8==P^qi`p$y~lQu_$dd$
z*P);N{e_&YnvmFK?Wx8j-NdJ`&AzL-;~G5I^Ye4`uvf~~jO#O(7{xz^rCPRi
zS;|e1fv@sYibGkqXSjrzA2t4Yb}ya0{uAYJ7_OLD{U#gi45JwKIi}^P9#)VKgn}MG
zR%T9kJ*yh
zy1*?pD>8?}=_W3gdb9b{h7-k5F`Wz|^FRiKJ#OVZa2s|4>fr}D8#Xp|JhJv2ld>Pi
zr_WiHEk9{FsL@$ne*e!yOszLYZb}qS^-O5>Y9EEF+mAYHV`(+p6VeXei_GXykiFh8
zmboN&&0sL?yH60p_d8|fT3$0Wp7cSrUXGW1KTe>l8gY?6f^f72c69l-(#)sH?MuT8
z)pb4EqW?=4IbP@Ki#FX21RHB_ntDt{G*Z$62McZ_Pg<+cndpmIf7L56)WJlX)l`1{
zM+W;d$}qS>pbC>V6qSz3Um4-V6!M?HWcbgv;<6dJ+H5Uu
zIgDe|cOA++9+8fmbVz+H|6TX?jZ5DFy#>rR!hV-Z((_siuH3OO764x$!cIP-Z$G0r
z)@4jpHA2A6$-9@?kOLce0KShX-n+Y81BwMU@
zyRQAg?Nb{pb(F-4@rp6yn?C|c!eCZB*!zs_=a%}SY1HDg))Pxs?p6YL{zeK-MCn?x
zMdMYYWKm!XiTQaC#YfqyrU@xXjSKD*o?WxyR>HhsbI4Q+4r7E9q0MI9V!nwIGId%S
ze{dbBy9i#kq-=i4
zr_|%+_P6wZf^)-Q#ShWH>iqug$h$PiUKC8C!=}gB$c)ZW8kwiV;4jXmexcvRxc?UR
zNlLz!)6N6*3|7}?d|$H=8IQBqU{vVvQSXHw+el)UpFVjM?i5T60tONpN32cV`R>~9
zZ*+f>q)U@36Y8(Xb?tTDa=d~4{$!Xx=)ZQ<=31?ua?qnlB^S&c>pdd7Q1Ar6NEoFauzkc$U^_I3ygEQo;_&of`N9di3`i*M3o!84A#
zYt(xdGnnHE07Y324%qB=&Nv^+b7$&X9qvrLA9L%GiB|eq&J7DWc&Y@h^%^|Ye|!i+
z9USQ`b;7FYFfX+?Fwf6H0CLQzk*RxC-b;C(@O~;r{W5BepCm8dWbCyz&Y`}ZX6j{i
z3WmEej}=zLWmW4L`4L32&`rqHm@BBlVlM)WX_GD_x)ph5E~tO|>@uGwtcfjh@#aRi
zwHwT(qdNQIWEw#6xUu;WR}FuM+o=bE&>YvzlHQ=c^S7Tsr%k?kI1_CmG1b6bd7bqMUK~d_#rKK1j{OIH~Cf}kR>JcPJxNl8*%&5LrufLwuX>9Rbm1e}pnbi2&Z#+}?TDcbrA
zeDP!DJa)iE3}}l``)?jlkc9PBmkkiK;3h7kvy9H4
zEG|(rpB*o}nd1m83J4wr1tLTyF-ixN&AgD?7bs-#B5n2L+=4K#eTlr1JC9-vRn=}a
zxIlw;uGqW!&wr5`RI~4@gZI_%kz$tnf*2Osa3pP}l|5pBUs5(*x`Gg?P%Bc
z)~pnF#Eyz9ZcGg~ms*aDsf-aynkXr9mW(c$pLoT3rNCGxng@Ak4{IkGkI36KYy(rp`h0C*-*rIL&|ohVp$XRVDSDNTFXkp_y@GB1KL3UT
zvV=;;5H`mnJF}Gp!Y1#+wI%HxcCP0@$V!{2zwEq|bhVpOdMK03_rjqizgIb2lJ;|;LfV<-fsb;
zOaKxXF#XW;1VTyNY!V6S6&!?SJMn{YM6byWa9c3M0>+r<;0ZjIUFfy(_0);;rNA&>OE#SkrMZ5JZsF>f~m^5eY*dm+j8S
zh{9Wo&i_oJN|gcmb1kc8ZdAXWCy1Li7;#8ZCYkpuPb_cVId3Ov8XS^kg30WoDUY!M
z1e2!T&C6H2W_wMbv240m(It&4I+txvU!{X1O(ce^Z%A6$;k;hM;dQ={RQ@D;Iu|F>
zM$sE>hvT6gxnP?D(beovTg&wwVMlfo=j8`1Fd&B`@cfM|fnq*Y5$V{b_fu-mnI;In
z51MH3#^7{P5#J<<7;aJQKQb~J!25NU{w*P$VxK?}Zw+Iz-K6_&ycxD4&5a@&Jp1bg
zEtRq*?m^fl(8EGqg~3Wl#I`zXr82P%Qf2L8O}SD|)Io^pSx}QS4TSUtTyOe-bLU)M
zNuJyxX>aRo|%b#))}%%0<8){qJ>u_L%UCy#JQP
zZ{Gr8Nsadv{)NmpL`ZOoB-D7Ay_c>?f<|MAV^Bfp%O~OowA$k8<~xRP1_CZJ`5&;9
z!c+ZYpjoN7(q3j0}_&PZ~g7`$B2h2&&`=W@T6veA_)Bov}34279e
zhtd^tpj9AOc?~k(c4$PgI6y)U!|`7&V89#1bUW;J%Al@0pw{JD!gmvo*Yq4p?(tM7
zXjN926$S8nOZuID(K0HoIRk$S+|Yw(UuaU;POb~2OYZGpq{tvj!m4i_vr5xT{KUIorF48L6UtOwE-U|3FO$L)!i%_g38gE?kKyV@J4iR5h=&7Y1blz
z1b!`321oK?^fFn^GEi>E#=DLX5*TrET$Y{7_EcqE?AdGyyd&hyt`8a0xcj7@Wm-j+
z9O$vRsLAB~56AU09Iva%B6=jPXVVYmAccHg{&c&2kK_(jIErCM-j^APoe@v3qs?*~
zjW;@>u|eZA4w~uYW5m}vFP6y#{P-@4E}pd6{ez%#U93y0vlNgm>
zuhB~vst+*`EY~q2eDG*a?q
zJ?;3_>(Z^OU)^5n<_nzAa_@ZEU-Hv#KX;ltiP>g<-bmw1#M{C9ET_XVFXXrCPQgdP
zim1(jMe;mPcv1pe#6GCOR2)ypZ)s)9;<%}uu?2QY2j`p~;&712;c9ho?Bc|s<$a%_
zjp5P9gud@kyV36?f-C;=eD_@M(RaM{j3&3#%%{EX9;|(PziPB?&+SV~AOzSA1`Bao
zM?CEJ`7lmM&w!ThdsvGyv06Eq9hqSP|JEzSZxGW7@%2`%w8DI2$*FVAO1
zImF5_n~AzXO}09gmOxg^$DX?}d=3lx8_)ygcI7axNjhWV0WqZ6qul+u%X!(D6oMJk
zmSzgAX>>!se5Uf`^LF7cmz!+q4FKV>q1%*%6M7@xGO(RUNICgDy-1ZKvVGm>@Alb(
z9R*6rosU(bq%Fkj_Absl|F-Z|prYT%nwFu{Ox?@SpnPj8B@TX-p3K;r
zHB)AigV!FO?KWb?kLv~X+sh)Ndiiem=~upb0n^(L7UMOGl<3Axpga`wk4Jf9jx#Ut
zSm6~wqk*XaU`_{}WJdqmNvhWe?C<1>
z6ns9+c38u^YcI2AVT8xLbQ!#t!T?7Kx~y@r>)57)*}}XP3PZ{S7yFNNiVq
zOQA}r+qz>sho84nR)xuNEpAdQb|-W`;ip&m)8#!D;{zkL;(t5TCTLiBge%I`t!y0W
zA_Kr)4_d!3xOQ_?o(SyK$2Asw2s!tX77jN@;Z492N7fse8E!EGf`ZMyL%<$cxRA=MT^H{P~I#7~r@kFdC8F
zp=RCyod!%C5Tg+E8@~smR{&^#;i(Lq;dqHVzAr{U{ME{uMB=+81JRdQgf(=qFke>1
z9Qw3_pWszF*63l}or<#lyux#aq*A;*6~{|>yJ#3U1@zyT~i`R5qoPx
z9X~3q7;5h7k6u;<``gyLYNM1|vkLh>N3(orc^L6Ylw)*blZf`7k{zjSa0|;!|2!K9
z$N>YPjKk$;m{rqPZp;v=@Q~ahlZUdj`C5|`PEG)xRbKJm&{|e2{~>r_G1IWxC^DTC&>U7XMgE|7z6BAm
zB981GVBw~62KzhiFCh*&BwTD&+O~svBn{Ocbc?mA7I
zm4H*`IYE;eWTwV)UF|L>aN<9YY6$}(X*olM;SAe^Blft!uLq=<6L4X&ysp}C2ZmWU
zPeNRoInv-VQoTwmPPs5b1mMAZi3=qdx8}E8Cf{M6qHr-nyX@k@Fmn3qnU(E`K;Rwt
zks?Z(sH8Z6