Skip to content
This repository was archived by the owner on Sep 1, 2022. It is now read-only.

Commit d974890

Browse files
committed
Fix problems with importing Dictionary.cls
@Spence10 was having trouble importing the Dictionary.cls. The VBA-Dictionary project has encountered this same problem before and concluded that the problem was due to having Unix style line endings in the VBA source files (especially class modules). Firstly, a git attributes file was set up to make sure that VBA modules are converted to windows style line endings. Secondly, the use of the drop in Dictionary replacement is so that Excel for Mac is supported. However, the Microsoft scripting library is already used for file system purposes and therefore Mac isn't supported anyway. So there should be no loss of compatibility by using the Microsoft scripting library instead of the Dictionary drop in replacement. The Dictionary class was removed.
1 parent 0aa5c95 commit d974890

File tree

3 files changed

+5
-475
lines changed

3 files changed

+5
-475
lines changed

.gitattributes

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,5 @@
1+
# CRLF -> LF by default, but not for modules or classes (especially classes)
2+
* text=auto
3+
*.bas text eol=crlf
4+
*.cls text eol=crlf
5+
*.frm text eol=crlf

CodeExportFileList.conf

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,6 @@
11
{
22
"Module Paths": {
33
"clsVBECmdHandler": "clsVBECmdHandler.cls",
4-
"Dictionary": "Dictionary.cls",
54
"JsonConverter": "JsonConverter.bas",
65
"modImportExport": "modImportExport.bas",
76
"modMenu": "modMenu.bas"

0 commit comments

Comments
 (0)