Skip to content
体验新版
项目
组织
正在加载...
登录
切换导航
打开侧边栏
掘金者说
vscode
提交
66e7c7a1
V
vscode
项目概览
掘金者说
/
vscode
与 Fork 源项目一致
从无法访问的项目Fork
通知
1
Star
0
Fork
0
代码
文件
提交
分支
Tags
贡献者
分支图
Diff
Issue
0
列表
看板
标记
里程碑
合并请求
0
DevOps
流水线
流水线任务
计划
Wiki
0
Wiki
分析
仓库
DevOps
项目成员
Pages
V
vscode
项目概览
项目概览
详情
发布
仓库
仓库
文件
提交
分支
标签
贡献者
分支图
比较
Issue
0
Issue
0
列表
看板
标记
里程碑
合并请求
0
合并请求
0
Pages
DevOps
DevOps
流水线
流水线任务
计划
分析
分析
仓库分析
DevOps
Wiki
0
Wiki
成员
成员
收起侧边栏
关闭侧边栏
动态
分支图
创建新Issue
流水线任务
提交
Issue看板
体验新版 GitCode,发现更多精彩内容 >>
提交
66e7c7a1
编写于
1月 10, 2020
作者:
I
isidor
浏览文件
操作
浏览文件
下载
电子邮件补丁
差异文件
react to feedback
上级
5fc8d383
变更
4
显示空白变更内容
内联
并排
Showing
4 changed file
with
6 addition
and
12 deletion
+6
-12
src/vs/editor/browser/editorBrowser.ts
src/vs/editor/browser/editorBrowser.ts
+3
-2
src/vs/editor/browser/widget/codeEditorWidget.ts
src/vs/editor/browser/widget/codeEditorWidget.ts
+1
-1
src/vs/editor/contrib/suggest/suggestWidget.ts
src/vs/editor/contrib/suggest/suggestWidget.ts
+2
-2
src/vs/monaco.d.ts
src/vs/monaco.d.ts
+0
-7
未找到文件。
src/vs/editor/browser/editorBrowser.ts
浏览文件 @
66e7c7a1
...
...
@@ -321,9 +321,10 @@ export interface IOverviewRuler {
/**
* Editor aria options.
* @internal
*/
export
interface
IEditorAriaOptions
{
activeDescend
e
nt
:
string
|
undefined
;
activeDescend
a
nt
:
string
|
undefined
;
}
/**
...
...
@@ -700,7 +701,7 @@ export interface ICodeEditor extends editorCommon.IEditor {
* Sets the editor aria options, primarily the active descendent.
* @internal
*/
setAria
(
options
:
IEditorAriaOptions
):
void
;
setAria
Options
(
options
:
IEditorAriaOptions
):
void
;
/**
* @internal
...
...
src/vs/editor/browser/widget/codeEditorWidget.ts
浏览文件 @
66e7c7a1
...
...
@@ -1311,7 +1311,7 @@ export class CodeEditorWidget extends Disposable implements editorBrowser.ICodeE
this
.
_modelData
.
view
.
render
(
true
,
forceRedraw
);
}
public
setAria
(
options
:
editorBrowser
.
IEditorAriaOptions
):
void
{
public
setAria
Options
(
options
:
editorBrowser
.
IEditorAriaOptions
):
void
{
if
(
!
this
.
_modelData
||
!
this
.
_modelData
.
hasRealView
)
{
return
;
}
...
...
src/vs/editor/contrib/suggest/suggestWidget.ts
浏览文件 @
66e7c7a1
...
...
@@ -650,7 +650,7 @@ export class SuggestWidget implements IContentWidget, IListVirtualDelegate<Compl
this
.
focusedItem
=
null
;
}
this
.
editor
.
setAria
({
activeDescende
nt
:
undefined
});
this
.
editor
.
setAria
Options
({
activeDescenda
nt
:
undefined
});
return
;
}
...
...
@@ -699,7 +699,7 @@ export class SuggestWidget implements IContentWidget, IListVirtualDelegate<Compl
removeClass
(
this
.
element
,
'
docs-side
'
);
}
this
.
editor
.
setAria
({
activeDescende
nt
:
getAriaId
(
index
)
});
this
.
editor
.
setAria
Options
({
activeDescenda
nt
:
getAriaId
(
index
)
});
}).
catch
(
onUnexpectedError
);
}
...
...
src/vs/monaco.d.ts
浏览文件 @
66e7c7a1
...
...
@@ -3726,13 +3726,6 @@ declare namespace monaco.editor {
readonly
target
:
IMouseTarget
|
null
;
}
/**
* Editor aria options.
*/
export
interface
IEditorAriaOptions
{
activeDescendent
:
string
|
undefined
;
}
/**
* A rich code editor.
*/
...
...
编辑
预览
Markdown
is supported
0%
请重试
或
添加新附件
.
添加附件
取消
You are about to add
0
people
to the discussion. Proceed with caution.
先完成此消息的编辑!
取消
想要评论请
注册
或
登录