Changeset 136 for branches/generator/Forms/UFormRuleItem.pas
- Timestamp:
- Dec 26, 2017, 6:59:40 PM (7 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
branches/generator/Forms/UFormRuleItem.pas
r129 r136 17 17 ButtonOk: TButton; 18 18 CheckBoxAnyExcept: TCheckBox; 19 CheckBoxEscapedString: TCheckBox; 19 20 CheckBoxOptional: TCheckBox; 20 21 CheckBoxRepetitive: TCheckBox; … … 123 124 ListBox1.Visible := RuleItem.RuleItemType = ritNonTerminal; 124 125 LabelNonTerminal.Visible := RuleItem.RuleItemType = ritNonTerminal; 126 CheckBoxOptional.Enabled := RuleItem.ParentRule.Items.RuleType = rtAnd; 127 CheckBoxRepetitive.Enabled := RuleItem.ParentRule.Items.RuleType = rtAnd; 128 CheckBoxEscapedString.Enabled := (RuleItem.RuleItemType = ritTerminal) or 129 (RuleItem.RuleItemType = ritTerminalRange); 125 130 end; 126 131 … … 138 143 CheckBoxAnyExcept.Checked := RuleItem.AnyExcept; 139 144 TFormRuleItems(FormRuleItems).LoadData(RuleItem.SubItems); 145 CheckBoxEscapedString.Checked := RuleItem.EscapedStrings; 140 146 UpdateInterface; 141 147 end; … … 155 161 RuleItem.Repetitive := CheckBoxRepetitive.Checked; 156 162 RuleItem.AnyExcept := CheckBoxAnyExcept.Checked; 163 RuleItem.EscapedStrings := CheckBoxEscapedString.Checked; 157 164 end; 158 165
Note:
See TracChangeset
for help on using the changeset viewer.