dklang icon indicating copy to clipboard operation
dklang copied to clipboard

Incorrect order when writing Constants

Open Kymoto opened this issue 10 years ago • 1 comments

When writing the constants to the resource (*.dkl_consts) and *.dklang files, they are not being written in alphabetical order. This has changed since moving from version 4.x to the new v5

Removing v5.2 and installing v4.01 resolves the issue, but would prefer to use the newer version of course. Tested using Delphi XE6

Kymoto avatar Apr 08 '15 13:04 Kymoto

The sorting issue was introduced when we moved to generics at v5 and employed TDictionary<> as a base class for constants. We have addressed the issue in the constants editor by sorting for display. Is there a compelling reason for them to be sorted in the files? If, so we could add a sort on write.

bjmillerpa avatar Apr 08 '15 15:04 bjmillerpa