mirror of
https://github.com/microsoft/vscode.git
synced 2026-04-28 20:43:31 +01:00
Renames
This commit is contained in:
@@ -40,7 +40,8 @@ import { ViewCursors } from 'vs/editor/browser/viewParts/viewCursors/viewCursors
|
||||
import { ViewZones } from 'vs/editor/browser/viewParts/viewZones/viewZones';
|
||||
import { Position } from 'vs/editor/common/core/position';
|
||||
import { Range } from 'vs/editor/common/core/range';
|
||||
import { IConfiguration, ScrollType } from 'vs/editor/common/editorCommon';
|
||||
import { ScrollType } from 'vs/editor/common/editorCommon';
|
||||
import { IEditorConfiguration } from 'vs/editor/common/config/editorConfiguration';
|
||||
import { RenderingContext } from 'vs/editor/common/view/renderingContext';
|
||||
import { ViewContext } from 'vs/editor/common/view/viewContext';
|
||||
import * as viewEvents from 'vs/editor/common/view/viewEvents';
|
||||
@@ -92,7 +93,7 @@ export class View extends ViewEventHandler {
|
||||
|
||||
constructor(
|
||||
commandDelegate: ICommandDelegate,
|
||||
configuration: IConfiguration,
|
||||
configuration: IEditorConfiguration,
|
||||
themeService: IThemeService,
|
||||
model: IViewModel,
|
||||
userInputEvents: ViewUserInputEvents,
|
||||
|
||||
@@ -9,7 +9,7 @@ import { IEditorMouseEvent, IPartialEditorMouseEvent } from 'vs/editor/browser/e
|
||||
import { ViewUserInputEvents } from 'vs/editor/browser/view/viewUserInputEvents';
|
||||
import { Position } from 'vs/editor/common/core/position';
|
||||
import { Selection } from 'vs/editor/common/core/selection';
|
||||
import { IConfiguration } from 'vs/editor/common/editorCommon';
|
||||
import { IEditorConfiguration } from 'vs/editor/common/config/editorConfiguration';
|
||||
import { IViewModel } from 'vs/editor/common/viewModel/viewModel';
|
||||
import { IMouseWheelEvent } from 'vs/base/browser/mouseEvent';
|
||||
import { EditorOption } from 'vs/editor/common/config/editorOptions';
|
||||
@@ -45,13 +45,13 @@ export interface ICommandDelegate {
|
||||
|
||||
export class ViewController {
|
||||
|
||||
private readonly configuration: IConfiguration;
|
||||
private readonly configuration: IEditorConfiguration;
|
||||
private readonly viewModel: IViewModel;
|
||||
private readonly userInputEvents: ViewUserInputEvents;
|
||||
private readonly commandDelegate: ICommandDelegate;
|
||||
|
||||
constructor(
|
||||
configuration: IConfiguration,
|
||||
configuration: IEditorConfiguration,
|
||||
viewModel: IViewModel,
|
||||
userInputEvents: ViewUserInputEvents,
|
||||
commandDelegate: ICommandDelegate
|
||||
|
||||
@@ -9,7 +9,7 @@ import { DynamicViewOverlay } from 'vs/editor/browser/view/dynamicViewOverlay';
|
||||
import { IVisibleLine, IVisibleLinesHost, VisibleLinesCollection } from 'vs/editor/browser/view/viewLayer';
|
||||
import { ViewPart } from 'vs/editor/browser/view/viewPart';
|
||||
import { IStringBuilder } from 'vs/editor/common/core/stringBuilder';
|
||||
import { IConfiguration } from 'vs/editor/common/editorCommon';
|
||||
import { IEditorConfiguration } from 'vs/editor/common/config/editorConfiguration';
|
||||
import { RenderingContext, RestrictedRenderingContext } from 'vs/editor/common/view/renderingContext';
|
||||
import { ViewContext } from 'vs/editor/common/view/viewContext';
|
||||
import * as viewEvents from 'vs/editor/common/view/viewEvents';
|
||||
@@ -140,13 +140,13 @@ export class ViewOverlays extends ViewPart implements IVisibleLinesHost<ViewOver
|
||||
|
||||
export class ViewOverlayLine implements IVisibleLine {
|
||||
|
||||
private readonly _configuration: IConfiguration;
|
||||
private readonly _configuration: IEditorConfiguration;
|
||||
private readonly _dynamicOverlays: DynamicViewOverlay[];
|
||||
private _domNode: FastDomNode<HTMLElement> | null;
|
||||
private _renderedContent: string | null;
|
||||
private _lineHeight: number;
|
||||
|
||||
constructor(configuration: IConfiguration, dynamicOverlays: DynamicViewOverlay[]) {
|
||||
constructor(configuration: IEditorConfiguration, dynamicOverlays: DynamicViewOverlay[]) {
|
||||
this._configuration = configuration;
|
||||
this._lineHeight = this._configuration.options.get(EditorOption.lineHeight);
|
||||
this._dynamicOverlays = dynamicOverlays;
|
||||
|
||||
Reference in New Issue
Block a user