Skip to content

Commit 81a90b2

Browse files
EWoodruff_cpEWoodruff_cp
authored andcommitted
Updated the help URLs for the configuration user controls.
1 parent b418173 commit 81a90b2

7 files changed

+42
-7
lines changed

Source/VSSpellChecker/UI/CSharpOptionsUserControl.xaml.cs

Lines changed: 7 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2,7 +2,7 @@
22
// System : Visual Studio Spell Checker Package
33
// File : CSharpOptionsUserControl.xaml.cs
44
// Author : Eric Woodruff ([email protected])
5-
// Updated : 06/13/2014
5+
// Updated : 06/14/2014
66
// Note : Copyright 2014, Eric Woodruff, All rights reserved
77
// Compiler: Microsoft Visual C#
88
//
@@ -54,6 +54,12 @@ public string Title
5454
get { return "C# Options"; }
5555
}
5656

57+
/// <inheritdoc />
58+
public string HelpUrl
59+
{
60+
get { return "CSharpOptions"; }
61+
}
62+
5763
/// <inheritdoc />
5864
public bool IsValid
5965
{

Source/VSSpellChecker/UI/GeneralSettingsUserControl.xaml.cs

Lines changed: 7 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2,7 +2,7 @@
22
// System : Visual Studio Spell Checker Package
33
// File : GeneralSettingsUserControl.xaml.cs
44
// Author : Eric Woodruff ([email protected])
5-
// Updated : 06/10/2014
5+
// Updated : 06/14/2014
66
// Note : Copyright 2014, Eric Woodruff, All rights reserved
77
// Compiler: Microsoft Visual C#
88
//
@@ -54,6 +54,12 @@ public string Title
5454
get { return "General Settings"; }
5555
}
5656

57+
/// <inheritdoc />
58+
public string HelpUrl
59+
{
60+
get { return this.Title; }
61+
}
62+
5763
/// <inheritdoc />
5864
public bool IsValid
5965
{

Source/VSSpellChecker/UI/ISpellCheckerConfiguration.cs

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -37,6 +37,11 @@ public interface ISpellCheckerConfiguration
3737
/// </summary>
3838
string Title { get; }
3939

40+
/// <summary>
41+
/// This read-only property returns the help URL
42+
/// </summary>
43+
string HelpUrl { get; }
44+
4045
/// <summary>
4146
/// This read-only property is used to validate the configuration settings in the user control
4247
/// </summary>

Source/VSSpellChecker/UI/IgnoredWordsUserControl.xaml.cs

Lines changed: 7 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2,7 +2,7 @@
22
// System : Visual Studio Spell Checker Package
33
// File : IgnoredWordsUserControl.xaml.cs
44
// Author : Eric Woodruff ([email protected])
5-
// Updated : 06/10/2014
5+
// Updated : 06/14/2014
66
// Note : Copyright 2014, Eric Woodruff, All rights reserved
77
// Compiler: Microsoft Visual C#
88
//
@@ -58,6 +58,12 @@ public string Title
5858
get { return "Ignored Words"; }
5959
}
6060

61+
/// <inheritdoc />
62+
public string HelpUrl
63+
{
64+
get { return this.Title; }
65+
}
66+
6167
/// <inheritdoc />
6268
public bool IsValid
6369
{

Source/VSSpellChecker/UI/SpellCheckerConfigDlg.xaml.cs

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -2,7 +2,7 @@
22
// System : Visual Studio Spell Checker Package
33
// File : SpellCheckerConfigDlg.xaml.cs
44
// Author : Eric Woodruff ([email protected])
5-
// Updated : 06/13/2014
5+
// Updated : 06/14/2014
66
// Note : Copyright 2013-2014, Eric Woodruff, All rights reserved
77
// Compiler: Microsoft Visual C#
88
//
@@ -128,7 +128,7 @@ private void btnHelp_Click(object sender, RoutedEventArgs e)
128128
try
129129
{
130130
string targetUrl = lnkCodePlex.NavigateUri.AbsoluteUri + "/wikipage?title=" +
131-
HttpUtility.UrlEncode(page.Title);
131+
HttpUtility.UrlEncode(page.HelpUrl);
132132

133133
Process.Start(targetUrl);
134134
}

Source/VSSpellChecker/UI/UserDictionaryUserControl.xaml.cs

Lines changed: 7 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2,7 +2,7 @@
22
// System : Visual Studio Spell Checker Package
33
// File : UserDictionaryUserControl.xaml.cs
44
// Author : Eric Woodruff ([email protected])
5-
// Updated : 06/12/2014
5+
// Updated : 06/14/2014
66
// Note : Copyright 2014, Eric Woodruff, All rights reserved
77
// Compiler: Microsoft Visual C#
88
//
@@ -65,6 +65,12 @@ public string Title
6565
get { return "Default Language/User Dictionary"; }
6666
}
6767

68+
/// <inheritdoc />
69+
public string HelpUrl
70+
{
71+
get { return "DefLangUserDict"; }
72+
}
73+
6874
/// <inheritdoc />
6975
public bool IsValid
7076
{

Source/VSSpellChecker/UI/XmlFilesUserControl.xaml.cs

Lines changed: 7 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2,7 +2,7 @@
22
// System : Visual Studio Spell Checker Package
33
// File : XmlFilesUserControl.xaml.cs
44
// Author : Eric Woodruff ([email protected])
5-
// Updated : 06/10/2014
5+
// Updated : 06/14/2014
66
// Note : Copyright 2014, Eric Woodruff, All rights reserved
77
// Compiler: Microsoft Visual C#
88
//
@@ -57,6 +57,12 @@ public string Title
5757
get { return "XML Files"; }
5858
}
5959

60+
/// <inheritdoc />
61+
public string HelpUrl
62+
{
63+
get { return this.Title; }
64+
}
65+
6066
/// <inheritdoc />
6167
public bool IsValid
6268
{

0 commit comments

Comments
 (0)