From 5caef9a71556afb2960e66623e3a8b53a4fe6d27 Mon Sep 17 00:00:00 2001 From: Pilchie Date: Tue, 12 May 2015 08:21:00 -0700 Subject: [PATCH] Fix case of "IntelliSense" --- .../Core/EditorFeaturesResources.Designer.cs | 12 ++++++------ src/EditorFeatures/Core/EditorFeaturesResources.resx | 8 ++++---- .../IntelliSense/Completion/Controller_Commit.cs | 4 ++-- 3 files changed, 12 insertions(+), 12 deletions(-) diff --git a/src/EditorFeatures/Core/EditorFeaturesResources.Designer.cs b/src/EditorFeatures/Core/EditorFeaturesResources.Designer.cs index 763fa726c29..b45753a94ad 100644 --- a/src/EditorFeatures/Core/EditorFeaturesResources.Designer.cs +++ b/src/EditorFeatures/Core/EditorFeaturesResources.Designer.cs @@ -1196,20 +1196,20 @@ internal class EditorFeaturesResources { } /// - /// Looks up a localized string similar to Intellisense. + /// Looks up a localized string similar to IntelliSense. /// - internal static string Intellisense { + internal static string IntelliSense { get { - return ResourceManager.GetString("Intellisense", resourceCulture); + return ResourceManager.GetString("IntelliSense", resourceCulture); } } /// - /// Looks up a localized string similar to Intellisense Commit Formatting. + /// Looks up a localized string similar to IntelliSense Commit Formatting. /// - internal static string IntellisenseCommitFormatting { + internal static string IntelliSenseCommitFormatting { get { - return ResourceManager.GetString("IntellisenseCommitFormatting", resourceCulture); + return ResourceManager.GetString("IntelliSenseCommitFormatting", resourceCulture); } } diff --git a/src/EditorFeatures/Core/EditorFeaturesResources.resx b/src/EditorFeatures/Core/EditorFeaturesResources.resx index 91ea64f271f..66d43a70cdf 100644 --- a/src/EditorFeatures/Core/EditorFeaturesResources.resx +++ b/src/EditorFeatures/Core/EditorFeaturesResources.resx @@ -697,11 +697,11 @@ Do you want to proceed? Preview changes - - Intellisense + + IntelliSense - - Intellisense Commit Formatting + + IntelliSense Commit Formatting Rename Tracking diff --git a/src/EditorFeatures/Core/Implementation/IntelliSense/Completion/Controller_Commit.cs b/src/EditorFeatures/Core/Implementation/IntelliSense/Completion/Controller_Commit.cs index 038d111c838..de81b75cdad 100644 --- a/src/EditorFeatures/Core/Implementation/IntelliSense/Completion/Controller_Commit.cs +++ b/src/EditorFeatures/Core/Implementation/IntelliSense/Completion/Controller_Commit.cs @@ -37,7 +37,7 @@ private void Commit(CompletionItem item, TextChange textChange, Model model, cha // NOTE(cyrusn): It is intentional that we get the undo history for the // surface buffer and not the subject buffer. - using (var transaction = _undoHistoryRegistry.GetHistory(this.TextView.TextBuffer).CreateTransaction(EditorFeaturesResources.Intellisense)) + using (var transaction = _undoHistoryRegistry.GetHistory(this.TextView.TextBuffer).CreateTransaction(EditorFeaturesResources.IntelliSense)) { // We want to merge with any of our other programmatic edits (e.g. automatic brace completion) transaction.MergePolicy = AutomaticCodeChangeMergePolicy.Instance; @@ -128,7 +128,7 @@ private void Commit(CompletionItem item, TextChange textChange, Model model, cha { // Formatting the completion item affected span is done as a separate transaction because this gives the user // the flexibility to undo the formatting but retain the changes associated with the completion item - using (var formattingTransaction = _undoHistoryRegistry.GetHistory(this.TextView.TextBuffer).CreateTransaction(EditorFeaturesResources.IntellisenseCommitFormatting)) + using (var formattingTransaction = _undoHistoryRegistry.GetHistory(this.TextView.TextBuffer).CreateTransaction(EditorFeaturesResources.IntelliSenseCommitFormatting)) { var changes = formattingService.GetFormattingChangesAsync(document, textChange.Span, CancellationToken.None).WaitAndGetResult(CancellationToken.None); document.Project.Solution.Workspace.ApplyTextChanges(document.Id, changes, CancellationToken.None); -- GitLab