diff --git a/README.md b/README.md index 138225f..b48eebc 100644 --- a/README.md +++ b/README.md @@ -9,12 +9,13 @@ The complete Access menu add-in is [ACLibDeclarationDictionaryAddIn](https://git ## API -### RunVcsCheck([OpenDialogToFixLettercase], [DeclDictFilePath]) As Variant +### RunVcsCheck([OpenDialogToFixLettercase], [DeclDictFilePath], [IncludeUsedMembers]) As Variant Compare lettercase from CurrentVbProject with saved file dictionary items #### Parameters - OpenDialogToFixLettercase - (Boolean) - Open dialog to fix lettercase - DeclDictFilePath - (String) - use alternative dictionary file path +- IncludeUsedMembers - (Boolean) - also add used members to the dictionary (default: False) #### Returns - Boolean (True) ... if DiffCount = 0 @@ -33,4 +34,4 @@ End If ``` ### RunVcsCheckDialog() -Equal to RunVcsCheck(True) +Equal to RunVcsCheck(True, , True) diff --git a/source/modules/_AddInAPI.bas b/source/modules/_AddInAPI.bas index e03605b..6f27946 100644 --- a/source/modules/_AddInAPI.bas +++ b/source/modules/_AddInAPI.bas @@ -35,6 +35,8 @@ End Function ' ' Parameters: ' OpenDialogToFixLettercase - (Boolean) - Open dialog to fix lettercase +' DeclDictFilePath - (String) - Use alternative dictionary file path +' IncludeUsedMembers - (Boolean) - Also add used members to the dictionary (default: False) ' ' Returns: ' Boolean (True) ... if DiffCount = 0 diff --git a/source/tables/USysAPI.xml b/source/tables/USysAPI.xml index 9b76913..f3620e4 100644 --- a/source/tables/USysAPI.xml +++ b/source/tables/USysAPI.xml @@ -1,7 +1,7 @@  - RunVcsCheck([OpenDialogToFixLettercase], [DeclDictFilePath]) As Variant + RunVcsCheck([OpenDialogToFixLettercase], [DeclDictFilePath], [IncludeUsedMembers]) As Variant <div><font size=2>Compare lettercase from CurrentVbProject with saved (table/file) dictionary items</font></div> <div><font size=2>&nbsp;</font></div> @@ -12,6 +12,7 @@ <div><font size=2>OpenDialogToFixLettercase - (Boolean) - Open dialog to fix lettercase</font></div> <div><font size=2>DeclDictFilePath - (String) - use alternative dictionary file path</font></div> +<div><font size=2>IncludeUsedMembers - (Boolean) - also add used members to the dictionary (default: False)</font></div> </blockquote> @@ -50,7 +51,7 @@ RunVcsCheckDialog() - <div>Equal to <b>RunVcsCheck(True)</b></div> + <div>Equal to <b>RunVcsCheck(True, , True)</b></div> 3