diff --git a/EditTools/EditingTools.csproj b/EditTools/EditingTools.csproj
index d4654d2..9507d57 100644
--- a/EditTools/EditingTools.csproj
+++ b/EditTools/EditingTools.csproj
@@ -363,6 +363,11 @@
+
+
+ Always
+
+
10.0
$(MSBuildExtensionsPath32)\Microsoft\VisualStudio\v$(VisualStudioVersion)
diff --git a/EditTools/Ribbon1.Designer.cs b/EditTools/Ribbon1.Designer.cs
index 144c190..5bc555e 100644
--- a/EditTools/Ribbon1.Designer.cs
+++ b/EditTools/Ribbon1.Designer.cs
@@ -42,16 +42,19 @@ private void InitializeComponent()
this.group2 = this.Factory.CreateRibbonGroup();
this.dd_Langs = this.Factory.CreateRibbonDropDown();
this.btn_FixLang = this.Factory.CreateRibbonButton();
+ this.btn_SingData = this.Factory.CreateRibbonButton();
this.group3 = this.Factory.CreateRibbonGroup();
this.btn_WordList = this.Factory.CreateRibbonButton();
+ this.btn_WordFreq = this.Factory.CreateRibbonButton();
this.btn_ProperNouns = this.Factory.CreateRibbonButton();
- this.btn_SingData = this.Factory.CreateRibbonButton();
this.grp_Finishing = this.Factory.CreateRibbonGroup();
this.btn_AcceptFormatting = this.Factory.CreateRibbonButton();
this.group4 = this.Factory.CreateRibbonGroup();
this.dd_Boilerplate = this.Factory.CreateRibbonDropDown();
this.btn_ApplyBoilerplate = this.Factory.CreateRibbonButton();
- this.btn_WordFreq = this.Factory.CreateRibbonButton();
+ this.lbl_Version = this.Factory.CreateRibbonLabel();
+ this.btn_Help = this.Factory.CreateRibbonButton();
+ this.lbl_Spacer1 = this.Factory.CreateRibbonLabel();
this.EditingTools.SuspendLayout();
this.group1.SuspendLayout();
this.group2.SuspendLayout();
@@ -72,6 +75,9 @@ private void InitializeComponent()
//
// group1
//
+ this.group1.Items.Add(this.lbl_Version);
+ this.group1.Items.Add(this.btn_Help);
+ this.group1.Items.Add(this.lbl_Spacer1);
this.group1.Items.Add(this.btn_Settings);
this.group1.Items.Add(this.btn_Export);
this.group1.Items.Add(this.btn_Import);
@@ -125,6 +131,13 @@ private void InitializeComponent()
"ters";
this.btn_FixLang.Click += new Microsoft.Office.Tools.Ribbon.RibbonControlEventHandler(this.btn_FixLang_Click);
//
+ // btn_SingData
+ //
+ this.btn_SingData.Label = "Find Singular Data";
+ this.btn_SingData.Name = "btn_SingData";
+ this.btn_SingData.ScreenTip = "Find \"data\" used as a singular noun";
+ this.btn_SingData.Click += new Microsoft.Office.Tools.Ribbon.RibbonControlEventHandler(this.btn_SingData_Click);
+ //
// group3
//
this.group3.Items.Add(this.btn_WordList);
@@ -140,6 +153,12 @@ private void InitializeComponent()
this.btn_WordList.ScreenTip = "Generate a list of all the unique words in the document";
this.btn_WordList.Click += new Microsoft.Office.Tools.Ribbon.RibbonControlEventHandler(this.btn_WordList_Click);
//
+ // btn_WordFreq
+ //
+ this.btn_WordFreq.Label = "Word Frequency List";
+ this.btn_WordFreq.Name = "btn_WordFreq";
+ this.btn_WordFreq.Click += new Microsoft.Office.Tools.Ribbon.RibbonControlEventHandler(this.btn_WordFreq_Click);
+ //
// btn_ProperNouns
//
this.btn_ProperNouns.Label = "Check Proper Nouns";
@@ -148,13 +167,6 @@ private void InitializeComponent()
"";
this.btn_ProperNouns.Click += new Microsoft.Office.Tools.Ribbon.RibbonControlEventHandler(this.btn_ProperNouns_Click);
//
- // btn_SingData
- //
- this.btn_SingData.Label = "Find Singular Data";
- this.btn_SingData.Name = "btn_SingData";
- this.btn_SingData.ScreenTip = "Find \"data\" used as a singular noun";
- this.btn_SingData.Click += new Microsoft.Office.Tools.Ribbon.RibbonControlEventHandler(this.btn_SingData_Click);
- //
// grp_Finishing
//
this.grp_Finishing.Items.Add(this.btn_AcceptFormatting);
@@ -190,11 +202,21 @@ private void InitializeComponent()
"o add/remove/edit boilerplate";
this.btn_ApplyBoilerplate.Click += new Microsoft.Office.Tools.Ribbon.RibbonControlEventHandler(this.btn_ApplyBoilerplate_Click);
//
- // btn_WordFreq
+ // lbl_Version
//
- this.btn_WordFreq.Label = "Word Frequency List";
- this.btn_WordFreq.Name = "btn_WordFreq";
- this.btn_WordFreq.Click += new Microsoft.Office.Tools.Ribbon.RibbonControlEventHandler(this.btn_WordFreq_Click);
+ this.lbl_Version.Label = "Version 1.3.0";
+ this.lbl_Version.Name = "lbl_Version";
+ //
+ // btn_Help
+ //
+ this.btn_Help.Label = "Help!";
+ this.btn_Help.Name = "btn_Help";
+ this.btn_Help.Click += new Microsoft.Office.Tools.Ribbon.RibbonControlEventHandler(this.btn_Help_Click);
+ //
+ // lbl_Spacer1
+ //
+ this.lbl_Spacer1.Label = " ";
+ this.lbl_Spacer1.Name = "lbl_Spacer1";
//
// Ribbon1
//
@@ -238,6 +260,9 @@ private void InitializeComponent()
internal Microsoft.Office.Tools.Ribbon.RibbonGroup grp_Finishing;
internal Microsoft.Office.Tools.Ribbon.RibbonButton btn_AcceptFormatting;
internal Microsoft.Office.Tools.Ribbon.RibbonButton btn_WordFreq;
+ internal Microsoft.Office.Tools.Ribbon.RibbonLabel lbl_Version;
+ internal Microsoft.Office.Tools.Ribbon.RibbonButton btn_Help;
+ internal Microsoft.Office.Tools.Ribbon.RibbonLabel lbl_Spacer1;
}
partial class ThisRibbonCollection
diff --git a/EditTools/Ribbon1.cs b/EditTools/Ribbon1.cs
index d02c294..f130676 100644
--- a/EditTools/Ribbon1.cs
+++ b/EditTools/Ribbon1.cs
@@ -656,5 +656,20 @@ private void btn_WordFreq_Click(object sender, RibbonControlEventArgs e)
watch.Stop();
d.Hide();
}
+
+ private void btn_Help_Click(object sender, RibbonControlEventArgs e)
+ {
+ System.Reflection.Assembly assemblyInfo = System.Reflection.Assembly.GetExecutingAssembly();
+ string assemblyLocation = assemblyInfo.Location;
+ Debug.WriteLine(assemblyLocation);
+
+ //CodeBase is the location of the ClickOnce deployment files
+ Uri uriCodeBase = new Uri(assemblyInfo.CodeBase);
+ string ClickOnceLocation = Path.GetDirectoryName(uriCodeBase.LocalPath.ToString());
+ Debug.WriteLine(ClickOnceLocation);
+
+ string loc = ClickOnceLocation + Path.DirectorySeparatorChar + "help.html";
+ System.Diagnostics.Process.Start(@"file:///" + loc);
+ }
}
}
diff --git a/EditTools/help.html b/EditTools/help.html
new file mode 100644
index 0000000..acda9df
--- /dev/null
+++ b/EditTools/help.html
@@ -0,0 +1,74 @@
+
+
+ Editing Tools Help
+
+
+ Editing Tools Help
+
+ This is the help file for version 1.3.0 of the editing tools.
+
+
+ For general information about this tool, or to download the latest version, visit the project's GitHub page. If you have suggestions for new tools, or if you are having problems using the tool, either file an issue on GitHub or feel free to email me directly.
+
+
+ The various tools are grouped into five categories:
+
+
+
+
+ Settings
+ This is where you configure the the tool generally. There are five features:
+
+ - Version: This tells you what version of the tool you are running. Visit the "Releases" section of the GitHub page to download the latest version (or older versions, if you prefer).
+ - Help!: This opens the help file you're reading now.
+ - Settings: There are currently two settings you can change:
+
+ - Edit-distance sensitivity: This is used by the "Check Proper Nouns" feature (see the "Proofing" section). The number represents the number of changes you have to make to one word to make it another word. The higher the number, the more false positives you'll get. Too low and you'll miss valid misspellings. A setting of "2" seems to me to be a good balance, but play around with it if you wish.
+ -
+
Comment boilerplate: This is where you add/change/remove comment boilerplate (see the "Boilerplate" section).
+ To add new boilerplate, click on the blank row that appears at the bottom of the list of boilerplate. Give it a helpful shortcut name (left-hand side) and then enter the full text of your desired comment (right-hand side).
+ To edit a boilerplate, simply click on the entry and make the edits.
+ To delete a boilerplate, select the row by clicking in the tiny cell to the far left of the row. Then just hit the Delete key on your keyboard.
+
+
+
+ - Export: This is how you can backup, migrate, or share your comment boilerplate. When clicked, it will ask you where you want the save the file. It will then create an XML file that can be read by the "Import" function.
+ - Import: This lets you load exported comment boilerplate. You first select the file and then you have one of three self-explanatory choices of how you want the tool to handle duplicates.
+
+
+
+ Editing
+
+ - Apply Language: Applies the selected language to all the text in the body, headers, footers, and notes. It does not find text in text boxes. I don't know if finds text in frames.
+ - Find Singular Data: Where I work, "data" must always be plural, so this uses natural language processing to find (and highlight in grey) possible instances of "data" being used as a singular. It will only highlight sentences that actually contain the word "data"! So look at sentences around highlighted sentences to find misuses of pronouns referring to "data."
+
+
+
+ Proofing
+
+ - Word List: Creates a separate document containing all the unique words in the document. It retains capitalization. This is a great proofreading tool because it removes the meaning of the text and just gives you the individual words.
+ - Word Frequency List: Does the same as above but also counts the occurences of each word. It puts the list in a table, which for some reason is slow, so please be patient.
+ - Check Proper Nouns: This feature gets a lot of use in my day job. This tool generates a list of proper nouns and then does two comparisons: (1) a "sounds like" check and (2) an edit distance check (see the "Settings" section). If it finds groups of proper nouns that are spelled differently but either sound alike or are close in spelling, it will list them in a new document. This is an excellent way to find common typos in proper names that can easily be missed in a long document.
+
+
+
+ Finishing
+ This is for tools you run at the end of an editing pass.
+
+ - Accept Formatting Changes: This lets you accept all tracked formatting changes with one click.
+
+
+
+ Boilerplate
+ For me this is the second-most-used feature, next only to "Check Proper Nouns." If you find yourself typing similar comments over and over again, then this can save you tons of time. To add/remove/edit boilerplate, see the "Settings" section.
+
+ - Apply Comment: First select the text you want to comment on. Then select the short name of the comment you wish to insert. Then click the "Apply Comment" button. A new comment will be inserted containing the boilerplate. Edit as you will. It's that easy!
+
+
+
diff --git a/deploy/helpfile/help.html b/deploy/helpfile/help.html
new file mode 100644
index 0000000..acda9df
--- /dev/null
+++ b/deploy/helpfile/help.html
@@ -0,0 +1,74 @@
+
+
+ Editing Tools Help
+
+
+ Editing Tools Help
+
+ This is the help file for version 1.3.0 of the editing tools.
+
+
+ For general information about this tool, or to download the latest version, visit the project's GitHub page. If you have suggestions for new tools, or if you are having problems using the tool, either file an issue on GitHub or feel free to email me directly.
+
+
+ The various tools are grouped into five categories:
+
+
+
+
+ Settings
+ This is where you configure the the tool generally. There are five features:
+
+ - Version: This tells you what version of the tool you are running. Visit the "Releases" section of the GitHub page to download the latest version (or older versions, if you prefer).
+ - Help!: This opens the help file you're reading now.
+ - Settings: There are currently two settings you can change:
+
+ - Edit-distance sensitivity: This is used by the "Check Proper Nouns" feature (see the "Proofing" section). The number represents the number of changes you have to make to one word to make it another word. The higher the number, the more false positives you'll get. Too low and you'll miss valid misspellings. A setting of "2" seems to me to be a good balance, but play around with it if you wish.
+ -
+
Comment boilerplate: This is where you add/change/remove comment boilerplate (see the "Boilerplate" section).
+ To add new boilerplate, click on the blank row that appears at the bottom of the list of boilerplate. Give it a helpful shortcut name (left-hand side) and then enter the full text of your desired comment (right-hand side).
+ To edit a boilerplate, simply click on the entry and make the edits.
+ To delete a boilerplate, select the row by clicking in the tiny cell to the far left of the row. Then just hit the Delete key on your keyboard.
+
+
+
+ - Export: This is how you can backup, migrate, or share your comment boilerplate. When clicked, it will ask you where you want the save the file. It will then create an XML file that can be read by the "Import" function.
+ - Import: This lets you load exported comment boilerplate. You first select the file and then you have one of three self-explanatory choices of how you want the tool to handle duplicates.
+
+
+
+ Editing
+
+ - Apply Language: Applies the selected language to all the text in the body, headers, footers, and notes. It does not find text in text boxes. I don't know if finds text in frames.
+ - Find Singular Data: Where I work, "data" must always be plural, so this uses natural language processing to find (and highlight in grey) possible instances of "data" being used as a singular. It will only highlight sentences that actually contain the word "data"! So look at sentences around highlighted sentences to find misuses of pronouns referring to "data."
+
+
+
+ Proofing
+
+ - Word List: Creates a separate document containing all the unique words in the document. It retains capitalization. This is a great proofreading tool because it removes the meaning of the text and just gives you the individual words.
+ - Word Frequency List: Does the same as above but also counts the occurences of each word. It puts the list in a table, which for some reason is slow, so please be patient.
+ - Check Proper Nouns: This feature gets a lot of use in my day job. This tool generates a list of proper nouns and then does two comparisons: (1) a "sounds like" check and (2) an edit distance check (see the "Settings" section). If it finds groups of proper nouns that are spelled differently but either sound alike or are close in spelling, it will list them in a new document. This is an excellent way to find common typos in proper names that can easily be missed in a long document.
+
+
+
+ Finishing
+ This is for tools you run at the end of an editing pass.
+
+ - Accept Formatting Changes: This lets you accept all tracked formatting changes with one click.
+
+
+
+ Boilerplate
+ For me this is the second-most-used feature, next only to "Check Proper Nouns." If you find yourself typing similar comments over and over again, then this can save you tons of time. To add/remove/edit boilerplate, see the "Settings" section.
+
+ - Apply Comment: First select the text you want to comment on. Then select the short name of the comment you wish to insert. Then click the "Apply Comment" button. A new comment will be inserted containing the boilerplate. Edit as you will. It's that easy!
+
+
+
diff --git a/deploy/make-installer.iss b/deploy/make-installer.iss
index 4fc4187..3683e18 100644
--- a/deploy/make-installer.iss
+++ b/deploy/make-installer.iss
@@ -34,10 +34,10 @@
; The version number. It is suggested to use the semantic versionin
; scheme (http://semver.org), but this is not a must. This version
; information may contain text.
-#define SEMANTIC_VERSION "1.2.1"
+#define SEMANTIC_VERSION "1.3.0"
; The version in four-number format
-#define FOUR_NUMBER_VERSION "1.2.1.0"
+#define FOUR_NUMBER_VERSION "1.3.0.0"
; The year(s) of publication (e.g., "2014-2017")
#define PUB_YEARS "2017"
diff --git a/screen-capture.jpg b/screen-capture.jpg
index 2d3b4a6..1281aa3 100644
Binary files a/screen-capture.jpg and b/screen-capture.jpg differ