mirror of
https://github.com/Microsoft/vscode
synced 2024-08-28 13:29:44 +00:00
Un-allowed double quoted imports (for #25451)
This commit is contained in:
parent
b3141c941e
commit
b34f17350f
|
@ -5,7 +5,7 @@
|
|||
|
||||
'use strict';
|
||||
|
||||
import { OutputChannel, window, workspace } from "vscode";
|
||||
import { OutputChannel, window, workspace } from 'vscode';
|
||||
|
||||
enum Trace {
|
||||
Off,
|
||||
|
|
|
@ -11,8 +11,8 @@ import DOM = require('vs/base/browser/dom');
|
|||
import { Builder, $ } from 'vs/base/browser/builder';
|
||||
import { StandardKeyboardEvent } from 'vs/base/browser/keyboardEvent';
|
||||
import { KeyCode } from 'vs/base/common/keyCodes';
|
||||
import { Color } from "vs/base/common/color";
|
||||
import { mixin } from "vs/base/common/objects";
|
||||
import { Color } from 'vs/base/common/color';
|
||||
import { mixin } from 'vs/base/common/objects';
|
||||
|
||||
export interface IButtonOptions extends IButtonStyles {
|
||||
}
|
||||
|
|
|
@ -12,7 +12,7 @@ import * as objects from 'vs/base/common/objects';
|
|||
import { KeyCode } from 'vs/base/common/keyCodes';
|
||||
import { Widget } from 'vs/base/browser/ui/widget';
|
||||
import { IKeyboardEvent } from 'vs/base/browser/keyboardEvent';
|
||||
import { Color } from "vs/base/common/color";
|
||||
import { Color } from 'vs/base/common/color';
|
||||
|
||||
export interface ICheckboxOpts extends ICheckboxStyles {
|
||||
actionClassName: string;
|
||||
|
|
|
@ -15,8 +15,8 @@ import Event, { Emitter } from 'vs/base/common/event';
|
|||
import { IKeyboardEvent } from 'vs/base/browser/keyboardEvent';
|
||||
import { KeyCode } from 'vs/base/common/keyCodes';
|
||||
import { CaseSensitiveCheckbox, WholeWordsCheckbox, RegexCheckbox } from 'vs/base/browser/ui/findinput/findInputCheckboxes';
|
||||
import { Color } from "vs/base/common/color";
|
||||
import { ICheckboxStyles } from "vs/base/browser/ui/checkbox/checkbox";
|
||||
import { Color } from 'vs/base/common/color';
|
||||
import { ICheckboxStyles } from 'vs/base/browser/ui/checkbox/checkbox';
|
||||
|
||||
export interface IFindInputOptions extends IFindInputStyles {
|
||||
placeholder?: string;
|
||||
|
|
|
@ -9,7 +9,7 @@ import 'vs/css!./findInputCheckboxes';
|
|||
import * as nls from 'vs/nls';
|
||||
import { Checkbox } from 'vs/base/browser/ui/checkbox/checkbox';
|
||||
import { IKeyboardEvent } from 'vs/base/browser/keyboardEvent';
|
||||
import { Color } from "vs/base/common/color";
|
||||
import { Color } from 'vs/base/common/color';
|
||||
|
||||
export interface IFindInputCheckboxOpts {
|
||||
appendTitle: string;
|
||||
|
|
|
@ -18,7 +18,7 @@ import { IContextViewProvider, AnchorAlignment } from 'vs/base/browser/ui/contex
|
|||
import Event, { Emitter } from 'vs/base/common/event';
|
||||
import { Widget } from 'vs/base/browser/ui/widget';
|
||||
import { Color } from 'vs/base/common/color';
|
||||
import { mixin } from "vs/base/common/objects";
|
||||
import { mixin } from 'vs/base/common/objects';
|
||||
|
||||
const $ = dom.$;
|
||||
|
||||
|
|
|
@ -13,8 +13,8 @@ import { ScrollEvent, ScrollbarVisibility } from 'vs/base/common/scrollable';
|
|||
import { RangeMap, IRange, relativeComplement, each } from './rangeMap';
|
||||
import { IDelegate, IRenderer } from './list';
|
||||
import { RowCache, IRow } from './rowCache';
|
||||
import { isWindows } from "vs/base/common/platform";
|
||||
import { canUseTranslate3d } from "vs/base/browser/browser";
|
||||
import { isWindows } from 'vs/base/common/platform';
|
||||
import { canUseTranslate3d } from 'vs/base/browser/browser';
|
||||
|
||||
interface IItem<T> {
|
||||
id: string;
|
||||
|
|
|
@ -18,8 +18,8 @@ import Event, { Emitter, EventBufferer, chain, mapEvent, fromCallback, any } fro
|
|||
import { domEvent } from 'vs/base/browser/event';
|
||||
import { IDelegate, IRenderer, IListEvent, IListMouseEvent, IListContextMenuEvent } from './list';
|
||||
import { ListView, IListViewOptions } from './listView';
|
||||
import { Color } from "vs/base/common/color";
|
||||
import { mixin } from "vs/base/common/objects";
|
||||
import { Color } from 'vs/base/common/color';
|
||||
import { mixin } from 'vs/base/common/objects';
|
||||
|
||||
export interface IIdentityProvider<T> {
|
||||
(element: T): string;
|
||||
|
|
|
@ -10,8 +10,8 @@ import Event, { Emitter } from 'vs/base/common/event';
|
|||
import { Widget } from 'vs/base/browser/ui/widget';
|
||||
import * as dom from 'vs/base/browser/dom';
|
||||
import * as arrays from 'vs/base/common/arrays';
|
||||
import { Color } from "vs/base/common/color";
|
||||
import { clone } from "vs/base/common/objects";
|
||||
import { Color } from 'vs/base/common/color';
|
||||
import { clone } from 'vs/base/common/objects';
|
||||
|
||||
export interface ISelectBoxStyles {
|
||||
selectBackground?: Color;
|
||||
|
|
|
@ -16,7 +16,7 @@ import sash = require('vs/base/browser/ui/sash/sash');
|
|||
import { StandardKeyboardEvent } from 'vs/base/browser/keyboardEvent';
|
||||
import { KeyCode } from 'vs/base/common/keyCodes';
|
||||
import Event, { Emitter } from 'vs/base/common/event';
|
||||
import { Color } from "vs/base/common/color";
|
||||
import { Color } from 'vs/base/common/color';
|
||||
|
||||
export enum Orientation {
|
||||
VERTICAL,
|
||||
|
|
|
@ -20,7 +20,7 @@ import { compareAnything, compareByScore as doCompareByScore } from 'vs/base/com
|
|||
import { ActionBar, IActionItem } from 'vs/base/browser/ui/actionbar/actionbar';
|
||||
import { HighlightedLabel } from 'vs/base/browser/ui/highlightedlabel/highlightedLabel';
|
||||
import DOM = require('vs/base/browser/dom');
|
||||
import { IQuickOpenStyles } from "vs/base/parts/quickopen/browser/quickOpenWidget";
|
||||
import { IQuickOpenStyles } from 'vs/base/parts/quickopen/browser/quickOpenWidget';
|
||||
|
||||
export interface IContext {
|
||||
event: any;
|
||||
|
|
|
@ -7,7 +7,7 @@ import { TPromise } from 'vs/base/common/winjs.base';
|
|||
import { isFunction } from 'vs/base/common/types';
|
||||
import { ITree, IRenderer, IFilter, IDataSource, IAccessibilityProvider } from 'vs/base/parts/tree/browser/tree';
|
||||
import { IModel } from 'vs/base/parts/quickopen/common/quickOpen';
|
||||
import { IQuickOpenStyles } from "vs/base/parts/quickopen/browser/quickOpenWidget";
|
||||
import { IQuickOpenStyles } from 'vs/base/parts/quickopen/browser/quickOpenWidget';
|
||||
|
||||
export interface IModelProvider {
|
||||
getModel<T>(): IModel<T>;
|
||||
|
|
|
@ -25,8 +25,8 @@ import DOM = require('vs/base/browser/dom');
|
|||
import { KeyCode, KeyMod } from 'vs/base/common/keyCodes';
|
||||
import { IDisposable, dispose } from 'vs/base/common/lifecycle';
|
||||
import { ScrollbarVisibility } from 'vs/base/common/scrollable';
|
||||
import { Color } from "vs/base/common/color";
|
||||
import { mixin } from "vs/base/common/objects";
|
||||
import { Color } from 'vs/base/common/color';
|
||||
import { mixin } from 'vs/base/common/objects';
|
||||
|
||||
export interface IQuickOpenCallbacks {
|
||||
onOk: () => void;
|
||||
|
|
|
@ -12,8 +12,8 @@ import Keyboard = require('vs/base/browser/keyboardEvent');
|
|||
import { INavigator } from 'vs/base/common/iterator';
|
||||
import { ScrollbarVisibility } from 'vs/base/common/scrollable';
|
||||
import Event from 'vs/base/common/event';
|
||||
import { IAction, IActionItem } from "vs/base/common/actions";
|
||||
import { Color } from "vs/base/common/color";
|
||||
import { IAction, IActionItem } from 'vs/base/common/actions';
|
||||
import { Color } from 'vs/base/common/color';
|
||||
|
||||
export interface ITree extends Events.IEventEmitter {
|
||||
|
||||
|
|
|
@ -14,8 +14,8 @@ import _ = require('vs/base/parts/tree/browser/tree');
|
|||
import { INavigator, MappedNavigator } from 'vs/base/common/iterator';
|
||||
import Event, { Emitter } from 'vs/base/common/event';
|
||||
import Lifecycle = require('vs/base/common/lifecycle');
|
||||
import { Color } from "vs/base/common/color";
|
||||
import { mixin } from "vs/base/common/objects";
|
||||
import { Color } from 'vs/base/common/color';
|
||||
import { mixin } from 'vs/base/common/objects';
|
||||
|
||||
export class TreeContext implements _.ITreeContext {
|
||||
|
||||
|
|
|
@ -44,8 +44,8 @@ import { resolveCommonProperties, machineIdStorageKey, machineIdIpcChannel } fro
|
|||
import { getDelayedChannel } from 'vs/base/parts/ipc/common/ipc';
|
||||
import product from 'vs/platform/node/product';
|
||||
import pkg from 'vs/platform/node/package';
|
||||
import { IDisposable, dispose } from "vs/base/common/lifecycle";
|
||||
import { ConfigurationService } from "vs/platform/configuration/node/configurationService";
|
||||
import { IDisposable, dispose } from 'vs/base/common/lifecycle';
|
||||
import { ConfigurationService } from 'vs/platform/configuration/node/configurationService';
|
||||
import { TPromise } from "vs/base/common/winjs.base";
|
||||
|
||||
export class VSCodeApplication {
|
||||
|
|
|
@ -12,7 +12,7 @@ import { ICodeEditorService } from 'vs/editor/common/services/codeEditorService'
|
|||
import { CodeEditorWidget } from 'vs/editor/browser/widget/codeEditorWidget';
|
||||
import { EditorAction, CommonEditorRegistry } from 'vs/editor/common/editorCommonExtensions';
|
||||
import { EditorBrowserRegistry } from 'vs/editor/browser/editorBrowserExtensions';
|
||||
import { IEditorOptions } from "vs/editor/common/config/editorOptions";
|
||||
import { IEditorOptions } from 'vs/editor/common/config/editorOptions';
|
||||
|
||||
export class CodeEditor extends CodeEditorWidget {
|
||||
|
||||
|
|
|
@ -15,7 +15,7 @@ import { ElementSizeObserver } from 'vs/editor/browser/config/elementSizeObserve
|
|||
import { FastDomNode } from 'vs/base/browser/fastDomNode';
|
||||
import { CharWidthRequest, CharWidthRequestType, readCharWidths } from 'vs/editor/browser/config/charWidthReader';
|
||||
import { IStorageService, StorageScope } from 'vs/platform/storage/common/storage';
|
||||
import { IEditorOptions } from "vs/editor/common/config/editorOptions";
|
||||
import { IEditorOptions } from 'vs/editor/common/config/editorOptions';
|
||||
|
||||
class CSSBasedConfigurationCache {
|
||||
|
||||
|
|
|
@ -18,8 +18,8 @@ import { HorizontalRange } from 'vs/editor/common/view/renderingContext';
|
|||
import { TextAreaWrapper } from 'vs/editor/browser/controller/input/textAreaWrapper';
|
||||
import * as viewEvents from 'vs/editor/common/view/viewEvents';
|
||||
import { FastDomNode } from 'vs/base/browser/fastDomNode';
|
||||
import { VerticalRevealType } from "vs/editor/common/controller/cursorEvents";
|
||||
import { ViewController } from "vs/editor/browser/view/viewController";
|
||||
import { VerticalRevealType } from 'vs/editor/common/controller/cursorEvents';
|
||||
import { ViewController } from 'vs/editor/browser/view/viewController';
|
||||
|
||||
export interface IKeyboardHandlerHelper {
|
||||
viewDomNode: FastDomNode<HTMLElement>;
|
||||
|
|
|
@ -22,8 +22,8 @@ import { StandardMouseWheelEvent } from 'vs/base/browser/mouseEvent';
|
|||
import { EditorZoom } from 'vs/editor/common/config/editorZoom';
|
||||
import { IViewCursorRenderData } from 'vs/editor/browser/viewParts/viewCursors/viewCursor';
|
||||
import * as viewEvents from 'vs/editor/common/view/viewEvents';
|
||||
import { IViewWhitespaceViewportData } from "vs/editor/common/viewModel/viewModel";
|
||||
import { ViewController } from "vs/editor/browser/view/viewController";
|
||||
import { IViewWhitespaceViewportData } from 'vs/editor/common/viewModel/viewModel';
|
||||
import { ViewController } from 'vs/editor/browser/view/viewController';
|
||||
|
||||
/**
|
||||
* Merges mouse events when mouse move events are throttled
|
||||
|
|
|
@ -14,8 +14,8 @@ import * as browser from 'vs/base/browser/browser';
|
|||
import { IViewCursorRenderData } from 'vs/editor/browser/viewParts/viewCursors/viewCursor';
|
||||
import { PartFingerprint, PartFingerprints } from 'vs/editor/browser/view/viewPart';
|
||||
import { IViewModel } from 'vs/editor/common/viewModel/viewModel';
|
||||
import { EditorLayoutInfo } from "vs/editor/common/config/editorOptions";
|
||||
import { ViewLine } from "vs/editor/browser/viewParts/lines/viewLine";
|
||||
import { EditorLayoutInfo } from 'vs/editor/common/config/editorOptions';
|
||||
import { ViewLine } from 'vs/editor/browser/viewParts/lines/viewLine';
|
||||
|
||||
export interface IViewZoneData {
|
||||
viewZoneId: number;
|
||||
|
|
|
@ -11,7 +11,7 @@ import { MouseHandler, IPointerHandlerHelper } from 'vs/editor/browser/controlle
|
|||
import { IMouseTarget } from 'vs/editor/browser/editorBrowser';
|
||||
import { ViewContext } from 'vs/editor/common/view/viewContext';
|
||||
import { EditorMouseEvent } from 'vs/editor/browser/editorDom';
|
||||
import { ViewController } from "vs/editor/browser/view/viewController";
|
||||
import { ViewController } from 'vs/editor/browser/view/viewController';
|
||||
|
||||
interface IThrottledGestureEvent {
|
||||
translationX: number;
|
||||
|
|
|
@ -11,9 +11,9 @@ import { IConstructorSignature1 } from 'vs/platform/instantiation/common/instant
|
|||
import * as editorCommon from 'vs/editor/common/editorCommon';
|
||||
import { Position, IPosition } from 'vs/editor/common/core/position';
|
||||
import { Range, IRange } from 'vs/editor/common/core/range';
|
||||
import * as editorOptions from "vs/editor/common/config/editorOptions";
|
||||
import { OverviewRulerZone } from "vs/editor/common/view/overviewZoneManager";
|
||||
import { IEditorWhitespace } from "vs/editor/common/viewLayout/whitespaceComputer";
|
||||
import * as editorOptions from 'vs/editor/common/config/editorOptions';
|
||||
import { OverviewRulerZone } from 'vs/editor/common/view/overviewZoneManager';
|
||||
import { IEditorWhitespace } from 'vs/editor/common/viewLayout/whitespaceComputer';
|
||||
|
||||
/**
|
||||
* A view zone is a full horizontal rectangle that 'pushes' text down.
|
||||
|
|
|
@ -35,7 +35,7 @@ import { ITelemetryService, ITelemetryExperiments, ITelemetryInfo } from 'vs/pla
|
|||
import { ResolvedKeybinding, Keybinding, createKeybinding, SimpleKeybinding } from 'vs/base/common/keyCodes';
|
||||
import { ResolvedKeybindingItem } from 'vs/platform/keybinding/common/resolvedKeybindingItem';
|
||||
import { OS } from 'vs/base/common/platform';
|
||||
import { IRange } from "vs/editor/common/core/range";
|
||||
import { IRange } from 'vs/editor/common/core/range';
|
||||
|
||||
export class SimpleEditor implements IEditor {
|
||||
|
||||
|
|
|
@ -23,8 +23,8 @@ import { ICodeEditor, IDiffEditor } from 'vs/editor/browser/editorBrowser';
|
|||
import { IStandaloneThemeService } from 'vs/editor/common/services/standaloneThemeService';
|
||||
import { InternalEditorAction } from 'vs/editor/common/editorAction';
|
||||
import { MenuId, MenuRegistry, IMenuItem } from 'vs/platform/actions/common/actions';
|
||||
import { IDiffEditorOptions, IEditorOptions } from "vs/editor/common/config/editorOptions";
|
||||
import { IThemeService } from "vs/platform/theme/common/themeService";
|
||||
import { IDiffEditorOptions, IEditorOptions } from 'vs/editor/common/config/editorOptions';
|
||||
import { IThemeService } from 'vs/platform/theme/common/themeService';
|
||||
|
||||
/**
|
||||
* The options to create an editor.
|
||||
|
|
|
@ -34,8 +34,8 @@ import { NULL_STATE, nullTokenize } from 'vs/editor/common/modes/nullMode';
|
|||
import { IStandaloneThemeData, IStandaloneThemeService } from 'vs/editor/common/services/standaloneThemeService';
|
||||
import { Token } from 'vs/editor/common/core/token';
|
||||
import { FontInfo, BareFontInfo } from 'vs/editor/common/config/fontInfo';
|
||||
import * as editorOptions from "vs/editor/common/config/editorOptions";
|
||||
import { CursorChangeReason } from "vs/editor/common/controller/cursorEvents";
|
||||
import * as editorOptions from 'vs/editor/common/config/editorOptions';
|
||||
import { CursorChangeReason } from 'vs/editor/common/controller/cursorEvents';
|
||||
|
||||
/**
|
||||
* @internal
|
||||
|
|
|
@ -11,7 +11,7 @@ import { IEditorMouseEvent } from 'vs/editor/browser/editorBrowser';
|
|||
import { ICommandService } from 'vs/platform/commands/common/commands';
|
||||
import { IViewModel } from 'vs/editor/common/viewModel/viewModel';
|
||||
import { ViewOutgoingEvents } from 'vs/editor/browser/view/viewOutgoingEvents';
|
||||
import { CoreCommands, CoreEditorCommand } from "vs/editor/common/controller/coreCommands";
|
||||
import { CoreCommands, CoreEditorCommand } from 'vs/editor/common/controller/coreCommands';
|
||||
|
||||
export interface ExecCoreEditorCommandFunc {
|
||||
(editorCommand: CoreEditorCommand, args: any): void;
|
||||
|
|
|
@ -50,7 +50,7 @@ import { ViewportData } from 'vs/editor/common/viewLayout/viewLinesViewportData'
|
|||
import { EditorScrollbar } from 'vs/editor/browser/viewParts/editorScrollbar/editorScrollbar';
|
||||
import { Minimap } from 'vs/editor/browser/viewParts/minimap/minimap';
|
||||
import * as viewEvents from 'vs/editor/common/view/viewEvents';
|
||||
import { IEditorWhitespace } from "vs/editor/common/viewLayout/whitespaceComputer";
|
||||
import { IEditorWhitespace } from 'vs/editor/common/viewLayout/whitespaceComputer';
|
||||
|
||||
export interface IContentWidgetData {
|
||||
widget: editorBrowser.IContentWidget;
|
||||
|
|
|
@ -7,7 +7,7 @@
|
|||
import { ViewEventHandler } from 'vs/editor/common/viewModel/viewEventHandler';
|
||||
import { ViewContext } from 'vs/editor/common/view/viewContext';
|
||||
import { RenderingContext, RestrictedRenderingContext } from 'vs/editor/common/view/renderingContext';
|
||||
import { FastDomNode } from "vs/base/browser/fastDomNode";
|
||||
import { FastDomNode } from 'vs/base/browser/fastDomNode';
|
||||
|
||||
export abstract class ViewPart extends ViewEventHandler {
|
||||
|
||||
|
|
|
@ -6,7 +6,7 @@
|
|||
'use strict';
|
||||
|
||||
import 'vs/css!./lineNumbers';
|
||||
import { editorLineNumbers } from "vs/editor/common/view/editorColorRegistry";
|
||||
import { editorLineNumbers } from 'vs/editor/common/view/editorColorRegistry';
|
||||
import { registerThemingParticipant } from 'vs/platform/theme/common/themeService';
|
||||
import * as platform from 'vs/base/common/platform';
|
||||
import { DynamicViewOverlay } from 'vs/editor/browser/view/dynamicViewOverlay';
|
||||
|
|
|
@ -18,7 +18,7 @@ import { IViewLines, HorizontalRange, LineVisibleRanges } from 'vs/editor/common
|
|||
import { IViewLayout, Viewport } from 'vs/editor/common/viewModel/viewModel';
|
||||
import { ViewPart, PartFingerprint, PartFingerprints } from 'vs/editor/browser/view/viewPart';
|
||||
import * as viewEvents from 'vs/editor/common/view/viewEvents';
|
||||
import { VerticalRevealType } from "vs/editor/common/controller/cursorEvents";
|
||||
import { VerticalRevealType } from 'vs/editor/common/controller/cursorEvents';
|
||||
|
||||
class LastRenderedData {
|
||||
|
||||
|
|
|
@ -26,7 +26,7 @@ import { RGBA } from 'vs/base/common/color';
|
|||
import * as viewEvents from 'vs/editor/common/view/viewEvents';
|
||||
import { GlobalMouseMoveMonitor, IStandardMouseMoveEventData, standardMouseMoveMerger } from 'vs/base/browser/globalMouseMoveMonitor';
|
||||
import * as platform from 'vs/base/common/platform';
|
||||
import { VerticalRevealType } from "vs/editor/common/controller/cursorEvents";
|
||||
import { VerticalRevealType } from 'vs/editor/common/controller/cursorEvents';
|
||||
|
||||
const enum RenderMinimap {
|
||||
None = 0,
|
||||
|
|
|
@ -14,7 +14,7 @@ import { Position } from 'vs/editor/common/core/position';
|
|||
import { TokenizationRegistry } from 'vs/editor/common/modes';
|
||||
import { IDisposable } from 'vs/base/common/lifecycle';
|
||||
import * as viewEvents from 'vs/editor/common/view/viewEvents';
|
||||
import { OverviewRulerZone } from "vs/editor/common/view/overviewZoneManager";
|
||||
import { OverviewRulerZone } from 'vs/editor/common/view/overviewZoneManager';
|
||||
|
||||
function getThemeType(themeId: string): editorCommon.ThemeType {
|
||||
if (themes.isHighContrastTheme(themeId)) {
|
||||
|
|
|
@ -9,8 +9,8 @@ import { IOverviewRuler } from 'vs/editor/browser/editorBrowser';
|
|||
import { OverviewRulerImpl } from 'vs/editor/browser/viewParts/overviewRuler/overviewRulerImpl';
|
||||
import { ViewContext } from 'vs/editor/common/view/viewContext';
|
||||
import * as viewEvents from 'vs/editor/common/view/viewEvents';
|
||||
import { OverviewRulerPosition } from "vs/editor/common/config/editorOptions";
|
||||
import { OverviewRulerZone } from "vs/editor/common/view/overviewZoneManager";
|
||||
import { OverviewRulerPosition } from 'vs/editor/common/config/editorOptions';
|
||||
import { OverviewRulerZone } from 'vs/editor/common/view/overviewZoneManager';
|
||||
|
||||
export class OverviewRuler extends ViewEventHandler implements IOverviewRuler {
|
||||
|
||||
|
|
|
@ -10,7 +10,7 @@ import { IDisposable } from 'vs/base/common/lifecycle';
|
|||
import * as browser from 'vs/base/browser/browser';
|
||||
import { OverviewZoneManager, ColorZone, OverviewRulerZone } from 'vs/editor/common/view/overviewZoneManager';
|
||||
import { Color } from 'vs/base/common/color';
|
||||
import { OverviewRulerPosition } from "vs/editor/common/config/editorOptions";
|
||||
import { OverviewRulerPosition } from 'vs/editor/common/config/editorOptions';
|
||||
|
||||
export class OverviewRulerImpl {
|
||||
|
||||
|
|
|
@ -16,7 +16,7 @@ import { TimeoutTimer, IntervalTimer } from 'vs/base/common/async';
|
|||
import * as viewEvents from 'vs/editor/common/view/viewEvents';
|
||||
import { registerThemingParticipant } from 'vs/platform/theme/common/themeService';
|
||||
import { editorCursor } from 'vs/editor/common/view/editorColorRegistry';
|
||||
import { TextEditorCursorBlinkingStyle, TextEditorCursorStyle } from "vs/editor/common/config/editorOptions";
|
||||
import { TextEditorCursorBlinkingStyle, TextEditorCursorStyle } from 'vs/editor/common/config/editorOptions';
|
||||
|
||||
export class ViewCursors extends ViewPart {
|
||||
|
||||
|
|
|
@ -29,10 +29,10 @@ import { Disposable } from 'vs/base/common/lifecycle';
|
|||
import Event, { Emitter } from 'vs/base/common/event';
|
||||
import { IKeyboardEvent } from 'vs/base/browser/keyboardEvent';
|
||||
import { InternalEditorAction } from 'vs/editor/common/editorAction';
|
||||
import { IEditorOptions } from "vs/editor/common/config/editorOptions";
|
||||
import { IPosition } from "vs/editor/common/core/position";
|
||||
import { IEditorWhitespace } from "vs/editor/common/viewLayout/whitespaceComputer";
|
||||
import { CoreEditorCommand } from "vs/editor/common/controller/coreCommands";
|
||||
import { IEditorOptions } from 'vs/editor/common/config/editorOptions';
|
||||
import { IPosition } from 'vs/editor/common/core/position';
|
||||
import { IEditorWhitespace } from 'vs/editor/common/viewLayout/whitespaceComputer';
|
||||
import { CoreEditorCommand } from 'vs/editor/common/controller/coreCommands';
|
||||
|
||||
export abstract class CodeEditorWidget extends CommonCodeEditor implements editorBrowser.ICodeEditor {
|
||||
|
||||
|
|
|
@ -32,12 +32,12 @@ import { InlineDecoration } from 'vs/editor/common/viewModel/viewModel';
|
|||
import { ServiceCollection } from 'vs/platform/instantiation/common/serviceCollection';
|
||||
import { ColorId, MetadataConsts, FontStyle } from 'vs/editor/common/modes';
|
||||
import Event, { Emitter } from 'vs/base/common/event';
|
||||
import * as editorOptions from "vs/editor/common/config/editorOptions";
|
||||
import { registerThemingParticipant, IThemeService, ITheme } from "vs/platform/theme/common/themeService";
|
||||
import { registerColor } from "vs/platform/theme/common/colorRegistry";
|
||||
import { Color, RGBA } from "vs/base/common/color";
|
||||
import { OverviewRulerZone } from "vs/editor/common/view/overviewZoneManager";
|
||||
import { IEditorWhitespace } from "vs/editor/common/viewLayout/whitespaceComputer";
|
||||
import * as editorOptions from 'vs/editor/common/config/editorOptions';
|
||||
import { registerThemingParticipant, IThemeService, ITheme } from 'vs/platform/theme/common/themeService';
|
||||
import { registerColor } from 'vs/platform/theme/common/colorRegistry';
|
||||
import { Color, RGBA } from 'vs/base/common/color';
|
||||
import { OverviewRulerZone } from 'vs/editor/common/view/overviewZoneManager';
|
||||
import { IEditorWhitespace } from 'vs/editor/common/viewLayout/whitespaceComputer';
|
||||
|
||||
interface IEditorDiffDecorations {
|
||||
decorations: editorCommon.IModelDeltaDecoration[];
|
||||
|
|
|
@ -11,7 +11,7 @@ import { IContextKeyService } from 'vs/platform/contextkey/common/contextkey';
|
|||
import { ICodeEditorService } from 'vs/editor/common/services/codeEditorService';
|
||||
import { ICodeEditor } from 'vs/editor/browser/editorBrowser';
|
||||
import { CodeEditor } from 'vs/editor/browser/codeEditor';
|
||||
import { IConfigurationChangedEvent, IEditorOptions } from "vs/editor/common/config/editorOptions";
|
||||
import { IConfigurationChangedEvent, IEditorOptions } from 'vs/editor/common/config/editorOptions';
|
||||
|
||||
export class EmbeddedCodeEditorWidget extends CodeEditor {
|
||||
|
||||
|
|
|
@ -28,8 +28,8 @@ import {
|
|||
IModelContentChangedEvent, IModelDecorationsChangedEvent,
|
||||
IModelLanguageChangedEvent, IModelOptionsChangedEvent, TextModelEventType
|
||||
} from 'vs/editor/common/model/textModelEvents';
|
||||
import * as editorOptions from "vs/editor/common/config/editorOptions";
|
||||
import { CursorEventType, ICursorPositionChangedEvent, VerticalRevealType, ICursorSelectionChangedEvent } from "vs/editor/common/controller/cursorEvents";
|
||||
import * as editorOptions from 'vs/editor/common/config/editorOptions';
|
||||
import { CursorEventType, ICursorPositionChangedEvent, VerticalRevealType, ICursorSelectionChangedEvent } from 'vs/editor/common/controller/cursorEvents';
|
||||
import { EditorContextKeys } from 'vs/editor/common/editorContextKeys';
|
||||
|
||||
let EDITOR_ID = 0;
|
||||
|
|
|
@ -18,7 +18,7 @@ import { ScrollbarVisibility } from 'vs/base/common/scrollable';
|
|||
import { FontInfo, BareFontInfo } from 'vs/editor/common/config/fontInfo';
|
||||
import { Constants } from 'vs/editor/common/core/uint';
|
||||
import { EditorZoom } from 'vs/editor/common/config/editorZoom';
|
||||
import * as editorOptions from "vs/editor/common/config/editorOptions";
|
||||
import * as editorOptions from 'vs/editor/common/config/editorOptions';
|
||||
|
||||
/**
|
||||
* Control what pressing Tab does.
|
||||
|
|
|
@ -7,7 +7,7 @@
|
|||
import * as nls from 'vs/nls';
|
||||
import * as platform from 'vs/base/common/platform';
|
||||
import { USUAL_WORD_SEPARATORS } from 'vs/editor/common/model/wordHelper';
|
||||
import { IEditorOptions } from "vs/editor/common/config/editorOptions";
|
||||
import { IEditorOptions } from 'vs/editor/common/config/editorOptions';
|
||||
|
||||
export interface IConfiguration {
|
||||
editor: IEditorOptions;
|
||||
|
|
|
@ -9,21 +9,21 @@ import { Position } from 'vs/editor/common/core/position';
|
|||
import { Range } from 'vs/editor/common/core/range';
|
||||
import * as editorCommon from 'vs/editor/common/editorCommon';
|
||||
import { CursorState, ICursors, RevealTarget, IColumnSelectData, CursorContext } from 'vs/editor/common/controller/cursorCommon';
|
||||
import { CursorChangeReason, VerticalRevealType } from "vs/editor/common/controller/cursorEvents";
|
||||
import { CursorMoveCommands, CursorMove as CursorMove_ } from "vs/editor/common/controller/cursorMoveCommands";
|
||||
import { EditorCommand, ICommandOptions, Command } from "vs/editor/common/config/config";
|
||||
import { ServicesAccessor } from "vs/platform/instantiation/common/instantiation";
|
||||
import { registerEditorCommand } from "vs/editor/common/editorCommonExtensions";
|
||||
import { IColumnSelectResult, ColumnSelection } from "vs/editor/common/controller/cursorColumnSelection";
|
||||
import { EditorContextKeys } from "vs/editor/common/editorContextKeys";
|
||||
import { KeyMod, KeyCode } from "vs/base/common/keyCodes";
|
||||
import { KeybindingsRegistry } from "vs/platform/keybinding/common/keybindingsRegistry";
|
||||
import { CursorChangeReason, VerticalRevealType } from 'vs/editor/common/controller/cursorEvents';
|
||||
import { CursorMoveCommands, CursorMove as CursorMove_ } from 'vs/editor/common/controller/cursorMoveCommands';
|
||||
import { EditorCommand, ICommandOptions, Command } from 'vs/editor/common/config/config';
|
||||
import { ServicesAccessor } from 'vs/platform/instantiation/common/instantiation';
|
||||
import { registerEditorCommand } from 'vs/editor/common/editorCommonExtensions';
|
||||
import { IColumnSelectResult, ColumnSelection } from 'vs/editor/common/controller/cursorColumnSelection';
|
||||
import { EditorContextKeys } from 'vs/editor/common/editorContextKeys';
|
||||
import { KeyMod, KeyCode } from 'vs/base/common/keyCodes';
|
||||
import { KeybindingsRegistry } from 'vs/platform/keybinding/common/keybindingsRegistry';
|
||||
import H = editorCommon.Handler;
|
||||
import { ICodeEditorService, getCodeEditor } from "vs/editor/common/services/codeEditorService";
|
||||
import { ContextKeyExpr } from "vs/platform/contextkey/common/contextkey";
|
||||
import { ICodeEditorService, getCodeEditor } from 'vs/editor/common/services/codeEditorService';
|
||||
import { ContextKeyExpr } from 'vs/platform/contextkey/common/contextkey';
|
||||
import * as types from 'vs/base/common/types';
|
||||
import { ICommandHandlerDescription } from "vs/platform/commands/common/commands";
|
||||
import { IEditorService } from "vs/platform/editor/common/editor";
|
||||
import { ICommandHandlerDescription } from 'vs/platform/commands/common/commands';
|
||||
import { IEditorService } from 'vs/platform/editor/common/editor';
|
||||
|
||||
const CORE_WEIGHT = KeybindingsRegistry.WEIGHT.editorCore();
|
||||
|
||||
|
|
|
@ -19,8 +19,8 @@ import { LanguageConfigurationRegistry } from 'vs/editor/common/modes/languageCo
|
|||
import { DeleteOperations } from 'vs/editor/common/controller/cursorDeleteOperations';
|
||||
import { TypeOperations } from 'vs/editor/common/controller/cursorTypeOperations';
|
||||
import { TextModelEventType, ModelRawContentChangedEvent, RawContentChangedType } from 'vs/editor/common/model/textModelEvents';
|
||||
import { CursorEventType, CursorChangeReason, ICursorPositionChangedEvent, VerticalRevealType, ICursorSelectionChangedEvent, ICursorRevealRangeEvent, CursorScrollRequest } from "vs/editor/common/controller/cursorEvents";
|
||||
import { CommonEditorRegistry } from "vs/editor/common/editorCommonExtensions";
|
||||
import { CursorEventType, CursorChangeReason, ICursorPositionChangedEvent, VerticalRevealType, ICursorSelectionChangedEvent, ICursorRevealRangeEvent, CursorScrollRequest } from 'vs/editor/common/controller/cursorEvents';
|
||||
import { CommonEditorRegistry } from 'vs/editor/common/editorCommonExtensions';
|
||||
import { CoreEditorCommand } from 'vs/editor/common/controller/coreCommands';
|
||||
|
||||
interface IMultipleCursorOperationContext {
|
||||
|
|
|
@ -15,9 +15,9 @@ import { LanguageConfigurationRegistry } from 'vs/editor/common/modes/languageCo
|
|||
import { onUnexpectedError } from 'vs/base/common/errors';
|
||||
import { LanguageIdentifier } from 'vs/editor/common/modes';
|
||||
import { IAutoClosingPair } from 'vs/editor/common/modes/languageConfiguration';
|
||||
import { IConfigurationChangedEvent } from "vs/editor/common/config/editorOptions";
|
||||
import { ICoordinatesConverter } from "vs/editor/common/viewModel/viewModel";
|
||||
import { CursorChangeReason, VerticalRevealType } from "vs/editor/common/controller/cursorEvents";
|
||||
import { IConfigurationChangedEvent } from 'vs/editor/common/config/editorOptions';
|
||||
import { ICoordinatesConverter } from 'vs/editor/common/viewModel/viewModel';
|
||||
import { CursorChangeReason, VerticalRevealType } from 'vs/editor/common/controller/cursorEvents';
|
||||
|
||||
export interface IColumnSelectData {
|
||||
toViewLineNumber: number;
|
||||
|
|
|
@ -21,9 +21,9 @@ import {
|
|||
ModelRawContentChangedEvent, IModelContentChangedEvent, IModelDecorationsChangedEvent,
|
||||
IModelLanguageChangedEvent, IModelOptionsChangedEvent
|
||||
} from 'vs/editor/common/model/textModelEvents';
|
||||
import * as editorOptions from "vs/editor/common/config/editorOptions";
|
||||
import { ICursorPositionChangedEvent, ICursorSelectionChangedEvent } from "vs/editor/common/controller/cursorEvents";
|
||||
import { ICursors } from "vs/editor/common/controller/cursorCommon";
|
||||
import * as editorOptions from 'vs/editor/common/config/editorOptions';
|
||||
import { ICursorPositionChangedEvent, ICursorSelectionChangedEvent } from 'vs/editor/common/controller/cursorEvents';
|
||||
import { ICursors } from 'vs/editor/common/controller/cursorCommon';
|
||||
|
||||
/**
|
||||
* Vertical Lane in the overview ruler of the editor.
|
||||
|
|
|
@ -8,7 +8,7 @@ import URI from 'vs/base/common/uri';
|
|||
import { IRange } from 'vs/editor/common/core/range';
|
||||
import { PrefixSumComputer } from 'vs/editor/common/viewModel/prefixSumComputer';
|
||||
import { IModelContentChange } from 'vs/editor/common/model/textModelEvents';
|
||||
import { IPosition } from "vs/editor/common/core/position";
|
||||
import { IPosition } from 'vs/editor/common/core/position';
|
||||
|
||||
export interface IModelChangedEvent {
|
||||
/**
|
||||
|
|
|
@ -5,7 +5,7 @@
|
|||
|
||||
'use strict';
|
||||
|
||||
import { IRange } from "vs/editor/common/core/range";
|
||||
import { IRange } from 'vs/editor/common/core/range';
|
||||
|
||||
/**
|
||||
* @internal
|
||||
|
|
|
@ -5,7 +5,7 @@
|
|||
'use strict';
|
||||
|
||||
import { IInplaceReplaceSupportResult } from 'vs/editor/common/modes';
|
||||
import { IRange } from "vs/editor/common/core/range";
|
||||
import { IRange } from 'vs/editor/common/core/range';
|
||||
|
||||
export class BasicInplaceReplace {
|
||||
|
||||
|
|
|
@ -9,7 +9,7 @@ import { TPromise } from 'vs/base/common/winjs.base';
|
|||
import { createDecorator } from 'vs/platform/instantiation/common/instantiation';
|
||||
import { IChange, ILineChange } from 'vs/editor/common/editorCommon';
|
||||
import { IInplaceReplaceSupportResult, TextEdit } from 'vs/editor/common/modes';
|
||||
import { IRange } from "vs/editor/common/core/range";
|
||||
import { IRange } from 'vs/editor/common/core/range';
|
||||
|
||||
export var ID_EDITOR_WORKER_SERVICE = 'editorWorkerService';
|
||||
export var IEditorWorkerService = createDecorator<IEditorWorkerService>(ID_EDITOR_WORKER_SERVICE);
|
||||
|
|
|
@ -25,7 +25,7 @@ import { DEFAULT_INDENTATION, DEFAULT_TRIM_AUTO_WHITESPACE } from 'vs/editor/com
|
|||
import { PLAINTEXT_LANGUAGE_IDENTIFIER } from 'vs/editor/common/modes/modesRegistry';
|
||||
import { IRawTextSource, TextSource, RawTextSource } from 'vs/editor/common/model/textSource';
|
||||
import * as textModelEvents from 'vs/editor/common/model/textModelEvents';
|
||||
import { ClassName } from "vs/editor/common/model/textModelWithDecorations";
|
||||
import { ClassName } from 'vs/editor/common/model/textModelWithDecorations';
|
||||
|
||||
function MODEL_ID(resource: URI): string {
|
||||
return resource.toString();
|
||||
|
|
|
@ -8,8 +8,8 @@ import { Position } from 'vs/editor/common/core/position';
|
|||
import { Range } from 'vs/editor/common/core/range';
|
||||
import { Selection } from 'vs/editor/common/core/selection';
|
||||
import { ScrollEvent } from 'vs/base/common/scrollable';
|
||||
import { IViewConfigurationChangedEvent, IConfigurationChangedEvent } from "vs/editor/common/config/editorOptions";
|
||||
import { VerticalRevealType } from "vs/editor/common/controller/cursorEvents";
|
||||
import { IViewConfigurationChangedEvent, IConfigurationChangedEvent } from 'vs/editor/common/config/editorOptions';
|
||||
import { VerticalRevealType } from 'vs/editor/common/controller/cursorEvents';
|
||||
|
||||
export const enum ViewEventType {
|
||||
ViewConfigurationChanged = 1,
|
||||
|
|
|
@ -6,7 +6,7 @@
|
|||
|
||||
import { WhitespaceComputer, IEditorWhitespace } from 'vs/editor/common/viewLayout/whitespaceComputer';
|
||||
import { IPartialViewLinesViewportData } from 'vs/editor/common/viewLayout/viewLinesViewportData';
|
||||
import { IViewWhitespaceViewportData } from "vs/editor/common/viewModel/viewModel";
|
||||
import { IViewWhitespaceViewportData } from 'vs/editor/common/viewModel/viewModel';
|
||||
|
||||
/**
|
||||
* Layouting of objects that take vertical space (by having a height) and push down other objects.
|
||||
|
|
|
@ -12,7 +12,7 @@ import { IViewLayout, IViewWhitespaceViewportData, Viewport } from 'vs/editor/co
|
|||
import { IPartialViewLinesViewportData } from 'vs/editor/common/viewLayout/viewLinesViewportData';
|
||||
import { ViewEventDispatcher } from 'vs/editor/common/view/viewEventDispatcher';
|
||||
import * as viewEvents from 'vs/editor/common/view/viewEvents';
|
||||
import { IEditorWhitespace } from "vs/editor/common/viewLayout/whitespaceComputer";
|
||||
import { IEditorWhitespace } from 'vs/editor/common/viewLayout/whitespaceComputer';
|
||||
|
||||
export class LayoutProvider extends Disposable implements IViewLayout {
|
||||
|
||||
|
|
|
@ -10,7 +10,7 @@ import { ILineMapperFactory, ILineMapping, OutputPosition } from 'vs/editor/comm
|
|||
import { CharCode } from 'vs/base/common/charCode';
|
||||
import { CharacterClassifier } from 'vs/editor/common/core/characterClassifier';
|
||||
import { toUint32Array } from 'vs/editor/common/core/uint';
|
||||
import { WrappingIndent } from "vs/editor/common/config/editorOptions";
|
||||
import { WrappingIndent } from 'vs/editor/common/config/editorOptions';
|
||||
|
||||
const enum CharacterClass {
|
||||
NONE = 0,
|
||||
|
|
|
@ -11,7 +11,7 @@ import { LineTokens } from 'vs/editor/common/core/lineTokens';
|
|||
import { PrefixSumComputerWithCache } from 'vs/editor/common/viewModel/prefixSumComputer';
|
||||
import { ViewLineData, ViewEventsCollector } from 'vs/editor/common/viewModel/viewModel';
|
||||
import * as viewEvents from 'vs/editor/common/view/viewEvents';
|
||||
import { WrappingIndent } from "vs/editor/common/config/editorOptions";
|
||||
import { WrappingIndent } from 'vs/editor/common/config/editorOptions';
|
||||
|
||||
export class OutputPosition {
|
||||
_outputPositionBrand: void;
|
||||
|
|
|
@ -5,7 +5,7 @@
|
|||
'use strict';
|
||||
|
||||
import * as viewEvents from 'vs/editor/common/view/viewEvents';
|
||||
import { Disposable } from "vs/base/common/lifecycle";
|
||||
import { Disposable } from 'vs/base/common/lifecycle';
|
||||
|
||||
export class ViewEventHandler extends Disposable {
|
||||
|
||||
|
|
|
@ -9,7 +9,7 @@ import { Position } from 'vs/editor/common/core/position';
|
|||
import { ICoordinatesConverter, ViewEventsCollector } from 'vs/editor/common/viewModel/viewModel';
|
||||
import { Selection } from 'vs/editor/common/core/selection';
|
||||
import * as viewEvents from 'vs/editor/common/view/viewEvents';
|
||||
import { ICursorRevealRangeEvent, CursorScrollRequest } from "vs/editor/common/controller/cursorEvents";
|
||||
import { ICursorRevealRangeEvent, CursorScrollRequest } from 'vs/editor/common/controller/cursorEvents';
|
||||
|
||||
export interface ICursorPositionChangedEvent {
|
||||
readonly position: Position;
|
||||
|
|
|
@ -21,9 +21,9 @@ import * as viewEvents from 'vs/editor/common/view/viewEvents';
|
|||
import * as errors from 'vs/base/common/errors';
|
||||
import { MinimapTokensColorTracker } from 'vs/editor/common/view/minimapCharRenderer';
|
||||
import * as textModelEvents from 'vs/editor/common/model/textModelEvents';
|
||||
import { WrappingIndent, IConfigurationChangedEvent } from "vs/editor/common/config/editorOptions";
|
||||
import { CursorEventType, ICursorPositionChangedEvent, VerticalRevealType, ICursorSelectionChangedEvent, ICursorRevealRangeEvent, CursorScrollRequest } from "vs/editor/common/controller/cursorEvents";
|
||||
import { Cursor } from "vs/editor/common/controller/cursor";
|
||||
import { WrappingIndent, IConfigurationChangedEvent } from 'vs/editor/common/config/editorOptions';
|
||||
import { CursorEventType, ICursorPositionChangedEvent, VerticalRevealType, ICursorSelectionChangedEvent, ICursorRevealRangeEvent, CursorScrollRequest } from 'vs/editor/common/controller/cursorEvents';
|
||||
import { Cursor } from 'vs/editor/common/controller/cursor';
|
||||
|
||||
const ConfigurationChanged = 'configurationChanged';
|
||||
|
||||
|
|
|
@ -25,8 +25,8 @@ import { editorAction, CommonEditorRegistry, EditorAction, EditorCommand, Comman
|
|||
import { ICodeEditor, IOverlayWidget, IOverlayWidgetPosition } from 'vs/editor/browser/editorBrowser';
|
||||
import { editorContribution } from 'vs/editor/browser/editorBrowserExtensions';
|
||||
import { ToggleTabFocusModeAction } from 'vs/editor/contrib/toggleTabFocusMode/common/toggleTabFocusMode';
|
||||
import { registerThemingParticipant } from "vs/platform/theme/common/themeService";
|
||||
import { editorWidgetBackground, widgetShadow, highContrastBorder } from "vs/platform/theme/common/colorRegistry";
|
||||
import { registerThemingParticipant } from 'vs/platform/theme/common/themeService';
|
||||
import { editorWidgetBackground, widgetShadow, highContrastBorder } from 'vs/platform/theme/common/colorRegistry';
|
||||
|
||||
const CONTEXT_ACCESSIBILITY_WIDGET_VISIBLE = new RawContextKey<boolean>('accessibilityHelpWidgetVisible', false);
|
||||
const TOGGLE_EXPERIMENTAL_SCREEN_READER_SUPPORT_COMMAND_ID = 'toggleExperimentalScreenReaderSupport';
|
||||
|
|
|
@ -10,7 +10,7 @@ import * as nls from 'vs/nls';
|
|||
import { KeyCode, KeyMod } from 'vs/base/common/keyCodes';
|
||||
import * as browser from 'vs/base/browser/browser';
|
||||
import { ServicesAccessor } from 'vs/platform/instantiation/common/instantiation';
|
||||
import { ICodeEditorService } from "vs/editor/common/services/codeEditorService";
|
||||
import { ICodeEditorService } from 'vs/editor/common/services/codeEditorService';
|
||||
import * as editorCommon from 'vs/editor/common/editorCommon';
|
||||
import { editorAction, IActionOptions, EditorAction } from 'vs/editor/common/editorCommonExtensions';
|
||||
import { CopyOptions } from 'vs/editor/common/controller/textAreaHandler';
|
||||
|
|
|
@ -21,7 +21,7 @@ import { CodeLensProviderRegistry, CodeLensProvider, ICodeLensSymbol, Command }
|
|||
import * as editorBrowser from 'vs/editor/browser/editorBrowser';
|
||||
import { editorContribution } from 'vs/editor/browser/editorBrowserExtensions';
|
||||
import { ICodeLensData, getCodeLensData } from '../common/codelens';
|
||||
import { IConfigurationChangedEvent } from "vs/editor/common/config/editorOptions";
|
||||
import { IConfigurationChangedEvent } from 'vs/editor/common/config/editorOptions';
|
||||
|
||||
|
||||
class CodeLensViewZone implements editorBrowser.IViewZone {
|
||||
|
|
|
@ -10,7 +10,7 @@ import * as objects from 'vs/base/common/objects';
|
|||
import { Range } from 'vs/editor/common/core/range';
|
||||
import { ICommonDiffEditor, ILineChange } from 'vs/editor/common/editorCommon';
|
||||
import { IDisposable, dispose } from 'vs/base/common/lifecycle';
|
||||
import { ICursorPositionChangedEvent } from "vs/editor/common/controller/cursorEvents";
|
||||
import { ICursorPositionChangedEvent } from 'vs/editor/common/controller/cursorEvents';
|
||||
|
||||
interface IDiffRange {
|
||||
rhs: boolean;
|
||||
|
|
|
@ -12,7 +12,7 @@ import { editorContribution } from 'vs/editor/browser/editorBrowserExtensions';
|
|||
import { FindWidget, IFindController } from 'vs/editor/contrib/find/browser/findWidget';
|
||||
import { FindOptionsWidget } from 'vs/editor/contrib/find/browser/findOptionsWidget';
|
||||
import { CommonFindController, FindStartFocusAction, IFindStartOptions } from 'vs/editor/contrib/find/common/findController';
|
||||
import { IThemeService } from "vs/platform/theme/common/themeService";
|
||||
import { IThemeService } from 'vs/platform/theme/common/themeService';
|
||||
|
||||
@editorContribution
|
||||
export class FindController extends CommonFindController implements IFindController {
|
||||
|
|
|
@ -13,8 +13,8 @@ import { FIND_IDS } from 'vs/editor/contrib/find/common/findModel';
|
|||
import { FindReplaceState } from 'vs/editor/contrib/find/common/findState';
|
||||
import { CaseSensitiveCheckbox, WholeWordsCheckbox } from 'vs/base/browser/ui/findinput/findInputCheckboxes';
|
||||
import { RunOnceScheduler } from 'vs/base/common/async';
|
||||
import { IThemeService, ITheme, registerThemingParticipant } from "vs/platform/theme/common/themeService";
|
||||
import { inputActiveOptionBorder, editorWidgetBackground, highContrastBorder, widgetShadow } from "vs/platform/theme/common/colorRegistry";
|
||||
import { IThemeService, ITheme, registerThemingParticipant } from 'vs/platform/theme/common/themeService';
|
||||
import { inputActiveOptionBorder, editorWidgetBackground, highContrastBorder, widgetShadow } from 'vs/platform/theme/common/colorRegistry';
|
||||
|
||||
export class FindOptionsWidget extends Widget implements IOverlayWidget {
|
||||
|
||||
|
|
|
@ -25,8 +25,8 @@ import { IContextKeyService, IContextKey } from 'vs/platform/contextkey/common/c
|
|||
import { CONTEXT_FIND_INPUT_FOCUSSED } from 'vs/editor/contrib/find/common/findController';
|
||||
import { ITheme, registerThemingParticipant, IThemeService } from 'vs/platform/theme/common/themeService';
|
||||
import { Color } from 'vs/base/common/color';
|
||||
import { IConfigurationChangedEvent } from "vs/editor/common/config/editorOptions";
|
||||
import { editorFindRangeHighlight, editorFindMatch, editorFindMatchHighlight, highContrastOutline, highContrastBorder, inputBackground, editorWidgetBackground, inputActiveOptionBorder, widgetShadow, inputForeground, inputBorder, infoBackground, infoBorder, warningBackground, warningBorder, errorBackground, errorBorder } from "vs/platform/theme/common/colorRegistry";
|
||||
import { IConfigurationChangedEvent } from 'vs/editor/common/config/editorOptions';
|
||||
import { editorFindRangeHighlight, editorFindMatch, editorFindMatchHighlight, highContrastOutline, highContrastBorder, inputBackground, editorWidgetBackground, inputActiveOptionBorder, widgetShadow, inputForeground, inputBorder, infoBackground, infoBorder, warningBackground, warningBorder, errorBackground, errorBorder } from 'vs/platform/theme/common/colorRegistry';
|
||||
|
||||
export interface IFindController {
|
||||
replace(): void;
|
||||
|
|
|
@ -18,7 +18,7 @@ import { FIND_IDS, FindModelBoundToEditorModel, ToggleCaseSensitiveKeybinding, T
|
|||
import { FindReplaceState, FindReplaceStateChangedEvent, INewFindReplaceState } from 'vs/editor/contrib/find/common/findState';
|
||||
import { DocumentHighlightProviderRegistry } from 'vs/editor/common/modes';
|
||||
import { RunOnceScheduler, Delayer } from 'vs/base/common/async';
|
||||
import { CursorChangeReason, ICursorSelectionChangedEvent } from "vs/editor/common/controller/cursorEvents";
|
||||
import { CursorChangeReason, ICursorSelectionChangedEvent } from 'vs/editor/common/controller/cursorEvents';
|
||||
import { EditorContextKeys } from 'vs/editor/common/editorContextKeys';
|
||||
|
||||
export const enum FindStartFocusAction {
|
||||
|
|
|
@ -19,7 +19,7 @@ import { KeyCode, KeyMod } from 'vs/base/common/keyCodes';
|
|||
import { Constants } from 'vs/editor/common/core/uint';
|
||||
import { SearchParams } from 'vs/editor/common/model/textModelSearch';
|
||||
import { IKeybindings } from 'vs/platform/keybinding/common/keybindingsRegistry';
|
||||
import { CursorChangeReason, ICursorPositionChangedEvent } from "vs/editor/common/controller/cursorEvents";
|
||||
import { CursorChangeReason, ICursorPositionChangedEvent } from 'vs/editor/common/controller/cursorEvents';
|
||||
|
||||
export const ToggleCaseSensitiveKeybinding: IKeybindings = {
|
||||
primary: KeyMod.Alt | KeyCode.KEY_C,
|
||||
|
|
|
@ -13,7 +13,7 @@ import { ICommonCodeEditor } from 'vs/editor/common/editorCommon';
|
|||
import { FindModelBoundToEditorModel } from 'vs/editor/contrib/find/common/findModel';
|
||||
import { FindReplaceState } from 'vs/editor/contrib/find/common/findState';
|
||||
import { withMockCodeEditor } from 'vs/editor/test/common/mocks/mockCodeEditor';
|
||||
import { CoreCommands } from "vs/editor/common/controller/coreCommands";
|
||||
import { CoreCommands } from 'vs/editor/common/controller/coreCommands';
|
||||
|
||||
suite('FindModel', () => {
|
||||
|
||||
|
|
|
@ -22,7 +22,7 @@ import { computeRanges, limitByIndent } from 'vs/editor/contrib/folding/common/i
|
|||
import { IFoldingController, ID } from 'vs/editor/contrib/folding/common/folding';
|
||||
import { Selection } from 'vs/editor/common/core/selection';
|
||||
import { EditorContextKeys } from 'vs/editor/common/editorContextKeys';
|
||||
import { IConfigurationChangedEvent } from "vs/editor/common/config/editorOptions";
|
||||
import { IConfigurationChangedEvent } from 'vs/editor/common/config/editorOptions';
|
||||
|
||||
@editorContribution
|
||||
export class FoldingController implements IFoldingController {
|
||||
|
|
|
@ -21,7 +21,7 @@ import { IEditorWorkerService } from 'vs/editor/common/services/editorWorkerServ
|
|||
import { CharacterSet } from 'vs/editor/common/core/characterClassifier';
|
||||
import { Range } from 'vs/editor/common/core/range';
|
||||
import { alert } from 'vs/base/browser/ui/aria/aria';
|
||||
import { EditorState, CodeEditorStateFlag } from "vs/editor/common/core/editorState";
|
||||
import { EditorState, CodeEditorStateFlag } from 'vs/editor/common/core/editorState';
|
||||
import { EditorContextKeys } from 'vs/editor/common/editorContextKeys';
|
||||
|
||||
|
||||
|
|
|
@ -36,10 +36,10 @@ import { ITextModelResolverService } from 'vs/editor/common/services/resolverSer
|
|||
import { MessageController } from './messageController';
|
||||
import * as corePosition from 'vs/editor/common/core/position';
|
||||
import { EditorContextKeys } from 'vs/editor/common/editorContextKeys';
|
||||
import { ICursorSelectionChangedEvent } from "vs/editor/common/controller/cursorEvents";
|
||||
import { ICursorSelectionChangedEvent } from 'vs/editor/common/controller/cursorEvents';
|
||||
import { registerThemingParticipant } from 'vs/platform/theme/common/themeService';
|
||||
import { editorActiveLinkForeground } from 'vs/platform/theme/common/colorRegistry';
|
||||
import { EditorState, CodeEditorStateFlag } from "vs/editor/common/core/editorState";
|
||||
import { EditorState, CodeEditorStateFlag } from 'vs/editor/common/core/editorState';
|
||||
|
||||
|
||||
export class DefinitionActionConfig {
|
||||
|
|
|
@ -16,7 +16,7 @@ import * as editorCommon from 'vs/editor/common/editorCommon';
|
|||
import { commonEditorContribution, CommonEditorRegistry, EditorCommand } from 'vs/editor/common/editorCommonExtensions';
|
||||
import { ICodeEditor, IContentWidget, IContentWidgetPosition, ContentWidgetPositionPreference } from 'vs/editor/browser/editorBrowser';
|
||||
import { IContextKeyService, RawContextKey, IContextKey } from 'vs/platform/contextkey/common/contextkey';
|
||||
import { IPosition } from "vs/editor/common/core/position";
|
||||
import { IPosition } from 'vs/editor/common/core/position';
|
||||
|
||||
@commonEditorContribution
|
||||
export class MessageController {
|
||||
|
|
|
@ -24,9 +24,9 @@ import { editorAction, ServicesAccessor, IActionOptions, EditorAction, EditorCom
|
|||
import { ICodeEditor } from 'vs/editor/browser/editorBrowser';
|
||||
import { editorContribution } from 'vs/editor/browser/editorBrowserExtensions';
|
||||
import { ZoneWidget } from 'vs/editor/contrib/zoneWidget/browser/zoneWidget';
|
||||
import { registerColor } from "vs/platform/theme/common/colorRegistry";
|
||||
import { IThemeService, ITheme } from "vs/platform/theme/common/themeService";
|
||||
import { Color } from "vs/base/common/color";
|
||||
import { registerColor } from 'vs/platform/theme/common/colorRegistry';
|
||||
import { IThemeService, ITheme } from 'vs/platform/theme/common/themeService';
|
||||
import { Color } from 'vs/base/common/color';
|
||||
import { EditorContextKeys } from 'vs/editor/common/editorContextKeys';
|
||||
|
||||
class MarkerModel {
|
||||
|
|
|
@ -12,7 +12,7 @@ import * as editorBrowser from 'vs/editor/browser/editorBrowser';
|
|||
import { Widget } from 'vs/base/browser/ui/widget';
|
||||
import { DomScrollableElement } from 'vs/base/browser/ui/scrollbar/scrollableElement';
|
||||
import { IDisposable, dispose } from 'vs/base/common/lifecycle';
|
||||
import { IConfigurationChangedEvent } from "vs/editor/common/config/editorOptions";
|
||||
import { IConfigurationChangedEvent } from 'vs/editor/common/config/editorOptions';
|
||||
|
||||
export class ContentHoverWidget extends Widget implements editorBrowser.IContentWidget {
|
||||
|
||||
|
|
|
@ -15,7 +15,7 @@ import { editorAction, ServicesAccessor, EditorAction, commonEditorContribution
|
|||
import { IInplaceReplaceSupportResult } from 'vs/editor/common/modes';
|
||||
import { IEditorWorkerService } from 'vs/editor/common/services/editorWorkerService';
|
||||
import { InPlaceReplaceCommand } from './inPlaceReplaceCommand';
|
||||
import { EditorState, CodeEditorStateFlag } from "vs/editor/common/core/editorState";
|
||||
import { EditorState, CodeEditorStateFlag } from 'vs/editor/common/core/editorState';
|
||||
|
||||
@commonEditorContribution
|
||||
class InPlaceReplaceController implements IEditorContribution {
|
||||
|
|
|
@ -25,7 +25,7 @@ import { IDisposable, dispose } from 'vs/base/common/lifecycle';
|
|||
import { editorContribution } from 'vs/editor/browser/editorBrowserExtensions';
|
||||
import { registerThemingParticipant } from 'vs/platform/theme/common/themeService';
|
||||
import { editorLinkForeground, editorActiveLinkForeground } from 'vs/platform/theme/common/colorRegistry';
|
||||
import { Position } from "vs/editor/common/core/position";
|
||||
import { Position } from 'vs/editor/common/core/position';
|
||||
|
||||
class LinkOccurence {
|
||||
|
||||
|
|
|
@ -10,8 +10,8 @@ import { ICommonCodeEditor } from 'vs/editor/common/editorCommon';
|
|||
import { EditorContextKeys } from 'vs/editor/common/editorContextKeys';
|
||||
import { editorAction, ServicesAccessor, EditorAction } from 'vs/editor/common/editorCommonExtensions';
|
||||
import { Selection } from 'vs/editor/common/core/selection';
|
||||
import { CursorChangeReason } from "vs/editor/common/controller/cursorEvents";
|
||||
import { CursorMoveCommands } from "vs/editor/common/controller/cursorMoveCommands";
|
||||
import { CursorChangeReason } from 'vs/editor/common/controller/cursorEvents';
|
||||
import { CursorMoveCommands } from 'vs/editor/common/controller/cursorMoveCommands';
|
||||
import { CursorState, RevealTarget } from 'vs/editor/common/controller/cursorCommon';
|
||||
|
||||
@editorAction
|
||||
|
|
|
@ -5,10 +5,10 @@
|
|||
'use strict';
|
||||
|
||||
import * as assert from 'assert';
|
||||
import { withMockCodeEditor } from "vs/editor/test/common/mocks/mockCodeEditor";
|
||||
import { Selection } from "vs/editor/common/core/selection";
|
||||
import { InsertCursorAbove, InsertCursorBelow } from "vs/editor/contrib/multicursor/common/multicursor";
|
||||
import { Handler } from "vs/editor/common/editorCommon";
|
||||
import { withMockCodeEditor } from 'vs/editor/test/common/mocks/mockCodeEditor';
|
||||
import { Selection } from 'vs/editor/common/core/selection';
|
||||
import { InsertCursorAbove, InsertCursorBelow } from 'vs/editor/contrib/multicursor/common/multicursor';
|
||||
import { Handler } from 'vs/editor/common/editorCommon';
|
||||
|
||||
|
||||
suite('Multicursor', () => {
|
||||
|
|
|
@ -22,8 +22,8 @@ import { IContextKey, IContextKeyService } from 'vs/platform/contextkey/common/c
|
|||
import { Context, provideSignatureHelp } from '../common/parameterHints';
|
||||
import { DomScrollableElement } from 'vs/base/browser/ui/scrollbar/scrollableElement';
|
||||
import { CharacterSet } from 'vs/editor/common/core/characterClassifier';
|
||||
import { IConfigurationChangedEvent } from "vs/editor/common/config/editorOptions";
|
||||
import { ICursorSelectionChangedEvent } from "vs/editor/common/controller/cursorEvents";
|
||||
import { IConfigurationChangedEvent } from 'vs/editor/common/config/editorOptions';
|
||||
import { ICursorSelectionChangedEvent } from 'vs/editor/common/controller/cursorEvents';
|
||||
|
||||
const $ = dom.$;
|
||||
|
||||
|
|
|
@ -14,7 +14,7 @@ import { Range } from 'vs/editor/common/core/range';
|
|||
import { ICommonCodeEditor } from 'vs/editor/common/editorCommon';
|
||||
import { CodeActionProviderRegistry, CodeAction } from 'vs/editor/common/modes';
|
||||
import { getCodeActions } from './quickFix';
|
||||
import { Position } from "vs/editor/common/core/position";
|
||||
import { Position } from 'vs/editor/common/core/position';
|
||||
|
||||
|
||||
export class QuickFixOracle {
|
||||
|
|
|
@ -15,7 +15,7 @@ import { QuickFixOracle } from 'vs/editor/contrib/quickFix/browser/quickFixModel
|
|||
import { CodeActionProviderRegistry, LanguageIdentifier } from 'vs/editor/common/modes';
|
||||
import { IDisposable } from 'vs/base/common/lifecycle';
|
||||
import Event from 'vs/base/common/event';
|
||||
import { Range } from "vs/editor/common/core/range";
|
||||
import { Range } from 'vs/editor/common/core/range';
|
||||
|
||||
function promiseOnce<T>(event: Event<T>): TPromise<T> {
|
||||
return new TPromise<T>(resolve => {
|
||||
|
|
|
@ -12,8 +12,8 @@ import { editorContribution } from 'vs/editor/browser/editorBrowserExtensions';
|
|||
import { QuickOpenEditorWidget } from './quickOpenEditorWidget';
|
||||
import { Selection } from 'vs/editor/common/core/selection';
|
||||
import { IActionOptions, EditorAction } from 'vs/editor/common/editorCommonExtensions';
|
||||
import { IThemeService } from "vs/platform/theme/common/themeService";
|
||||
import { Range } from "vs/editor/common/core/range";
|
||||
import { IThemeService } from 'vs/platform/theme/common/themeService';
|
||||
import { Range } from 'vs/editor/common/core/range';
|
||||
|
||||
export interface IQuickOpenControllerOpts {
|
||||
inputAriaLabel: string;
|
||||
|
|
|
@ -15,8 +15,8 @@ import { ICodeEditor, IDiffEditor } from 'vs/editor/browser/editorBrowser';
|
|||
import { BaseEditorQuickOpenAction, IDecorator } from './editorQuickOpen';
|
||||
import { editorAction, ServicesAccessor } from 'vs/editor/common/editorCommonExtensions';
|
||||
import { KeyCode, KeyMod } from 'vs/base/common/keyCodes';
|
||||
import { Position } from "vs/editor/common/core/position";
|
||||
import { Range } from "vs/editor/common/core/range";
|
||||
import { Position } from 'vs/editor/common/core/position';
|
||||
import { Range } from 'vs/editor/common/core/range';
|
||||
|
||||
interface ParseResult {
|
||||
position: Position;
|
||||
|
|
|
@ -9,9 +9,9 @@ import { QuickOpenModel } from 'vs/base/parts/quickopen/browser/quickOpenModel';
|
|||
import { QuickOpenWidget } from 'vs/base/parts/quickopen/browser/quickOpenWidget';
|
||||
import { IAutoFocus } from 'vs/base/parts/quickopen/common/quickOpen';
|
||||
import { ICodeEditor, IOverlayWidget, IOverlayWidgetPosition, OverlayWidgetPositionPreference } from 'vs/editor/browser/editorBrowser';
|
||||
import { attachQuickOpenStyler } from "vs/platform/theme/common/styler";
|
||||
import { IDisposable } from "vs/base/common/lifecycle";
|
||||
import { IThemeService } from "vs/platform/theme/common/themeService";
|
||||
import { attachQuickOpenStyler } from 'vs/platform/theme/common/styler';
|
||||
import { IDisposable } from 'vs/base/common/lifecycle';
|
||||
import { IThemeService } from 'vs/platform/theme/common/themeService';
|
||||
|
||||
export interface IQuickOpenEditorWidgetOptions {
|
||||
inputAriaLabel: string;
|
||||
|
|
|
@ -20,7 +20,7 @@ import { BaseEditorQuickOpenAction, IDecorator } from './editorQuickOpen';
|
|||
import { getDocumentSymbols, IOutline } from 'vs/editor/contrib/quickOpen/common/quickOpen';
|
||||
import { editorAction, ServicesAccessor } from 'vs/editor/common/editorCommonExtensions';
|
||||
import { KeyCode, KeyMod } from 'vs/base/common/keyCodes';
|
||||
import { Range } from "vs/editor/common/core/range";
|
||||
import { Range } from 'vs/editor/common/core/range';
|
||||
|
||||
let SCOPE_PREFIX = ':';
|
||||
|
||||
|
|
|
@ -26,8 +26,8 @@ import { ReferencesModel, OneReference } from './referencesModel';
|
|||
import { ReferenceWidget, LayoutData } from './referencesWidget';
|
||||
import { Range } from 'vs/editor/common/core/range';
|
||||
import { ITextModelResolverService } from 'vs/editor/common/services/resolverService';
|
||||
import { IThemeService } from "vs/platform/theme/common/themeService";
|
||||
import { Position } from "vs/editor/common/core/position";
|
||||
import { IThemeService } from 'vs/platform/theme/common/themeService';
|
||||
import { Position } from 'vs/editor/common/core/position';
|
||||
|
||||
export const ctxReferenceSearchVisible = new RawContextKey<boolean>('referenceSearchVisible', false);
|
||||
|
||||
|
|
|
@ -16,7 +16,7 @@ import { TPromise } from 'vs/base/common/winjs.base';
|
|||
import { Range, IRange } from 'vs/editor/common/core/range';
|
||||
import { Location } from 'vs/editor/common/modes';
|
||||
import { ITextModelResolverService, ITextEditorModel } from 'vs/editor/common/services/resolverService';
|
||||
import { Position } from "vs/editor/common/core/position";
|
||||
import { Position } from 'vs/editor/common/core/position';
|
||||
|
||||
export class OneReference {
|
||||
|
||||
|
|
|
@ -14,7 +14,7 @@ import { IDisposable, dispose, Disposables, IReference } from 'vs/base/common/li
|
|||
import { Schemas } from 'vs/base/common/network';
|
||||
import * as strings from 'vs/base/common/strings';
|
||||
import { TPromise } from 'vs/base/common/winjs.base';
|
||||
import { Color } from "vs/base/common/color";
|
||||
import { Color } from 'vs/base/common/color';
|
||||
import { $, Builder } from 'vs/base/browser/builder';
|
||||
import * as dom from 'vs/base/browser/dom';
|
||||
import { Sash, ISashEvent, IVerticalSashLayoutProvider } from 'vs/base/browser/ui/sash/sash';
|
||||
|
@ -41,9 +41,9 @@ import { FileReferences, OneReference, ReferencesModel } from './referencesModel
|
|||
import { ITextModelResolverService, ITextEditorModel } from 'vs/editor/common/services/resolverService';
|
||||
import { registerColor, highContrastOutline } from 'vs/platform/theme/common/colorRegistry';
|
||||
import { registerThemingParticipant, ITheme, IThemeService } from 'vs/platform/theme/common/themeService';
|
||||
import { attachListStyler } from "vs/platform/theme/common/styler";
|
||||
import { attachListStyler } from 'vs/platform/theme/common/styler';
|
||||
import { IModelDecorationsChangedEvent } from 'vs/editor/common/model/textModelEvents';
|
||||
import { IEditorOptions } from "vs/editor/common/config/editorOptions";
|
||||
import { IEditorOptions } from 'vs/editor/common/config/editorOptions';
|
||||
|
||||
class DecorationsManager implements IDisposable {
|
||||
|
||||
|
|
|
@ -23,12 +23,12 @@ import { ICodeEditor } from 'vs/editor/browser/editorBrowser';
|
|||
import RenameInputField from './renameInputField';
|
||||
import { ITextModelResolverService } from 'vs/editor/common/services/resolverService';
|
||||
import { optional } from 'vs/platform/instantiation/common/instantiation';
|
||||
import { IThemeService } from "vs/platform/theme/common/themeService";
|
||||
import { IThemeService } from 'vs/platform/theme/common/themeService';
|
||||
import { sequence, asWinJsPromise } from 'vs/base/common/async';
|
||||
import { WorkspaceEdit, RenameProviderRegistry } from 'vs/editor/common/modes';
|
||||
import { Position } from 'vs/editor/common/core/position';
|
||||
import { alert } from 'vs/base/browser/ui/aria/aria';
|
||||
import { Range } from "vs/editor/common/core/range";
|
||||
import { Range } from 'vs/editor/common/core/range';
|
||||
|
||||
|
||||
export function rename(model: IReadOnlyModel, position: Position, newName: string): TPromise<WorkspaceEdit> {
|
||||
|
|
|
@ -12,9 +12,9 @@ import { IDisposable, dispose } from 'vs/base/common/lifecycle';
|
|||
import { TPromise } from 'vs/base/common/winjs.base';
|
||||
import { Range } from 'vs/editor/common/core/range';
|
||||
import { ContentWidgetPositionPreference, ICodeEditor, IContentWidget, IContentWidgetPosition } from 'vs/editor/browser/editorBrowser';
|
||||
import { IThemeService, ITheme } from "vs/platform/theme/common/themeService";
|
||||
import { inputBackground, inputBorder, inputForeground, widgetShadow, focus } from "vs/platform/theme/common/colorRegistry";
|
||||
import { Position } from "vs/editor/common/core/position";
|
||||
import { IThemeService, ITheme } from 'vs/platform/theme/common/themeService';
|
||||
import { inputBackground, inputBorder, inputForeground, widgetShadow, focus } from 'vs/platform/theme/common/colorRegistry';
|
||||
import { Position } from 'vs/editor/common/core/position';
|
||||
|
||||
export default class RenameInputField implements IContentWidget, IDisposable {
|
||||
|
||||
|
|
|
@ -14,8 +14,8 @@ import { editorContribution } from 'vs/editor/browser/editorBrowserExtensions';
|
|||
import { IContextKeyService } from 'vs/platform/contextkey/common/contextkey';
|
||||
import { RunOnceScheduler } from 'vs/base/common/async';
|
||||
import { Range } from 'vs/editor/common/core/range';
|
||||
import { IConfigurationChangedEvent } from "vs/editor/common/config/editorOptions";
|
||||
import { ICursorSelectionChangedEvent } from "vs/editor/common/controller/cursorEvents";
|
||||
import { IConfigurationChangedEvent } from 'vs/editor/common/config/editorOptions';
|
||||
import { ICursorSelectionChangedEvent } from 'vs/editor/common/controller/cursorEvents';
|
||||
|
||||
@editorContribution
|
||||
export class SelectionClipboard extends Disposable implements IEditorContribution {
|
||||
|
|
|
@ -14,7 +14,7 @@ import { ICommonCodeEditor, IEditorContribution } from 'vs/editor/common/editorC
|
|||
import { EditorContextKeys } from 'vs/editor/common/editorContextKeys';
|
||||
import { editorAction, ServicesAccessor, IActionOptions, EditorAction, commonEditorContribution } from 'vs/editor/common/editorCommonExtensions';
|
||||
import { TokenSelectionSupport, ILogicalSelectionEntry } from './tokenSelectionSupport';
|
||||
import { ICursorPositionChangedEvent } from "vs/editor/common/controller/cursorEvents";
|
||||
import { ICursorPositionChangedEvent } from 'vs/editor/common/controller/cursorEvents';
|
||||
|
||||
// --- selection state machine
|
||||
|
||||
|
|
|
@ -10,7 +10,7 @@ import { Range } from 'vs/editor/common/core/range';
|
|||
import { IModel } from 'vs/editor/common/editorCommon';
|
||||
import { IModelService } from 'vs/editor/common/services/modelService';
|
||||
import { Node, build, find } from './tokenTree';
|
||||
import { Position } from "vs/editor/common/core/position";
|
||||
import { Position } from 'vs/editor/common/core/position';
|
||||
|
||||
/**
|
||||
* Interface used to compute a hierachry of logical ranges.
|
||||
|
|
|
@ -17,8 +17,8 @@ import { IDisposable, dispose } from 'vs/base/common/lifecycle';
|
|||
import { ISnippetVariableResolver, ICodeSnippet, CodeSnippet } from './snippet';
|
||||
import { SnippetVariablesResolver } from './snippetVariables';
|
||||
import { EditorContextKeys } from 'vs/editor/common/editorContextKeys';
|
||||
import { Position } from "vs/editor/common/core/position";
|
||||
import { ICursorPositionChangedEvent } from "vs/editor/common/controller/cursorEvents";
|
||||
import { Position } from 'vs/editor/common/core/position';
|
||||
import { ICursorPositionChangedEvent } from 'vs/editor/common/controller/cursorEvents';
|
||||
|
||||
export class InsertSnippetController {
|
||||
|
||||
|
|
|
@ -15,7 +15,7 @@ import { ISuggestSupport, SuggestRegistry, StandardTokenType } from 'vs/editor/c
|
|||
import { Position } from 'vs/editor/common/core/position';
|
||||
import { provideSuggestionItems, getSuggestionComparator, ISuggestionItem } from './suggest';
|
||||
import { CompletionModel } from './completionModel';
|
||||
import { CursorChangeReason, ICursorSelectionChangedEvent } from "vs/editor/common/controller/cursorEvents";
|
||||
import { CursorChangeReason, ICursorSelectionChangedEvent } from 'vs/editor/common/controller/cursorEvents';
|
||||
|
||||
export interface ICancelEvent {
|
||||
retrigger: boolean;
|
||||
|
|
|
@ -27,9 +27,9 @@ import { Context as SuggestContext } from './suggest';
|
|||
import { ICompletionItem, CompletionModel } from './completionModel';
|
||||
import { alert } from 'vs/base/browser/ui/aria/aria';
|
||||
import { ITelemetryService } from 'vs/platform/telemetry/common/telemetry';
|
||||
import { attachListStyler } from "vs/platform/theme/common/styler";
|
||||
import { IThemeService, ITheme, registerThemingParticipant } from "vs/platform/theme/common/themeService";
|
||||
import { registerColor, editorWidgetBackground, highContrastBorder, listFocusBackground, highContrastOutline } from "vs/platform/theme/common/colorRegistry";
|
||||
import { attachListStyler } from 'vs/platform/theme/common/styler';
|
||||
import { IThemeService, ITheme, registerThemingParticipant } from 'vs/platform/theme/common/themeService';
|
||||
import { registerColor, editorWidgetBackground, highContrastBorder, listFocusBackground, highContrastOutline } from 'vs/platform/theme/common/colorRegistry';
|
||||
|
||||
const sticky = false; // for development purposes
|
||||
|
||||
|
|
|
@ -8,7 +8,7 @@ import * as assert from 'assert';
|
|||
import { ISuggestion, ISuggestResult, ISuggestSupport } from 'vs/editor/common/modes';
|
||||
import { ISuggestionItem } from 'vs/editor/contrib/suggest/browser/suggest';
|
||||
import { CompletionModel } from 'vs/editor/contrib/suggest/browser/completionModel';
|
||||
import { IPosition } from "vs/editor/common/core/position";
|
||||
import { IPosition } from 'vs/editor/common/core/position';
|
||||
|
||||
suite('CompletionModel', function () {
|
||||
|
||||
|
|
|
@ -17,7 +17,7 @@ import { IDisposable, dispose } from 'vs/base/common/lifecycle';
|
|||
import { Position } from 'vs/editor/common/core/position';
|
||||
import { registerColor, editorSelectionHighlight, highContrastOutline } from 'vs/platform/theme/common/colorRegistry';
|
||||
import { registerThemingParticipant } from 'vs/platform/theme/common/themeService';
|
||||
import { CursorChangeReason, ICursorPositionChangedEvent } from "vs/editor/common/controller/cursorEvents";
|
||||
import { CursorChangeReason, ICursorPositionChangedEvent } from 'vs/editor/common/controller/cursorEvents';
|
||||
|
||||
export const editorWordHighlight = registerColor('editorWordHighlight', { dark: '#575757B8', light: '#57575740', hc: null }, nls.localize('wordHighlight', 'Background color of a symbol during read-access, like reading a variable.'));
|
||||
export const editorWordHighlightStrong = registerColor('editorWordHighlightStrong', { dark: '#004972B8', light: '#0e639c40', hc: null }, nls.localize('wordHighlightStrong', 'Background color of a symbol during write-access, like writing to a variable.'));
|
||||
|
|
|
@ -21,7 +21,7 @@ import { ICodeEditor } from 'vs/editor/browser/editorBrowser';
|
|||
import { IOptions, ZoneWidget, IStyles } from './zoneWidget';
|
||||
import { EmbeddedCodeEditorWidget } from 'vs/editor/browser/widget/embeddedCodeEditorWidget';
|
||||
import { ContextKeyExpr, RawContextKey } from 'vs/platform/contextkey/common/contextkey';
|
||||
import { Color } from "vs/base/common/color";
|
||||
import { Color } from 'vs/base/common/color';
|
||||
|
||||
export var IPeekViewService = createDecorator<IPeekViewService>('peekViewService');
|
||||
|
||||
|
|
Some files were not shown because too many files have changed in this diff Show more
Loading…
Reference in a new issue