Remove unused code

This commit is contained in:
Alex Dima 2016-08-12 18:20:28 +02:00
parent 47fff291bb
commit 61deb56218
2 changed files with 0 additions and 20 deletions

View file

@ -210,12 +210,6 @@ export interface IMode {
*/
tokenizationSupport?: ITokenizationSupport;
/**
* Optional adapter to support inplace-replace.
* @internal
*/
inplaceReplaceSupport?:IInplaceReplaceSupport;
/**
* Optional adapter to support configuring this mode.
* @internal
@ -810,14 +804,6 @@ export interface IInplaceReplaceSupportResult {
range:editorCommon.IRange;
}
/**
* Interface used to navigate with a value-set.
* @internal
*/
export interface IInplaceReplaceSupport {
navigateValueSet(resource:URI, range:editorCommon.IRange, up:boolean):TPromise<IInplaceReplaceSupportResult>;
}
/**
* A link inside the editor.
*/

View file

@ -59,7 +59,6 @@ class InPlaceReplaceController implements IEditorContribution {
var selection = this.editor.getSelection(),
model = this.editor.getModel(),
support = model.getMode().inplaceReplaceSupport,
modelURI = model.uri;
if(selection.startLineNumber !== selection.endLineNumber) {
@ -74,11 +73,6 @@ class InPlaceReplaceController implements IEditorContribution {
if (basicResult && basicResult.range && basicResult.value) {
return basicResult;
}
if (support) {
return support.navigateValueSet(modelURI, selection, up);
}
return null;
});