Changeset 129 for branches/generator/Forms/UFormRules.pas
- Timestamp:
- Dec 19, 2017, 4:56:34 PM (7 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
branches/generator/Forms/UFormRules.pas
r128 r129 7 7 uses 8 8 Classes, SysUtils, FileUtil, Forms, Controls, Graphics, Dialogs, 9 ComCtrls, ActnList, Menus, U Rules, UListViewSort;9 ComCtrls, ActnList, Menus, UGrammer, UListViewSort; 10 10 11 11 type … … 147 147 Item.SubItems.Add(Items.GetString); 148 148 Item.SubItems.Add(IntToStr(Items.GetCharLength)); 149 Item.SubItems.Add(RuleLevelText[Level]); 149 150 end; 150 151 end; … … 175 176 1: Result := CompareString(BooleanText[TRule(Item1).CreateSourceNode], BooleanText[TRule(Item2).CreateSourceNode]); 176 177 2: Result := CompareString(TRule(Item1).GetString, TRule(Item2).GetString); 178 3: Result := CompareInteger(TRule(Item1).Items.GetCharLength, 179 TRule(Item2).Items.GetCharLength); 180 4: Result := CompareString(RuleLevelText[TRule(Item1).Level], 181 RuleLevelText[TRule(Item2).Level]); 177 182 end; 178 183 if ListViewSort1.Order = soDown then Result := -Result;
Note:
See TracChangeset
for help on using the changeset viewer.