internal FormatCommandHandler(ITextBuffer textBuffer, ITextView textView, ISingletons core) { Requires.NotNull(textBuffer, nameof(textBuffer)); Requires.NotNull(textView, nameof(textView)); Requires.NotNull(core, nameof(core)); this.core = core; this.textBuffer = textBuffer; this.textView = textView; }
public ErrorTagger(ITextBuffer buffer, ISingletons singletons) { Validate.IsNotNull(buffer, nameof(buffer)); Validate.IsNotNull(singletons, nameof(singletons)); this.buffer = buffer; this.singletons = singletons; this.buffer.Changed += this.OnBufferChanged; }
public TextView(IWpfTextView wpfTextView, ISingletons core) { Requires.NotNull(wpfTextView, nameof(wpfTextView)); Requires.NotNull(core, nameof(core)); this.core = core; this.editorAdaptersService = core.EditorAdaptersFactory; this.WpfTextView = wpfTextView; this.VsTextView = this.editorAdaptersService.GetViewAdapter(this.WpfTextView); this.IsReadOnly = wpfTextView.Roles.Contains(DifferenceViewerRoles.LeftViewTextViewRole); }
public ErrorListPresenter(IWpfTextView textView, ISingletons singletons) { Validate.IsNotNull(textView, nameof(textView)); Validate.IsNotNull(singletons, nameof(singletons)); this.textView = textView; this.singletons = singletons; this.errorListProvider = new ErrorListProvider(singletons.ServiceProvider); this.errorListProvider.ProviderGuid = Guid.NewGuid(); this.errorListProvider.ProviderName = Constants.Language.Name; this.textView.TextBuffer.Changed += this.OnBufferChanged; }
internal Tagger(ITextBuffer buffer, IStandardClassificationService standardClassifications, IClassificationTypeRegistryService classificationTypeRegistry, ISingletons singletons) { Requires.NotNull(standardClassifications, nameof(standardClassifications)); Requires.NotNull(classificationTypeRegistry, nameof(classificationTypeRegistry)); Requires.NotNull(singletons, nameof(singletons)); this.buffer = buffer; this.singletons = singletons; this.standardClassifications = standardClassifications; this.classificationTypeRegistry = classificationTypeRegistry; this.singletons = singletons; vsClassifications = vsClassifications == null? InitializeDictionary(this.standardClassifications, this.classificationTypeRegistry) : vsClassifications; this.buffer.Changed += this.OnBufferChanged; this.UpdateParserRelatedClassifications(this.buffer.CurrentSnapshot, new CancellationToken()); }
internal DocumentOperations(ISingletons singletons) { this.singletons = singletons; }
public SingletonLocator(ISingletonCandidates candidates, ISingletons singletons) { _candidates = candidates; _singletons = singletons; }
internal SmartIndent(ITextView textView, ISingletons singletons) { this.textView = textView; this.singletons = singletons; }
StaticExtension(ISingletons singletons, string memberPath) { _singletons = singletons; _memberPath = memberPath; }
public ErrorTagger(ITextBuffer buffer, ISingletons singletons) { this.buffer = buffer; this.singletons = singletons; }