Menu

Diff of /trunk/Src/DBIO.UIniDataReader.pas [r1800] .. [r1801]  Maximize  Restore

Switch to side-by-side view

--- a/trunk/Src/DBIO.UIniDataReader.pas
+++ b/trunk/Src/DBIO.UIniDataReader.pas
@@ -176,7 +176,7 @@
     ///  <returns>IStringList containing names of snippets.</returns>
     function GetCatSnippets(const CatID: string): IStringList;
     ///  <summary>
-    ///  Gets propertyies of a snippet.
+    ///  Gets properties of a snippet.
     ///  </summary>
     ///  <param name="Snippet">string [in] Name of snippet.</param>
     ///  <param name="Props">TSnippetData [in/out] Receives empty property
@@ -281,8 +281,8 @@
 *         ? - Not tested.                                                      *
 *   11) [StandardFormat] - whether snippet is in standard format. Assumes true *
 *       if not present and there is no Kind value.                             *
-*   12) [Kind] - kind of snippet. One of freeform, routine, type, const or     *
-*       unit. If value not present then routine is assumed unless              *
+*   12) [Kind] - kind of snippet. One of freeform, routine, type, const, unit  *
+*       or class. If value not present then routine is assumed unless          *
 *       StandardFormat is present and 0, when freeform is assumed.             *
 *                                                                              *
 * ---------------------------------------------------------------------------- *
@@ -464,6 +464,8 @@
       Result := skTypeDef
     else if StrSameText(KindStr, 'unit') then
       Result := skUnit
+    else if StrSameText(KindStr, 'class') then
+      Result := skClass
     // invalid or no Kind property: kind depends on StdFormat property
     else if GetStdFormatProperty then
       Result := skRoutine
Want the latest updates on software, tech news, and AI?
Get latest updates about software, tech news, and AI from SourceForge directly in your inbox once a month.