Welcome to mirror list, hosted at ThFree Co, Russian Federation.

github.com/microsoft/vs-editor-api.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
path: root/src/Text
diff options
context:
space:
mode:
authorKirill Osenkov <KirillOsenkov@users.noreply.github.com>2017-10-10 00:26:15 +0300
committerGitHub <noreply@github.com>2017-10-10 00:26:15 +0300
commitdf8e082f28c1333a8894245dc4b900ede15f25b2 (patch)
tree379d7cc53b5284029adf018b27d57b22a5a6f79b /src/Text
parent60fcd5aa5a6c71a8a6c10cd3530a4b5e8878939e (diff)
Add/update copyright headers and remove unused usings. (#4)
Diffstat (limited to 'src/Text')
-rw-r--r--src/Text/Def/TextData/AssemblyInfo.cs16
-rw-r--r--src/Text/Def/TextData/Differencing/ContinueProcessingPredicate.cs5
-rw-r--r--src/Text/Def/TextData/Differencing/Deprecated/DetermineLocalityCallback.cs4
-rw-r--r--src/Text/Def/TextData/Differencing/Deprecated/IHierarchicalStringDifferenceService.cs6
-rw-r--r--src/Text/Def/TextData/Differencing/Difference.cs8
-rw-r--r--src/Text/Def/TextData/Differencing/DifferenceType.cs6
-rw-r--r--src/Text/Def/TextData/Differencing/IDifferenceCollection.cs7
-rw-r--r--src/Text/Def/TextData/Differencing/IDifferenceService.cs5
-rw-r--r--src/Text/Def/TextData/Differencing/IHierarchicalDifferenceCollection.cs10
-rw-r--r--src/Text/Def/TextData/Differencing/ITextDifferencingSelectorService.cs5
-rw-r--r--src/Text/Def/TextData/Differencing/ITextDifferencingService.cs6
-rw-r--r--src/Text/Def/TextData/Differencing/ITokenizedStringList.cs6
-rw-r--r--src/Text/Def/TextData/Differencing/Match.cs6
-rw-r--r--src/Text/Def/TextData/Differencing/StringDifferenceOptions.cs6
-rw-r--r--src/Text/Def/TextData/Differencing/StringDifferenceTypes.cs6
-rw-r--r--src/Text/Def/TextData/Differencing/WordSplitBehavior.cs7
-rw-r--r--src/Text/Def/TextData/Document/EncodingChangedEventArgs.cs7
-rw-r--r--src/Text/Def/TextData/Document/FileUtilities.cs5
-rw-r--r--src/Text/Def/TextData/Document/IEncodingDetector.cs7
-rw-r--r--src/Text/Def/TextData/Document/ITextDocument.cs7
-rw-r--r--src/Text/Def/TextData/Document/ITextDocumentFactoryService.cs8
-rw-r--r--src/Text/Def/TextData/Document/ReloadResult.cs6
-rw-r--r--src/Text/Def/TextData/Document/TextDocumentEventArgs.cs9
-rw-r--r--src/Text/Def/TextData/Document/TextDocumentFileActionEventArgs.cs9
-rw-r--r--src/Text/Def/TextData/Model/ContentTypeChangedEventArgs.cs7
-rw-r--r--src/Text/Def/TextData/Model/CustomTrackToVersion.cs7
-rw-r--r--src/Text/Def/TextData/Model/DynamicReadOnlyRegionQuery.cs7
-rw-r--r--src/Text/Def/TextData/Model/EdgeInsertionMode.cs7
-rw-r--r--src/Text/Def/TextData/Model/EditOptions.cs9
-rw-r--r--src/Text/Def/TextData/Model/IExtensionErrorHandler.cs6
-rw-r--r--src/Text/Def/TextData/Model/IExtensionPerformanceTracker.cs6
-rw-r--r--src/Text/Def/TextData/Model/IMappingPoint.cs7
-rw-r--r--src/Text/Def/TextData/Model/IMappingSpan.cs8
-rw-r--r--src/Text/Def/TextData/Model/INormalizedTextChangeCollection.cs7
-rw-r--r--src/Text/Def/TextData/Model/IPersistentSpan.cs8
-rw-r--r--src/Text/Def/TextData/Model/IPersistentSpanFactory.cs7
-rw-r--r--src/Text/Def/TextData/Model/IReadOnlyRegion.cs9
-rw-r--r--src/Text/Def/TextData/Model/IReadOnlyRegionEdit.cs7
-rw-r--r--src/Text/Def/TextData/Model/ITextBuffer.cs37
-rw-r--r--src/Text/Def/TextData/Model/ITextBufferEdit.cs7
-rw-r--r--src/Text/Def/TextData/Model/ITextBufferFactory.cs7
-rw-r--r--src/Text/Def/TextData/Model/ITextChange.cs7
-rw-r--r--src/Text/Def/TextData/Model/ITextChange2.cs7
-rw-r--r--src/Text/Def/TextData/Model/ITextChange3.cs7
-rw-r--r--src/Text/Def/TextData/Model/ITextEdit.cs7
-rw-r--r--src/Text/Def/TextData/Model/ITextSnapshot.cs7
-rw-r--r--src/Text/Def/TextData/Model/ITextSnapshotLine.cs7
-rw-r--r--src/Text/Def/TextData/Model/ITextVersion.cs7
-rw-r--r--src/Text/Def/TextData/Model/ITrackingPoint.cs7
-rw-r--r--src/Text/Def/TextData/Model/ITrackingSpan.cs7
-rw-r--r--src/Text/Def/TextData/Model/NormalizedSnapshotSpanCollection.cs5
-rw-r--r--src/Text/Def/TextData/Model/NormalizedSpanCollection.cs7
-rw-r--r--src/Text/Def/TextData/Model/PointTrackingMode.cs7
-rw-r--r--src/Text/Def/TextData/Model/PositionAffinity.cs7
-rw-r--r--src/Text/Def/TextData/Model/PreContentChangedEventArgs.cs9
-rw-r--r--src/Text/Def/TextData/Model/Projection/ElisionBufferOptions.cs7
-rw-r--r--src/Text/Def/TextData/Model/Projection/ElisionSourceSpansChangedEventArgs.cs8
-rw-r--r--src/Text/Def/TextData/Model/Projection/GraphBufferContentTypeChangedEventArgs.cs4
-rw-r--r--src/Text/Def/TextData/Model/Projection/GraphBuffersChangedEventArgs.cs4
-rw-r--r--src/Text/Def/TextData/Model/Projection/IBufferGraph.cs8
-rw-r--r--src/Text/Def/TextData/Model/Projection/IBufferGraphFactoryService.cs7
-rw-r--r--src/Text/Def/TextData/Model/Projection/IElisionBuffer.cs7
-rw-r--r--src/Text/Def/TextData/Model/Projection/IElisionSnapshot.cs8
-rw-r--r--src/Text/Def/TextData/Model/Projection/IProjectionBuffer.cs7
-rw-r--r--src/Text/Def/TextData/Model/Projection/IProjectionBufferBase.cs7
-rw-r--r--src/Text/Def/TextData/Model/Projection/IProjectionBufferFactoryService.cs7
-rw-r--r--src/Text/Def/TextData/Model/Projection/IProjectionEditResolver.cs8
-rw-r--r--src/Text/Def/TextData/Model/Projection/IProjectionSnapshot.cs7
-rw-r--r--src/Text/Def/TextData/Model/Projection/IProjectionSnapshot2.cs7
-rw-r--r--src/Text/Def/TextData/Model/Projection/ProjectionBufferOptions.cs7
-rw-r--r--src/Text/Def/TextData/Model/Projection/ProjectionSourceBuffersChangedEventArgs.cs7
-rw-r--r--src/Text/Def/TextData/Model/Projection/ProjectionSourceSpansChangedEventArgs.cs7
-rw-r--r--src/Text/Def/TextData/Model/SnapshotPoint.cs7
-rw-r--r--src/Text/Def/TextData/Model/SnapshotSpan.cs7
-rw-r--r--src/Text/Def/TextData/Model/SnapshotSpanEventArgs.cs7
-rw-r--r--src/Text/Def/TextData/Model/Span.cs7
-rw-r--r--src/Text/Def/TextData/Model/SpanTrackingMode.cs7
-rw-r--r--src/Text/Def/TextData/Model/TextBufferCreatedEventArgs.cs7
-rw-r--r--src/Text/Def/TextData/Model/TextContentChangedEventArgs.cs7
-rw-r--r--src/Text/Def/TextData/Model/TextContentChangingEventArgs.cs6
-rw-r--r--src/Text/Def/TextData/Model/TextSnapshotChangedEventArgs.cs7
-rw-r--r--src/Text/Def/TextData/Model/TrackingFidelityMode.cs7
-rw-r--r--src/Text/Def/TextLogic/AssemblyInfo.cs9
-rw-r--r--src/Text/Def/TextLogic/Classification/ClassificationChangedEventArgs.cs7
-rw-r--r--src/Text/Def/TextLogic/Classification/ClassificationSpan.cs7
-rw-r--r--src/Text/Def/TextLogic/Classification/ClassificationTypeAttribute.cs6
-rw-r--r--src/Text/Def/TextLogic/Classification/ClassificationTypeDefinition.cs6
-rw-r--r--src/Text/Def/TextLogic/Classification/IClassificationType.cs9
-rw-r--r--src/Text/Def/TextLogic/Classification/IClassificationTypeRegistryService.cs10
-rw-r--r--src/Text/Def/TextLogic/Classification/IClassifier.cs7
-rw-r--r--src/Text/Def/TextLogic/Classification/IClassifierAggregatorService.cs7
-rw-r--r--src/Text/Def/TextLogic/Classification/IClassifierProvider.cs7
-rw-r--r--src/Text/Def/TextLogic/DifferenceBuffer/DifferenceBufferOptions.cs6
-rw-r--r--src/Text/Def/TextLogic/DifferenceBuffer/DifferenceMappingMode.cs8
-rw-r--r--src/Text/Def/TextLogic/DifferenceBuffer/DifferenceTrackingSpans.cs4
-rw-r--r--src/Text/Def/TextLogic/DifferenceBuffer/IDifferenceBuffer.cs6
-rw-r--r--src/Text/Def/TextLogic/DifferenceBuffer/IDifferenceBufferFactoryService.cs6
-rw-r--r--src/Text/Def/TextLogic/DifferenceBuffer/ISnapshotDifference.cs5
-rw-r--r--src/Text/Def/TextLogic/DifferenceBuffer/IgnoreDifferencePredicate.cs4
-rw-r--r--src/Text/Def/TextLogic/DifferenceBuffer/IgnoreWhiteSpaceBehavior.cs6
-rw-r--r--src/Text/Def/TextLogic/DifferenceBuffer/LineType.cs4
-rw-r--r--src/Text/Def/TextLogic/DifferenceBuffer/SnapshotDifferenceChangeEventArgs.cs4
-rw-r--r--src/Text/Def/TextLogic/DifferenceBuffer/SnapshotLineTransform.cs4
-rw-r--r--src/Text/Def/TextLogic/EditorOptions/DefaultOptions.cs6
-rw-r--r--src/Text/Def/TextLogic/EditorOptions/DeferCreationAttribute.cs7
-rw-r--r--src/Text/Def/TextLogic/EditorOptions/EditorOptionChangedEventArgs.cs8
-rw-r--r--src/Text/Def/TextLogic/EditorOptions/EditorOptionDefinition.cs6
-rw-r--r--src/Text/Def/TextLogic/EditorOptions/EditorOptionKey.cs10
-rw-r--r--src/Text/Def/TextLogic/EditorOptions/IEditorOptions.cs8
-rw-r--r--src/Text/Def/TextLogic/EditorOptions/IEditorOptionsFactoryService.cs9
-rw-r--r--src/Text/Def/TextLogic/Find/FindData.cs8
-rw-r--r--src/Text/Def/TextLogic/Find/FindOptions.cs8
-rw-r--r--src/Text/Def/TextLogic/Find/ITextSearchNavigator.cs7
-rw-r--r--src/Text/Def/TextLogic/Find/ITextSearchNavigatorFactoryService.cs7
-rw-r--r--src/Text/Def/TextLogic/Find/ITextSearchService.cs8
-rw-r--r--src/Text/Def/TextLogic/Find/ITextSearchService2.cs7
-rw-r--r--src/Text/Def/TextLogic/Navigation/ITextStructureNavigator.cs7
-rw-r--r--src/Text/Def/TextLogic/Navigation/ITextStructureNavigatorProvider.cs7
-rw-r--r--src/Text/Def/TextLogic/Navigation/ITextStructureNavigatorSelectorService.cs8
-rw-r--r--src/Text/Def/TextLogic/Navigation/TextExtent.cs9
-rw-r--r--src/Text/Def/TextLogic/Tagging/BatchedTagsChangedEventArgs.cs7
-rw-r--r--src/Text/Def/TextLogic/Tagging/IBufferTagAggregatorFactoryService.cs8
-rw-r--r--src/Text/Def/TextLogic/Tagging/ITag.cs7
-rw-r--r--src/Text/Def/TextLogic/Tagging/ITagAggregator.cs8
-rw-r--r--src/Text/Def/TextLogic/Tagging/ITagger.cs8
-rw-r--r--src/Text/Def/TextLogic/Tagging/ITaggerProvider.cs7
-rw-r--r--src/Text/Def/TextLogic/Tagging/MappingTagSpan.cs9
-rw-r--r--src/Text/Def/TextLogic/Tagging/SimpleTagger.cs7
-rw-r--r--src/Text/Def/TextLogic/Tagging/TagAggregatorOptions.cs7
-rw-r--r--src/Text/Def/TextLogic/Tagging/TagSpan.cs9
-rw-r--r--src/Text/Def/TextLogic/Tagging/TagTypeAttribute.cs11
-rw-r--r--src/Text/Def/TextLogic/Tagging/TagsChangedEventArgs.cs8
-rw-r--r--src/Text/Def/TextLogic/Tagging/TrackingTagSpan.cs9
-rw-r--r--src/Text/Def/TextLogic/Tags/ClassificationTag.cs4
-rw-r--r--src/Text/Def/TextLogic/Tags/IClassificationTag.cs6
-rw-r--r--src/Text/Def/TextLogic/Tags/IUrlTag.cs4
-rw-r--r--src/Text/Def/TextLogic/Tags/UrlTag.cs4
-rw-r--r--src/Text/Def/TextLogic/TextModel/ChangeTag.cs7
-rw-r--r--src/Text/Def/TextLogic/TextModel/ChangeTypes.cs7
-rw-r--r--src/Text/Def/TextLogic/TextModel/ITextDataModel.cs7
-rw-r--r--src/Text/Def/TextLogic/TextModel/TextDataModelContentTypeChangedEventArgs.cs7
-rw-r--r--src/Text/Def/TextLogic/TextModel/VirtualSnapshotPoint.cs7
-rw-r--r--src/Text/Def/TextLogic/TextModel/VirtualSnapshotSpan.cs7
-rw-r--r--src/Text/Def/TextLogic/Undo/IMergeTextUndoTransactionPolicy.cs8
-rw-r--r--src/Text/Def/TextLogic/Undo/ITextBufferUndoManager.cs7
-rw-r--r--src/Text/Def/TextLogic/Undo/ITextBufferUndoManagerProvider.cs7
-rw-r--r--src/Text/Def/TextLogic/Undo/ITextUndoHistory.cs9
-rw-r--r--src/Text/Def/TextLogic/Undo/ITextUndoHistoryRegistry.cs10
-rw-r--r--src/Text/Def/TextLogic/Undo/ITextUndoPrimitive.cs8
-rw-r--r--src/Text/Def/TextLogic/Undo/ITextUndoTransaction.cs9
-rw-r--r--src/Text/Def/TextLogic/Undo/TextUndoHistoryState.cs12
-rw-r--r--src/Text/Def/TextLogic/Undo/TextUndoRedoEventArgs.cs9
-rw-r--r--src/Text/Def/TextLogic/Undo/TextUndoTransactionCompletedEventArgs.cs9
-rw-r--r--src/Text/Def/TextLogic/Undo/TextUndoTransactionState.cs8
-rw-r--r--src/Text/Def/TextUI/Adornments/ErrorTypeDefinition.cs12
-rw-r--r--src/Text/Def/TextUI/Adornments/IErrorProviderFactory.cs9
-rw-r--r--src/Text/Def/TextUI/Adornments/ITextMarkerProviderFactory.cs9
-rw-r--r--src/Text/Def/TextUI/Adornments/IToolTipProvider.cs8
-rw-r--r--src/Text/Def/TextUI/Adornments/IToolTipProviderFactory.cs9
-rw-r--r--src/Text/Def/TextUI/Adornments/PopupStyles.cs7
-rw-r--r--src/Text/Def/TextUI/AssemblyInfo.cs9
-rw-r--r--src/Text/Def/TextUI/BraceCompletion/BracePairAttribute.cs7
-rw-r--r--src/Text/Def/TextUI/BraceCompletion/IBraceCompletionContext.cs10
-rw-r--r--src/Text/Def/TextUI/BraceCompletion/IBraceCompletionContextProvider.cs7
-rw-r--r--src/Text/Def/TextUI/BraceCompletion/IBraceCompletionDefaultProvider.cs7
-rw-r--r--src/Text/Def/TextUI/BraceCompletion/IBraceCompletionSession.cs7
-rw-r--r--src/Text/Def/TextUI/BraceCompletion/IBraceCompletionSessionProvider.cs7
-rw-r--r--src/Text/Def/TextUI/Classification/IViewClassifierAggregatorService.cs7
-rw-r--r--src/Text/Def/TextUI/DifferenceViewer/DifferenceHighlightMode.cs7
-rw-r--r--src/Text/Def/TextUI/DifferenceViewer/DifferenceHighlightMode2.cs9
-rw-r--r--src/Text/Def/TextUI/DifferenceViewer/DifferenceViewMode.cs4
-rw-r--r--src/Text/Def/TextUI/DifferenceViewer/DifferenceViewType.cs4
-rw-r--r--src/Text/Def/TextUI/DifferenceViewer/DifferenceViewerOptions.cs6
-rw-r--r--src/Text/Def/TextUI/DifferenceViewer/DifferenceViewerRoles.cs6
-rw-r--r--src/Text/Def/TextUI/DifferenceViewer/IDifferenceViewer.cs6
-rw-r--r--src/Text/Def/TextUI/Editor/CaretPosition.cs9
-rw-r--r--src/Text/Def/TextUI/Editor/CaretPositionChangedEventArgs.cs9
-rw-r--r--src/Text/Def/TextUI/Editor/IScrollMap.cs7
-rw-r--r--src/Text/Def/TextUI/Editor/IScrollMapFactoryService.cs10
-rw-r--r--src/Text/Def/TextUI/Editor/ISmartIndent.cs7
-rw-r--r--src/Text/Def/TextUI/Editor/ISmartIndentProvider.cs7
-rw-r--r--src/Text/Def/TextUI/Editor/ISmartIndentationService.cs7
-rw-r--r--src/Text/Def/TextUI/Editor/ITextCaret.cs7
-rw-r--r--src/Text/Def/TextUI/Editor/ITextSelection.cs7
-rw-r--r--src/Text/Def/TextUI/Editor/ITextView.cs8
-rw-r--r--src/Text/Def/TextUI/Editor/ITextViewLineCollection.cs7
-rw-r--r--src/Text/Def/TextUI/Editor/ITextViewMargin.cs9
-rw-r--r--src/Text/Def/TextUI/Editor/ITextViewModel.cs7
-rw-r--r--src/Text/Def/TextUI/Editor/ITextViewModelProvider.cs7
-rw-r--r--src/Text/Def/TextUI/Editor/ITextViewRoleSet.cs7
-rw-r--r--src/Text/Def/TextUI/Editor/IVerticalFractionMap.cs7
-rw-r--r--src/Text/Def/TextUI/Editor/IVerticalScrollBar.cs7
-rw-r--r--src/Text/Def/TextUI/Editor/IViewScroller.cs8
-rw-r--r--src/Text/Def/TextUI/Editor/MarginContainerAttribute.cs7
-rw-r--r--src/Text/Def/TextUI/Editor/MouseHoverAttribute.cs8
-rw-r--r--src/Text/Def/TextUI/Editor/MouseHoverEventArgs.cs7
-rw-r--r--src/Text/Def/TextUI/Editor/PredefinedMarginNames.cs6
-rw-r--r--src/Text/Def/TextUI/Editor/PredefinedTextViewRoles.cs9
-rw-r--r--src/Text/Def/TextUI/Editor/ReplacesAttribute.cs8
-rw-r--r--src/Text/Def/TextUI/Editor/ScrollDirection.cs7
-rw-r--r--src/Text/Def/TextUI/Editor/TextSelectionMode.cs8
-rw-r--r--src/Text/Def/TextUI/Editor/TextViewCreatedEventArgs.cs7
-rw-r--r--src/Text/Def/TextUI/Editor/TextViewLayoutChangedEventArgs.cs7
-rw-r--r--src/Text/Def/TextUI/Editor/TextViewRoleAttribute.cs4
-rw-r--r--src/Text/Def/TextUI/Editor/ViewRelativePosition.cs7
-rw-r--r--src/Text/Def/TextUI/Editor/ViewState.cs10
-rw-r--r--src/Text/Def/TextUI/Editor/WordWrapStyles.cs7
-rw-r--r--src/Text/Def/TextUI/Editor/ZoomConstants.cs8
-rw-r--r--src/Text/Def/TextUI/EditorOptions/ViewOptionDefinition.cs7
-rw-r--r--src/Text/Def/TextUI/Find/IIncrementalSearch.cs7
-rw-r--r--src/Text/Def/TextUI/Find/IIncrementalSearchFactoryService.cs9
-rw-r--r--src/Text/Def/TextUI/Find/IncrementalSearchDirection.cs7
-rw-r--r--src/Text/Def/TextUI/Find/IncrementalSearchResult.cs7
-rw-r--r--src/Text/Def/TextUI/Formatting/IAdornmentElement.cs6
-rw-r--r--src/Text/Def/TextUI/Formatting/ISequenceElement.cs7
-rw-r--r--src/Text/Def/TextUI/Formatting/ITextAndAdornmentCollection.cs7
-rw-r--r--src/Text/Def/TextUI/Formatting/ITextAndAdornmentSequencer.cs7
-rw-r--r--src/Text/Def/TextUI/Formatting/ITextAndAdornmentSequencerFactoryService.cs7
-rw-r--r--src/Text/Def/TextUI/Formatting/ITextViewLine.cs7
-rw-r--r--src/Text/Def/TextUI/Formatting/LineTransform.cs10
-rw-r--r--src/Text/Def/TextUI/Formatting/TextAndAdornmentSequenceChangedEventArgs.cs8
-rw-r--r--src/Text/Def/TextUI/Formatting/TextBounds.cs7
-rw-r--r--src/Text/Def/TextUI/Formatting/TextViewLineChange.cs7
-rw-r--r--src/Text/Def/TextUI/Formatting/VisibilityState.cs7
-rw-r--r--src/Text/Def/TextUI/Operations/IEditorOperations.cs7
-rw-r--r--src/Text/Def/TextUI/Operations/IEditorOperations2.cs7
-rw-r--r--src/Text/Def/TextUI/Operations/IEditorOperations3.cs7
-rw-r--r--src/Text/Def/TextUI/Operations/IEditorOperationsFactoryService.cs8
-rw-r--r--src/Text/Def/TextUI/Outlining/ICollapsible.cs5
-rw-r--r--src/Text/Def/TextUI/Outlining/IOutliningManager.cs7
-rw-r--r--src/Text/Def/TextUI/Outlining/OutliningEnabledEventArgs.cs7
-rw-r--r--src/Text/Def/TextUI/Outlining/RegionsChangedEventArgs.cs7
-rw-r--r--src/Text/Def/TextUI/Outlining/RegionsCollapsedEventArgs.cs7
-rw-r--r--src/Text/Def/TextUI/Outlining/RegionsExpandedEventArgs.cs7
-rw-r--r--src/Text/Def/TextUI/Tagging/IViewTagAggregatorFactoryService.cs7
-rw-r--r--src/Text/Def/TextUI/Tagging/IViewTaggerProvider.cs7
-rw-r--r--src/Text/Def/TextUI/Tags/ErrorTag.cs8
-rw-r--r--src/Text/Def/TextUI/Tags/IErrorTag.cs12
-rw-r--r--src/Text/Def/TextUI/Tags/IOutliningRegionTag.cs8
-rw-r--r--src/Text/Def/TextUI/Tags/IOverviewMarkTag.cs7
-rw-r--r--src/Text/Def/TextUI/Tags/ITextMarkerTag.cs6
-rw-r--r--src/Text/Def/TextUI/Tags/OutliningRegionTag.cs8
-rw-r--r--src/Text/Def/TextUI/Tags/OverviewMarkTag.cs7
-rw-r--r--src/Text/Def/TextUI/Tags/SpaceNegotiatingAdornmentTag.cs6
-rw-r--r--src/Text/Def/TextUI/Tags/TextMarkerTag.cs6
245 files changed, 1037 insertions, 762 deletions
diff --git a/src/Text/Def/TextData/AssemblyInfo.cs b/src/Text/Def/TextData/AssemblyInfo.cs
index 765736d..d70d069 100644
--- a/src/Text/Def/TextData/AssemblyInfo.cs
+++ b/src/Text/Def/TextData/AssemblyInfo.cs
@@ -1,6 +1,7 @@
-// Copyright (c) Microsoft Corporation
-// All rights reserved
-
+//
+// Copyright (c) Microsoft Corporation. All rights reserved.
+// Licensed under the MIT License. See License.txt in the project root for license information.
+//
using System.Reflection;
using System.Runtime.CompilerServices;
using System.Runtime.ConstrainedExecution;
@@ -15,17 +16,10 @@ using System.Security.Permissions;
[assembly: ComponentGuarantees(ComponentGuaranteesOptions.Stable)]
-[assembly: AssemblyConfiguration ("")]
+
[assembly: AssemblyTrademark ("")]
[assembly: AssemblyCulture ("")]
#pragma warning disable 618
[assembly: SecurityPermission (SecurityAction.RequestMinimum, Flags = SecurityPermissionFlag.Execution)]
#pragma warning restore 618
[assembly: ReliabilityContract(Consistency.MayCorruptProcess, Cer.MayFail)]
-
-[assembly: InternalsVisibleTo("Microsoft.VisualStudio.Text.Implementation, PublicKey=002400000480000094000000060200000024000052534131000400000100010007D1FA57C4AED9F0A32E84AA0FAEFD0DE9E8FD6AEC8F87FB03766C834C99921EB23BE79AD9D5DCC1DD9AD236132102900B723CF980957FC4E177108FC607774F29E8320E92EA05ECE4E821C0A5EFE8F1645C4C0C93C1AB99285D622CAA652C1DFAD63D745D6F2DE5F17E5EAF0FC4963D261C8A12436518206DC093344D5AD293")]
-[assembly: InternalsVisibleTo("Microsoft.VisualStudio.Platform.Editor, PublicKey=002400000480000094000000060200000024000052534131000400000100010007D1FA57C4AED9F0A32E84AA0FAEFD0DE9E8FD6AEC8F87FB03766C834C99921EB23BE79AD9D5DCC1DD9AD236132102900B723CF980957FC4E177108FC607774F29E8320E92EA05ECE4E821C0A5EFE8F1645C4C0C93C1AB99285D622CAA652C1DFAD63D745D6F2DE5F17E5EAF0FC4963D261C8A12436518206DC093344D5AD293")]
-[assembly: InternalsVisibleTo("Microsoft.VisualStudio.Platform.VSEditor, PublicKey=002400000480000094000000060200000024000052534131000400000100010007D1FA57C4AED9F0A32E84AA0FAEFD0DE9E8FD6AEC8F87FB03766C834C99921EB23BE79AD9D5DCC1DD9AD236132102900B723CF980957FC4E177108FC607774F29E8320E92EA05ECE4E821C0A5EFE8F1645C4C0C93C1AB99285D622CAA652C1DFAD63D745D6F2DE5F17E5EAF0FC4963D261C8A12436518206DC093344D5AD293")]
-[assembly: InternalsVisibleTo("Microsoft.VisualStudio.Editor.Implementation, PublicKey=002400000480000094000000060200000024000052534131000400000100010007D1FA57C4AED9F0A32E84AA0FAEFD0DE9E8FD6AEC8F87FB03766C834C99921EB23BE79AD9D5DCC1DD9AD236132102900B723CF980957FC4E177108FC607774F29E8320E92EA05ECE4E821C0A5EFE8F1645C4C0C93C1AB99285D622CAA652C1DFAD63D745D6F2DE5F17E5EAF0FC4963D261C8A12436518206DC093344D5AD293")]
-[assembly: InternalsVisibleTo("CFEditor, PublicKey=002400000480000094000000060200000024000052534131000400000100010007D1FA57C4AED9F0A32E84AA0FAEFD0DE9E8FD6AEC8F87FB03766C834C99921EB23BE79AD9D5DCC1DD9AD236132102900B723CF980957FC4E177108FC607774F29E8320E92EA05ECE4E821C0A5EFE8F1645C4C0C93C1AB99285D622CAA652C1DFAD63D745D6F2DE5F17E5EAF0FC4963D261C8A12436518206DC093344D5AD293")]
-
diff --git a/src/Text/Def/TextData/Differencing/ContinueProcessingPredicate.cs b/src/Text/Def/TextData/Differencing/ContinueProcessingPredicate.cs
index d61f25f..47bf6a7 100644
--- a/src/Text/Def/TextData/Differencing/ContinueProcessingPredicate.cs
+++ b/src/Text/Def/TextData/Differencing/ContinueProcessingPredicate.cs
@@ -1,4 +1,7 @@
-using System;
+//
+// Copyright (c) Microsoft Corporation. All rights reserved.
+// Licensed under the MIT License. See License.txt in the project root for license information.
+//
using System.Collections.Generic;
namespace Microsoft.VisualStudio.Text.Differencing
diff --git a/src/Text/Def/TextData/Differencing/Deprecated/DetermineLocalityCallback.cs b/src/Text/Def/TextData/Differencing/Deprecated/DetermineLocalityCallback.cs
index b536baa..6af9909 100644
--- a/src/Text/Def/TextData/Differencing/Deprecated/DetermineLocalityCallback.cs
+++ b/src/Text/Def/TextData/Differencing/Deprecated/DetermineLocalityCallback.cs
@@ -1,3 +1,7 @@
+//
+// Copyright (c) Microsoft Corporation. All rights reserved.
+// Licensed under the MIT License. See License.txt in the project root for license information.
+//
using System;
using System.Collections.Generic;
diff --git a/src/Text/Def/TextData/Differencing/Deprecated/IHierarchicalStringDifferenceService.cs b/src/Text/Def/TextData/Differencing/Deprecated/IHierarchicalStringDifferenceService.cs
index 6fa68a4..8e8b8e9 100644
--- a/src/Text/Def/TextData/Differencing/Deprecated/IHierarchicalStringDifferenceService.cs
+++ b/src/Text/Def/TextData/Differencing/Deprecated/IHierarchicalStringDifferenceService.cs
@@ -1,6 +1,8 @@
+//
+// Copyright (c) Microsoft Corporation. All rights reserved.
+// Licensed under the MIT License. See License.txt in the project root for license information.
+//
using System;
-using System.Collections.Generic;
-using Microsoft.VisualStudio.Utilities;
namespace Microsoft.VisualStudio.Text.Differencing
{
diff --git a/src/Text/Def/TextData/Differencing/Difference.cs b/src/Text/Def/TextData/Differencing/Difference.cs
index ab394d5..ae13b87 100644
--- a/src/Text/Def/TextData/Differencing/Difference.cs
+++ b/src/Text/Def/TextData/Differencing/Difference.cs
@@ -1,8 +1,8 @@
-using System;
-using System.Collections.Generic;
-using System.Text;
+//
+// Copyright (c) Microsoft Corporation. All rights reserved.
+// Licensed under the MIT License. See License.txt in the project root for license information.
+//
using System.Globalization;
-using Microsoft.VisualStudio.Utilities;
namespace Microsoft.VisualStudio.Text.Differencing
{
diff --git a/src/Text/Def/TextData/Differencing/DifferenceType.cs b/src/Text/Def/TextData/Differencing/DifferenceType.cs
index cdac85f..5da6bf2 100644
--- a/src/Text/Def/TextData/Differencing/DifferenceType.cs
+++ b/src/Text/Def/TextData/Differencing/DifferenceType.cs
@@ -1,4 +1,8 @@
-namespace Microsoft.VisualStudio.Text.Differencing
+//
+// Copyright (c) Microsoft Corporation. All rights reserved.
+// Licensed under the MIT License. See License.txt in the project root for license information.
+//
+namespace Microsoft.VisualStudio.Text.Differencing
{
/// <summary>
/// The types of differences.
diff --git a/src/Text/Def/TextData/Differencing/IDifferenceCollection.cs b/src/Text/Def/TextData/Differencing/IDifferenceCollection.cs
index 6b6c41f..85463d9 100644
--- a/src/Text/Def/TextData/Differencing/IDifferenceCollection.cs
+++ b/src/Text/Def/TextData/Differencing/IDifferenceCollection.cs
@@ -1,8 +1,9 @@
-using Microsoft.VisualStudio.Utilities;
+//
+// Copyright (c) Microsoft Corporation. All rights reserved.
+// Licensed under the MIT License. See License.txt in the project root for license information.
+//
using System;
using System.Collections.Generic;
-using System.Text;
-using System.Collections.ObjectModel;
namespace Microsoft.VisualStudio.Text.Differencing
{
diff --git a/src/Text/Def/TextData/Differencing/IDifferenceService.cs b/src/Text/Def/TextData/Differencing/IDifferenceService.cs
index 3dcedfa..c118532 100644
--- a/src/Text/Def/TextData/Differencing/IDifferenceService.cs
+++ b/src/Text/Def/TextData/Differencing/IDifferenceService.cs
@@ -1,4 +1,7 @@
-using System;
+//
+// Copyright (c) Microsoft Corporation. All rights reserved.
+// Licensed under the MIT License. See License.txt in the project root for license information.
+//
using System.Collections.Generic;
namespace Microsoft.VisualStudio.Text.Differencing
diff --git a/src/Text/Def/TextData/Differencing/IHierarchicalDifferenceCollection.cs b/src/Text/Def/TextData/Differencing/IHierarchicalDifferenceCollection.cs
index 22748c7..466291f 100644
--- a/src/Text/Def/TextData/Differencing/IHierarchicalDifferenceCollection.cs
+++ b/src/Text/Def/TextData/Differencing/IHierarchicalDifferenceCollection.cs
@@ -1,9 +1,7 @@
-using Microsoft.VisualStudio.Utilities;
-using System;
-using System.Collections.Generic;
-using System.Text;
-using System.Collections.ObjectModel;
-
+//
+// Copyright (c) Microsoft Corporation. All rights reserved.
+// Licensed under the MIT License. See License.txt in the project root for license information.
+//
namespace Microsoft.VisualStudio.Text.Differencing
{
/// <summary>
diff --git a/src/Text/Def/TextData/Differencing/ITextDifferencingSelectorService.cs b/src/Text/Def/TextData/Differencing/ITextDifferencingSelectorService.cs
index 2c59f0e..5223be9 100644
--- a/src/Text/Def/TextData/Differencing/ITextDifferencingSelectorService.cs
+++ b/src/Text/Def/TextData/Differencing/ITextDifferencingSelectorService.cs
@@ -1,4 +1,7 @@
-using System;
+//
+// Copyright (c) Microsoft Corporation. All rights reserved.
+// Licensed under the MIT License. See License.txt in the project root for license information.
+//
using Microsoft.VisualStudio.Utilities;
namespace Microsoft.VisualStudio.Text.Differencing
diff --git a/src/Text/Def/TextData/Differencing/ITextDifferencingService.cs b/src/Text/Def/TextData/Differencing/ITextDifferencingService.cs
index c380917..03506e9 100644
--- a/src/Text/Def/TextData/Differencing/ITextDifferencingService.cs
+++ b/src/Text/Def/TextData/Differencing/ITextDifferencingService.cs
@@ -1,4 +1,8 @@
-using System;
+//
+// Copyright (c) Microsoft Corporation. All rights reserved.
+// Licensed under the MIT License. See License.txt in the project root for license information.
+//
+using System;
namespace Microsoft.VisualStudio.Text.Differencing
{
diff --git a/src/Text/Def/TextData/Differencing/ITokenizedStringList.cs b/src/Text/Def/TextData/Differencing/ITokenizedStringList.cs
index b85d827..3c7dca7 100644
--- a/src/Text/Def/TextData/Differencing/ITokenizedStringList.cs
+++ b/src/Text/Def/TextData/Differencing/ITokenizedStringList.cs
@@ -1,4 +1,8 @@
-using System;
+//
+// Copyright (c) Microsoft Corporation. All rights reserved.
+// Licensed under the MIT License. See License.txt in the project root for license information.
+//
+using System;
using System.Collections.Generic;
namespace Microsoft.VisualStudio.Text.Differencing
diff --git a/src/Text/Def/TextData/Differencing/Match.cs b/src/Text/Def/TextData/Differencing/Match.cs
index 90dc532..dedd673 100644
--- a/src/Text/Def/TextData/Differencing/Match.cs
+++ b/src/Text/Def/TextData/Differencing/Match.cs
@@ -1,7 +1,9 @@
-using Microsoft.VisualStudio.Utilities;
+//
+// Copyright (c) Microsoft Corporation. All rights reserved.
+// Licensed under the MIT License. See License.txt in the project root for license information.
+//
using System;
using System.Collections.Generic;
-using System.Text;
namespace Microsoft.VisualStudio.Text.Differencing
{
diff --git a/src/Text/Def/TextData/Differencing/StringDifferenceOptions.cs b/src/Text/Def/TextData/Differencing/StringDifferenceOptions.cs
index dc1a2f1..02e9e88 100644
--- a/src/Text/Def/TextData/Differencing/StringDifferenceOptions.cs
+++ b/src/Text/Def/TextData/Differencing/StringDifferenceOptions.cs
@@ -1,4 +1,8 @@
-using System;
+//
+// Copyright (c) Microsoft Corporation. All rights reserved.
+// Licensed under the MIT License. See License.txt in the project root for license information.
+//
+using System;
using System.Globalization;
namespace Microsoft.VisualStudio.Text.Differencing
diff --git a/src/Text/Def/TextData/Differencing/StringDifferenceTypes.cs b/src/Text/Def/TextData/Differencing/StringDifferenceTypes.cs
index 58687fe..36f12c1 100644
--- a/src/Text/Def/TextData/Differencing/StringDifferenceTypes.cs
+++ b/src/Text/Def/TextData/Differencing/StringDifferenceTypes.cs
@@ -1,4 +1,8 @@
-using System;
+//
+// Copyright (c) Microsoft Corporation. All rights reserved.
+// Licensed under the MIT License. See License.txt in the project root for license information.
+//
+using System;
namespace Microsoft.VisualStudio.Text.Differencing
{
diff --git a/src/Text/Def/TextData/Differencing/WordSplitBehavior.cs b/src/Text/Def/TextData/Differencing/WordSplitBehavior.cs
index 7560548..ba6562a 100644
--- a/src/Text/Def/TextData/Differencing/WordSplitBehavior.cs
+++ b/src/Text/Def/TextData/Differencing/WordSplitBehavior.cs
@@ -1,6 +1,7 @@
-using System;
-using System.Globalization;
-
+//
+// Copyright (c) Microsoft Corporation. All rights reserved.
+// Licensed under the MIT License. See License.txt in the project root for license information.
+//
namespace Microsoft.VisualStudio.Text.Differencing
{
/// <summary>
diff --git a/src/Text/Def/TextData/Document/EncodingChangedEventArgs.cs b/src/Text/Def/TextData/Document/EncodingChangedEventArgs.cs
index 0889290..97753b9 100644
--- a/src/Text/Def/TextData/Document/EncodingChangedEventArgs.cs
+++ b/src/Text/Def/TextData/Document/EncodingChangedEventArgs.cs
@@ -1,6 +1,7 @@
-// Copyright (c) Microsoft Corporation
-// All rights reserved
-
+//
+// Copyright (c) Microsoft Corporation. All rights reserved.
+// Licensed under the MIT License. See License.txt in the project root for license information.
+//
namespace Microsoft.VisualStudio.Text
{
using System;
diff --git a/src/Text/Def/TextData/Document/FileUtilities.cs b/src/Text/Def/TextData/Document/FileUtilities.cs
index 47734dd..c176a73 100644
--- a/src/Text/Def/TextData/Document/FileUtilities.cs
+++ b/src/Text/Def/TextData/Document/FileUtilities.cs
@@ -1,4 +1,7 @@
-using System;
+//
+// Copyright (c) Microsoft Corporation. All rights reserved.
+// Licensed under the MIT License. See License.txt in the project root for license information.
+//
using System.Diagnostics;
using System.IO;
using System.Runtime.InteropServices;
diff --git a/src/Text/Def/TextData/Document/IEncodingDetector.cs b/src/Text/Def/TextData/Document/IEncodingDetector.cs
index f54c839..fd63ed7 100644
--- a/src/Text/Def/TextData/Document/IEncodingDetector.cs
+++ b/src/Text/Def/TextData/Document/IEncodingDetector.cs
@@ -1,6 +1,7 @@
-// Copyright (c) Microsoft Corporation
-// All rights reserved
-
+//
+// Copyright (c) Microsoft Corporation. All rights reserved.
+// Licensed under the MIT License. See License.txt in the project root for license information.
+//
namespace Microsoft.VisualStudio.Text
{
using System.IO;
diff --git a/src/Text/Def/TextData/Document/ITextDocument.cs b/src/Text/Def/TextData/Document/ITextDocument.cs
index a42a223..665c9b4 100644
--- a/src/Text/Def/TextData/Document/ITextDocument.cs
+++ b/src/Text/Def/TextData/Document/ITextDocument.cs
@@ -1,6 +1,7 @@
-// Copyright (c) Microsoft Corporation
-// All rights reserved
-
+//
+// Copyright (c) Microsoft Corporation. All rights reserved.
+// Licensed under the MIT License. See License.txt in the project root for license information.
+//
namespace Microsoft.VisualStudio.Text
{
using System;
diff --git a/src/Text/Def/TextData/Document/ITextDocumentFactoryService.cs b/src/Text/Def/TextData/Document/ITextDocumentFactoryService.cs
index cbe74c7..07b973b 100644
--- a/src/Text/Def/TextData/Document/ITextDocumentFactoryService.cs
+++ b/src/Text/Def/TextData/Document/ITextDocumentFactoryService.cs
@@ -1,10 +1,10 @@
-// Copyright (c) Microsoft Corporation
-// All rights reserved
-
+//
+// Copyright (c) Microsoft Corporation. All rights reserved.
+// Licensed under the MIT License. See License.txt in the project root for license information.
+//
namespace Microsoft.VisualStudio.Text
{
using System;
- using System.Collections.Generic;
using System.Text;
using Microsoft.VisualStudio.Utilities;
diff --git a/src/Text/Def/TextData/Document/ReloadResult.cs b/src/Text/Def/TextData/Document/ReloadResult.cs
index 01cf593..329070d 100644
--- a/src/Text/Def/TextData/Document/ReloadResult.cs
+++ b/src/Text/Def/TextData/Document/ReloadResult.cs
@@ -1,4 +1,8 @@
-namespace Microsoft.VisualStudio.Text
+//
+// Copyright (c) Microsoft Corporation. All rights reserved.
+// Licensed under the MIT License. See License.txt in the project root for license information.
+//
+namespace Microsoft.VisualStudio.Text
{
/// <summary>
/// The return value of Reload methods on <see cref="ITextDocument" />.
diff --git a/src/Text/Def/TextData/Document/TextDocumentEventArgs.cs b/src/Text/Def/TextData/Document/TextDocumentEventArgs.cs
index ce7e411..5affc72 100644
--- a/src/Text/Def/TextData/Document/TextDocumentEventArgs.cs
+++ b/src/Text/Def/TextData/Document/TextDocumentEventArgs.cs
@@ -1,11 +1,10 @@
-// Copyright (c) Microsoft Corporation
-// All rights reserved
-
+//
+// Copyright (c) Microsoft Corporation. All rights reserved.
+// Licensed under the MIT License. See License.txt in the project root for license information.
+//
namespace Microsoft.VisualStudio.Text
{
using System;
- using System.Collections.Generic;
- using System.Text;
/// <summary>
/// Provides information for events when an <see cref="ITextDocument"/> has been created or disposed.
diff --git a/src/Text/Def/TextData/Document/TextDocumentFileActionEventArgs.cs b/src/Text/Def/TextData/Document/TextDocumentFileActionEventArgs.cs
index 7d480a0..9e4732b 100644
--- a/src/Text/Def/TextData/Document/TextDocumentFileActionEventArgs.cs
+++ b/src/Text/Def/TextData/Document/TextDocumentFileActionEventArgs.cs
@@ -1,11 +1,10 @@
-// Copyright (c) Microsoft Corporation
-// All rights reserved
-
+//
+// Copyright (c) Microsoft Corporation. All rights reserved.
+// Licensed under the MIT License. See License.txt in the project root for license information.
+//
namespace Microsoft.VisualStudio.Text
{
using System;
- using System.Collections.Generic;
- using System.Text;
/// <summary>
/// Describes the type of file action.
diff --git a/src/Text/Def/TextData/Model/ContentTypeChangedEventArgs.cs b/src/Text/Def/TextData/Model/ContentTypeChangedEventArgs.cs
index e79276c..fccc545 100644
--- a/src/Text/Def/TextData/Model/ContentTypeChangedEventArgs.cs
+++ b/src/Text/Def/TextData/Model/ContentTypeChangedEventArgs.cs
@@ -1,6 +1,7 @@
-// Copyright (c) Microsoft Corporation
-// All rights reserved
-
+//
+// Copyright (c) Microsoft Corporation. All rights reserved.
+// Licensed under the MIT License. See License.txt in the project root for license information.
+//
namespace Microsoft.VisualStudio.Text
{
using System;
diff --git a/src/Text/Def/TextData/Model/CustomTrackToVersion.cs b/src/Text/Def/TextData/Model/CustomTrackToVersion.cs
index 9ff1323..c3d0bbc 100644
--- a/src/Text/Def/TextData/Model/CustomTrackToVersion.cs
+++ b/src/Text/Def/TextData/Model/CustomTrackToVersion.cs
@@ -1,6 +1,7 @@
-// Copyright (c) Microsoft Corporation
-// All rights reserved
-
+//
+// Copyright (c) Microsoft Corporation. All rights reserved.
+// Licensed under the MIT License. See License.txt in the project root for license information.
+//
namespace Microsoft.VisualStudio.Text
{
/// <summary>
diff --git a/src/Text/Def/TextData/Model/DynamicReadOnlyRegionQuery.cs b/src/Text/Def/TextData/Model/DynamicReadOnlyRegionQuery.cs
index cb393d5..2863412 100644
--- a/src/Text/Def/TextData/Model/DynamicReadOnlyRegionQuery.cs
+++ b/src/Text/Def/TextData/Model/DynamicReadOnlyRegionQuery.cs
@@ -1,6 +1,7 @@
-// Copyright (c) Microsoft Corporation
-// All rights reserved
-
+//
+// Copyright (c) Microsoft Corporation. All rights reserved.
+// Licensed under the MIT License. See License.txt in the project root for license information.
+//
namespace Microsoft.VisualStudio.Text
{
/// <summary>
diff --git a/src/Text/Def/TextData/Model/EdgeInsertionMode.cs b/src/Text/Def/TextData/Model/EdgeInsertionMode.cs
index 8d22607..299c2d4 100644
--- a/src/Text/Def/TextData/Model/EdgeInsertionMode.cs
+++ b/src/Text/Def/TextData/Model/EdgeInsertionMode.cs
@@ -1,6 +1,7 @@
-// Copyright (c) Microsoft Corporation
-// All rights reserved
-
+//
+// Copyright (c) Microsoft Corporation. All rights reserved.
+// Licensed under the MIT License. See License.txt in the project root for license information.
+//
namespace Microsoft.VisualStudio.Text
{
/// <summary>
diff --git a/src/Text/Def/TextData/Model/EditOptions.cs b/src/Text/Def/TextData/Model/EditOptions.cs
index d0b4ac7..71568ad 100644
--- a/src/Text/Def/TextData/Model/EditOptions.cs
+++ b/src/Text/Def/TextData/Model/EditOptions.cs
@@ -1,11 +1,10 @@
-// Copyright (c) Microsoft Corporation
-// All rights reserved
-
+//
+// Copyright (c) Microsoft Corporation. All rights reserved.
+// Licensed under the MIT License. See License.txt in the project root for license information.
+//
namespace Microsoft.VisualStudio.Text
{
using Microsoft.VisualStudio.Text.Differencing;
- using System;
- using System.Globalization;
/// <summary>
/// Options applicable to text editing transactions.
diff --git a/src/Text/Def/TextData/Model/IExtensionErrorHandler.cs b/src/Text/Def/TextData/Model/IExtensionErrorHandler.cs
index 88550c7..3a9a071 100644
--- a/src/Text/Def/TextData/Model/IExtensionErrorHandler.cs
+++ b/src/Text/Def/TextData/Model/IExtensionErrorHandler.cs
@@ -1,4 +1,8 @@
-using System;
+//
+// Copyright (c) Microsoft Corporation. All rights reserved.
+// Licensed under the MIT License. See License.txt in the project root for license information.
+//
+using System;
namespace Microsoft.VisualStudio.Text
{
diff --git a/src/Text/Def/TextData/Model/IExtensionPerformanceTracker.cs b/src/Text/Def/TextData/Model/IExtensionPerformanceTracker.cs
index bfbe00a..fae97b8 100644
--- a/src/Text/Def/TextData/Model/IExtensionPerformanceTracker.cs
+++ b/src/Text/Def/TextData/Model/IExtensionPerformanceTracker.cs
@@ -1,4 +1,8 @@
-using System;
+//
+// Copyright (c) Microsoft Corporation. All rights reserved.
+// Licensed under the MIT License. See License.txt in the project root for license information.
+//
+using System;
namespace Microsoft.VisualStudio.Text
{
diff --git a/src/Text/Def/TextData/Model/IMappingPoint.cs b/src/Text/Def/TextData/Model/IMappingPoint.cs
index 4b3f59c..6f08c8f 100644
--- a/src/Text/Def/TextData/Model/IMappingPoint.cs
+++ b/src/Text/Def/TextData/Model/IMappingPoint.cs
@@ -1,6 +1,7 @@
-// Copyright (c) Microsoft Corporation
-// All rights reserved
-
+//
+// Copyright (c) Microsoft Corporation. All rights reserved.
+// Licensed under the MIT License. See License.txt in the project root for license information.
+//
namespace Microsoft.VisualStudio.Text
{
using System;
diff --git a/src/Text/Def/TextData/Model/IMappingSpan.cs b/src/Text/Def/TextData/Model/IMappingSpan.cs
index 7ef4dbb..82b6b3d 100644
--- a/src/Text/Def/TextData/Model/IMappingSpan.cs
+++ b/src/Text/Def/TextData/Model/IMappingSpan.cs
@@ -1,10 +1,10 @@
-// Copyright (c) Microsoft Corporation
-// All rights reserved
-
+//
+// Copyright (c) Microsoft Corporation. All rights reserved.
+// Licensed under the MIT License. See License.txt in the project root for license information.
+//
namespace Microsoft.VisualStudio.Text
{
using System;
- using System.Collections.ObjectModel;
using Microsoft.VisualStudio.Text.Projection;
/// <summary>
diff --git a/src/Text/Def/TextData/Model/INormalizedTextChangeCollection.cs b/src/Text/Def/TextData/Model/INormalizedTextChangeCollection.cs
index 9259f88..684d6c3 100644
--- a/src/Text/Def/TextData/Model/INormalizedTextChangeCollection.cs
+++ b/src/Text/Def/TextData/Model/INormalizedTextChangeCollection.cs
@@ -1,6 +1,7 @@
-// Copyright (c) Microsoft Corporation
-// All rights reserved
-
+//
+// Copyright (c) Microsoft Corporation. All rights reserved.
+// Licensed under the MIT License. See License.txt in the project root for license information.
+//
namespace Microsoft.VisualStudio.Text
{
using System.Collections.Generic;
diff --git a/src/Text/Def/TextData/Model/IPersistentSpan.cs b/src/Text/Def/TextData/Model/IPersistentSpan.cs
index 72e9453..577115e 100644
--- a/src/Text/Def/TextData/Model/IPersistentSpan.cs
+++ b/src/Text/Def/TextData/Model/IPersistentSpan.cs
@@ -1,7 +1,7 @@
-// Copyright (c) Microsoft Corporation
-
-// All rights reserved
-
+//
+// Copyright (c) Microsoft Corporation. All rights reserved.
+// Licensed under the MIT License. See License.txt in the project root for license information.
+//
using System;
namespace Microsoft.VisualStudio.Text
{
diff --git a/src/Text/Def/TextData/Model/IPersistentSpanFactory.cs b/src/Text/Def/TextData/Model/IPersistentSpanFactory.cs
index 3ffce14..a1bbd5e 100644
--- a/src/Text/Def/TextData/Model/IPersistentSpanFactory.cs
+++ b/src/Text/Def/TextData/Model/IPersistentSpanFactory.cs
@@ -1,6 +1,7 @@
-// Copyright (c) Microsoft Corporation
-// All rights reserved
-
+//
+// Copyright (c) Microsoft Corporation. All rights reserved.
+// Licensed under the MIT License. See License.txt in the project root for license information.
+//
namespace Microsoft.VisualStudio.Text
{
/// <summary>
diff --git a/src/Text/Def/TextData/Model/IReadOnlyRegion.cs b/src/Text/Def/TextData/Model/IReadOnlyRegion.cs
index d488374..02aaf32 100644
--- a/src/Text/Def/TextData/Model/IReadOnlyRegion.cs
+++ b/src/Text/Def/TextData/Model/IReadOnlyRegion.cs
@@ -1,10 +1,9 @@
-// Copyright (c) Microsoft Corporation
-// All rights reserved
-
+//
+// Copyright (c) Microsoft Corporation. All rights reserved.
+// Licensed under the MIT License. See License.txt in the project root for license information.
+//
namespace Microsoft.VisualStudio.Text
{
- using System;
-
/// <summary>
/// A handle that tracks a possibly empty read-only region of text.
/// </summary>
diff --git a/src/Text/Def/TextData/Model/IReadOnlyRegionEdit.cs b/src/Text/Def/TextData/Model/IReadOnlyRegionEdit.cs
index a7008ff..a89eb21 100644
--- a/src/Text/Def/TextData/Model/IReadOnlyRegionEdit.cs
+++ b/src/Text/Def/TextData/Model/IReadOnlyRegionEdit.cs
@@ -1,6 +1,7 @@
-// Copyright (c) Microsoft Corporation
-// All rights reserved
-
+//
+// Copyright (c) Microsoft Corporation. All rights reserved.
+// Licensed under the MIT License. See License.txt in the project root for license information.
+//
namespace Microsoft.VisualStudio.Text
{
using System;
diff --git a/src/Text/Def/TextData/Model/ITextBuffer.cs b/src/Text/Def/TextData/Model/ITextBuffer.cs
index 5e3e53e..77f0550 100644
--- a/src/Text/Def/TextData/Model/ITextBuffer.cs
+++ b/src/Text/Def/TextData/Model/ITextBuffer.cs
@@ -1,6 +1,7 @@
-// Copyright (c) Microsoft Corporation
-// All rights reserved
-
+//
+// Copyright (c) Microsoft Corporation. All rights reserved.
+// Licensed under the MIT License. See License.txt in the project root for license information.
+//
namespace Microsoft.VisualStudio.Text
{
using System;
@@ -82,13 +83,21 @@ namespace Microsoft.VisualStudio.Text
/// Occurs when a non-empty <see cref="ITextEdit"/> is successfully applied.
/// </summary>
/// <remarks>
+ /// <para>
+ /// This is a performance critical event, whose handlers directly affect typing responsiveness.
+ /// Unless it's required to handle this event synchronously on the UI thread, please consider listening
+ /// to <see cref="ITextBuffer2.ChangedOnBackground"/> event instead.
+ /// </para>
+ /// <para>
/// This event is raised after <see cref="ChangedHighPriority"/> events and before <see cref="ChangedLowPriority"/> events.
- ///
+ ///</para>
+ ///<para>
/// In the case that a second edit is applied by a listener of the Changed event (or the
/// ChangedLowPriority or ChangedHighPriority events), the Changed events for the second edit
/// won't be raised until all listeners have been notified of the first edit (via ChangedLowPriority, Changed, and
/// ChangedHighPriority events). That is, the events for subsequent edits are queued. This ensures listeners
/// receive the Changed events in the order the edits were applied.
+ /// </para>
/// </remarks>
event EventHandler<TextContentChangedEventArgs> Changed;
@@ -96,11 +105,19 @@ namespace Microsoft.VisualStudio.Text
/// Occurs when a non-empty <see cref="ITextEdit"/> is successfully applied.
/// </summary>
/// <remarks>
+ /// <para>
+ /// This is a performance critical event, whose handlers directly affect typing responsiveness.
+ /// Unless it's required to handle this event synchronously on the UI thread, please consider listening
+ /// to <see cref="ITextBuffer2.ChangedOnBackground"/> event instead.
+ /// </para>
+ /// <para>
/// This event is raised after <see cref="ChangedHighPriority"/> and <see cref="Changed"/> events.
- ///
+ /// </para>
+ /// <para>
/// Changed events for edits made within a ChangedLowPriority, <see cref="Changed"/>, or
/// <see cref="ChangedHighPriority" /> listener are queued. See <see cref="Changed"/> for more
/// information about event queuing.
+ /// </para>
/// </remarks>
event EventHandler<TextContentChangedEventArgs> ChangedLowPriority;
@@ -108,11 +125,19 @@ namespace Microsoft.VisualStudio.Text
/// Occurs when a non-empty <see cref="ITextEdit"/> is successfully applied.
/// </summary>
/// <remarks>
+ /// <para>
+ /// This is a performance critical event, whose handlers directly affect typing responsiveness.
+ /// Unless it's required to handle this event synchronously on the UI thread, please consider listening
+ /// to <see cref="ITextBuffer2.ChangedOnBackground"/> event instead.
+ /// </para>
+ /// <para>
/// This event is raised before <see cref="Changed"/> and <see cref="ChangedHighPriority"/> events.
- ///
+ /// </para>
+ /// <para>
/// Changed events for edits made within a ChangedLowPriority, <see cref="Changed"/>, or
/// <see cref="ChangedHighPriority" /> listener are queued. See <see cref="Changed"/> for more
/// information about event queuing.
+ /// </para>
/// </remarks>
event EventHandler<TextContentChangedEventArgs> ChangedHighPriority;
diff --git a/src/Text/Def/TextData/Model/ITextBufferEdit.cs b/src/Text/Def/TextData/Model/ITextBufferEdit.cs
index f70431c..b6927c7 100644
--- a/src/Text/Def/TextData/Model/ITextBufferEdit.cs
+++ b/src/Text/Def/TextData/Model/ITextBufferEdit.cs
@@ -1,6 +1,7 @@
-// Copyright (c) Microsoft Corporation
-// All rights reserved
-
+//
+// Copyright (c) Microsoft Corporation. All rights reserved.
+// Licensed under the MIT License. See License.txt in the project root for license information.
+//
namespace Microsoft.VisualStudio.Text
{
using System;
diff --git a/src/Text/Def/TextData/Model/ITextBufferFactory.cs b/src/Text/Def/TextData/Model/ITextBufferFactory.cs
index 78aafbc..452f129 100644
--- a/src/Text/Def/TextData/Model/ITextBufferFactory.cs
+++ b/src/Text/Def/TextData/Model/ITextBufferFactory.cs
@@ -1,6 +1,7 @@
-// Copyright (c) Microsoft Corporation
-// All rights reserved
-
+//
+// Copyright (c) Microsoft Corporation. All rights reserved.
+// Licensed under the MIT License. See License.txt in the project root for license information.
+//
namespace Microsoft.VisualStudio.Text
{
using System;
diff --git a/src/Text/Def/TextData/Model/ITextChange.cs b/src/Text/Def/TextData/Model/ITextChange.cs
index 966a98d..38f681b 100644
--- a/src/Text/Def/TextData/Model/ITextChange.cs
+++ b/src/Text/Def/TextData/Model/ITextChange.cs
@@ -1,6 +1,7 @@
-// Copyright (c) Microsoft Corporation
-// All rights reserved
-
+//
+// Copyright (c) Microsoft Corporation. All rights reserved.
+// Licensed under the MIT License. See License.txt in the project root for license information.
+//
namespace Microsoft.VisualStudio.Text
{
/// <summary>
diff --git a/src/Text/Def/TextData/Model/ITextChange2.cs b/src/Text/Def/TextData/Model/ITextChange2.cs
index 8acc0b5..29d15d5 100644
--- a/src/Text/Def/TextData/Model/ITextChange2.cs
+++ b/src/Text/Def/TextData/Model/ITextChange2.cs
@@ -1,6 +1,7 @@
-// Copyright (c) Microsoft Corporation
-// All rights reserved
-
+//
+// Copyright (c) Microsoft Corporation. All rights reserved.
+// Licensed under the MIT License. See License.txt in the project root for license information.
+//
namespace Microsoft.VisualStudio.Text
{
/// <summary>
diff --git a/src/Text/Def/TextData/Model/ITextChange3.cs b/src/Text/Def/TextData/Model/ITextChange3.cs
index 7827c1d..1d37a48 100644
--- a/src/Text/Def/TextData/Model/ITextChange3.cs
+++ b/src/Text/Def/TextData/Model/ITextChange3.cs
@@ -1,6 +1,7 @@
-// Copyright (c) Microsoft Corporation
-// All rights reserved
-
+//
+// Copyright (c) Microsoft Corporation. All rights reserved.
+// Licensed under the MIT License. See License.txt in the project root for license information.
+//
namespace Microsoft.VisualStudio.Text
{
/// <summary>
diff --git a/src/Text/Def/TextData/Model/ITextEdit.cs b/src/Text/Def/TextData/Model/ITextEdit.cs
index 8aa711b..c340a6b 100644
--- a/src/Text/Def/TextData/Model/ITextEdit.cs
+++ b/src/Text/Def/TextData/Model/ITextEdit.cs
@@ -1,6 +1,7 @@
-// Copyright (c) Microsoft Corporation
-// All rights reserved
-
+//
+// Copyright (c) Microsoft Corporation. All rights reserved.
+// Licensed under the MIT License. See License.txt in the project root for license information.
+//
namespace Microsoft.VisualStudio.Text
{
using System;
diff --git a/src/Text/Def/TextData/Model/ITextSnapshot.cs b/src/Text/Def/TextData/Model/ITextSnapshot.cs
index 1233216..b9adbe9 100644
--- a/src/Text/Def/TextData/Model/ITextSnapshot.cs
+++ b/src/Text/Def/TextData/Model/ITextSnapshot.cs
@@ -1,6 +1,7 @@
-// Copyright (c) Microsoft Corporation
-// All rights reserved
-
+//
+// Copyright (c) Microsoft Corporation. All rights reserved.
+// Licensed under the MIT License. See License.txt in the project root for license information.
+//
namespace Microsoft.VisualStudio.Text
{
using System;
diff --git a/src/Text/Def/TextData/Model/ITextSnapshotLine.cs b/src/Text/Def/TextData/Model/ITextSnapshotLine.cs
index c11cf08..feed31e 100644
--- a/src/Text/Def/TextData/Model/ITextSnapshotLine.cs
+++ b/src/Text/Def/TextData/Model/ITextSnapshotLine.cs
@@ -1,6 +1,7 @@
-// Copyright (c) Microsoft Corporation
-// All rights reserved
-
+//
+// Copyright (c) Microsoft Corporation. All rights reserved.
+// Licensed under the MIT License. See License.txt in the project root for license information.
+//
namespace Microsoft.VisualStudio.Text
{
/// <summary>
diff --git a/src/Text/Def/TextData/Model/ITextVersion.cs b/src/Text/Def/TextData/Model/ITextVersion.cs
index a0664b1..c852b6b 100644
--- a/src/Text/Def/TextData/Model/ITextVersion.cs
+++ b/src/Text/Def/TextData/Model/ITextVersion.cs
@@ -1,6 +1,7 @@
-// Copyright (c) Microsoft Corporation
-// All rights reserved
-
+//
+// Copyright (c) Microsoft Corporation. All rights reserved.
+// Licensed under the MIT License. See License.txt in the project root for license information.
+//
namespace Microsoft.VisualStudio.Text
{
using System;
diff --git a/src/Text/Def/TextData/Model/ITrackingPoint.cs b/src/Text/Def/TextData/Model/ITrackingPoint.cs
index 4c5c216..c29e98c 100644
--- a/src/Text/Def/TextData/Model/ITrackingPoint.cs
+++ b/src/Text/Def/TextData/Model/ITrackingPoint.cs
@@ -1,6 +1,7 @@
-// Copyright (c) Microsoft Corporation
-// All rights reserved
-
+//
+// Copyright (c) Microsoft Corporation. All rights reserved.
+// Licensed under the MIT License. See License.txt in the project root for license information.
+//
namespace Microsoft.VisualStudio.Text
{
using System;
diff --git a/src/Text/Def/TextData/Model/ITrackingSpan.cs b/src/Text/Def/TextData/Model/ITrackingSpan.cs
index 6fb3e6d..9b9ffd9 100644
--- a/src/Text/Def/TextData/Model/ITrackingSpan.cs
+++ b/src/Text/Def/TextData/Model/ITrackingSpan.cs
@@ -1,6 +1,7 @@
-// Copyright (c) Microsoft Corporation
-// All rights reserved
-
+//
+// Copyright (c) Microsoft Corporation. All rights reserved.
+// Licensed under the MIT License. See License.txt in the project root for license information.
+//
namespace Microsoft.VisualStudio.Text
{
using System;
diff --git a/src/Text/Def/TextData/Model/NormalizedSnapshotSpanCollection.cs b/src/Text/Def/TextData/Model/NormalizedSnapshotSpanCollection.cs
index 57ba5dd..095fb71 100644
--- a/src/Text/Def/TextData/Model/NormalizedSnapshotSpanCollection.cs
+++ b/src/Text/Def/TextData/Model/NormalizedSnapshotSpanCollection.cs
@@ -1,9 +1,12 @@
+//
+// Copyright (c) Microsoft Corporation. All rights reserved.
+// Licensed under the MIT License. See License.txt in the project root for license information.
+//
namespace Microsoft.VisualStudio.Text
{
using System;
using System.Collections;
using System.Collections.Generic;
- using System.Collections.ObjectModel;
/// <summary>
/// A read-only collection of <see cref="SnapshotSpan"/> objects, all from the same snapshot.
diff --git a/src/Text/Def/TextData/Model/NormalizedSpanCollection.cs b/src/Text/Def/TextData/Model/NormalizedSpanCollection.cs
index 2447742..aff7bdb 100644
--- a/src/Text/Def/TextData/Model/NormalizedSpanCollection.cs
+++ b/src/Text/Def/TextData/Model/NormalizedSpanCollection.cs
@@ -1,6 +1,7 @@
-// Copyright (c) Microsoft Corporation
-// All rights reserved
-
+//
+// Copyright (c) Microsoft Corporation. All rights reserved.
+// Licensed under the MIT License. See License.txt in the project root for license information.
+//
namespace Microsoft.VisualStudio.Text
{
using System;
diff --git a/src/Text/Def/TextData/Model/PointTrackingMode.cs b/src/Text/Def/TextData/Model/PointTrackingMode.cs
index 7c0a72d..5649c26 100644
--- a/src/Text/Def/TextData/Model/PointTrackingMode.cs
+++ b/src/Text/Def/TextData/Model/PointTrackingMode.cs
@@ -1,6 +1,7 @@
-// Copyright (c) Microsoft Corporation
-// All rights reserved
-
+//
+// Copyright (c) Microsoft Corporation. All rights reserved.
+// Licensed under the MIT License. See License.txt in the project root for license information.
+//
namespace Microsoft.VisualStudio.Text
{
/// <summary>
diff --git a/src/Text/Def/TextData/Model/PositionAffinity.cs b/src/Text/Def/TextData/Model/PositionAffinity.cs
index 7ab1b9f..0e24634 100644
--- a/src/Text/Def/TextData/Model/PositionAffinity.cs
+++ b/src/Text/Def/TextData/Model/PositionAffinity.cs
@@ -1,6 +1,7 @@
-// Copyright (c) Microsoft Corporation
-// All rights reserved
-
+//
+// Copyright (c) Microsoft Corporation. All rights reserved.
+// Licensed under the MIT License. See License.txt in the project root for license information.
+//
namespace Microsoft.VisualStudio.Text
{
/// <summary>
diff --git a/src/Text/Def/TextData/Model/PreContentChangedEventArgs.cs b/src/Text/Def/TextData/Model/PreContentChangedEventArgs.cs
index 3dd4faf..a6c4740 100644
--- a/src/Text/Def/TextData/Model/PreContentChangedEventArgs.cs
+++ b/src/Text/Def/TextData/Model/PreContentChangedEventArgs.cs
@@ -1,11 +1,10 @@
-// Copyright (c) Microsoft Corporation
-// All rights reserved
-
+//
+// Copyright (c) Microsoft Corporation. All rights reserved.
+// Licensed under the MIT License. See License.txt in the project root for license information.
+//
namespace Microsoft.VisualStudio.Text
{
using System;
- using System.Collections.Generic;
- using System.Text;
/// <summary>
/// Information provided before content changes.
diff --git a/src/Text/Def/TextData/Model/Projection/ElisionBufferOptions.cs b/src/Text/Def/TextData/Model/Projection/ElisionBufferOptions.cs
index 2a398d2..20d511f 100644
--- a/src/Text/Def/TextData/Model/Projection/ElisionBufferOptions.cs
+++ b/src/Text/Def/TextData/Model/Projection/ElisionBufferOptions.cs
@@ -1,6 +1,7 @@
-// Copyright (c) Microsoft Corporation
-// All rights reserved
-
+//
+// Copyright (c) Microsoft Corporation. All rights reserved.
+// Licensed under the MIT License. See License.txt in the project root for license information.
+//
namespace Microsoft.VisualStudio.Text.Projection
{
using System;
diff --git a/src/Text/Def/TextData/Model/Projection/ElisionSourceSpansChangedEventArgs.cs b/src/Text/Def/TextData/Model/Projection/ElisionSourceSpansChangedEventArgs.cs
index 265709c..b7c5136 100644
--- a/src/Text/Def/TextData/Model/Projection/ElisionSourceSpansChangedEventArgs.cs
+++ b/src/Text/Def/TextData/Model/Projection/ElisionSourceSpansChangedEventArgs.cs
@@ -1,10 +1,10 @@
-// Copyright (c) Microsoft Corporation
-// All rights reserved
-
+//
+// Copyright (c) Microsoft Corporation. All rights reserved.
+// Licensed under the MIT License. See License.txt in the project root for license information.
+//
namespace Microsoft.VisualStudio.Text.Projection
{
using System;
- using System.Collections.Generic;
/// <summary>
/// Provides data about an edit transaction on a <see cref="IElisionBuffer"/> in which the set of hidden source spans has changed.
diff --git a/src/Text/Def/TextData/Model/Projection/GraphBufferContentTypeChangedEventArgs.cs b/src/Text/Def/TextData/Model/Projection/GraphBufferContentTypeChangedEventArgs.cs
index 8d7178f..d977310 100644
--- a/src/Text/Def/TextData/Model/Projection/GraphBufferContentTypeChangedEventArgs.cs
+++ b/src/Text/Def/TextData/Model/Projection/GraphBufferContentTypeChangedEventArgs.cs
@@ -1,3 +1,7 @@
+//
+// Copyright (c) Microsoft Corporation. All rights reserved.
+// Licensed under the MIT License. See License.txt in the project root for license information.
+//
namespace Microsoft.VisualStudio.Text.Projection
{
using System;
diff --git a/src/Text/Def/TextData/Model/Projection/GraphBuffersChangedEventArgs.cs b/src/Text/Def/TextData/Model/Projection/GraphBuffersChangedEventArgs.cs
index 638b6d2..98d1ce5 100644
--- a/src/Text/Def/TextData/Model/Projection/GraphBuffersChangedEventArgs.cs
+++ b/src/Text/Def/TextData/Model/Projection/GraphBuffersChangedEventArgs.cs
@@ -1,3 +1,7 @@
+//
+// Copyright (c) Microsoft Corporation. All rights reserved.
+// Licensed under the MIT License. See License.txt in the project root for license information.
+//
namespace Microsoft.VisualStudio.Text.Projection
{
using System;
diff --git a/src/Text/Def/TextData/Model/Projection/IBufferGraph.cs b/src/Text/Def/TextData/Model/Projection/IBufferGraph.cs
index ed71847..5774394 100644
--- a/src/Text/Def/TextData/Model/Projection/IBufferGraph.cs
+++ b/src/Text/Def/TextData/Model/Projection/IBufferGraph.cs
@@ -1,10 +1,10 @@
-// Copyright (c) Microsoft Corporation
-// All rights reserved
-
+//
+// Copyright (c) Microsoft Corporation. All rights reserved.
+// Licensed under the MIT License. See License.txt in the project root for license information.
+//
namespace Microsoft.VisualStudio.Text.Projection
{
using System;
- using System.Collections.Generic;
using System.Collections.ObjectModel;
/// <summary>
diff --git a/src/Text/Def/TextData/Model/Projection/IBufferGraphFactoryService.cs b/src/Text/Def/TextData/Model/Projection/IBufferGraphFactoryService.cs
index 7a64169..66c2c7a 100644
--- a/src/Text/Def/TextData/Model/Projection/IBufferGraphFactoryService.cs
+++ b/src/Text/Def/TextData/Model/Projection/IBufferGraphFactoryService.cs
@@ -1,6 +1,7 @@
-// Copyright (c) Microsoft Corporation
-// All rights reserved
-
+//
+// Copyright (c) Microsoft Corporation. All rights reserved.
+// Licensed under the MIT License. See License.txt in the project root for license information.
+//
namespace Microsoft.VisualStudio.Text.Projection
{
using System;
diff --git a/src/Text/Def/TextData/Model/Projection/IElisionBuffer.cs b/src/Text/Def/TextData/Model/Projection/IElisionBuffer.cs
index fa5e889..c5c1a28 100644
--- a/src/Text/Def/TextData/Model/Projection/IElisionBuffer.cs
+++ b/src/Text/Def/TextData/Model/Projection/IElisionBuffer.cs
@@ -1,6 +1,7 @@
-// Copyright (c) Microsoft Corporation
-// All rights reserved
-
+//
+// Copyright (c) Microsoft Corporation. All rights reserved.
+// Licensed under the MIT License. See License.txt in the project root for license information.
+//
namespace Microsoft.VisualStudio.Text.Projection
{
using System;
diff --git a/src/Text/Def/TextData/Model/Projection/IElisionSnapshot.cs b/src/Text/Def/TextData/Model/Projection/IElisionSnapshot.cs
index 5ed1481..aea3a8e 100644
--- a/src/Text/Def/TextData/Model/Projection/IElisionSnapshot.cs
+++ b/src/Text/Def/TextData/Model/Projection/IElisionSnapshot.cs
@@ -1,10 +1,10 @@
-// Copyright (c) Microsoft Corporation
-// All rights reserved
-
+//
+// Copyright (c) Microsoft Corporation. All rights reserved.
+// Licensed under the MIT License. See License.txt in the project root for license information.
+//
namespace Microsoft.VisualStudio.Text.Projection
{
using System;
- using System.Collections.ObjectModel;
/// <summary>
/// A snapshot from an <see cref="IElisionBuffer"/> object.
diff --git a/src/Text/Def/TextData/Model/Projection/IProjectionBuffer.cs b/src/Text/Def/TextData/Model/Projection/IProjectionBuffer.cs
index d2151f4..a49f12a 100644
--- a/src/Text/Def/TextData/Model/Projection/IProjectionBuffer.cs
+++ b/src/Text/Def/TextData/Model/Projection/IProjectionBuffer.cs
@@ -1,6 +1,7 @@
-// Copyright (c) Microsoft Corporation
-// All rights reserved
-
+//
+// Copyright (c) Microsoft Corporation. All rights reserved.
+// Licensed under the MIT License. See License.txt in the project root for license information.
+//
namespace Microsoft.VisualStudio.Text.Projection
{
using System;
diff --git a/src/Text/Def/TextData/Model/Projection/IProjectionBufferBase.cs b/src/Text/Def/TextData/Model/Projection/IProjectionBufferBase.cs
index d6eaba2..c5af991 100644
--- a/src/Text/Def/TextData/Model/Projection/IProjectionBufferBase.cs
+++ b/src/Text/Def/TextData/Model/Projection/IProjectionBufferBase.cs
@@ -1,6 +1,7 @@
-// Copyright (c) Microsoft Corporation
-// All rights reserved
-
+//
+// Copyright (c) Microsoft Corporation. All rights reserved.
+// Licensed under the MIT License. See License.txt in the project root for license information.
+//
namespace Microsoft.VisualStudio.Text.Projection
{
using System;
diff --git a/src/Text/Def/TextData/Model/Projection/IProjectionBufferFactoryService.cs b/src/Text/Def/TextData/Model/Projection/IProjectionBufferFactoryService.cs
index 8ffc9f0..44496cd 100644
--- a/src/Text/Def/TextData/Model/Projection/IProjectionBufferFactoryService.cs
+++ b/src/Text/Def/TextData/Model/Projection/IProjectionBufferFactoryService.cs
@@ -1,6 +1,7 @@
-// Copyright (c) Microsoft Corporation
-// All rights reserved
-
+//
+// Copyright (c) Microsoft Corporation. All rights reserved.
+// Licensed under the MIT License. See License.txt in the project root for license information.
+//
namespace Microsoft.VisualStudio.Text.Projection
{
using System;
diff --git a/src/Text/Def/TextData/Model/Projection/IProjectionEditResolver.cs b/src/Text/Def/TextData/Model/Projection/IProjectionEditResolver.cs
index e224213..8cd2954 100644
--- a/src/Text/Def/TextData/Model/Projection/IProjectionEditResolver.cs
+++ b/src/Text/Def/TextData/Model/Projection/IProjectionEditResolver.cs
@@ -1,9 +1,9 @@
-// Copyright (c) Microsoft Corporation
-// All rights reserved
-
+//
+// Copyright (c) Microsoft Corporation. All rights reserved.
+// Licensed under the MIT License. See License.txt in the project root for license information.
+//
namespace Microsoft.VisualStudio.Text.Projection
{
- using System;
using System.Collections.Generic;
using System.Collections.ObjectModel;
diff --git a/src/Text/Def/TextData/Model/Projection/IProjectionSnapshot.cs b/src/Text/Def/TextData/Model/Projection/IProjectionSnapshot.cs
index 81c413e..ec02d54 100644
--- a/src/Text/Def/TextData/Model/Projection/IProjectionSnapshot.cs
+++ b/src/Text/Def/TextData/Model/Projection/IProjectionSnapshot.cs
@@ -1,6 +1,7 @@
-// Copyright (c) Microsoft Corporation
-// All rights reserved
-
+//
+// Copyright (c) Microsoft Corporation. All rights reserved.
+// Licensed under the MIT License. See License.txt in the project root for license information.
+//
namespace Microsoft.VisualStudio.Text.Projection
{
using System;
diff --git a/src/Text/Def/TextData/Model/Projection/IProjectionSnapshot2.cs b/src/Text/Def/TextData/Model/Projection/IProjectionSnapshot2.cs
index beb08c0..e4e88bd 100644
--- a/src/Text/Def/TextData/Model/Projection/IProjectionSnapshot2.cs
+++ b/src/Text/Def/TextData/Model/Projection/IProjectionSnapshot2.cs
@@ -1,6 +1,7 @@
-// Copyright (c) Microsoft Corporation
-// All rights reserved
-
+//
+// Copyright (c) Microsoft Corporation. All rights reserved.
+// Licensed under the MIT License. See License.txt in the project root for license information.
+//
using System;
namespace Microsoft.VisualStudio.Text.Projection
diff --git a/src/Text/Def/TextData/Model/Projection/ProjectionBufferOptions.cs b/src/Text/Def/TextData/Model/Projection/ProjectionBufferOptions.cs
index f6fe8e7..af04771 100644
--- a/src/Text/Def/TextData/Model/Projection/ProjectionBufferOptions.cs
+++ b/src/Text/Def/TextData/Model/Projection/ProjectionBufferOptions.cs
@@ -1,6 +1,7 @@
-// Copyright (c) Microsoft Corporation
-// All rights reserved
-
+//
+// Copyright (c) Microsoft Corporation. All rights reserved.
+// Licensed under the MIT License. See License.txt in the project root for license information.
+//
namespace Microsoft.VisualStudio.Text.Projection
{
using System;
diff --git a/src/Text/Def/TextData/Model/Projection/ProjectionSourceBuffersChangedEventArgs.cs b/src/Text/Def/TextData/Model/Projection/ProjectionSourceBuffersChangedEventArgs.cs
index f646b20..977ce7e 100644
--- a/src/Text/Def/TextData/Model/Projection/ProjectionSourceBuffersChangedEventArgs.cs
+++ b/src/Text/Def/TextData/Model/Projection/ProjectionSourceBuffersChangedEventArgs.cs
@@ -1,6 +1,7 @@
-// Copyright (c) Microsoft Corporation
-// All rights reserved
-
+//
+// Copyright (c) Microsoft Corporation. All rights reserved.
+// Licensed under the MIT License. See License.txt in the project root for license information.
+//
namespace Microsoft.VisualStudio.Text.Projection
{
using System;
diff --git a/src/Text/Def/TextData/Model/Projection/ProjectionSourceSpansChangedEventArgs.cs b/src/Text/Def/TextData/Model/Projection/ProjectionSourceSpansChangedEventArgs.cs
index 064fead..e219725 100644
--- a/src/Text/Def/TextData/Model/Projection/ProjectionSourceSpansChangedEventArgs.cs
+++ b/src/Text/Def/TextData/Model/Projection/ProjectionSourceSpansChangedEventArgs.cs
@@ -1,6 +1,7 @@
-// Copyright (c) Microsoft Corporation
-// All rights reserved
-
+//
+// Copyright (c) Microsoft Corporation. All rights reserved.
+// Licensed under the MIT License. See License.txt in the project root for license information.
+//
namespace Microsoft.VisualStudio.Text.Projection
{
using System;
diff --git a/src/Text/Def/TextData/Model/SnapshotPoint.cs b/src/Text/Def/TextData/Model/SnapshotPoint.cs
index 1c470f7..330cc9c 100644
--- a/src/Text/Def/TextData/Model/SnapshotPoint.cs
+++ b/src/Text/Def/TextData/Model/SnapshotPoint.cs
@@ -1,6 +1,7 @@
-// Copyright (c) Microsoft Corporation
-// All rights reserved
-
+//
+// Copyright (c) Microsoft Corporation. All rights reserved.
+// Licensed under the MIT License. See License.txt in the project root for license information.
+//
namespace Microsoft.VisualStudio.Text
{
using System;
diff --git a/src/Text/Def/TextData/Model/SnapshotSpan.cs b/src/Text/Def/TextData/Model/SnapshotSpan.cs
index 0b2749b..dc71c9e 100644
--- a/src/Text/Def/TextData/Model/SnapshotSpan.cs
+++ b/src/Text/Def/TextData/Model/SnapshotSpan.cs
@@ -1,6 +1,7 @@
-// Copyright (c) Microsoft Corporation
-// All rights reserved
-
+//
+// Copyright (c) Microsoft Corporation. All rights reserved.
+// Licensed under the MIT License. See License.txt in the project root for license information.
+//
namespace Microsoft.VisualStudio.Text
{
using System;
diff --git a/src/Text/Def/TextData/Model/SnapshotSpanEventArgs.cs b/src/Text/Def/TextData/Model/SnapshotSpanEventArgs.cs
index 45cc11b..04cef5f 100644
--- a/src/Text/Def/TextData/Model/SnapshotSpanEventArgs.cs
+++ b/src/Text/Def/TextData/Model/SnapshotSpanEventArgs.cs
@@ -1,6 +1,7 @@
-// Copyright (c) Microsoft Corporation
-// All rights reserved
-
+//
+// Copyright (c) Microsoft Corporation. All rights reserved.
+// Licensed under the MIT License. See License.txt in the project root for license information.
+//
namespace Microsoft.VisualStudio.Text
{
using System;
diff --git a/src/Text/Def/TextData/Model/Span.cs b/src/Text/Def/TextData/Model/Span.cs
index 2583882..e7e3940 100644
--- a/src/Text/Def/TextData/Model/Span.cs
+++ b/src/Text/Def/TextData/Model/Span.cs
@@ -1,6 +1,7 @@
-// Copyright (c) Microsoft Corporation
-// All rights reserved
-
+//
+// Copyright (c) Microsoft Corporation. All rights reserved.
+// Licensed under the MIT License. See License.txt in the project root for license information.
+//
namespace Microsoft.VisualStudio.Text
{
using System;
diff --git a/src/Text/Def/TextData/Model/SpanTrackingMode.cs b/src/Text/Def/TextData/Model/SpanTrackingMode.cs
index 114c90f..59f261d 100644
--- a/src/Text/Def/TextData/Model/SpanTrackingMode.cs
+++ b/src/Text/Def/TextData/Model/SpanTrackingMode.cs
@@ -1,6 +1,7 @@
-// Copyright (c) Microsoft Corporation
-// All rights reserved
-
+//
+// Copyright (c) Microsoft Corporation. All rights reserved.
+// Licensed under the MIT License. See License.txt in the project root for license information.
+//
namespace Microsoft.VisualStudio.Text
{
/// <summary>
diff --git a/src/Text/Def/TextData/Model/TextBufferCreatedEventArgs.cs b/src/Text/Def/TextData/Model/TextBufferCreatedEventArgs.cs
index a521dd9..25c532e 100644
--- a/src/Text/Def/TextData/Model/TextBufferCreatedEventArgs.cs
+++ b/src/Text/Def/TextData/Model/TextBufferCreatedEventArgs.cs
@@ -1,6 +1,7 @@
-// Copyright (c) Microsoft Corporation
-// All rights reserved
-
+//
+// Copyright (c) Microsoft Corporation. All rights reserved.
+// Licensed under the MIT License. See License.txt in the project root for license information.
+//
namespace Microsoft.VisualStudio.Text
{
using System;
diff --git a/src/Text/Def/TextData/Model/TextContentChangedEventArgs.cs b/src/Text/Def/TextData/Model/TextContentChangedEventArgs.cs
index a6439d1..45002b7 100644
--- a/src/Text/Def/TextData/Model/TextContentChangedEventArgs.cs
+++ b/src/Text/Def/TextData/Model/TextContentChangedEventArgs.cs
@@ -1,6 +1,7 @@
-// Copyright (c) Microsoft Corporation
-// All rights reserved
-
+//
+// Copyright (c) Microsoft Corporation. All rights reserved.
+// Licensed under the MIT License. See License.txt in the project root for license information.
+//
namespace Microsoft.VisualStudio.Text
{
using System;
diff --git a/src/Text/Def/TextData/Model/TextContentChangingEventArgs.cs b/src/Text/Def/TextData/Model/TextContentChangingEventArgs.cs
index ac4b31d..cb828d8 100644
--- a/src/Text/Def/TextData/Model/TextContentChangingEventArgs.cs
+++ b/src/Text/Def/TextData/Model/TextContentChangingEventArgs.cs
@@ -1,4 +1,8 @@
-using System;
+//
+// Copyright (c) Microsoft Corporation. All rights reserved.
+// Licensed under the MIT License. See License.txt in the project root for license information.
+//
+using System;
namespace Microsoft.VisualStudio.Text
{
diff --git a/src/Text/Def/TextData/Model/TextSnapshotChangedEventArgs.cs b/src/Text/Def/TextData/Model/TextSnapshotChangedEventArgs.cs
index 1d060c7..4581044 100644
--- a/src/Text/Def/TextData/Model/TextSnapshotChangedEventArgs.cs
+++ b/src/Text/Def/TextData/Model/TextSnapshotChangedEventArgs.cs
@@ -1,6 +1,7 @@
-// Copyright (c) Microsoft Corporation
-// All rights reserved
-
+//
+// Copyright (c) Microsoft Corporation. All rights reserved.
+// Licensed under the MIT License. See License.txt in the project root for license information.
+//
namespace Microsoft.VisualStudio.Text
{
using System;
diff --git a/src/Text/Def/TextData/Model/TrackingFidelityMode.cs b/src/Text/Def/TextData/Model/TrackingFidelityMode.cs
index 5e42b25..fcc0b76 100644
--- a/src/Text/Def/TextData/Model/TrackingFidelityMode.cs
+++ b/src/Text/Def/TextData/Model/TrackingFidelityMode.cs
@@ -1,6 +1,7 @@
-// Copyright (c) Microsoft Corporation
-// All rights reserved
-
+//
+// Copyright (c) Microsoft Corporation. All rights reserved.
+// Licensed under the MIT License. See License.txt in the project root for license information.
+//
namespace Microsoft.VisualStudio.Text
{
/// <summary>
diff --git a/src/Text/Def/TextLogic/AssemblyInfo.cs b/src/Text/Def/TextLogic/AssemblyInfo.cs
index d7ef5a3..40ffec5 100644
--- a/src/Text/Def/TextLogic/AssemblyInfo.cs
+++ b/src/Text/Def/TextLogic/AssemblyInfo.cs
@@ -1,6 +1,7 @@
-// Copyright (c) Microsoft Corporation
-// All rights reserved
-
+//
+// Copyright (c) Microsoft Corporation. All rights reserved.
+// Licensed under the MIT License. See License.txt in the project root for license information.
+//
using System.Reflection;
using System.Runtime.ConstrainedExecution;
using System.Runtime.Versioning;
@@ -14,7 +15,7 @@ using System.Security.Permissions;
[assembly: ComponentGuarantees(ComponentGuaranteesOptions.Stable)]
-[assembly: AssemblyConfiguration ("")]
+
[assembly: AssemblyTrademark ("")]
[assembly: AssemblyCulture ("")]
#pragma warning disable 618
diff --git a/src/Text/Def/TextLogic/Classification/ClassificationChangedEventArgs.cs b/src/Text/Def/TextLogic/Classification/ClassificationChangedEventArgs.cs
index d1fbdcb..e06ccbd 100644
--- a/src/Text/Def/TextLogic/Classification/ClassificationChangedEventArgs.cs
+++ b/src/Text/Def/TextLogic/Classification/ClassificationChangedEventArgs.cs
@@ -1,6 +1,7 @@
-// Copyright (c) Microsoft Corporation
-// All rights reserved
-
+//
+// Copyright (c) Microsoft Corporation. All rights reserved.
+// Licensed under the MIT License. See License.txt in the project root for license information.
+//
namespace Microsoft.VisualStudio.Text.Classification
{
using System;
diff --git a/src/Text/Def/TextLogic/Classification/ClassificationSpan.cs b/src/Text/Def/TextLogic/Classification/ClassificationSpan.cs
index 6b22864..e952105 100644
--- a/src/Text/Def/TextLogic/Classification/ClassificationSpan.cs
+++ b/src/Text/Def/TextLogic/Classification/ClassificationSpan.cs
@@ -1,6 +1,7 @@
-// Copyright (c) Microsoft Corporation
-// All rights reserved
-
+//
+// Copyright (c) Microsoft Corporation. All rights reserved.
+// Licensed under the MIT License. See License.txt in the project root for license information.
+//
namespace Microsoft.VisualStudio.Text.Classification
{
using System;
diff --git a/src/Text/Def/TextLogic/Classification/ClassificationTypeAttribute.cs b/src/Text/Def/TextLogic/Classification/ClassificationTypeAttribute.cs
index 78a7add..21bd9fa 100644
--- a/src/Text/Def/TextLogic/Classification/ClassificationTypeAttribute.cs
+++ b/src/Text/Def/TextLogic/Classification/ClassificationTypeAttribute.cs
@@ -1,5 +1,7 @@
-// Copyright (C) Microsoft Corporation. All Rights Reserved.
-
+//
+// Copyright (c) Microsoft Corporation. All rights reserved.
+// Licensed under the MIT License. See License.txt in the project root for license information.
+//
namespace Microsoft.VisualStudio.Text.Classification
{
using System;
diff --git a/src/Text/Def/TextLogic/Classification/ClassificationTypeDefinition.cs b/src/Text/Def/TextLogic/Classification/ClassificationTypeDefinition.cs
index 5db4ab4..0c726b6 100644
--- a/src/Text/Def/TextLogic/Classification/ClassificationTypeDefinition.cs
+++ b/src/Text/Def/TextLogic/Classification/ClassificationTypeDefinition.cs
@@ -1,5 +1,7 @@
-// Copyright (C) Microsoft Corporation. All Rights Reserved.
-
+//
+// Copyright (c) Microsoft Corporation. All rights reserved.
+// Licensed under the MIT License. See License.txt in the project root for license information.
+//
namespace Microsoft.VisualStudio.Text.Classification
{
/// <summary>
diff --git a/src/Text/Def/TextLogic/Classification/IClassificationType.cs b/src/Text/Def/TextLogic/Classification/IClassificationType.cs
index 1275546..ff8006a 100644
--- a/src/Text/Def/TextLogic/Classification/IClassificationType.cs
+++ b/src/Text/Def/TextLogic/Classification/IClassificationType.cs
@@ -1,8 +1,7 @@
-// ****************************************************************************
-// IClassificationType.cs
-// Copyright (C) Microsoft Corporation. All Rights Reserved.
-// ****************************************************************************
-
+//
+// Copyright (c) Microsoft Corporation. All rights reserved.
+// Licensed under the MIT License. See License.txt in the project root for license information.
+//
namespace Microsoft.VisualStudio.Text.Classification
{
using System.Collections.Generic;
diff --git a/src/Text/Def/TextLogic/Classification/IClassificationTypeRegistryService.cs b/src/Text/Def/TextLogic/Classification/IClassificationTypeRegistryService.cs
index d7e18e9..03a45bf 100644
--- a/src/Text/Def/TextLogic/Classification/IClassificationTypeRegistryService.cs
+++ b/src/Text/Def/TextLogic/Classification/IClassificationTypeRegistryService.cs
@@ -1,13 +1,11 @@
-// ****************************************************************************
-// IClassificationTypeRegistryService.cs
-// Copyright (C) Microsoft Corporation. All Rights Reserved.
-// ****************************************************************************
-
+//
+// Copyright (c) Microsoft Corporation. All rights reserved.
+// Licensed under the MIT License. See License.txt in the project root for license information.
+//
namespace Microsoft.VisualStudio.Text.Classification
{
using System;
using System.Collections.Generic;
- using System.ComponentModel.Composition;
/// <summary>
/// The service that maintains the collection of all known classification types.
diff --git a/src/Text/Def/TextLogic/Classification/IClassifier.cs b/src/Text/Def/TextLogic/Classification/IClassifier.cs
index 640281b..68e5ed7 100644
--- a/src/Text/Def/TextLogic/Classification/IClassifier.cs
+++ b/src/Text/Def/TextLogic/Classification/IClassifier.cs
@@ -1,6 +1,7 @@
-// Copyright (c) Microsoft Corporation
-// All rights reserved
-
+//
+// Copyright (c) Microsoft Corporation. All rights reserved.
+// Licensed under the MIT License. See License.txt in the project root for license information.
+//
namespace Microsoft.VisualStudio.Text.Classification
{
using System;
diff --git a/src/Text/Def/TextLogic/Classification/IClassifierAggregatorService.cs b/src/Text/Def/TextLogic/Classification/IClassifierAggregatorService.cs
index 021c6f8..f67ba83 100644
--- a/src/Text/Def/TextLogic/Classification/IClassifierAggregatorService.cs
+++ b/src/Text/Def/TextLogic/Classification/IClassifierAggregatorService.cs
@@ -1,6 +1,7 @@
-// Copyright (c) Microsoft Corporation
-// All rights reserved
-
+//
+// Copyright (c) Microsoft Corporation. All rights reserved.
+// Licensed under the MIT License. See License.txt in the project root for license information.
+//
namespace Microsoft.VisualStudio.Text.Classification
{
/// <summary>
diff --git a/src/Text/Def/TextLogic/Classification/IClassifierProvider.cs b/src/Text/Def/TextLogic/Classification/IClassifierProvider.cs
index b5f6696..03d5b5a 100644
--- a/src/Text/Def/TextLogic/Classification/IClassifierProvider.cs
+++ b/src/Text/Def/TextLogic/Classification/IClassifierProvider.cs
@@ -1,6 +1,7 @@
-// Copyright (c) Microsoft Corporation
-// All rights reserved
-
+//
+// Copyright (c) Microsoft Corporation. All rights reserved.
+// Licensed under the MIT License. See License.txt in the project root for license information.
+//
namespace Microsoft.VisualStudio.Text.Classification
{
/// <summary>
diff --git a/src/Text/Def/TextLogic/DifferenceBuffer/DifferenceBufferOptions.cs b/src/Text/Def/TextLogic/DifferenceBuffer/DifferenceBufferOptions.cs
index c5dd9e1..7c299e1 100644
--- a/src/Text/Def/TextLogic/DifferenceBuffer/DifferenceBufferOptions.cs
+++ b/src/Text/Def/TextLogic/DifferenceBuffer/DifferenceBufferOptions.cs
@@ -1,4 +1,8 @@
-using Microsoft.VisualStudio.Text.Editor;
+//
+// Copyright (c) Microsoft Corporation. All rights reserved.
+// Licensed under the MIT License. See License.txt in the project root for license information.
+//
+using Microsoft.VisualStudio.Text.Editor;
using Microsoft.VisualStudio.Utilities;
namespace Microsoft.VisualStudio.Text.Differencing
diff --git a/src/Text/Def/TextLogic/DifferenceBuffer/DifferenceMappingMode.cs b/src/Text/Def/TextLogic/DifferenceBuffer/DifferenceMappingMode.cs
index 36e691c..706c4d6 100644
--- a/src/Text/Def/TextLogic/DifferenceBuffer/DifferenceMappingMode.cs
+++ b/src/Text/Def/TextLogic/DifferenceBuffer/DifferenceMappingMode.cs
@@ -1,7 +1,7 @@
-using System;
-using System.Collections.Generic;
-using Microsoft.VisualStudio.Text.Projection;
-
+//
+// Copyright (c) Microsoft Corporation. All rights reserved.
+// Licensed under the MIT License. See License.txt in the project root for license information.
+//
namespace Microsoft.VisualStudio.Text.Differencing
{
/// <summary>
diff --git a/src/Text/Def/TextLogic/DifferenceBuffer/DifferenceTrackingSpans.cs b/src/Text/Def/TextLogic/DifferenceBuffer/DifferenceTrackingSpans.cs
index 0eb0559..f06f609 100644
--- a/src/Text/Def/TextLogic/DifferenceBuffer/DifferenceTrackingSpans.cs
+++ b/src/Text/Def/TextLogic/DifferenceBuffer/DifferenceTrackingSpans.cs
@@ -1,3 +1,7 @@
+//
+// Copyright (c) Microsoft Corporation. All rights reserved.
+// Licensed under the MIT License. See License.txt in the project root for license information.
+//
using System.Collections.Generic;
namespace Microsoft.VisualStudio.Text.Differencing
diff --git a/src/Text/Def/TextLogic/DifferenceBuffer/IDifferenceBuffer.cs b/src/Text/Def/TextLogic/DifferenceBuffer/IDifferenceBuffer.cs
index 98bda0d..5ae9c55 100644
--- a/src/Text/Def/TextLogic/DifferenceBuffer/IDifferenceBuffer.cs
+++ b/src/Text/Def/TextLogic/DifferenceBuffer/IDifferenceBuffer.cs
@@ -1,4 +1,8 @@
-using System;
+//
+// Copyright (c) Microsoft Corporation. All rights reserved.
+// Licensed under the MIT License. See License.txt in the project root for license information.
+//
+using System;
using Microsoft.VisualStudio.Text.Editor;
using Microsoft.VisualStudio.Text.Projection;
using Microsoft.VisualStudio.Utilities;
diff --git a/src/Text/Def/TextLogic/DifferenceBuffer/IDifferenceBufferFactoryService.cs b/src/Text/Def/TextLogic/DifferenceBuffer/IDifferenceBufferFactoryService.cs
index 7b519a4..7d4b1e5 100644
--- a/src/Text/Def/TextLogic/DifferenceBuffer/IDifferenceBufferFactoryService.cs
+++ b/src/Text/Def/TextLogic/DifferenceBuffer/IDifferenceBufferFactoryService.cs
@@ -1,4 +1,8 @@
-using Microsoft.VisualStudio.Text.Projection;
+//
+// Copyright (c) Microsoft Corporation. All rights reserved.
+// Licensed under the MIT License. See License.txt in the project root for license information.
+//
+using Microsoft.VisualStudio.Text.Projection;
namespace Microsoft.VisualStudio.Text.Differencing
{
diff --git a/src/Text/Def/TextLogic/DifferenceBuffer/ISnapshotDifference.cs b/src/Text/Def/TextLogic/DifferenceBuffer/ISnapshotDifference.cs
index 4cdd1e8..771d25a 100644
--- a/src/Text/Def/TextLogic/DifferenceBuffer/ISnapshotDifference.cs
+++ b/src/Text/Def/TextLogic/DifferenceBuffer/ISnapshotDifference.cs
@@ -1,4 +1,7 @@
-using System;
+//
+// Copyright (c) Microsoft Corporation. All rights reserved.
+// Licensed under the MIT License. See License.txt in the project root for license information.
+//
using System.Collections.Generic;
using Microsoft.VisualStudio.Text.Projection;
diff --git a/src/Text/Def/TextLogic/DifferenceBuffer/IgnoreDifferencePredicate.cs b/src/Text/Def/TextLogic/DifferenceBuffer/IgnoreDifferencePredicate.cs
index 5232a96..226c9f8 100644
--- a/src/Text/Def/TextLogic/DifferenceBuffer/IgnoreDifferencePredicate.cs
+++ b/src/Text/Def/TextLogic/DifferenceBuffer/IgnoreDifferencePredicate.cs
@@ -1,3 +1,7 @@
+//
+// Copyright (c) Microsoft Corporation. All rights reserved.
+// Licensed under the MIT License. See License.txt in the project root for license information.
+//
namespace Microsoft.VisualStudio.Text.Differencing
{
/// <summary>
diff --git a/src/Text/Def/TextLogic/DifferenceBuffer/IgnoreWhiteSpaceBehavior.cs b/src/Text/Def/TextLogic/DifferenceBuffer/IgnoreWhiteSpaceBehavior.cs
index a0cb00a..ae73e1a 100644
--- a/src/Text/Def/TextLogic/DifferenceBuffer/IgnoreWhiteSpaceBehavior.cs
+++ b/src/Text/Def/TextLogic/DifferenceBuffer/IgnoreWhiteSpaceBehavior.cs
@@ -1,4 +1,8 @@
-namespace Microsoft.VisualStudio.Text.Differencing
+//
+// Copyright (c) Microsoft Corporation. All rights reserved.
+// Licensed under the MIT License. See License.txt in the project root for license information.
+//
+namespace Microsoft.VisualStudio.Text.Differencing
{
public enum IgnoreWhiteSpaceBehavior
{
diff --git a/src/Text/Def/TextLogic/DifferenceBuffer/LineType.cs b/src/Text/Def/TextLogic/DifferenceBuffer/LineType.cs
index dbf329e..f73e5fc 100644
--- a/src/Text/Def/TextLogic/DifferenceBuffer/LineType.cs
+++ b/src/Text/Def/TextLogic/DifferenceBuffer/LineType.cs
@@ -1,3 +1,7 @@
+//
+// Copyright (c) Microsoft Corporation. All rights reserved.
+// Licensed under the MIT License. See License.txt in the project root for license information.
+//
namespace Microsoft.VisualStudio.Text.Differencing
{
/// <summary>
diff --git a/src/Text/Def/TextLogic/DifferenceBuffer/SnapshotDifferenceChangeEventArgs.cs b/src/Text/Def/TextLogic/DifferenceBuffer/SnapshotDifferenceChangeEventArgs.cs
index d1276f4..e941571 100644
--- a/src/Text/Def/TextLogic/DifferenceBuffer/SnapshotDifferenceChangeEventArgs.cs
+++ b/src/Text/Def/TextLogic/DifferenceBuffer/SnapshotDifferenceChangeEventArgs.cs
@@ -1,3 +1,7 @@
+//
+// Copyright (c) Microsoft Corporation. All rights reserved.
+// Licensed under the MIT License. See License.txt in the project root for license information.
+//
using System;
namespace Microsoft.VisualStudio.Text.Differencing
diff --git a/src/Text/Def/TextLogic/DifferenceBuffer/SnapshotLineTransform.cs b/src/Text/Def/TextLogic/DifferenceBuffer/SnapshotLineTransform.cs
index 57ceda2..657aff0 100644
--- a/src/Text/Def/TextLogic/DifferenceBuffer/SnapshotLineTransform.cs
+++ b/src/Text/Def/TextLogic/DifferenceBuffer/SnapshotLineTransform.cs
@@ -1,3 +1,7 @@
+//
+// Copyright (c) Microsoft Corporation. All rights reserved.
+// Licensed under the MIT License. See License.txt in the project root for license information.
+//
namespace Microsoft.VisualStudio.Text.Differencing
{
/// <summary>
diff --git a/src/Text/Def/TextLogic/EditorOptions/DefaultOptions.cs b/src/Text/Def/TextLogic/EditorOptions/DefaultOptions.cs
index 6fffe2e..991f01c 100644
--- a/src/Text/Def/TextLogic/EditorOptions/DefaultOptions.cs
+++ b/src/Text/Def/TextLogic/EditorOptions/DefaultOptions.cs
@@ -1,4 +1,8 @@
-using System;
+//
+// Copyright (c) Microsoft Corporation. All rights reserved.
+// Licensed under the MIT License. See License.txt in the project root for license information.
+//
+using System;
using System.ComponentModel.Composition;
using Microsoft.VisualStudio.Utilities;
diff --git a/src/Text/Def/TextLogic/EditorOptions/DeferCreationAttribute.cs b/src/Text/Def/TextLogic/EditorOptions/DeferCreationAttribute.cs
index 77bde55..37ae443 100644
--- a/src/Text/Def/TextLogic/EditorOptions/DeferCreationAttribute.cs
+++ b/src/Text/Def/TextLogic/EditorOptions/DeferCreationAttribute.cs
@@ -1,6 +1,7 @@
-// ****************************************************************************
-// Copyright (C) Microsoft Corporation. All Rights Reserved.
-// ****************************************************************************
+//
+// Copyright (c) Microsoft Corporation. All rights reserved.
+// Licensed under the MIT License. See License.txt in the project root for license information.
+//
using System;
using System.ComponentModel.Composition;
using Microsoft.VisualStudio.Utilities;
diff --git a/src/Text/Def/TextLogic/EditorOptions/EditorOptionChangedEventArgs.cs b/src/Text/Def/TextLogic/EditorOptions/EditorOptionChangedEventArgs.cs
index dcdbbda..8508f8c 100644
--- a/src/Text/Def/TextLogic/EditorOptions/EditorOptionChangedEventArgs.cs
+++ b/src/Text/Def/TextLogic/EditorOptions/EditorOptionChangedEventArgs.cs
@@ -1,6 +1,8 @@
-using System;
-using System.Collections.Generic;
-using System.Text;
+//
+// Copyright (c) Microsoft Corporation. All rights reserved.
+// Licensed under the MIT License. See License.txt in the project root for license information.
+//
+using System;
namespace Microsoft.VisualStudio.Text.Editor
{
diff --git a/src/Text/Def/TextLogic/EditorOptions/EditorOptionDefinition.cs b/src/Text/Def/TextLogic/EditorOptions/EditorOptionDefinition.cs
index 6c278bf..7894122 100644
--- a/src/Text/Def/TextLogic/EditorOptions/EditorOptionDefinition.cs
+++ b/src/Text/Def/TextLogic/EditorOptions/EditorOptionDefinition.cs
@@ -1,6 +1,8 @@
+//
+// Copyright (c) Microsoft Corporation. All rights reserved.
+// Licensed under the MIT License. See License.txt in the project root for license information.
+//
using System;
-using System.Collections.Generic;
-using System.Text;
using Microsoft.VisualStudio.Utilities;
diff --git a/src/Text/Def/TextLogic/EditorOptions/EditorOptionKey.cs b/src/Text/Def/TextLogic/EditorOptions/EditorOptionKey.cs
index aad0095..4c9f1cf 100644
--- a/src/Text/Def/TextLogic/EditorOptions/EditorOptionKey.cs
+++ b/src/Text/Def/TextLogic/EditorOptions/EditorOptionKey.cs
@@ -1,9 +1,7 @@
-using System;
-using System.Collections.Generic;
-using System.Text;
-
-using Microsoft.VisualStudio.Utilities;
-
+//
+// Copyright (c) Microsoft Corporation. All rights reserved.
+// Licensed under the MIT License. See License.txt in the project root for license information.
+//
namespace Microsoft.VisualStudio.Text.Editor
{
/// <summary>
diff --git a/src/Text/Def/TextLogic/EditorOptions/IEditorOptions.cs b/src/Text/Def/TextLogic/EditorOptions/IEditorOptions.cs
index 4929965..88eda82 100644
--- a/src/Text/Def/TextLogic/EditorOptions/IEditorOptions.cs
+++ b/src/Text/Def/TextLogic/EditorOptions/IEditorOptions.cs
@@ -1,10 +1,10 @@
-// Copyright (c) Microsoft Corporation
-// All rights reserved
-
+//
+// Copyright (c) Microsoft Corporation. All rights reserved.
+// Licensed under the MIT License. See License.txt in the project root for license information.
+//
namespace Microsoft.VisualStudio.Text.Editor
{
using System;
- using System.Collections;
using System.Collections.Generic;
/// <summary>
diff --git a/src/Text/Def/TextLogic/EditorOptions/IEditorOptionsFactoryService.cs b/src/Text/Def/TextLogic/EditorOptions/IEditorOptionsFactoryService.cs
index 81aaade..340ad44 100644
--- a/src/Text/Def/TextLogic/EditorOptions/IEditorOptionsFactoryService.cs
+++ b/src/Text/Def/TextLogic/EditorOptions/IEditorOptionsFactoryService.cs
@@ -1,10 +1,9 @@
-// Copyright (c) Microsoft Corporation
-// All rights reserved
-
+//
+// Copyright (c) Microsoft Corporation. All rights reserved.
+// Licensed under the MIT License. See License.txt in the project root for license information.
+//
namespace Microsoft.VisualStudio.Text.Editor
{
- using System;
- using System.ComponentModel.Composition;
using Microsoft.VisualStudio.Utilities;
diff --git a/src/Text/Def/TextLogic/Find/FindData.cs b/src/Text/Def/TextLogic/Find/FindData.cs
index 0e7ea65..fe96bcb 100644
--- a/src/Text/Def/TextLogic/Find/FindData.cs
+++ b/src/Text/Def/TextLogic/Find/FindData.cs
@@ -1,6 +1,8 @@
-using System;
-using System.Collections.Generic;
-using System.Text;
+//
+// Copyright (c) Microsoft Corporation. All rights reserved.
+// Licensed under the MIT License. See License.txt in the project root for license information.
+//
+using System;
namespace Microsoft.VisualStudio.Text.Operations
{
diff --git a/src/Text/Def/TextLogic/Find/FindOptions.cs b/src/Text/Def/TextLogic/Find/FindOptions.cs
index 58de95a..91ff3bb 100644
--- a/src/Text/Def/TextLogic/Find/FindOptions.cs
+++ b/src/Text/Def/TextLogic/Find/FindOptions.cs
@@ -1,6 +1,8 @@
-using System;
-using System.Collections.Generic;
-using System.Text;
+//
+// Copyright (c) Microsoft Corporation. All rights reserved.
+// Licensed under the MIT License. See License.txt in the project root for license information.
+//
+using System;
using System.Text.RegularExpressions;
namespace Microsoft.VisualStudio.Text.Operations
diff --git a/src/Text/Def/TextLogic/Find/ITextSearchNavigator.cs b/src/Text/Def/TextLogic/Find/ITextSearchNavigator.cs
index 9d2c7ce..4da0ac4 100644
--- a/src/Text/Def/TextLogic/Find/ITextSearchNavigator.cs
+++ b/src/Text/Def/TextLogic/Find/ITextSearchNavigator.cs
@@ -1,6 +1,7 @@
-// Copyright (c) Microsoft Corporation
-// All rights reserved
-
+//
+// Copyright (c) Microsoft Corporation. All rights reserved.
+// Licensed under the MIT License. See License.txt in the project root for license information.
+//
namespace Microsoft.VisualStudio.Text.Operations
{
/// <summary>
diff --git a/src/Text/Def/TextLogic/Find/ITextSearchNavigatorFactoryService.cs b/src/Text/Def/TextLogic/Find/ITextSearchNavigatorFactoryService.cs
index b301781..f7e95c8 100644
--- a/src/Text/Def/TextLogic/Find/ITextSearchNavigatorFactoryService.cs
+++ b/src/Text/Def/TextLogic/Find/ITextSearchNavigatorFactoryService.cs
@@ -1,6 +1,7 @@
-// Copyright (c) Microsoft Corporation
-// All rights reserved
-
+//
+// Copyright (c) Microsoft Corporation. All rights reserved.
+// Licensed under the MIT License. See License.txt in the project root for license information.
+//
namespace Microsoft.VisualStudio.Text.Operations
{
/// <summary>
diff --git a/src/Text/Def/TextLogic/Find/ITextSearchService.cs b/src/Text/Def/TextLogic/Find/ITextSearchService.cs
index f4a8dd1..5979e3e 100644
--- a/src/Text/Def/TextLogic/Find/ITextSearchService.cs
+++ b/src/Text/Def/TextLogic/Find/ITextSearchService.cs
@@ -1,11 +1,11 @@
-// Copyright (c) Microsoft Corporation
-// All rights reserved
-
+//
+// Copyright (c) Microsoft Corporation. All rights reserved.
+// Licensed under the MIT License. See License.txt in the project root for license information.
+//
namespace Microsoft.VisualStudio.Text.Operations
{
using System;
using System.Collections.ObjectModel;
- using System.ComponentModel.Composition;
/// <summary>
/// Searches a <see cref="ITextSnapshot"/> with different search options.
diff --git a/src/Text/Def/TextLogic/Find/ITextSearchService2.cs b/src/Text/Def/TextLogic/Find/ITextSearchService2.cs
index d8d0fd3..905d0b3 100644
--- a/src/Text/Def/TextLogic/Find/ITextSearchService2.cs
+++ b/src/Text/Def/TextLogic/Find/ITextSearchService2.cs
@@ -1,6 +1,7 @@
-// Copyright (c) Microsoft Corporation
-// All rights reserved
-
+//
+// Copyright (c) Microsoft Corporation. All rights reserved.
+// Licensed under the MIT License. See License.txt in the project root for license information.
+//
namespace Microsoft.VisualStudio.Text.Operations
{
using System;
diff --git a/src/Text/Def/TextLogic/Navigation/ITextStructureNavigator.cs b/src/Text/Def/TextLogic/Navigation/ITextStructureNavigator.cs
index 7f37fe1..de7e4bd 100644
--- a/src/Text/Def/TextLogic/Navigation/ITextStructureNavigator.cs
+++ b/src/Text/Def/TextLogic/Navigation/ITextStructureNavigator.cs
@@ -1,6 +1,7 @@
-// Copyright (c) Microsoft Corporation
-// All rights reserved
-
+//
+// Copyright (c) Microsoft Corporation. All rights reserved.
+// Licensed under the MIT License. See License.txt in the project root for license information.
+//
namespace Microsoft.VisualStudio.Text.Operations
{
using Microsoft.VisualStudio.Utilities;
diff --git a/src/Text/Def/TextLogic/Navigation/ITextStructureNavigatorProvider.cs b/src/Text/Def/TextLogic/Navigation/ITextStructureNavigatorProvider.cs
index f42cfeb..151093d 100644
--- a/src/Text/Def/TextLogic/Navigation/ITextStructureNavigatorProvider.cs
+++ b/src/Text/Def/TextLogic/Navigation/ITextStructureNavigatorProvider.cs
@@ -1,6 +1,7 @@
-// Copyright (c) Microsoft Corporation
-// All rights reserved
-
+//
+// Copyright (c) Microsoft Corporation. All rights reserved.
+// Licensed under the MIT License. See License.txt in the project root for license information.
+//
namespace Microsoft.VisualStudio.Text.Operations
{
/// <summary>
diff --git a/src/Text/Def/TextLogic/Navigation/ITextStructureNavigatorSelectorService.cs b/src/Text/Def/TextLogic/Navigation/ITextStructureNavigatorSelectorService.cs
index 4b6aa19..4c8615c 100644
--- a/src/Text/Def/TextLogic/Navigation/ITextStructureNavigatorSelectorService.cs
+++ b/src/Text/Def/TextLogic/Navigation/ITextStructureNavigatorSelectorService.cs
@@ -1,10 +1,10 @@
-// Copyright (c) Microsoft Corporation
-// All rights reserved
-
+//
+// Copyright (c) Microsoft Corporation. All rights reserved.
+// Licensed under the MIT License. See License.txt in the project root for license information.
+//
namespace Microsoft.VisualStudio.Text.Operations
{
using System;
- using System.ComponentModel.Composition;
using Microsoft.VisualStudio.Utilities;
/// <summary>
diff --git a/src/Text/Def/TextLogic/Navigation/TextExtent.cs b/src/Text/Def/TextLogic/Navigation/TextExtent.cs
index 802b27c..1d416f6 100644
--- a/src/Text/Def/TextLogic/Navigation/TextExtent.cs
+++ b/src/Text/Def/TextLogic/Navigation/TextExtent.cs
@@ -1,10 +1,9 @@
-// Copyright (c) Microsoft Corporation
-// All rights reserved
-
+//
+// Copyright (c) Microsoft Corporation. All rights reserved.
+// Licensed under the MIT License. See License.txt in the project root for license information.
+//
namespace Microsoft.VisualStudio.Text.Operations
{
- using System;
-
/// <summary>
/// Represents the extent of a word.
/// </summary>
diff --git a/src/Text/Def/TextLogic/Tagging/BatchedTagsChangedEventArgs.cs b/src/Text/Def/TextLogic/Tagging/BatchedTagsChangedEventArgs.cs
index 9e9d300..df661ac 100644
--- a/src/Text/Def/TextLogic/Tagging/BatchedTagsChangedEventArgs.cs
+++ b/src/Text/Def/TextLogic/Tagging/BatchedTagsChangedEventArgs.cs
@@ -1,6 +1,7 @@
-// Copyright (c) Microsoft Corporation
-// All rights reserved
-
+//
+// Copyright (c) Microsoft Corporation. All rights reserved.
+// Licensed under the MIT License. See License.txt in the project root for license information.
+//
namespace Microsoft.VisualStudio.Text.Tagging
{
using System;
diff --git a/src/Text/Def/TextLogic/Tagging/IBufferTagAggregatorFactoryService.cs b/src/Text/Def/TextLogic/Tagging/IBufferTagAggregatorFactoryService.cs
index befbf66..c905929 100644
--- a/src/Text/Def/TextLogic/Tagging/IBufferTagAggregatorFactoryService.cs
+++ b/src/Text/Def/TextLogic/Tagging/IBufferTagAggregatorFactoryService.cs
@@ -1,9 +1,9 @@
-// Copyright (c) Microsoft Corporation
-// All rights reserved
-
+//
+// Copyright (c) Microsoft Corporation. All rights reserved.
+// Licensed under the MIT License. See License.txt in the project root for license information.
+//
namespace Microsoft.VisualStudio.Text.Tagging
{
- using System.ComponentModel.Composition;
using Microsoft.VisualStudio.Text;
/// <summary>
diff --git a/src/Text/Def/TextLogic/Tagging/ITag.cs b/src/Text/Def/TextLogic/Tagging/ITag.cs
index fc95d65..21fe434 100644
--- a/src/Text/Def/TextLogic/Tagging/ITag.cs
+++ b/src/Text/Def/TextLogic/Tagging/ITag.cs
@@ -1,6 +1,7 @@
-// Copyright (c) Microsoft Corporation
-// All rights reserved
-
+//
+// Copyright (c) Microsoft Corporation. All rights reserved.
+// Licensed under the MIT License. See License.txt in the project root for license information.
+//
namespace Microsoft.VisualStudio.Text.Tagging
{
/// <summary>
diff --git a/src/Text/Def/TextLogic/Tagging/ITagAggregator.cs b/src/Text/Def/TextLogic/Tagging/ITagAggregator.cs
index 6e2354d..e54c146 100644
--- a/src/Text/Def/TextLogic/Tagging/ITagAggregator.cs
+++ b/src/Text/Def/TextLogic/Tagging/ITagAggregator.cs
@@ -1,11 +1,11 @@
-// Copyright (c) Microsoft Corporation
-// All rights reserved
-
+//
+// Copyright (c) Microsoft Corporation. All rights reserved.
+// Licensed under the MIT License. See License.txt in the project root for license information.
+//
namespace Microsoft.VisualStudio.Text.Tagging
{
using System;
using System.Collections.Generic;
- using Microsoft.VisualStudio.Utilities;
using Microsoft.VisualStudio.Text.Projection;
/// <summary>
diff --git a/src/Text/Def/TextLogic/Tagging/ITagger.cs b/src/Text/Def/TextLogic/Tagging/ITagger.cs
index 2ca8b4a..1ee1813 100644
--- a/src/Text/Def/TextLogic/Tagging/ITagger.cs
+++ b/src/Text/Def/TextLogic/Tagging/ITagger.cs
@@ -1,11 +1,11 @@
-// Copyright (c) Microsoft Corporation
-// All rights reserved
-
+//
+// Copyright (c) Microsoft Corporation. All rights reserved.
+// Licensed under the MIT License. See License.txt in the project root for license information.
+//
namespace Microsoft.VisualStudio.Text.Tagging
{
using System;
using System.Collections.Generic;
- using Microsoft.VisualStudio.Utilities;
/// <summary>
/// A provider of tags over a buffer.
diff --git a/src/Text/Def/TextLogic/Tagging/ITaggerProvider.cs b/src/Text/Def/TextLogic/Tagging/ITaggerProvider.cs
index d93e120..a483993 100644
--- a/src/Text/Def/TextLogic/Tagging/ITaggerProvider.cs
+++ b/src/Text/Def/TextLogic/Tagging/ITaggerProvider.cs
@@ -1,6 +1,7 @@
-// Copyright (c) Microsoft Corporation
-// All rights reserved
-
+//
+// Copyright (c) Microsoft Corporation. All rights reserved.
+// Licensed under the MIT License. See License.txt in the project root for license information.
+//
namespace Microsoft.VisualStudio.Text.Tagging
{
/// <summary>
diff --git a/src/Text/Def/TextLogic/Tagging/MappingTagSpan.cs b/src/Text/Def/TextLogic/Tagging/MappingTagSpan.cs
index 4844b22..562999c 100644
--- a/src/Text/Def/TextLogic/Tagging/MappingTagSpan.cs
+++ b/src/Text/Def/TextLogic/Tagging/MappingTagSpan.cs
@@ -1,7 +1,8 @@
-using System;
-using System.Collections.Generic;
-using System.Linq;
-using System.Text;
+//
+// Copyright (c) Microsoft Corporation. All rights reserved.
+// Licensed under the MIT License. See License.txt in the project root for license information.
+//
+using System;
namespace Microsoft.VisualStudio.Text.Tagging
{
diff --git a/src/Text/Def/TextLogic/Tagging/SimpleTagger.cs b/src/Text/Def/TextLogic/Tagging/SimpleTagger.cs
index 22ab418..37d845b 100644
--- a/src/Text/Def/TextLogic/Tagging/SimpleTagger.cs
+++ b/src/Text/Def/TextLogic/Tagging/SimpleTagger.cs
@@ -1,6 +1,7 @@
-// Copyright (c) Microsoft Corporation
-// All rights reserved
-
+//
+// Copyright (c) Microsoft Corporation. All rights reserved.
+// Licensed under the MIT License. See License.txt in the project root for license information.
+//
namespace Microsoft.VisualStudio.Text.Tagging
{
using System;
diff --git a/src/Text/Def/TextLogic/Tagging/TagAggregatorOptions.cs b/src/Text/Def/TextLogic/Tagging/TagAggregatorOptions.cs
index 0738482..859d449 100644
--- a/src/Text/Def/TextLogic/Tagging/TagAggregatorOptions.cs
+++ b/src/Text/Def/TextLogic/Tagging/TagAggregatorOptions.cs
@@ -1,6 +1,7 @@
-// Copyright (c) Microsoft Corporation
-// All rights reserved
-
+//
+// Copyright (c) Microsoft Corporation. All rights reserved.
+// Licensed under the MIT License. See License.txt in the project root for license information.
+//
namespace Microsoft.VisualStudio.Text.Tagging
{
using System;
diff --git a/src/Text/Def/TextLogic/Tagging/TagSpan.cs b/src/Text/Def/TextLogic/Tagging/TagSpan.cs
index dd61ab9..cd105aa 100644
--- a/src/Text/Def/TextLogic/Tagging/TagSpan.cs
+++ b/src/Text/Def/TextLogic/Tagging/TagSpan.cs
@@ -1,7 +1,8 @@
-using System;
-using System.Collections.Generic;
-using System.Linq;
-using System.Text;
+//
+// Copyright (c) Microsoft Corporation. All rights reserved.
+// Licensed under the MIT License. See License.txt in the project root for license information.
+//
+using System;
namespace Microsoft.VisualStudio.Text.Tagging
{
diff --git a/src/Text/Def/TextLogic/Tagging/TagTypeAttribute.cs b/src/Text/Def/TextLogic/Tagging/TagTypeAttribute.cs
index ecddbaf..228e1ba 100644
--- a/src/Text/Def/TextLogic/Tagging/TagTypeAttribute.cs
+++ b/src/Text/Def/TextLogic/Tagging/TagTypeAttribute.cs
@@ -1,14 +1,11 @@
-// Copyright (c) Microsoft Corporation
-// All rights reserved
-
+//
+// Copyright (c) Microsoft Corporation. All rights reserved.
+// Licensed under the MIT License. See License.txt in the project root for license information.
+//
namespace Microsoft.VisualStudio.Text.Tagging
{
using System;
- using System.Collections.Generic;
- using System.Text;
using Microsoft.VisualStudio.Utilities;
- using Microsoft.VisualStudio.Text.Tagging;
- using System.ComponentModel.Composition;
/// <summary>
/// Declares the types of tags an <see cref="ITagger&lt;T&gt;"/>
diff --git a/src/Text/Def/TextLogic/Tagging/TagsChangedEventArgs.cs b/src/Text/Def/TextLogic/Tagging/TagsChangedEventArgs.cs
index 7f756ca..78f33b2 100644
--- a/src/Text/Def/TextLogic/Tagging/TagsChangedEventArgs.cs
+++ b/src/Text/Def/TextLogic/Tagging/TagsChangedEventArgs.cs
@@ -1,10 +1,10 @@
-// Copyright (c) Microsoft Corporation
-// All rights reserved
-
+//
+// Copyright (c) Microsoft Corporation. All rights reserved.
+// Licensed under the MIT License. See License.txt in the project root for license information.
+//
namespace Microsoft.VisualStudio.Text.Tagging
{
using System;
- using System.Collections.Generic;
/// <summary>
/// Provides information about the <see cref="ITagAggregator&lt;T&gt;" />.TagsChanged event.
diff --git a/src/Text/Def/TextLogic/Tagging/TrackingTagSpan.cs b/src/Text/Def/TextLogic/Tagging/TrackingTagSpan.cs
index 8ad4adc..5ebfe29 100644
--- a/src/Text/Def/TextLogic/Tagging/TrackingTagSpan.cs
+++ b/src/Text/Def/TextLogic/Tagging/TrackingTagSpan.cs
@@ -1,7 +1,8 @@
-using System;
-using System.Collections.Generic;
-using System.Linq;
-using System.Text;
+//
+// Copyright (c) Microsoft Corporation. All rights reserved.
+// Licensed under the MIT License. See License.txt in the project root for license information.
+//
+using System;
namespace Microsoft.VisualStudio.Text.Tagging
{
diff --git a/src/Text/Def/TextLogic/Tags/ClassificationTag.cs b/src/Text/Def/TextLogic/Tags/ClassificationTag.cs
index 07daef4..d8e37c5 100644
--- a/src/Text/Def/TextLogic/Tags/ClassificationTag.cs
+++ b/src/Text/Def/TextLogic/Tags/ClassificationTag.cs
@@ -1,3 +1,7 @@
+//
+// Copyright (c) Microsoft Corporation. All rights reserved.
+// Licensed under the MIT License. See License.txt in the project root for license information.
+//
using System;
namespace Microsoft.VisualStudio.Text.Tagging
diff --git a/src/Text/Def/TextLogic/Tags/IClassificationTag.cs b/src/Text/Def/TextLogic/Tags/IClassificationTag.cs
index 0ddb96c..f0dd719 100644
--- a/src/Text/Def/TextLogic/Tags/IClassificationTag.cs
+++ b/src/Text/Def/TextLogic/Tags/IClassificationTag.cs
@@ -1,5 +1,7 @@
-using System;
-
+//
+// Copyright (c) Microsoft Corporation. All rights reserved.
+// Licensed under the MIT License. See License.txt in the project root for license information.
+//
namespace Microsoft.VisualStudio.Text.Tagging
{
using Microsoft.VisualStudio.Text.Classification;
diff --git a/src/Text/Def/TextLogic/Tags/IUrlTag.cs b/src/Text/Def/TextLogic/Tags/IUrlTag.cs
index 1b6ae9c..70a3d6c 100644
--- a/src/Text/Def/TextLogic/Tags/IUrlTag.cs
+++ b/src/Text/Def/TextLogic/Tags/IUrlTag.cs
@@ -1,3 +1,7 @@
+//
+// Copyright (c) Microsoft Corporation. All rights reserved.
+// Licensed under the MIT License. See License.txt in the project root for license information.
+//
using System;
namespace Microsoft.VisualStudio.Text.Tagging
{
diff --git a/src/Text/Def/TextLogic/Tags/UrlTag.cs b/src/Text/Def/TextLogic/Tags/UrlTag.cs
index 7d7a7ec..83e086e 100644
--- a/src/Text/Def/TextLogic/Tags/UrlTag.cs
+++ b/src/Text/Def/TextLogic/Tags/UrlTag.cs
@@ -1,3 +1,7 @@
+//
+// Copyright (c) Microsoft Corporation. All rights reserved.
+// Licensed under the MIT License. See License.txt in the project root for license information.
+//
using System;
namespace Microsoft.VisualStudio.Text.Tagging
diff --git a/src/Text/Def/TextLogic/TextModel/ChangeTag.cs b/src/Text/Def/TextLogic/TextModel/ChangeTag.cs
index e0a9a7b..86344f6 100644
--- a/src/Text/Def/TextLogic/TextModel/ChangeTag.cs
+++ b/src/Text/Def/TextLogic/TextModel/ChangeTag.cs
@@ -1,6 +1,7 @@
-// Copyright (c) Microsoft Corporation
-// All rights reserved
-
+//
+// Copyright (c) Microsoft Corporation. All rights reserved.
+// Licensed under the MIT License. See License.txt in the project root for license information.
+//
namespace Microsoft.VisualStudio.Text.Document
{
using Microsoft.VisualStudio.Text.Tagging;
diff --git a/src/Text/Def/TextLogic/TextModel/ChangeTypes.cs b/src/Text/Def/TextLogic/TextModel/ChangeTypes.cs
index d1c9b2c..61b08fc 100644
--- a/src/Text/Def/TextLogic/TextModel/ChangeTypes.cs
+++ b/src/Text/Def/TextLogic/TextModel/ChangeTypes.cs
@@ -1,6 +1,7 @@
-// Copyright (c) Microsoft Corporation
-// All rights reserved
-
+//
+// Copyright (c) Microsoft Corporation. All rights reserved.
+// Licensed under the MIT License. See License.txt in the project root for license information.
+//
namespace Microsoft.VisualStudio.Text.Document
{
/// <summary>
diff --git a/src/Text/Def/TextLogic/TextModel/ITextDataModel.cs b/src/Text/Def/TextLogic/TextModel/ITextDataModel.cs
index 53707e9..7cf2f57 100644
--- a/src/Text/Def/TextLogic/TextModel/ITextDataModel.cs
+++ b/src/Text/Def/TextLogic/TextModel/ITextDataModel.cs
@@ -1,6 +1,7 @@
-// Copyright (c) Microsoft Corporation
-// All rights reserved
-
+//
+// Copyright (c) Microsoft Corporation. All rights reserved.
+// Licensed under the MIT License. See License.txt in the project root for license information.
+//
namespace Microsoft.VisualStudio.Text
{
using System;
diff --git a/src/Text/Def/TextLogic/TextModel/TextDataModelContentTypeChangedEventArgs.cs b/src/Text/Def/TextLogic/TextModel/TextDataModelContentTypeChangedEventArgs.cs
index 6ce93af..be8d558 100644
--- a/src/Text/Def/TextLogic/TextModel/TextDataModelContentTypeChangedEventArgs.cs
+++ b/src/Text/Def/TextLogic/TextModel/TextDataModelContentTypeChangedEventArgs.cs
@@ -1,6 +1,7 @@
-// Copyright (c) Microsoft Corporation
-// All rights reserved
-
+//
+// Copyright (c) Microsoft Corporation. All rights reserved.
+// Licensed under the MIT License. See License.txt in the project root for license information.
+//
namespace Microsoft.VisualStudio.Text
{
using System;
diff --git a/src/Text/Def/TextLogic/TextModel/VirtualSnapshotPoint.cs b/src/Text/Def/TextLogic/TextModel/VirtualSnapshotPoint.cs
index 124c1aa..7828fb4 100644
--- a/src/Text/Def/TextLogic/TextModel/VirtualSnapshotPoint.cs
+++ b/src/Text/Def/TextLogic/TextModel/VirtualSnapshotPoint.cs
@@ -1,6 +1,7 @@
-// Copyright (c) Microsoft Corporation
-// All rights reserved
-
+//
+// Copyright (c) Microsoft Corporation. All rights reserved.
+// Licensed under the MIT License. See License.txt in the project root for license information.
+//
namespace Microsoft.VisualStudio.Text
{
using System;
diff --git a/src/Text/Def/TextLogic/TextModel/VirtualSnapshotSpan.cs b/src/Text/Def/TextLogic/TextModel/VirtualSnapshotSpan.cs
index 20ab6d0..c8478f7 100644
--- a/src/Text/Def/TextLogic/TextModel/VirtualSnapshotSpan.cs
+++ b/src/Text/Def/TextLogic/TextModel/VirtualSnapshotSpan.cs
@@ -1,6 +1,7 @@
-// Copyright (c) Microsoft Corporation
-// All rights reserved
-
+//
+// Copyright (c) Microsoft Corporation. All rights reserved.
+// Licensed under the MIT License. See License.txt in the project root for license information.
+//
namespace Microsoft.VisualStudio.Text
{
using System;
diff --git a/src/Text/Def/TextLogic/Undo/IMergeTextUndoTransactionPolicy.cs b/src/Text/Def/TextLogic/Undo/IMergeTextUndoTransactionPolicy.cs
index 9a214f3..b3e5647 100644
--- a/src/Text/Def/TextLogic/Undo/IMergeTextUndoTransactionPolicy.cs
+++ b/src/Text/Def/TextLogic/Undo/IMergeTextUndoTransactionPolicy.cs
@@ -1,7 +1,7 @@
-// ****************************************************************************
-// Copyright (c) Microsoft Corporation. All rights reserved.
-// ****************************************************************************
-
+//
+// Copyright (c) Microsoft Corporation. All rights reserved.
+// Licensed under the MIT License. See License.txt in the project root for license information.
+//
namespace Microsoft.VisualStudio.Text.Operations
{
/// <summary>
diff --git a/src/Text/Def/TextLogic/Undo/ITextBufferUndoManager.cs b/src/Text/Def/TextLogic/Undo/ITextBufferUndoManager.cs
index c37fee8..eeefe18 100644
--- a/src/Text/Def/TextLogic/Undo/ITextBufferUndoManager.cs
+++ b/src/Text/Def/TextLogic/Undo/ITextBufferUndoManager.cs
@@ -1,6 +1,7 @@
-// Copyright (c) Microsoft Corporation
-// All rights reserved
-
+//
+// Copyright (c) Microsoft Corporation. All rights reserved.
+// Licensed under the MIT License. See License.txt in the project root for license information.
+//
namespace Microsoft.VisualStudio.Text.Operations
{
/// <summary>
diff --git a/src/Text/Def/TextLogic/Undo/ITextBufferUndoManagerProvider.cs b/src/Text/Def/TextLogic/Undo/ITextBufferUndoManagerProvider.cs
index b12f73b..dbe4427 100644
--- a/src/Text/Def/TextLogic/Undo/ITextBufferUndoManagerProvider.cs
+++ b/src/Text/Def/TextLogic/Undo/ITextBufferUndoManagerProvider.cs
@@ -1,6 +1,7 @@
-// Copyright (c) Microsoft Corporation
-// All rights reserved
-
+//
+// Copyright (c) Microsoft Corporation. All rights reserved.
+// Licensed under the MIT License. See License.txt in the project root for license information.
+//
namespace Microsoft.VisualStudio.Text.Operations
{
using System;
diff --git a/src/Text/Def/TextLogic/Undo/ITextUndoHistory.cs b/src/Text/Def/TextLogic/Undo/ITextUndoHistory.cs
index b98d782..ba35195 100644
--- a/src/Text/Def/TextLogic/Undo/ITextUndoHistory.cs
+++ b/src/Text/Def/TextLogic/Undo/ITextUndoHistory.cs
@@ -1,10 +1,9 @@
-// ****************************************************************************
-// Copyright (c) Microsoft Corporation. All rights reserved.
-// ****************************************************************************
-
+//
+// Copyright (c) Microsoft Corporation. All rights reserved.
+// Licensed under the MIT License. See License.txt in the project root for license information.
+//
using System;
using System.Collections.Generic;
-using System.Collections.ObjectModel;
using Microsoft.VisualStudio.Utilities;
namespace Microsoft.VisualStudio.Text.Operations
diff --git a/src/Text/Def/TextLogic/Undo/ITextUndoHistoryRegistry.cs b/src/Text/Def/TextLogic/Undo/ITextUndoHistoryRegistry.cs
index 0816786..8d3d10a 100644
--- a/src/Text/Def/TextLogic/Undo/ITextUndoHistoryRegistry.cs
+++ b/src/Text/Def/TextLogic/Undo/ITextUndoHistoryRegistry.cs
@@ -1,9 +1,7 @@
-// ****************************************************************************
-// Copyright (c) Microsoft Corporation. All rights reserved.
-// ****************************************************************************
-
-using System.Collections.Generic;
-
+//
+// Copyright (c) Microsoft Corporation. All rights reserved.
+// Licensed under the MIT License. See License.txt in the project root for license information.
+//
namespace Microsoft.VisualStudio.Text.Operations
{
/// <summary>
diff --git a/src/Text/Def/TextLogic/Undo/ITextUndoPrimitive.cs b/src/Text/Def/TextLogic/Undo/ITextUndoPrimitive.cs
index a155fc6..2125407 100644
--- a/src/Text/Def/TextLogic/Undo/ITextUndoPrimitive.cs
+++ b/src/Text/Def/TextLogic/Undo/ITextUndoPrimitive.cs
@@ -1,7 +1,7 @@
-// ****************************************************************************
-// Copyright (c) Microsoft Corporation. All rights reserved.
-// ****************************************************************************
-
+//
+// Copyright (c) Microsoft Corporation. All rights reserved.
+// Licensed under the MIT License. See License.txt in the project root for license information.
+//
namespace Microsoft.VisualStudio.Text.Operations
{
/// <summary>
diff --git a/src/Text/Def/TextLogic/Undo/ITextUndoTransaction.cs b/src/Text/Def/TextLogic/Undo/ITextUndoTransaction.cs
index 8ddb94d..1944701 100644
--- a/src/Text/Def/TextLogic/Undo/ITextUndoTransaction.cs
+++ b/src/Text/Def/TextLogic/Undo/ITextUndoTransaction.cs
@@ -1,9 +1,8 @@
-// ****************************************************************************
-// Copyright (c) Microsoft Corporation. All rights reserved.
-// ****************************************************************************
-
+//
+// Copyright (c) Microsoft Corporation. All rights reserved.
+// Licensed under the MIT License. See License.txt in the project root for license information.
+//
using System;
-using System.Collections.ObjectModel;
using System.Collections.Generic;
namespace Microsoft.VisualStudio.Text.Operations
diff --git a/src/Text/Def/TextLogic/Undo/TextUndoHistoryState.cs b/src/Text/Def/TextLogic/Undo/TextUndoHistoryState.cs
index 25e8a45..3355a75 100644
--- a/src/Text/Def/TextLogic/Undo/TextUndoHistoryState.cs
+++ b/src/Text/Def/TextLogic/Undo/TextUndoHistoryState.cs
@@ -1,11 +1,7 @@
-// ****************************************************************************
-// Copyright (c) Microsoft Corporation. All rights reserved.
-// ****************************************************************************
-
-using System;
-using System.Collections.Generic;
-using System.Text;
-
+//
+// Copyright (c) Microsoft Corporation. All rights reserved.
+// Licensed under the MIT License. See License.txt in the project root for license information.
+//
namespace Microsoft.VisualStudio.Text.Operations
{
/// <summary>
diff --git a/src/Text/Def/TextLogic/Undo/TextUndoRedoEventArgs.cs b/src/Text/Def/TextLogic/Undo/TextUndoRedoEventArgs.cs
index 6f4422c..e83fcf1 100644
--- a/src/Text/Def/TextLogic/Undo/TextUndoRedoEventArgs.cs
+++ b/src/Text/Def/TextLogic/Undo/TextUndoRedoEventArgs.cs
@@ -1,9 +1,8 @@
-// ****************************************************************************
-// Copyright (c) Microsoft Corporation. All rights reserved.
-// ****************************************************************************
-
+//
+// Copyright (c) Microsoft Corporation. All rights reserved.
+// Licensed under the MIT License. See License.txt in the project root for license information.
+//
using System;
-using System.Collections.Generic;
namespace Microsoft.VisualStudio.Text.Operations
{
diff --git a/src/Text/Def/TextLogic/Undo/TextUndoTransactionCompletedEventArgs.cs b/src/Text/Def/TextLogic/Undo/TextUndoTransactionCompletedEventArgs.cs
index edd37b6..81a882d 100644
--- a/src/Text/Def/TextLogic/Undo/TextUndoTransactionCompletedEventArgs.cs
+++ b/src/Text/Def/TextLogic/Undo/TextUndoTransactionCompletedEventArgs.cs
@@ -1,9 +1,8 @@
-// ****************************************************************************
-// Copyright (c) Microsoft Corporation. All rights reserved.
-// ****************************************************************************
-
+//
+// Copyright (c) Microsoft Corporation. All rights reserved.
+// Licensed under the MIT License. See License.txt in the project root for license information.
+//
using System;
-using System.Collections.Generic;
namespace Microsoft.VisualStudio.Text.Operations
{
diff --git a/src/Text/Def/TextLogic/Undo/TextUndoTransactionState.cs b/src/Text/Def/TextLogic/Undo/TextUndoTransactionState.cs
index 7182d7c..f500e00 100644
--- a/src/Text/Def/TextLogic/Undo/TextUndoTransactionState.cs
+++ b/src/Text/Def/TextLogic/Undo/TextUndoTransactionState.cs
@@ -1,7 +1,7 @@
-// ****************************************************************************
-// Copyright (c) Microsoft Corporation. All rights reserved.
-// ****************************************************************************
-
+//
+// Copyright (c) Microsoft Corporation. All rights reserved.
+// Licensed under the MIT License. See License.txt in the project root for license information.
+//
namespace Microsoft.VisualStudio.Text.Operations
{
/// <summary>
diff --git a/src/Text/Def/TextUI/Adornments/ErrorTypeDefinition.cs b/src/Text/Def/TextUI/Adornments/ErrorTypeDefinition.cs
index f6b90f1..46497b0 100644
--- a/src/Text/Def/TextUI/Adornments/ErrorTypeDefinition.cs
+++ b/src/Text/Def/TextUI/Adornments/ErrorTypeDefinition.cs
@@ -1,13 +1,9 @@
-// Copyright (c) Microsoft Corporation
-// All rights reserved
-
+//
+// Copyright (c) Microsoft Corporation. All rights reserved.
+// Licensed under the MIT License. See License.txt in the project root for license information.
+//
namespace Microsoft.VisualStudio.Text.Adornments
{
- using System;
- using System.Collections.Generic;
- using System.Text;
- using System.ComponentModel.Composition;
-
/// <summary>
/// Defines error types.
/// </summary>
diff --git a/src/Text/Def/TextUI/Adornments/IErrorProviderFactory.cs b/src/Text/Def/TextUI/Adornments/IErrorProviderFactory.cs
index 488b8d4..010026f 100644
--- a/src/Text/Def/TextUI/Adornments/IErrorProviderFactory.cs
+++ b/src/Text/Def/TextUI/Adornments/IErrorProviderFactory.cs
@@ -1,11 +1,10 @@
-// Copyright (c) Microsoft Corporation
-// All rights reserved
-
+//
+// Copyright (c) Microsoft Corporation. All rights reserved.
+// Licensed under the MIT License. See License.txt in the project root for license information.
+//
namespace Microsoft.VisualStudio.Text.Adornments
{
using Microsoft.VisualStudio.Text;
- using Microsoft.VisualStudio.Text.Editor;
- using System.ComponentModel.Composition;
using Microsoft.VisualStudio.Text.Tagging;
/// <summary>
diff --git a/src/Text/Def/TextUI/Adornments/ITextMarkerProviderFactory.cs b/src/Text/Def/TextUI/Adornments/ITextMarkerProviderFactory.cs
index 5aa4fef..5049294 100644
--- a/src/Text/Def/TextUI/Adornments/ITextMarkerProviderFactory.cs
+++ b/src/Text/Def/TextUI/Adornments/ITextMarkerProviderFactory.cs
@@ -1,11 +1,10 @@
-// Copyright (c) Microsoft Corporation
-// All rights reserved
-
+//
+// Copyright (c) Microsoft Corporation. All rights reserved.
+// Licensed under the MIT License. See License.txt in the project root for license information.
+//
namespace Microsoft.VisualStudio.Text.Adornments
{
using Microsoft.VisualStudio.Text;
- using Microsoft.VisualStudio.Text.Editor;
- using System.ComponentModel.Composition;
using Microsoft.VisualStudio.Text.Tagging;
/// <summary>
diff --git a/src/Text/Def/TextUI/Adornments/IToolTipProvider.cs b/src/Text/Def/TextUI/Adornments/IToolTipProvider.cs
index 584e9ad..c215ef7 100644
--- a/src/Text/Def/TextUI/Adornments/IToolTipProvider.cs
+++ b/src/Text/Def/TextUI/Adornments/IToolTipProvider.cs
@@ -1,9 +1,9 @@
-// Copyright (c) Microsoft Corporation
-// All rights reserved
-
+//
+// Copyright (c) Microsoft Corporation. All rights reserved.
+// Licensed under the MIT License. See License.txt in the project root for license information.
+//
namespace Microsoft.VisualStudio.Text.Adornments
{
- using System.Collections.Generic;
using Microsoft.VisualStudio.Text;
/// <summary>
diff --git a/src/Text/Def/TextUI/Adornments/IToolTipProviderFactory.cs b/src/Text/Def/TextUI/Adornments/IToolTipProviderFactory.cs
index 6d91cb2..d257230 100644
--- a/src/Text/Def/TextUI/Adornments/IToolTipProviderFactory.cs
+++ b/src/Text/Def/TextUI/Adornments/IToolTipProviderFactory.cs
@@ -1,11 +1,10 @@
-// Copyright (c) Microsoft Corporation
-// All rights reserved
-
+//
+// Copyright (c) Microsoft Corporation. All rights reserved.
+// Licensed under the MIT License. See License.txt in the project root for license information.
+//
namespace Microsoft.VisualStudio.Text.Adornments
{
- using Microsoft.VisualStudio.Text;
using Microsoft.VisualStudio.Text.Editor;
- using System.ComponentModel.Composition;
/// <summary>
/// Gets an existing tooltip adornment provider from the cached list, or creates one if there is not one
diff --git a/src/Text/Def/TextUI/Adornments/PopupStyles.cs b/src/Text/Def/TextUI/Adornments/PopupStyles.cs
index e7db825..99ea19f 100644
--- a/src/Text/Def/TextUI/Adornments/PopupStyles.cs
+++ b/src/Text/Def/TextUI/Adornments/PopupStyles.cs
@@ -1,6 +1,7 @@
-// Copyright (c) Microsoft Corporation
-// All rights reserved
-
+//
+// Copyright (c) Microsoft Corporation. All rights reserved.
+// Licensed under the MIT License. See License.txt in the project root for license information.
+//
namespace Microsoft.VisualStudio.Text.Adornments
{
/// <summary>
diff --git a/src/Text/Def/TextUI/AssemblyInfo.cs b/src/Text/Def/TextUI/AssemblyInfo.cs
index c60ed90..6382b2e 100644
--- a/src/Text/Def/TextUI/AssemblyInfo.cs
+++ b/src/Text/Def/TextUI/AssemblyInfo.cs
@@ -1,6 +1,7 @@
-// Copyright (c) Microsoft Corporation
-// All rights reserved
-
+//
+// Copyright (c) Microsoft Corporation. All rights reserved.
+// Licensed under the MIT License. See License.txt in the project root for license information.
+//
using System.Reflection;
using System.Runtime.ConstrainedExecution;
using System.Runtime.Versioning;
@@ -15,7 +16,7 @@ using System.Security.Permissions;
[assembly: ComponentGuarantees(ComponentGuaranteesOptions.Stable)]
-[assembly: AssemblyConfiguration ("")]
+
[assembly: AssemblyTrademark ("")]
[assembly: AssemblyCulture ("")]
#pragma warning disable 618
diff --git a/src/Text/Def/TextUI/BraceCompletion/BracePairAttribute.cs b/src/Text/Def/TextUI/BraceCompletion/BracePairAttribute.cs
index 71c4c60..89b4577 100644
--- a/src/Text/Def/TextUI/BraceCompletion/BracePairAttribute.cs
+++ b/src/Text/Def/TextUI/BraceCompletion/BracePairAttribute.cs
@@ -1,6 +1,7 @@
-// Copyright (c) Microsoft Corporation
-// All rights reserved
-
+//
+// Copyright (c) Microsoft Corporation. All rights reserved.
+// Licensed under the MIT License. See License.txt in the project root for license information.
+//
namespace Microsoft.VisualStudio.Text.BraceCompletion
{
using System;
diff --git a/src/Text/Def/TextUI/BraceCompletion/IBraceCompletionContext.cs b/src/Text/Def/TextUI/BraceCompletion/IBraceCompletionContext.cs
index 29a53b3..dd386d4 100644
--- a/src/Text/Def/TextUI/BraceCompletion/IBraceCompletionContext.cs
+++ b/src/Text/Def/TextUI/BraceCompletion/IBraceCompletionContext.cs
@@ -1,11 +1,9 @@
-// Copyright (c) Microsoft Corporation
-// All rights reserved
-
+//
+// Copyright (c) Microsoft Corporation. All rights reserved.
+// Licensed under the MIT License. See License.txt in the project root for license information.
+//
namespace Microsoft.VisualStudio.Text.BraceCompletion
{
- using Microsoft.VisualStudio.Text;
- using Microsoft.VisualStudio.Text.Editor;
-
/// <summary>
/// Represents a simple context used to extend the default brace completion behaviors to include
/// language-specific behaviors such as parsing and formatting.
diff --git a/src/Text/Def/TextUI/BraceCompletion/IBraceCompletionContextProvider.cs b/src/Text/Def/TextUI/BraceCompletion/IBraceCompletionContextProvider.cs
index 40636b4..7b8c6c3 100644
--- a/src/Text/Def/TextUI/BraceCompletion/IBraceCompletionContextProvider.cs
+++ b/src/Text/Def/TextUI/BraceCompletion/IBraceCompletionContextProvider.cs
@@ -1,6 +1,7 @@
-// Copyright (c) Microsoft Corporation
-// All rights reserved
-
+//
+// Copyright (c) Microsoft Corporation. All rights reserved.
+// Licensed under the MIT License. See License.txt in the project root for license information.
+//
namespace Microsoft.VisualStudio.Text.BraceCompletion
{
using Microsoft.VisualStudio.Text;
diff --git a/src/Text/Def/TextUI/BraceCompletion/IBraceCompletionDefaultProvider.cs b/src/Text/Def/TextUI/BraceCompletion/IBraceCompletionDefaultProvider.cs
index 16cd782..b3ae291 100644
--- a/src/Text/Def/TextUI/BraceCompletion/IBraceCompletionDefaultProvider.cs
+++ b/src/Text/Def/TextUI/BraceCompletion/IBraceCompletionDefaultProvider.cs
@@ -1,6 +1,7 @@
-// Copyright (c) Microsoft Corporation
-// All rights reserved
-
+//
+// Copyright (c) Microsoft Corporation. All rights reserved.
+// Licensed under the MIT License. See License.txt in the project root for license information.
+//
namespace Microsoft.VisualStudio.Text.BraceCompletion
{
/// <summary>
diff --git a/src/Text/Def/TextUI/BraceCompletion/IBraceCompletionSession.cs b/src/Text/Def/TextUI/BraceCompletion/IBraceCompletionSession.cs
index 0ed1212..4a95933 100644
--- a/src/Text/Def/TextUI/BraceCompletion/IBraceCompletionSession.cs
+++ b/src/Text/Def/TextUI/BraceCompletion/IBraceCompletionSession.cs
@@ -1,6 +1,7 @@
-// Copyright (c) Microsoft Corporation
-// All rights reserved
-
+//
+// Copyright (c) Microsoft Corporation. All rights reserved.
+// Licensed under the MIT License. See License.txt in the project root for license information.
+//
namespace Microsoft.VisualStudio.Text.BraceCompletion
{
using Microsoft.VisualStudio.Text;
diff --git a/src/Text/Def/TextUI/BraceCompletion/IBraceCompletionSessionProvider.cs b/src/Text/Def/TextUI/BraceCompletion/IBraceCompletionSessionProvider.cs
index c73219b..204544f 100644
--- a/src/Text/Def/TextUI/BraceCompletion/IBraceCompletionSessionProvider.cs
+++ b/src/Text/Def/TextUI/BraceCompletion/IBraceCompletionSessionProvider.cs
@@ -1,6 +1,7 @@
-// Copyright (c) Microsoft Corporation
-// All rights reserved
-
+//
+// Copyright (c) Microsoft Corporation. All rights reserved.
+// Licensed under the MIT License. See License.txt in the project root for license information.
+//
namespace Microsoft.VisualStudio.Text.BraceCompletion
{
using Microsoft.VisualStudio.Text;
diff --git a/src/Text/Def/TextUI/Classification/IViewClassifierAggregatorService.cs b/src/Text/Def/TextUI/Classification/IViewClassifierAggregatorService.cs
index 2b2b099..a002a21 100644
--- a/src/Text/Def/TextUI/Classification/IViewClassifierAggregatorService.cs
+++ b/src/Text/Def/TextUI/Classification/IViewClassifierAggregatorService.cs
@@ -1,6 +1,7 @@
-// Copyright (c) Microsoft Corporation
-// All rights reserved
-
+//
+// Copyright (c) Microsoft Corporation. All rights reserved.
+// Licensed under the MIT License. See License.txt in the project root for license information.
+//
namespace Microsoft.VisualStudio.Text.Classification
{
using Microsoft.VisualStudio.Text.Editor;
diff --git a/src/Text/Def/TextUI/DifferenceViewer/DifferenceHighlightMode.cs b/src/Text/Def/TextUI/DifferenceViewer/DifferenceHighlightMode.cs
index be6a0eb..c2ac924 100644
--- a/src/Text/Def/TextUI/DifferenceViewer/DifferenceHighlightMode.cs
+++ b/src/Text/Def/TextUI/DifferenceViewer/DifferenceHighlightMode.cs
@@ -1,6 +1,7 @@
-// Copyright (c) Microsoft Corporation
-// All rights reserved
-
+//
+// Copyright (c) Microsoft Corporation. All rights reserved.
+// Licensed under the MIT License. See License.txt in the project root for license information.
+//
namespace Microsoft.VisualStudio.Text.Differencing
{
/// <summary>
diff --git a/src/Text/Def/TextUI/DifferenceViewer/DifferenceHighlightMode2.cs b/src/Text/Def/TextUI/DifferenceViewer/DifferenceHighlightMode2.cs
index f4c5fea..4fa82c0 100644
--- a/src/Text/Def/TextUI/DifferenceViewer/DifferenceHighlightMode2.cs
+++ b/src/Text/Def/TextUI/DifferenceViewer/DifferenceHighlightMode2.cs
@@ -1,7 +1,8 @@
-// Copyright (c) Microsoft Corporation
-// All rights reserved
-
- namespace Microsoft.VisualStudio.Text.Differencing
+//
+// Copyright (c) Microsoft Corporation. All rights reserved.
+// Licensed under the MIT License. See License.txt in the project root for license information.
+//
+namespace Microsoft.VisualStudio.Text.Differencing
{
/// <summary>
/// The highlight mode for this <see cref="IDifferenceViewer"/>.
diff --git a/src/Text/Def/TextUI/DifferenceViewer/DifferenceViewMode.cs b/src/Text/Def/TextUI/DifferenceViewer/DifferenceViewMode.cs
index 8563678..ac910a9 100644
--- a/src/Text/Def/TextUI/DifferenceViewer/DifferenceViewMode.cs
+++ b/src/Text/Def/TextUI/DifferenceViewer/DifferenceViewMode.cs
@@ -1,3 +1,7 @@
+//
+// Copyright (c) Microsoft Corporation. All rights reserved.
+// Licensed under the MIT License. See License.txt in the project root for license information.
+//
namespace Microsoft.VisualStudio.Text.Differencing
{
/// <summary>
diff --git a/src/Text/Def/TextUI/DifferenceViewer/DifferenceViewType.cs b/src/Text/Def/TextUI/DifferenceViewer/DifferenceViewType.cs
index e0144d9..7cf8723 100644
--- a/src/Text/Def/TextUI/DifferenceViewer/DifferenceViewType.cs
+++ b/src/Text/Def/TextUI/DifferenceViewer/DifferenceViewType.cs
@@ -1,3 +1,7 @@
+//
+// Copyright (c) Microsoft Corporation. All rights reserved.
+// Licensed under the MIT License. See License.txt in the project root for license information.
+//
namespace Microsoft.VisualStudio.Text.Differencing
{
/// <summary>
diff --git a/src/Text/Def/TextUI/DifferenceViewer/DifferenceViewerOptions.cs b/src/Text/Def/TextUI/DifferenceViewer/DifferenceViewerOptions.cs
index d373359..290f256 100644
--- a/src/Text/Def/TextUI/DifferenceViewer/DifferenceViewerOptions.cs
+++ b/src/Text/Def/TextUI/DifferenceViewer/DifferenceViewerOptions.cs
@@ -1,4 +1,8 @@
-using Microsoft.VisualStudio.Text.Editor;
+//
+// Copyright (c) Microsoft Corporation. All rights reserved.
+// Licensed under the MIT License. See License.txt in the project root for license information.
+//
+using Microsoft.VisualStudio.Text.Editor;
using Microsoft.VisualStudio.Utilities;
namespace Microsoft.VisualStudio.Text.Differencing
diff --git a/src/Text/Def/TextUI/DifferenceViewer/DifferenceViewerRoles.cs b/src/Text/Def/TextUI/DifferenceViewer/DifferenceViewerRoles.cs
index 65edcb9..77b7fa8 100644
--- a/src/Text/Def/TextUI/DifferenceViewer/DifferenceViewerRoles.cs
+++ b/src/Text/Def/TextUI/DifferenceViewer/DifferenceViewerRoles.cs
@@ -1,4 +1,8 @@
-namespace Microsoft.VisualStudio.Text.Differencing
+//
+// Copyright (c) Microsoft Corporation. All rights reserved.
+// Licensed under the MIT License. See License.txt in the project root for license information.
+//
+namespace Microsoft.VisualStudio.Text.Differencing
{
/// <summary>
/// The text view roles associated with an <see cref="IDifferenceViewer"/>.
diff --git a/src/Text/Def/TextUI/DifferenceViewer/IDifferenceViewer.cs b/src/Text/Def/TextUI/DifferenceViewer/IDifferenceViewer.cs
index a876219..bf52f06 100644
--- a/src/Text/Def/TextUI/DifferenceViewer/IDifferenceViewer.cs
+++ b/src/Text/Def/TextUI/DifferenceViewer/IDifferenceViewer.cs
@@ -1,4 +1,8 @@
-using System;
+//
+// Copyright (c) Microsoft Corporation. All rights reserved.
+// Licensed under the MIT License. See License.txt in the project root for license information.
+//
+using System;
using Microsoft.VisualStudio.Text.Editor;
using Microsoft.VisualStudio.Utilities;
diff --git a/src/Text/Def/TextUI/Editor/CaretPosition.cs b/src/Text/Def/TextUI/Editor/CaretPosition.cs
index 502b079..8b51e56 100644
--- a/src/Text/Def/TextUI/Editor/CaretPosition.cs
+++ b/src/Text/Def/TextUI/Editor/CaretPosition.cs
@@ -1,11 +1,10 @@
-// Copyright (c) Microsoft Corporation
-// All rights reserved
-
+//
+// Copyright (c) Microsoft Corporation. All rights reserved.
+// Licensed under the MIT License. See License.txt in the project root for license information.
+//
namespace Microsoft.VisualStudio.Text.Editor
{
using System;
- using System.Collections.Generic;
- using System.Text;
/// <summary>
/// Represents the position of a caret in an <see cref="ITextView"/>.
diff --git a/src/Text/Def/TextUI/Editor/CaretPositionChangedEventArgs.cs b/src/Text/Def/TextUI/Editor/CaretPositionChangedEventArgs.cs
index c3318ee..4c2eb91 100644
--- a/src/Text/Def/TextUI/Editor/CaretPositionChangedEventArgs.cs
+++ b/src/Text/Def/TextUI/Editor/CaretPositionChangedEventArgs.cs
@@ -1,12 +1,11 @@
-// Copyright (c) Microsoft Corporation
-// All rights reserved
-
+//
+// Copyright (c) Microsoft Corporation. All rights reserved.
+// Licensed under the MIT License. See License.txt in the project root for license information.
+//
namespace Microsoft.VisualStudio.Text.Editor
{
using System;
- using Microsoft.VisualStudio.Text;
-
/// <summary>
/// Provides information for the <see cref="ITextCaret.PositionChanged"/> event.
/// </summary>
diff --git a/src/Text/Def/TextUI/Editor/IScrollMap.cs b/src/Text/Def/TextUI/Editor/IScrollMap.cs
index 9bf11e9..2172ec3 100644
--- a/src/Text/Def/TextUI/Editor/IScrollMap.cs
+++ b/src/Text/Def/TextUI/Editor/IScrollMap.cs
@@ -1,6 +1,7 @@
-// Copyright (c) Microsoft Corporation
-// All rights reserved
-
+//
+// Copyright (c) Microsoft Corporation. All rights reserved.
+// Licensed under the MIT License. See License.txt in the project root for license information.
+//
namespace Microsoft.VisualStudio.Text.Editor
{
using System;
diff --git a/src/Text/Def/TextUI/Editor/IScrollMapFactoryService.cs b/src/Text/Def/TextUI/Editor/IScrollMapFactoryService.cs
index 7cf6929..f14e9a4 100644
--- a/src/Text/Def/TextUI/Editor/IScrollMapFactoryService.cs
+++ b/src/Text/Def/TextUI/Editor/IScrollMapFactoryService.cs
@@ -1,11 +1,9 @@
-// Copyright (c) Microsoft Corporation
-// All rights reserved
-
+//
+// Copyright (c) Microsoft Corporation. All rights reserved.
+// Licensed under the MIT License. See License.txt in the project root for license information.
+//
namespace Microsoft.VisualStudio.Text.Editor
{
- using System;
- using Microsoft.VisualStudio.Text;
- using System.ComponentModel.Composition;
/// <summary>
/// Creates or reuses an <see cref="IScrollMap"/> for an <see cref="ITextView"/>.
/// </summary>
diff --git a/src/Text/Def/TextUI/Editor/ISmartIndent.cs b/src/Text/Def/TextUI/Editor/ISmartIndent.cs
index 55f5d0b..03fe190 100644
--- a/src/Text/Def/TextUI/Editor/ISmartIndent.cs
+++ b/src/Text/Def/TextUI/Editor/ISmartIndent.cs
@@ -1,6 +1,7 @@
-// Copyright (c) Microsoft Corporation
-// All rights reserved
-
+//
+// Copyright (c) Microsoft Corporation. All rights reserved.
+// Licensed under the MIT License. See License.txt in the project root for license information.
+//
namespace Microsoft.VisualStudio.Text.Editor
{
using System;
diff --git a/src/Text/Def/TextUI/Editor/ISmartIndentProvider.cs b/src/Text/Def/TextUI/Editor/ISmartIndentProvider.cs
index 8550562..49bb164 100644
--- a/src/Text/Def/TextUI/Editor/ISmartIndentProvider.cs
+++ b/src/Text/Def/TextUI/Editor/ISmartIndentProvider.cs
@@ -1,6 +1,7 @@
-// Copyright (c) Microsoft Corporation
-// All rights reserved
-
+//
+// Copyright (c) Microsoft Corporation. All rights reserved.
+// Licensed under the MIT License. See License.txt in the project root for license information.
+//
namespace Microsoft.VisualStudio.Text.Editor
{
using System;
diff --git a/src/Text/Def/TextUI/Editor/ISmartIndentationService.cs b/src/Text/Def/TextUI/Editor/ISmartIndentationService.cs
index 4f8558f..aa7bdb1 100644
--- a/src/Text/Def/TextUI/Editor/ISmartIndentationService.cs
+++ b/src/Text/Def/TextUI/Editor/ISmartIndentationService.cs
@@ -1,6 +1,7 @@
-// Copyright (c) Microsoft Corporation
-// All rights reserved
-
+//
+// Copyright (c) Microsoft Corporation. All rights reserved.
+// Licensed under the MIT License. See License.txt in the project root for license information.
+//
namespace Microsoft.VisualStudio.Text.Editor
{
/// <summary>
diff --git a/src/Text/Def/TextUI/Editor/ITextCaret.cs b/src/Text/Def/TextUI/Editor/ITextCaret.cs
index ca6b3bc..7c35f13 100644
--- a/src/Text/Def/TextUI/Editor/ITextCaret.cs
+++ b/src/Text/Def/TextUI/Editor/ITextCaret.cs
@@ -1,6 +1,7 @@
-// Copyright (c) Microsoft Corporation
-// All rights reserved
-
+//
+// Copyright (c) Microsoft Corporation. All rights reserved.
+// Licensed under the MIT License. See License.txt in the project root for license information.
+//
namespace Microsoft.VisualStudio.Text.Editor
{
using System;
diff --git a/src/Text/Def/TextUI/Editor/ITextSelection.cs b/src/Text/Def/TextUI/Editor/ITextSelection.cs
index f496334..257179c 100644
--- a/src/Text/Def/TextUI/Editor/ITextSelection.cs
+++ b/src/Text/Def/TextUI/Editor/ITextSelection.cs
@@ -1,6 +1,7 @@
-// Copyright (c) Microsoft Corporation
-// All rights reserved
-
+//
+// Copyright (c) Microsoft Corporation. All rights reserved.
+// Licensed under the MIT License. See License.txt in the project root for license information.
+//
namespace Microsoft.VisualStudio.Text.Editor
{
using System;
diff --git a/src/Text/Def/TextUI/Editor/ITextView.cs b/src/Text/Def/TextUI/Editor/ITextView.cs
index f37e20c..b11d1b5 100644
--- a/src/Text/Def/TextUI/Editor/ITextView.cs
+++ b/src/Text/Def/TextUI/Editor/ITextView.cs
@@ -1,10 +1,10 @@
-// Copyright (c) Microsoft Corporation
-// All rights reserved
-
+//
+// Copyright (c) Microsoft Corporation. All rights reserved.
+// Licensed under the MIT License. See License.txt in the project root for license information.
+//
namespace Microsoft.VisualStudio.Text.Editor
{
using System;
- using System.Collections.Generic;
using Microsoft.VisualStudio.Text;
using Microsoft.VisualStudio.Text.Formatting;
using Microsoft.VisualStudio.Text.Projection;
diff --git a/src/Text/Def/TextUI/Editor/ITextViewLineCollection.cs b/src/Text/Def/TextUI/Editor/ITextViewLineCollection.cs
index c6998a3..5c9a3f1 100644
--- a/src/Text/Def/TextUI/Editor/ITextViewLineCollection.cs
+++ b/src/Text/Def/TextUI/Editor/ITextViewLineCollection.cs
@@ -1,6 +1,7 @@
-// Copyright (c) Microsoft Corporation
-// All rights reserved
-
+//
+// Copyright (c) Microsoft Corporation. All rights reserved.
+// Licensed under the MIT License. See License.txt in the project root for license information.
+//
namespace Microsoft.VisualStudio.Text.Editor
{
using System;
diff --git a/src/Text/Def/TextUI/Editor/ITextViewMargin.cs b/src/Text/Def/TextUI/Editor/ITextViewMargin.cs
index 342a605..096fdc2 100644
--- a/src/Text/Def/TextUI/Editor/ITextViewMargin.cs
+++ b/src/Text/Def/TextUI/Editor/ITextViewMargin.cs
@@ -1,11 +1,10 @@
-// Copyright (c) Microsoft Corporation
-// All rights reserved
-
+//
+// Copyright (c) Microsoft Corporation. All rights reserved.
+// Licensed under the MIT License. See License.txt in the project root for license information.
+//
namespace Microsoft.VisualStudio.Text.Editor
{
using System;
- using System.Collections.Generic;
- using System.Text;
/// <summary>
/// Represents margins that are attached to an edge of an <see cref="ITextView"/>.
diff --git a/src/Text/Def/TextUI/Editor/ITextViewModel.cs b/src/Text/Def/TextUI/Editor/ITextViewModel.cs
index c709c23..27b0eb1 100644
--- a/src/Text/Def/TextUI/Editor/ITextViewModel.cs
+++ b/src/Text/Def/TextUI/Editor/ITextViewModel.cs
@@ -1,6 +1,7 @@
-// Copyright (c) Microsoft Corporation
-// All rights reserved
-
+//
+// Copyright (c) Microsoft Corporation. All rights reserved.
+// Licensed under the MIT License. See License.txt in the project root for license information.
+//
namespace Microsoft.VisualStudio.Text.Editor
{
using System;
diff --git a/src/Text/Def/TextUI/Editor/ITextViewModelProvider.cs b/src/Text/Def/TextUI/Editor/ITextViewModelProvider.cs
index c779e58..a37178f 100644
--- a/src/Text/Def/TextUI/Editor/ITextViewModelProvider.cs
+++ b/src/Text/Def/TextUI/Editor/ITextViewModelProvider.cs
@@ -1,6 +1,7 @@
-// Copyright (c) Microsoft Corporation
-// All rights reserved
-
+//
+// Copyright (c) Microsoft Corporation. All rights reserved.
+// Licensed under the MIT License. See License.txt in the project root for license information.
+//
namespace Microsoft.VisualStudio.Text.Editor
{
/// <summary>
diff --git a/src/Text/Def/TextUI/Editor/ITextViewRoleSet.cs b/src/Text/Def/TextUI/Editor/ITextViewRoleSet.cs
index 71259a0..b3fba65 100644
--- a/src/Text/Def/TextUI/Editor/ITextViewRoleSet.cs
+++ b/src/Text/Def/TextUI/Editor/ITextViewRoleSet.cs
@@ -1,6 +1,7 @@
-// Copyright (c) Microsoft Corporation
-// All rights reserved
-
+//
+// Copyright (c) Microsoft Corporation. All rights reserved.
+// Licensed under the MIT License. See License.txt in the project root for license information.
+//
namespace Microsoft.VisualStudio.Text.Editor
{
using System;
diff --git a/src/Text/Def/TextUI/Editor/IVerticalFractionMap.cs b/src/Text/Def/TextUI/Editor/IVerticalFractionMap.cs
index 2472637..5158996 100644
--- a/src/Text/Def/TextUI/Editor/IVerticalFractionMap.cs
+++ b/src/Text/Def/TextUI/Editor/IVerticalFractionMap.cs
@@ -1,6 +1,7 @@
-// Copyright (c) Microsoft Corporation
-// All rights reserved
-
+//
+// Copyright (c) Microsoft Corporation. All rights reserved.
+// Licensed under the MIT License. See License.txt in the project root for license information.
+//
namespace Microsoft.VisualStudio.Text.Editor
{
using System;
diff --git a/src/Text/Def/TextUI/Editor/IVerticalScrollBar.cs b/src/Text/Def/TextUI/Editor/IVerticalScrollBar.cs
index 0933f6f..c8b8e13 100644
--- a/src/Text/Def/TextUI/Editor/IVerticalScrollBar.cs
+++ b/src/Text/Def/TextUI/Editor/IVerticalScrollBar.cs
@@ -1,6 +1,7 @@
-// Copyright (c) Microsoft Corporation
-// All rights reserved
-
+//
+// Copyright (c) Microsoft Corporation. All rights reserved.
+// Licensed under the MIT License. See License.txt in the project root for license information.
+//
namespace Microsoft.VisualStudio.Text.Editor
{
using System;
diff --git a/src/Text/Def/TextUI/Editor/IViewScroller.cs b/src/Text/Def/TextUI/Editor/IViewScroller.cs
index 6fda405..24f770c 100644
--- a/src/Text/Def/TextUI/Editor/IViewScroller.cs
+++ b/src/Text/Def/TextUI/Editor/IViewScroller.cs
@@ -1,10 +1,10 @@
-// Copyright (c) Microsoft Corporation
-// All rights reserved
-
+//
+// Copyright (c) Microsoft Corporation. All rights reserved.
+// Licensed under the MIT License. See License.txt in the project root for license information.
+//
namespace Microsoft.VisualStudio.Text.Editor
{
using System;
- using System.Collections.Generic;
using Microsoft.VisualStudio.Text;
diff --git a/src/Text/Def/TextUI/Editor/MarginContainerAttribute.cs b/src/Text/Def/TextUI/Editor/MarginContainerAttribute.cs
index 5f7aa7a..815b804 100644
--- a/src/Text/Def/TextUI/Editor/MarginContainerAttribute.cs
+++ b/src/Text/Def/TextUI/Editor/MarginContainerAttribute.cs
@@ -1,6 +1,7 @@
-// ****************************************************************************
-// Copyright (C) Microsoft Corporation. All Rights Reserved.
-// ****************************************************************************
+//
+// Copyright (c) Microsoft Corporation. All rights reserved.
+// Licensed under the MIT License. See License.txt in the project root for license information.
+//
using System;
using System.ComponentModel.Composition;
using Microsoft.VisualStudio.Utilities;
diff --git a/src/Text/Def/TextUI/Editor/MouseHoverAttribute.cs b/src/Text/Def/TextUI/Editor/MouseHoverAttribute.cs
index 408d4af..97e7589 100644
--- a/src/Text/Def/TextUI/Editor/MouseHoverAttribute.cs
+++ b/src/Text/Def/TextUI/Editor/MouseHoverAttribute.cs
@@ -1,6 +1,8 @@
-using System;
-using System.Collections.Generic;
-using System.Text;
+//
+// Copyright (c) Microsoft Corporation. All rights reserved.
+// Licensed under the MIT License. See License.txt in the project root for license information.
+//
+using System;
namespace Microsoft.VisualStudio.Text.Editor
{
diff --git a/src/Text/Def/TextUI/Editor/MouseHoverEventArgs.cs b/src/Text/Def/TextUI/Editor/MouseHoverEventArgs.cs
index 16202bc..3a1b1da 100644
--- a/src/Text/Def/TextUI/Editor/MouseHoverEventArgs.cs
+++ b/src/Text/Def/TextUI/Editor/MouseHoverEventArgs.cs
@@ -1,6 +1,7 @@
-// Copyright (c) Microsoft Corporation
-// All rights reserved
-
+//
+// Copyright (c) Microsoft Corporation. All rights reserved.
+// Licensed under the MIT License. See License.txt in the project root for license information.
+//
#pragma warning disable 1634, 1691
namespace Microsoft.VisualStudio.Text.Editor
diff --git a/src/Text/Def/TextUI/Editor/PredefinedMarginNames.cs b/src/Text/Def/TextUI/Editor/PredefinedMarginNames.cs
index 18e9229..ae93b02 100644
--- a/src/Text/Def/TextUI/Editor/PredefinedMarginNames.cs
+++ b/src/Text/Def/TextUI/Editor/PredefinedMarginNames.cs
@@ -1,5 +1,7 @@
-// Copyright (C) Microsoft Corporation. All Rights Reserved.
-
+//
+// Copyright (c) Microsoft Corporation. All rights reserved.
+// Licensed under the MIT License. See License.txt in the project root for license information.
+//
namespace Microsoft.VisualStudio.Text.Editor
{
/// <summary>
diff --git a/src/Text/Def/TextUI/Editor/PredefinedTextViewRoles.cs b/src/Text/Def/TextUI/Editor/PredefinedTextViewRoles.cs
index ceb2609..5167114 100644
--- a/src/Text/Def/TextUI/Editor/PredefinedTextViewRoles.cs
+++ b/src/Text/Def/TextUI/Editor/PredefinedTextViewRoles.cs
@@ -1,10 +1,9 @@
-// Copyright (c) Microsoft Corporation
-// All rights reserved
-
+//
+// Copyright (c) Microsoft Corporation. All rights reserved.
+// Licensed under the MIT License. See License.txt in the project root for license information.
+//
namespace Microsoft.VisualStudio.Text.Editor
{
- using System.Collections.Generic;
-
/// <summary>
/// Specifies the names of the pre-defined text view roles supplied by Visual Studio.
/// </summary>
diff --git a/src/Text/Def/TextUI/Editor/ReplacesAttribute.cs b/src/Text/Def/TextUI/Editor/ReplacesAttribute.cs
index 233c00d..7b9b738 100644
--- a/src/Text/Def/TextUI/Editor/ReplacesAttribute.cs
+++ b/src/Text/Def/TextUI/Editor/ReplacesAttribute.cs
@@ -1,8 +1,8 @@
-// ****************************************************************************
-// Copyright (C) Microsoft Corporation. All Rights Reserved.
-// ****************************************************************************
+//
+// Copyright (c) Microsoft Corporation. All rights reserved.
+// Licensed under the MIT License. See License.txt in the project root for license information.
+//
using System;
-using System.ComponentModel.Composition;
using Microsoft.VisualStudio.Utilities;
namespace Microsoft.VisualStudio.Text.Editor
diff --git a/src/Text/Def/TextUI/Editor/ScrollDirection.cs b/src/Text/Def/TextUI/Editor/ScrollDirection.cs
index 348be95..d2ddd14 100644
--- a/src/Text/Def/TextUI/Editor/ScrollDirection.cs
+++ b/src/Text/Def/TextUI/Editor/ScrollDirection.cs
@@ -1,6 +1,7 @@
-// Copyright (c) Microsoft Corporation
-// All rights reserved
-
+//
+// Copyright (c) Microsoft Corporation. All rights reserved.
+// Licensed under the MIT License. See License.txt in the project root for license information.
+//
namespace Microsoft.VisualStudio.Text.Editor
{
/// <summary>
diff --git a/src/Text/Def/TextUI/Editor/TextSelectionMode.cs b/src/Text/Def/TextUI/Editor/TextSelectionMode.cs
index 4d759a9..9d7f32b 100644
--- a/src/Text/Def/TextUI/Editor/TextSelectionMode.cs
+++ b/src/Text/Def/TextUI/Editor/TextSelectionMode.cs
@@ -1,7 +1,7 @@
-using System;
-using System.Collections.Generic;
-using System.Text;
-
+//
+// Copyright (c) Microsoft Corporation. All rights reserved.
+// Licensed under the MIT License. See License.txt in the project root for license information.
+//
namespace Microsoft.VisualStudio.Text.Editor
{
/// <summary>
diff --git a/src/Text/Def/TextUI/Editor/TextViewCreatedEventArgs.cs b/src/Text/Def/TextUI/Editor/TextViewCreatedEventArgs.cs
index 5cd5596..21527c3 100644
--- a/src/Text/Def/TextUI/Editor/TextViewCreatedEventArgs.cs
+++ b/src/Text/Def/TextUI/Editor/TextViewCreatedEventArgs.cs
@@ -1,6 +1,7 @@
-// Copyright (c) Microsoft Corporation
-// All rights reserved
-
+//
+// Copyright (c) Microsoft Corporation. All rights reserved.
+// Licensed under the MIT License. See License.txt in the project root for license information.
+//
namespace Microsoft.VisualStudio.Text.Editor
{
using System;
diff --git a/src/Text/Def/TextUI/Editor/TextViewLayoutChangedEventArgs.cs b/src/Text/Def/TextUI/Editor/TextViewLayoutChangedEventArgs.cs
index aff82f3..e26769c 100644
--- a/src/Text/Def/TextUI/Editor/TextViewLayoutChangedEventArgs.cs
+++ b/src/Text/Def/TextUI/Editor/TextViewLayoutChangedEventArgs.cs
@@ -1,6 +1,7 @@
-// Copyright (c) Microsoft Corporation
-// All rights reserved
-
+//
+// Copyright (c) Microsoft Corporation. All rights reserved.
+// Licensed under the MIT License. See License.txt in the project root for license information.
+//
namespace Microsoft.VisualStudio.Text.Editor
{
using System;
diff --git a/src/Text/Def/TextUI/Editor/TextViewRoleAttribute.cs b/src/Text/Def/TextUI/Editor/TextViewRoleAttribute.cs
index 726a542..e17c675 100644
--- a/src/Text/Def/TextUI/Editor/TextViewRoleAttribute.cs
+++ b/src/Text/Def/TextUI/Editor/TextViewRoleAttribute.cs
@@ -1,3 +1,7 @@
+//
+// Copyright (c) Microsoft Corporation. All rights reserved.
+// Licensed under the MIT License. See License.txt in the project root for license information.
+//
namespace Microsoft.VisualStudio.Text.Editor
{
using System;
diff --git a/src/Text/Def/TextUI/Editor/ViewRelativePosition.cs b/src/Text/Def/TextUI/Editor/ViewRelativePosition.cs
index 9f42203..41f2861 100644
--- a/src/Text/Def/TextUI/Editor/ViewRelativePosition.cs
+++ b/src/Text/Def/TextUI/Editor/ViewRelativePosition.cs
@@ -1,6 +1,7 @@
-// Copyright (c) Microsoft Corporation
-// All rights reserved
-
+//
+// Copyright (c) Microsoft Corporation. All rights reserved.
+// Licensed under the MIT License. See License.txt in the project root for license information.
+//
namespace Microsoft.VisualStudio.Text.Editor
{
/// <summary>
diff --git a/src/Text/Def/TextUI/Editor/ViewState.cs b/src/Text/Def/TextUI/Editor/ViewState.cs
index 62bca13..30d677c 100644
--- a/src/Text/Def/TextUI/Editor/ViewState.cs
+++ b/src/Text/Def/TextUI/Editor/ViewState.cs
@@ -1,13 +1,11 @@
-// Copyright (c) Microsoft Corporation
-// All rights reserved
-
+//
+// Copyright (c) Microsoft Corporation. All rights reserved.
+// Licensed under the MIT License. See License.txt in the project root for license information.
+//
namespace Microsoft.VisualStudio.Text.Editor
{
using System;
using Microsoft.VisualStudio.Text;
- using System.Collections.ObjectModel;
- using System.Collections.Generic;
- using Microsoft.VisualStudio.Text.Formatting;
/// <summary>
/// View state at a particular point in time.
diff --git a/src/Text/Def/TextUI/Editor/WordWrapStyles.cs b/src/Text/Def/TextUI/Editor/WordWrapStyles.cs
index d52fb02..e986336 100644
--- a/src/Text/Def/TextUI/Editor/WordWrapStyles.cs
+++ b/src/Text/Def/TextUI/Editor/WordWrapStyles.cs
@@ -1,6 +1,7 @@
-// Copyright (c) Microsoft Corporation
-// All rights reserved
-
+//
+// Copyright (c) Microsoft Corporation. All rights reserved.
+// Licensed under the MIT License. See License.txt in the project root for license information.
+//
namespace Microsoft.VisualStudio.Text.Editor
{
/// <summary>
diff --git a/src/Text/Def/TextUI/Editor/ZoomConstants.cs b/src/Text/Def/TextUI/Editor/ZoomConstants.cs
index 0b7d8cd..d3963e1 100644
--- a/src/Text/Def/TextUI/Editor/ZoomConstants.cs
+++ b/src/Text/Def/TextUI/Editor/ZoomConstants.cs
@@ -1,7 +1,7 @@
-using System;
-using System.Collections.Generic;
-using System.Text;
-
+//
+// Copyright (c) Microsoft Corporation. All rights reserved.
+// Licensed under the MIT License. See License.txt in the project root for license information.
+//
namespace Microsoft.VisualStudio.Text.Editor
{
/// <summary>
diff --git a/src/Text/Def/TextUI/EditorOptions/ViewOptionDefinition.cs b/src/Text/Def/TextUI/EditorOptions/ViewOptionDefinition.cs
index 522e517..0a2fcb1 100644
--- a/src/Text/Def/TextUI/EditorOptions/ViewOptionDefinition.cs
+++ b/src/Text/Def/TextUI/EditorOptions/ViewOptionDefinition.cs
@@ -1,6 +1,7 @@
-using System;
-using System.Collections.Generic;
-
+//
+// Copyright (c) Microsoft Corporation. All rights reserved.
+// Licensed under the MIT License. See License.txt in the project root for license information.
+//
using Microsoft.VisualStudio.Utilities;
namespace Microsoft.VisualStudio.Text.Editor
diff --git a/src/Text/Def/TextUI/Find/IIncrementalSearch.cs b/src/Text/Def/TextUI/Find/IIncrementalSearch.cs
index b89f1d4..bb6e4ae 100644
--- a/src/Text/Def/TextUI/Find/IIncrementalSearch.cs
+++ b/src/Text/Def/TextUI/Find/IIncrementalSearch.cs
@@ -1,6 +1,7 @@
-// Copyright (c) Microsoft Corporation
-// All rights reserved
-
+//
+// Copyright (c) Microsoft Corporation. All rights reserved.
+// Licensed under the MIT License. See License.txt in the project root for license information.
+//
namespace Microsoft.VisualStudio.Text.IncrementalSearch
{
diff --git a/src/Text/Def/TextUI/Find/IIncrementalSearchFactoryService.cs b/src/Text/Def/TextUI/Find/IIncrementalSearchFactoryService.cs
index 6d39dbb..35b9137 100644
--- a/src/Text/Def/TextUI/Find/IIncrementalSearchFactoryService.cs
+++ b/src/Text/Def/TextUI/Find/IIncrementalSearchFactoryService.cs
@@ -1,11 +1,10 @@
-// Copyright (c) Microsoft Corporation
-// All rights reserved
-
+//
+// Copyright (c) Microsoft Corporation. All rights reserved.
+// Licensed under the MIT License. See License.txt in the project root for license information.
+//
namespace Microsoft.VisualStudio.Text.IncrementalSearch
{
- using System.ComponentModel.Composition;
-
using Microsoft.VisualStudio.Text.Editor;
/// <summary>
diff --git a/src/Text/Def/TextUI/Find/IncrementalSearchDirection.cs b/src/Text/Def/TextUI/Find/IncrementalSearchDirection.cs
index cf9816a..d11499e 100644
--- a/src/Text/Def/TextUI/Find/IncrementalSearchDirection.cs
+++ b/src/Text/Def/TextUI/Find/IncrementalSearchDirection.cs
@@ -1,6 +1,7 @@
-// Copyright (c) Microsoft Corporation
-// All rights reserved
-
+//
+// Copyright (c) Microsoft Corporation. All rights reserved.
+// Licensed under the MIT License. See License.txt in the project root for license information.
+//
namespace Microsoft.VisualStudio.Text.IncrementalSearch
{
/// <summary>
diff --git a/src/Text/Def/TextUI/Find/IncrementalSearchResult.cs b/src/Text/Def/TextUI/Find/IncrementalSearchResult.cs
index fe43341..d027b12 100644
--- a/src/Text/Def/TextUI/Find/IncrementalSearchResult.cs
+++ b/src/Text/Def/TextUI/Find/IncrementalSearchResult.cs
@@ -1,6 +1,7 @@
-// Copyright (c) Microsoft Corporation
-// All rights reserved
-
+//
+// Copyright (c) Microsoft Corporation. All rights reserved.
+// Licensed under the MIT License. See License.txt in the project root for license information.
+//
namespace Microsoft.VisualStudio.Text.IncrementalSearch
{
diff --git a/src/Text/Def/TextUI/Formatting/IAdornmentElement.cs b/src/Text/Def/TextUI/Formatting/IAdornmentElement.cs
index 34f5563..9c21272 100644
--- a/src/Text/Def/TextUI/Formatting/IAdornmentElement.cs
+++ b/src/Text/Def/TextUI/Formatting/IAdornmentElement.cs
@@ -1,5 +1,7 @@
-// Copyright (c) Microsoft Corporation
-// All rights reserved
+//
+// Copyright (c) Microsoft Corporation. All rights reserved.
+// Licensed under the MIT License. See License.txt in the project root for license information.
+//
namespace Microsoft.VisualStudio.Text.Formatting
{
/// <summary>
diff --git a/src/Text/Def/TextUI/Formatting/ISequenceElement.cs b/src/Text/Def/TextUI/Formatting/ISequenceElement.cs
index 025d8e6..b071d87 100644
--- a/src/Text/Def/TextUI/Formatting/ISequenceElement.cs
+++ b/src/Text/Def/TextUI/Formatting/ISequenceElement.cs
@@ -1,6 +1,7 @@
-// Copyright (c) Microsoft Corporation
-// All rights reserved
-
+//
+// Copyright (c) Microsoft Corporation. All rights reserved.
+// Licensed under the MIT License. See License.txt in the project root for license information.
+//
namespace Microsoft.VisualStudio.Text.Formatting
{
/// <summary>
diff --git a/src/Text/Def/TextUI/Formatting/ITextAndAdornmentCollection.cs b/src/Text/Def/TextUI/Formatting/ITextAndAdornmentCollection.cs
index a182bba..e4ab144 100644
--- a/src/Text/Def/TextUI/Formatting/ITextAndAdornmentCollection.cs
+++ b/src/Text/Def/TextUI/Formatting/ITextAndAdornmentCollection.cs
@@ -1,6 +1,7 @@
-// Copyright (c) Microsoft Corporation
-// All rights reserved
-
+//
+// Copyright (c) Microsoft Corporation. All rights reserved.
+// Licensed under the MIT License. See License.txt in the project root for license information.
+//
namespace Microsoft.VisualStudio.Text.Formatting
{
using System.Collections.Generic;
diff --git a/src/Text/Def/TextUI/Formatting/ITextAndAdornmentSequencer.cs b/src/Text/Def/TextUI/Formatting/ITextAndAdornmentSequencer.cs
index 5e9477e..1a399b1 100644
--- a/src/Text/Def/TextUI/Formatting/ITextAndAdornmentSequencer.cs
+++ b/src/Text/Def/TextUI/Formatting/ITextAndAdornmentSequencer.cs
@@ -1,6 +1,7 @@
-// Copyright (c) Microsoft Corporation
-// All rights reserved
-
+//
+// Copyright (c) Microsoft Corporation. All rights reserved.
+// Licensed under the MIT License. See License.txt in the project root for license information.
+//
namespace Microsoft.VisualStudio.Text.Formatting
{
using Microsoft.VisualStudio.Text.Projection;
diff --git a/src/Text/Def/TextUI/Formatting/ITextAndAdornmentSequencerFactoryService.cs b/src/Text/Def/TextUI/Formatting/ITextAndAdornmentSequencerFactoryService.cs
index 16318f5..e66b929 100644
--- a/src/Text/Def/TextUI/Formatting/ITextAndAdornmentSequencerFactoryService.cs
+++ b/src/Text/Def/TextUI/Formatting/ITextAndAdornmentSequencerFactoryService.cs
@@ -1,6 +1,7 @@
-// Copyright (c) Microsoft Corporation
-// All rights reserved
-
+//
+// Copyright (c) Microsoft Corporation. All rights reserved.
+// Licensed under the MIT License. See License.txt in the project root for license information.
+//
namespace Microsoft.VisualStudio.Text.Formatting
{
using Microsoft.VisualStudio.Text.Editor;
diff --git a/src/Text/Def/TextUI/Formatting/ITextViewLine.cs b/src/Text/Def/TextUI/Formatting/ITextViewLine.cs
index b076c2a..0468f22 100644
--- a/src/Text/Def/TextUI/Formatting/ITextViewLine.cs
+++ b/src/Text/Def/TextUI/Formatting/ITextViewLine.cs
@@ -1,6 +1,7 @@
-// Copyright (c) Microsoft Corporation
-// All rights reserved
-
+//
+// Copyright (c) Microsoft Corporation. All rights reserved.
+// Licensed under the MIT License. See License.txt in the project root for license information.
+//
namespace Microsoft.VisualStudio.Text.Formatting
{
using System;
diff --git a/src/Text/Def/TextUI/Formatting/LineTransform.cs b/src/Text/Def/TextUI/Formatting/LineTransform.cs
index 650a510..6f377c0 100644
--- a/src/Text/Def/TextUI/Formatting/LineTransform.cs
+++ b/src/Text/Def/TextUI/Formatting/LineTransform.cs
@@ -1,12 +1,10 @@
-// Copyright (c) Microsoft Corporation
-// All rights reserved
-
+//
+// Copyright (c) Microsoft Corporation. All rights reserved.
+// Licensed under the MIT License. See License.txt in the project root for license information.
+//
namespace Microsoft.VisualStudio.Text.Formatting
{
using System;
- using System.Collections.ObjectModel;
-
- using Microsoft.VisualStudio.Text;
/// <summary>
/// Represents the transform from a formatted text line to a rendered text line.
diff --git a/src/Text/Def/TextUI/Formatting/TextAndAdornmentSequenceChangedEventArgs.cs b/src/Text/Def/TextUI/Formatting/TextAndAdornmentSequenceChangedEventArgs.cs
index ec96620..7a7fee3 100644
--- a/src/Text/Def/TextUI/Formatting/TextAndAdornmentSequenceChangedEventArgs.cs
+++ b/src/Text/Def/TextUI/Formatting/TextAndAdornmentSequenceChangedEventArgs.cs
@@ -1,10 +1,10 @@
-// Copyright (c) Microsoft Corporation
-// All rights reserved
-
+//
+// Copyright (c) Microsoft Corporation. All rights reserved.
+// Licensed under the MIT License. See License.txt in the project root for license information.
+//
namespace Microsoft.VisualStudio.Text.Formatting
{
using System;
- using System.Collections.Generic;
/// <summary>
/// Provides information for the tag aggregator TagsChanged event,
diff --git a/src/Text/Def/TextUI/Formatting/TextBounds.cs b/src/Text/Def/TextUI/Formatting/TextBounds.cs
index d1782e3..58113da 100644
--- a/src/Text/Def/TextUI/Formatting/TextBounds.cs
+++ b/src/Text/Def/TextUI/Formatting/TextBounds.cs
@@ -1,6 +1,7 @@
-// Copyright (c) Microsoft Corporation
-// All rights reserved
-
+//
+// Copyright (c) Microsoft Corporation. All rights reserved.
+// Licensed under the MIT License. See License.txt in the project root for license information.
+//
namespace Microsoft.VisualStudio.Text.Formatting
{
using System;
diff --git a/src/Text/Def/TextUI/Formatting/TextViewLineChange.cs b/src/Text/Def/TextUI/Formatting/TextViewLineChange.cs
index 5b9f131..a48bdb1 100644
--- a/src/Text/Def/TextUI/Formatting/TextViewLineChange.cs
+++ b/src/Text/Def/TextUI/Formatting/TextViewLineChange.cs
@@ -1,6 +1,7 @@
-// Copyright (c) Microsoft Corporation
-// All rights reserved
-
+//
+// Copyright (c) Microsoft Corporation. All rights reserved.
+// Licensed under the MIT License. See License.txt in the project root for license information.
+//
namespace Microsoft.VisualStudio.Text.Formatting
{
/// <summary>
diff --git a/src/Text/Def/TextUI/Formatting/VisibilityState.cs b/src/Text/Def/TextUI/Formatting/VisibilityState.cs
index 38e90f2..5421307 100644
--- a/src/Text/Def/TextUI/Formatting/VisibilityState.cs
+++ b/src/Text/Def/TextUI/Formatting/VisibilityState.cs
@@ -1,6 +1,7 @@
-// Copyright (c) Microsoft Corporation
-// All rights reserved
-
+//
+// Copyright (c) Microsoft Corporation. All rights reserved.
+// Licensed under the MIT License. See License.txt in the project root for license information.
+//
namespace Microsoft.VisualStudio.Text.Formatting
{
/// <summary>
diff --git a/src/Text/Def/TextUI/Operations/IEditorOperations.cs b/src/Text/Def/TextUI/Operations/IEditorOperations.cs
index 5724189..9668e55 100644
--- a/src/Text/Def/TextUI/Operations/IEditorOperations.cs
+++ b/src/Text/Def/TextUI/Operations/IEditorOperations.cs
@@ -1,6 +1,7 @@
-// Copyright (c) Microsoft Corporation
-// All rights reserved
-
+//
+// Copyright (c) Microsoft Corporation. All rights reserved.
+// Licensed under the MIT License. See License.txt in the project root for license information.
+//
namespace Microsoft.VisualStudio.Text.Operations
{
using System;
diff --git a/src/Text/Def/TextUI/Operations/IEditorOperations2.cs b/src/Text/Def/TextUI/Operations/IEditorOperations2.cs
index e15542c..6c25cb4 100644
--- a/src/Text/Def/TextUI/Operations/IEditorOperations2.cs
+++ b/src/Text/Def/TextUI/Operations/IEditorOperations2.cs
@@ -1,6 +1,7 @@
-// Copyright (c) Microsoft Corporation
-// All rights reserved
-
+//
+// Copyright (c) Microsoft Corporation. All rights reserved.
+// Licensed under the MIT License. See License.txt in the project root for license information.
+//
namespace Microsoft.VisualStudio.Text.Operations
{
/// <summary>
diff --git a/src/Text/Def/TextUI/Operations/IEditorOperations3.cs b/src/Text/Def/TextUI/Operations/IEditorOperations3.cs
index 10076bd..e176fde 100644
--- a/src/Text/Def/TextUI/Operations/IEditorOperations3.cs
+++ b/src/Text/Def/TextUI/Operations/IEditorOperations3.cs
@@ -1,6 +1,7 @@
-// Copyright (c) Microsoft Corporation
-// All rights reserved
-
+//
+// Copyright (c) Microsoft Corporation. All rights reserved.
+// Licensed under the MIT License. See License.txt in the project root for license information.
+//
namespace Microsoft.VisualStudio.Text.Operations
{
/// <summary>
diff --git a/src/Text/Def/TextUI/Operations/IEditorOperationsFactoryService.cs b/src/Text/Def/TextUI/Operations/IEditorOperationsFactoryService.cs
index d1a16c4..6fba0eb 100644
--- a/src/Text/Def/TextUI/Operations/IEditorOperationsFactoryService.cs
+++ b/src/Text/Def/TextUI/Operations/IEditorOperationsFactoryService.cs
@@ -1,10 +1,10 @@
-// Copyright (c) Microsoft Corporation
-// All rights reserved
-
+//
+// Copyright (c) Microsoft Corporation. All rights reserved.
+// Licensed under the MIT License. See License.txt in the project root for license information.
+//
namespace Microsoft.VisualStudio.Text.Operations
{
using Microsoft.VisualStudio.Text.Editor;
- using System.ComponentModel.Composition;
/// <summary>
/// A service that provides <see cref="IEditorOperations"/> objects.
diff --git a/src/Text/Def/TextUI/Outlining/ICollapsible.cs b/src/Text/Def/TextUI/Outlining/ICollapsible.cs
index 5d629de..1c2ed96 100644
--- a/src/Text/Def/TextUI/Outlining/ICollapsible.cs
+++ b/src/Text/Def/TextUI/Outlining/ICollapsible.cs
@@ -1,6 +1,9 @@
+//
+// Copyright (c) Microsoft Corporation. All rights reserved.
+// Licensed under the MIT License. See License.txt in the project root for license information.
+//
namespace Microsoft.VisualStudio.Text.Outlining
{
- using Microsoft.VisualStudio.Text.Projection;
using Microsoft.VisualStudio.Text.Tagging;
using System;
using System.Collections.Generic;
diff --git a/src/Text/Def/TextUI/Outlining/IOutliningManager.cs b/src/Text/Def/TextUI/Outlining/IOutliningManager.cs
index 51b5b85..6e45d46 100644
--- a/src/Text/Def/TextUI/Outlining/IOutliningManager.cs
+++ b/src/Text/Def/TextUI/Outlining/IOutliningManager.cs
@@ -1,6 +1,7 @@
-// Copyright (c) Microsoft Corporation
-// All rights reserved
-
+//
+// Copyright (c) Microsoft Corporation. All rights reserved.
+// Licensed under the MIT License. See License.txt in the project root for license information.
+//
namespace Microsoft.VisualStudio.Text.Outlining
{
using Microsoft.VisualStudio.Text.Editor;
diff --git a/src/Text/Def/TextUI/Outlining/OutliningEnabledEventArgs.cs b/src/Text/Def/TextUI/Outlining/OutliningEnabledEventArgs.cs
index fa0cd2c..cd044d2 100644
--- a/src/Text/Def/TextUI/Outlining/OutliningEnabledEventArgs.cs
+++ b/src/Text/Def/TextUI/Outlining/OutliningEnabledEventArgs.cs
@@ -1,6 +1,7 @@
-// Copyright (c) Microsoft Corporation
-// All rights reserved
-
+//
+// Copyright (c) Microsoft Corporation. All rights reserved.
+// Licensed under the MIT License. See License.txt in the project root for license information.
+//
namespace Microsoft.VisualStudio.Text.Outlining
{
using System;
diff --git a/src/Text/Def/TextUI/Outlining/RegionsChangedEventArgs.cs b/src/Text/Def/TextUI/Outlining/RegionsChangedEventArgs.cs
index 923c15b..2bca15d 100644
--- a/src/Text/Def/TextUI/Outlining/RegionsChangedEventArgs.cs
+++ b/src/Text/Def/TextUI/Outlining/RegionsChangedEventArgs.cs
@@ -1,6 +1,7 @@
-// Copyright (c) Microsoft Corporation
-// All rights reserved
-
+//
+// Copyright (c) Microsoft Corporation. All rights reserved.
+// Licensed under the MIT License. See License.txt in the project root for license information.
+//
namespace Microsoft.VisualStudio.Text.Outlining
{
using System;
diff --git a/src/Text/Def/TextUI/Outlining/RegionsCollapsedEventArgs.cs b/src/Text/Def/TextUI/Outlining/RegionsCollapsedEventArgs.cs
index f882383..b61c5b4 100644
--- a/src/Text/Def/TextUI/Outlining/RegionsCollapsedEventArgs.cs
+++ b/src/Text/Def/TextUI/Outlining/RegionsCollapsedEventArgs.cs
@@ -1,6 +1,7 @@
-// Copyright (c) Microsoft Corporation
-// All rights reserved
-
+//
+// Copyright (c) Microsoft Corporation. All rights reserved.
+// Licensed under the MIT License. See License.txt in the project root for license information.
+//
namespace Microsoft.VisualStudio.Text.Outlining
{
using System;
diff --git a/src/Text/Def/TextUI/Outlining/RegionsExpandedEventArgs.cs b/src/Text/Def/TextUI/Outlining/RegionsExpandedEventArgs.cs
index b2dc4e5..85fa416 100644
--- a/src/Text/Def/TextUI/Outlining/RegionsExpandedEventArgs.cs
+++ b/src/Text/Def/TextUI/Outlining/RegionsExpandedEventArgs.cs
@@ -1,6 +1,7 @@
-// Copyright (c) Microsoft Corporation
-// All rights reserved
-
+//
+// Copyright (c) Microsoft Corporation. All rights reserved.
+// Licensed under the MIT License. See License.txt in the project root for license information.
+//
namespace Microsoft.VisualStudio.Text.Outlining
{
using System;
diff --git a/src/Text/Def/TextUI/Tagging/IViewTagAggregatorFactoryService.cs b/src/Text/Def/TextUI/Tagging/IViewTagAggregatorFactoryService.cs
index 5e0ca39..4c19875 100644
--- a/src/Text/Def/TextUI/Tagging/IViewTagAggregatorFactoryService.cs
+++ b/src/Text/Def/TextUI/Tagging/IViewTagAggregatorFactoryService.cs
@@ -1,6 +1,7 @@
-// Copyright (c) Microsoft Corporation
-// All rights reserved
-
+//
+// Copyright (c) Microsoft Corporation. All rights reserved.
+// Licensed under the MIT License. See License.txt in the project root for license information.
+//
namespace Microsoft.VisualStudio.Text.Tagging
{
using Microsoft.VisualStudio.Text.Editor;
diff --git a/src/Text/Def/TextUI/Tagging/IViewTaggerProvider.cs b/src/Text/Def/TextUI/Tagging/IViewTaggerProvider.cs
index 49b9aaa..300f8c8 100644
--- a/src/Text/Def/TextUI/Tagging/IViewTaggerProvider.cs
+++ b/src/Text/Def/TextUI/Tagging/IViewTaggerProvider.cs
@@ -1,6 +1,7 @@
-// Copyright (c) Microsoft Corporation
-// All rights reserved
-
+//
+// Copyright (c) Microsoft Corporation. All rights reserved.
+// Licensed under the MIT License. See License.txt in the project root for license information.
+//
namespace Microsoft.VisualStudio.Text.Tagging
{
using Microsoft.VisualStudio.Text.Editor;
diff --git a/src/Text/Def/TextUI/Tags/ErrorTag.cs b/src/Text/Def/TextUI/Tags/ErrorTag.cs
index 43228bf..2867819 100644
--- a/src/Text/Def/TextUI/Tags/ErrorTag.cs
+++ b/src/Text/Def/TextUI/Tags/ErrorTag.cs
@@ -1,10 +1,10 @@
-// Copyright (c) Microsoft Corporation
-// All rights reserved
-
+//
+// Copyright (c) Microsoft Corporation. All rights reserved.
+// Licensed under the MIT License. See License.txt in the project root for license information.
+//
namespace Microsoft.VisualStudio.Text.Tagging
{
using System;
- using System.Text;
using Microsoft.VisualStudio.Text.Adornments;
diff --git a/src/Text/Def/TextUI/Tags/IErrorTag.cs b/src/Text/Def/TextUI/Tags/IErrorTag.cs
index 9f7446d..8716415 100644
--- a/src/Text/Def/TextUI/Tags/IErrorTag.cs
+++ b/src/Text/Def/TextUI/Tags/IErrorTag.cs
@@ -1,13 +1,9 @@
-// Copyright (c) Microsoft Corporation
-// All rights reserved
-
+//
+// Copyright (c) Microsoft Corporation. All rights reserved.
+// Licensed under the MIT License. See License.txt in the project root for license information.
+//
namespace Microsoft.VisualStudio.Text.Tagging
{
- using System;
- using System.Text;
-
- using Microsoft.VisualStudio.Text.Adornments;
-
/// <summary>
/// Represents an error, which is used to place squiggle adornments on the view.
/// </summary>
diff --git a/src/Text/Def/TextUI/Tags/IOutliningRegionTag.cs b/src/Text/Def/TextUI/Tags/IOutliningRegionTag.cs
index 7a62186..cb91108 100644
--- a/src/Text/Def/TextUI/Tags/IOutliningRegionTag.cs
+++ b/src/Text/Def/TextUI/Tags/IOutliningRegionTag.cs
@@ -1,7 +1,7 @@
-using System;
-using System.Collections.Generic;
-using System.Text;
-
+//
+// Copyright (c) Microsoft Corporation. All rights reserved.
+// Licensed under the MIT License. See License.txt in the project root for license information.
+//
namespace Microsoft.VisualStudio.Text.Tagging
{
/// <summary>
diff --git a/src/Text/Def/TextUI/Tags/IOverviewMarkTag.cs b/src/Text/Def/TextUI/Tags/IOverviewMarkTag.cs
index ec8d6a3..73adafc 100644
--- a/src/Text/Def/TextUI/Tags/IOverviewMarkTag.cs
+++ b/src/Text/Def/TextUI/Tags/IOverviewMarkTag.cs
@@ -1,6 +1,7 @@
-// Copyright (c) Microsoft Corporation
-// All rights reserved
-
+//
+// Copyright (c) Microsoft Corporation. All rights reserved.
+// Licensed under the MIT License. See License.txt in the project root for license information.
+//
namespace Microsoft.VisualStudio.Text.Tagging
{
/// <summary>
diff --git a/src/Text/Def/TextUI/Tags/ITextMarkerTag.cs b/src/Text/Def/TextUI/Tags/ITextMarkerTag.cs
index cd26b6d..6dd68f5 100644
--- a/src/Text/Def/TextUI/Tags/ITextMarkerTag.cs
+++ b/src/Text/Def/TextUI/Tags/ITextMarkerTag.cs
@@ -1,5 +1,7 @@
-using System;
-
+//
+// Copyright (c) Microsoft Corporation. All rights reserved.
+// Licensed under the MIT License. See License.txt in the project root for license information.
+//
namespace Microsoft.VisualStudio.Text.Tagging
{
/// <summary>
diff --git a/src/Text/Def/TextUI/Tags/OutliningRegionTag.cs b/src/Text/Def/TextUI/Tags/OutliningRegionTag.cs
index ecf6cf0..0d23d1d 100644
--- a/src/Text/Def/TextUI/Tags/OutliningRegionTag.cs
+++ b/src/Text/Def/TextUI/Tags/OutliningRegionTag.cs
@@ -1,7 +1,7 @@
-using System;
-using System.Collections.Generic;
-using System.Text;
-
+//
+// Copyright (c) Microsoft Corporation. All rights reserved.
+// Licensed under the MIT License. See License.txt in the project root for license information.
+//
namespace Microsoft.VisualStudio.Text.Tagging
{
/// <summary>
diff --git a/src/Text/Def/TextUI/Tags/OverviewMarkTag.cs b/src/Text/Def/TextUI/Tags/OverviewMarkTag.cs
index beb299c..b9ebc6c 100644
--- a/src/Text/Def/TextUI/Tags/OverviewMarkTag.cs
+++ b/src/Text/Def/TextUI/Tags/OverviewMarkTag.cs
@@ -1,6 +1,7 @@
-// Copyright (c) Microsoft Corporation
-// All rights reserved
-
+//
+// Copyright (c) Microsoft Corporation. All rights reserved.
+// Licensed under the MIT License. See License.txt in the project root for license information.
+//
namespace Microsoft.VisualStudio.Text.Tagging
{
/// <summary>
diff --git a/src/Text/Def/TextUI/Tags/SpaceNegotiatingAdornmentTag.cs b/src/Text/Def/TextUI/Tags/SpaceNegotiatingAdornmentTag.cs
index bf301ea..c325384 100644
--- a/src/Text/Def/TextUI/Tags/SpaceNegotiatingAdornmentTag.cs
+++ b/src/Text/Def/TextUI/Tags/SpaceNegotiatingAdornmentTag.cs
@@ -1,4 +1,8 @@
-namespace Microsoft.VisualStudio.Text.Tagging
+//
+// Copyright (c) Microsoft Corporation. All rights reserved.
+// Licensed under the MIT License. See License.txt in the project root for license information.
+//
+namespace Microsoft.VisualStudio.Text.Tagging
{
using Microsoft.VisualStudio.Text.Formatting;
diff --git a/src/Text/Def/TextUI/Tags/TextMarkerTag.cs b/src/Text/Def/TextUI/Tags/TextMarkerTag.cs
index 443805a..a36ec85 100644
--- a/src/Text/Def/TextUI/Tags/TextMarkerTag.cs
+++ b/src/Text/Def/TextUI/Tags/TextMarkerTag.cs
@@ -1,4 +1,8 @@
-using System;
+//
+// Copyright (c) Microsoft Corporation. All rights reserved.
+// Licensed under the MIT License. See License.txt in the project root for license information.
+//
+using System;
namespace Microsoft.VisualStudio.Text.Tagging
{