Skip to content
体验新版
项目
组织
正在加载...
登录
切换导航
打开侧边栏
xxadev
vscode
提交
38799f88
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,发现更多精彩内容 >>
提交
38799f88
编写于
11月 18, 2016
作者:
J
Joao Moreno
浏览文件
操作
浏览文件
下载
电子邮件补丁
差异文件
remove duplicate ITextEditorModel
上级
f68a4fcc
变更
6
隐藏空白更改
内联
并排
Showing
6 changed file
with
7 addition
and
12 deletion
+7
-12
src/vs/editor/browser/standalone/simpleServices.ts
src/vs/editor/browser/standalone/simpleServices.ts
+2
-2
src/vs/editor/common/services/resolverService.ts
src/vs/editor/common/services/resolverService.ts
+2
-2
src/vs/platform/editor/common/editor.ts
src/vs/platform/editor/common/editor.ts
+0
-4
src/vs/workbench/common/editor/textEditorModel.ts
src/vs/workbench/common/editor/textEditorModel.ts
+1
-1
src/vs/workbench/services/textfile/common/textfiles.ts
src/vs/workbench/services/textfile/common/textfiles.ts
+1
-1
src/vs/workbench/services/textmodelResolver/common/textModelResolverService.ts
...ices/textmodelResolver/common/textModelResolverService.ts
+1
-2
未找到文件。
src/vs/editor/browser/standalone/simpleServices.ts
浏览文件 @
38799f88
...
...
@@ -9,7 +9,7 @@ import Severity from 'vs/base/common/severity';
import
URI
from
'
vs/base/common/uri
'
;
import
{
TPromise
}
from
'
vs/base/common/winjs.base
'
;
import
{
IConfigurationService
,
IConfigurationServiceEvent
,
IConfigurationValue
,
getConfigurationValue
,
IConfigurationKeys
}
from
'
vs/platform/configuration/common/configuration
'
;
import
{
IEditor
,
IEditorInput
,
IEditorOptions
,
IEditorService
,
IResourceInput
,
ITextEditorModel
,
Position
}
from
'
vs/platform/editor/common/editor
'
;
import
{
IEditor
,
IEditorInput
,
IEditorOptions
,
IEditorService
,
IResourceInput
,
Position
}
from
'
vs/platform/editor/common/editor
'
;
import
{
AbstractExtensionService
,
ActivatedExtension
}
from
'
vs/platform/extensions/common/abstractExtensionService
'
;
import
{
IExtensionDescription
,
IExtensionService
}
from
'
vs/platform/extensions/common/extensions
'
;
import
{
ICommandService
,
ICommand
,
ICommandHandler
}
from
'
vs/platform/commands/common/commands
'
;
...
...
@@ -26,7 +26,7 @@ import { getDefaultValues as getDefaultConfiguration } from 'vs/platform/configu
import
{
CommandService
}
from
'
vs/platform/commands/common/commandService
'
;
import
{
IInstantiationService
}
from
'
vs/platform/instantiation/common/instantiation
'
;
import
{
IProgressService
,
IProgressRunner
}
from
'
vs/platform/progress/common/progress
'
;
import
{
ITextModelResolverService
,
ITextModelContentProvider
}
from
'
vs/editor/common/services/resolverService
'
;
import
{
ITextModelResolverService
,
ITextModelContentProvider
,
ITextEditorModel
}
from
'
vs/editor/common/services/resolverService
'
;
import
{
IDisposable
}
from
'
vs/base/common/lifecycle
'
;
export
class
SimpleEditor
implements
IEditor
{
...
...
src/vs/editor/common/services/resolverService.ts
浏览文件 @
38799f88
...
...
@@ -8,7 +8,7 @@ import { TPromise } from 'vs/base/common/winjs.base';
import
URI
from
'
vs/base/common/uri
'
;
import
{
createDecorator
}
from
'
vs/platform/instantiation/common/instantiation
'
;
import
{
IModel
}
from
'
vs/editor/common/editorCommon
'
;
import
{
I
TextEditorModel
as
IBaseText
EditorModel
}
from
'
vs/platform/editor/common/editor
'
;
import
{
IEditorModel
}
from
'
vs/platform/editor/common/editor
'
;
import
{
IDisposable
}
from
'
vs/base/common/lifecycle
'
;
export
const
ITextModelResolverService
=
createDecorator
<
ITextModelResolverService
>
(
'
textModelResolverService
'
);
...
...
@@ -37,7 +37,7 @@ export interface ITextModelContentProvider {
provideTextContent
(
resource
:
URI
):
TPromise
<
IModel
>
;
}
export
interface
ITextEditorModel
extends
I
BaseText
EditorModel
{
export
interface
ITextEditorModel
extends
IEditorModel
{
/**
* Provides access to the underlying IModel.
...
...
src/vs/platform/editor/common/editor.ts
浏览文件 @
38799f88
...
...
@@ -37,10 +37,6 @@ export interface IEditorModel {
dispose
():
void
;
}
export
interface
ITextEditorModel
extends
IEditorModel
{
textEditorModel
:
any
;
}
export
interface
IResourceInput
{
/**
...
...
src/vs/workbench/common/editor/textEditorModel.ts
浏览文件 @
38799f88
...
...
@@ -9,7 +9,7 @@ import { EndOfLinePreference, IModel, IRawText } from 'vs/editor/common/editorCo
import
{
IMode
}
from
'
vs/editor/common/modes
'
;
import
{
EditorModel
}
from
'
vs/workbench/common/editor
'
;
import
URI
from
'
vs/base/common/uri
'
;
import
{
ITextEditorModel
}
from
'
vs/
platform/editor/common/editor
'
;
import
{
ITextEditorModel
}
from
'
vs/
editor/common/services/resolverService
'
;
import
{
IModeService
}
from
'
vs/editor/common/services/modeService
'
;
import
{
IModelService
}
from
'
vs/editor/common/services/modelService
'
;
import
{
RawText
}
from
'
vs/editor/common/model/textModel
'
;
...
...
src/vs/workbench/services/textfile/common/textfiles.ts
浏览文件 @
38799f88
...
...
@@ -12,7 +12,7 @@ import { IDisposable } from 'vs/base/common/lifecycle';
import
{
IEncodingSupport
,
ConfirmResult
}
from
'
vs/workbench/common/editor
'
;
import
{
IFileStat
,
IBaseStat
,
IResolveContentOptions
}
from
'
vs/platform/files/common/files
'
;
import
{
createDecorator
}
from
'
vs/platform/instantiation/common/instantiation
'
;
import
{
ITextEditorModel
}
from
'
vs/
platform/editor/common/editor
'
;
import
{
ITextEditorModel
}
from
'
vs/
editor/common/services/resolverService
'
;
import
{
Event
as
BaseEvent
,
PropertyChangeEvent
}
from
'
vs/base/common/events
'
;
...
...
src/vs/workbench/services/textmodelResolver/common/textModelResolverService.ts
浏览文件 @
38799f88
...
...
@@ -8,14 +8,13 @@ import { TPromise } from 'vs/base/common/winjs.base';
import
URI
from
'
vs/base/common/uri
'
;
import
{
IInstantiationService
}
from
'
vs/platform/instantiation/common/instantiation
'
;
import
{
IModel
}
from
'
vs/editor/common/editorCommon
'
;
import
{
ITextEditorModel
}
from
'
vs/platform/editor/common/editor
'
;
import
{
IDisposable
}
from
'
vs/base/common/lifecycle
'
;
import
{
IModelService
}
from
'
vs/editor/common/services/modelService
'
;
import
{
sequence
}
from
'
vs/base/common/async
'
;
import
{
ResourceEditorModel
}
from
'
vs/workbench/common/editor/resourceEditorModel
'
;
import
{
ITextFileService
}
from
'
vs/workbench/services/textfile/common/textfiles
'
;
import
network
=
require
(
'
vs/base/common/network
'
);
import
{
ITextModelResolverService
,
ITextModelContentProvider
}
from
'
vs/editor/common/services/resolverService
'
;
import
{
ITextModelResolverService
,
ITextModelContentProvider
,
ITextEditorModel
}
from
'
vs/editor/common/services/resolverService
'
;
import
{
IUntitledEditorService
}
from
'
vs/workbench/services/untitled/common/untitledEditorService
'
;
import
{
UntitledEditorInput
}
from
'
vs/workbench/common/editor/untitledEditorInput
'
;
import
{
IWorkbenchEditorService
}
from
'
vs/workbench/services/editor/common/editorService
'
;
...
...
编辑
预览
Markdown
is supported
0%
请重试
或
添加新附件
.
添加附件
取消
You are about to add
0
people
to the discussion. Proceed with caution.
先完成此消息的编辑!
取消
想要评论请
注册
或
登录