public RLanguageHandler(ITextBuffer textBuffer, IProjectionBufferManager projectionBufferManager, IServiceContainer services) : base(textBuffer) { _projectionBufferManager = projectionBufferManager; idleTime = services.GetService <IIdleTimeService>(); UpdateProjections(); }
public RLanguageHandler(ITextBuffer textBuffer, IProjectionBufferManager projectionBufferManager, ICoreShell coreShell) : base(textBuffer, coreShell) { _projectionBufferManager = projectionBufferManager; _coreShell = coreShell; UpdateProjections(); }
public MdEditorDocument(ITextBuffer textBuffer, IProjectionBufferFactoryService projectionBufferFactoryService, IContentTypeRegistryService contentTypeRegistryService, ICoreShell coreShell) { this.TextBuffer = textBuffer; ServiceManager.AddService(this, TextBuffer, coreShell); _projectionBufferManager = new ProjectionBufferManager(textBuffer, projectionBufferFactoryService, contentTypeRegistryService, coreShell, MdProjectionContentTypeDefinition.ContentType, RContentTypeDefinition.ContentType); ContainedLanguageHandler = _rLanguageHandler = new RLanguageHandler(textBuffer, _projectionBufferManager, coreShell); }
public MdEditorDocument(ITextBuffer textBuffer, IProjectionBufferFactoryService projectionBufferFactoryService, IContentTypeRegistryService contentTypeRegistryService, ICoreShell coreShell) { this.TextBuffer = textBuffer; ServiceManager.AddService(this, TextBuffer, coreShell); _projectionBufferManager = new ProjectionBufferManager(textBuffer, projectionBufferFactoryService, contentTypeRegistryService, coreShell, MdProjectionContentTypeDefinition.ContentType, RContentTypeDefinition.ContentType); ContainedLanguageHandler = _rLanguageHandler = new RLanguageHandler(textBuffer, _projectionBufferManager, coreShell); }
public MdEditorDocument(IEditorBuffer editorBuffer, IServiceContainer services) { _services = services; EditorBuffer = editorBuffer; EditorBuffer.AddService(this); var textBuffer = editorBuffer.As <ITextBuffer>(); _projectionBufferManager = new ProjectionBufferManager(textBuffer, services, MdProjectionContentTypeDefinition.ContentType, RContentTypeDefinition.ContentType); ContainedLanguageHandler = _rLanguageHandler = new RLanguageHandler(textBuffer, _projectionBufferManager, services); }
public RLanguageHandler(ITextBuffer textBuffer, IProjectionBufferManager projectionBufferManager) : base(textBuffer) { _projectionBufferManager = projectionBufferManager; UpdateProjections(); }
public RLanguageHandler(ITextBuffer textBuffer, IProjectionBufferManager projectionBufferManager, ICoreShell coreShell) : base(textBuffer, coreShell) { _projectionBufferManager = projectionBufferManager; _coreShell = coreShell; UpdateProjections(); }