Skip to content
体验新版
项目
组织
正在加载...
登录
切换导航
打开侧边栏
xxadev
vscode
提交
b0e7f06a
V
vscode
项目概览
xxadev
/
vscode
与 Fork 源项目一致
从无法访问的项目Fork
通知
2
Star
0
Fork
0
代码
文件
提交
分支
Tags
贡献者
分支图
Diff
Issue
0
列表
看板
标记
里程碑
合并请求
0
Wiki
0
Wiki
分析
仓库
DevOps
项目成员
Pages
V
vscode
项目概览
项目概览
详情
发布
仓库
仓库
文件
提交
分支
标签
贡献者
分支图
比较
Issue
0
Issue
0
列表
看板
标记
里程碑
合并请求
0
合并请求
0
Pages
分析
分析
仓库分析
DevOps
Wiki
0
Wiki
成员
成员
收起侧边栏
关闭侧边栏
动态
分支图
创建新Issue
提交
Issue看板
体验新版 GitCode,发现更多精彩内容 >>
提交
b0e7f06a
编写于
6月 06, 2017
作者:
J
jens1o
浏览文件
操作
浏览文件
下载
电子邮件补丁
差异文件
fix some typos
上级
90b78697
变更
3
隐藏空白更改
内联
并排
Showing
3 changed file
with
7 addition
and
6 deletion
+7
-6
src/vs/editor/browser/widget/codeEditorWidget.ts
src/vs/editor/browser/widget/codeEditorWidget.ts
+1
-0
src/vs/workbench/parts/debug/electron-browser/debugService.ts
...vs/workbench/parts/debug/electron-browser/debugService.ts
+2
-2
src/vs/workbench/parts/debug/electron-browser/debugViews.ts
src/vs/workbench/parts/debug/electron-browser/debugViews.ts
+4
-4
未找到文件。
src/vs/editor/browser/widget/codeEditorWidget.ts
浏览文件 @
b0e7f06a
...
...
@@ -524,6 +524,7 @@ class CodeEditorWidgetFocusTracker extends Disposable {
private
_domFocusTracker
:
dom
.
IFocusTracker
;
private
_onChange
:
Emitter
<
void
>
=
this
.
_register
(
new
Emitter
<
void
>
());
// TODO: Fix name
public
onChage
:
Event
<
void
>
=
this
.
_onChange
.
event
;
constructor
(
domElement
:
HTMLElement
)
{
...
...
src/vs/workbench/parts/debug/electron-browser/debugService.ts
浏览文件 @
b0e7f06a
...
...
@@ -172,7 +172,7 @@ export class DebugService implements debug.IDebugService {
// attach: PH is ready to be attached to
// TODO@Isidor this is a hack to just get any 'extensionHost' session.
// Optimally the broadcast would contain the id of the session
// We are only intersted if we have an active debug session for extensionHost
// We are only inter
e
sted if we have an active debug session for extensionHost
const
process
=
this
.
model
.
getProcesses
().
filter
(
p
=>
strings
.
equalsIgnoreCase
(
p
.
configuration
.
type
,
'
extensionhost
'
)).
pop
();
const
session
=
process
?
<
RawDebugSession
>
process
.
session
:
null
;
if
(
broadcast
.
channel
===
EXTENSION_ATTACH_BROADCAST_CHANNEL
)
{
...
...
@@ -258,7 +258,7 @@ export class DebugService implements debug.IDebugService {
}
// flush simple values
// always append a new line for output coming from an extension such that sep
erate logs go to sepe
rate lines #23695
// always append a new line for output coming from an extension such that sep
arate logs go to sepa
rate lines #23695
if
(
simpleVals
.
length
)
{
this
.
model
.
appendToRepl
(
simpleVals
.
join
(
'
'
)
+
'
\n
'
,
sev
);
}
...
...
src/vs/workbench/parts/debug/electron-browser/debugViews.ts
浏览文件 @
b0e7f06a
...
...
@@ -64,7 +64,7 @@ export class VariablesView extends CollapsibleViewletView {
super
(
actionRunner
,
!!
settings
[
VariablesView
.
MEMENTO
],
nls
.
localize
(
'
variablesSection
'
,
"
Variables Section
"
),
messageService
,
keybindingService
,
contextMenuService
);
this
.
variablesFocusedContext
=
CONTEXT_VARIABLES_FOCUSED
.
bindTo
(
contextKeyService
);
// Use schedul
re
to prevent unnecessary flashing
// Use schedul
er
to prevent unnecessary flashing
this
.
onFocusStackFrameScheduler
=
new
RunOnceScheduler
(()
=>
{
// Always clear tree highlight to avoid ending up in a broken state #12203
this
.
tree
.
clearHighlight
();
...
...
@@ -116,7 +116,7 @@ export class VariablesView extends CollapsibleViewletView {
this
.
toolBar
.
setActions
(
prepareActions
([
collapseAction
]))();
this
.
toDispose
.
push
(
viewModel
.
onDidFocusStackFrame
(
sf
=>
{
// Refresh the tree immediatly if it is not visible.
// Refresh the tree immediat
e
ly if it is not visible.
// Otherwise postpone the refresh until user stops stepping.
if
(
!
this
.
tree
.
getContentHeight
())
{
this
.
onFocusStackFrameScheduler
.
schedule
(
0
);
...
...
@@ -281,7 +281,7 @@ export class CallStackView extends CollapsibleViewletView {
}
// Only show the global pause message if we do not display threads.
// Otherw
si
e there will be a pause message per thread and there is no need for a global one.
// Otherw
is
e there will be a pause message per thread and there is no need for a global one.
if
(
newTreeInput
instanceof
Thread
&&
newTreeInput
.
stoppedDetails
)
{
this
.
pauseMessageLabel
.
text
(
newTreeInput
.
stoppedDetails
.
description
||
nls
.
localize
(
'
debugStopped
'
,
"
Paused on {0}
"
,
newTreeInput
.
stoppedDetails
.
reason
));
if
(
newTreeInput
.
stoppedDetails
.
text
)
{
...
...
@@ -355,7 +355,7 @@ export class CallStackView extends CollapsibleViewletView {
private
updateTreeSelection
():
TPromise
<
void
>
{
if
(
!
this
.
tree
.
getInput
())
{
// Tree not initiali
ti
zed yet
// Tree not initialized yet
return
TPromise
.
as
(
null
);
}
...
...
编辑
预览
Markdown
is supported
0%
请重试
或
添加新附件
.
添加附件
取消
You are about to add
0
people
to the discussion. Proceed with caution.
先完成此消息的编辑!
取消
想要评论请
注册
或
登录