Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
5 changes: 3 additions & 2 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand All @@ -33,4 +34,4 @@ End If
```

### RunVcsCheckDialog()
Equal to RunVcsCheck(True)
Equal to RunVcsCheck(True, , True)
2 changes: 2 additions & 0 deletions source/modules/_AddInAPI.bas
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down
5 changes: 3 additions & 2 deletions source/tables/USysAPI.xml
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
<?xml version="1.0"?>
<dataroot xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance">
<USysAPI>
<ProcName>RunVcsCheck([OpenDialogToFixLettercase], [DeclDictFilePath]) As Variant</ProcName>
<ProcName>RunVcsCheck([OpenDialogToFixLettercase], [DeclDictFilePath], [IncludeUsedMembers]) As Variant</ProcName>
<Description>&lt;div&gt;&lt;font size=2&gt;Compare lettercase from CurrentVbProject with saved (table/file) dictionary items&lt;/font&gt;&lt;/div&gt;

&lt;div&gt;&lt;font size=2&gt;&amp;nbsp;&lt;/font&gt;&lt;/div&gt;
Expand All @@ -12,6 +12,7 @@

&lt;div&gt;&lt;font size=2&gt;OpenDialogToFixLettercase - (Boolean) - Open dialog to fix lettercase&lt;/font&gt;&lt;/div&gt;
&lt;div&gt;&lt;font size=2&gt;DeclDictFilePath - (String) - use alternative dictionary file path&lt;/font&gt;&lt;/div&gt;
&lt;div&gt;&lt;font size=2&gt;IncludeUsedMembers - (Boolean) - also add used members to the dictionary (default: False)&lt;/font&gt;&lt;/div&gt;

&lt;/blockquote&gt;

Expand Down Expand Up @@ -50,7 +51,7 @@
</USysAPI>
<USysAPI>
<ProcName>RunVcsCheckDialog()</ProcName>
<Description>&lt;div&gt;Equal to &lt;b&gt;RunVcsCheck(True)&lt;/b&gt;&lt;/div&gt;</Description>
<Description>&lt;div&gt;Equal to &lt;b&gt;RunVcsCheck(True, , True)&lt;/b&gt;&lt;/div&gt;</Description>
<OrderPos>3</OrderPos>
</USysAPI>
</dataroot>
Loading