Skip to content

Commit 784339e

Browse files
authored
Fix LT-22132: Allow ability to reorder Affix Templates (#355)
1 parent a93be7e commit 784339e

1 file changed

Lines changed: 11 additions & 3 deletions

File tree

DistFiles/Language Explorer/Configuration/Grammar/DataTreeInclude.xml

Lines changed: 11 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -88,7 +88,13 @@
8888
<command id="CmdDataTree-Delete-POS-AffixTemplate" label="Delete Affix Template" message="DataTreeDelete" icon="Delete">
8989
<parameters field="AffixTemplates" className="MoInflAffixTemplate"/>
9090
</command>
91-
<command id="CmdDataTree-Insert-POS-InflectionClass-Subclasses" label="Insert Inflection Class" message="DataTreeInsert">
91+
<command id="CmdDataTree-MoveUp-POS-AffixTemplate" label="Move Affix Template Up" message="MoveUpObjectInSequence" icon="MoveUp">
92+
<parameters field="AffixTemplates" className="MoInflAffixTemplate"/>
93+
</command>
94+
<command id="CmdDataTree-MoveDown-POS-AffixTemplate" label="Move Affix Template Down" message="MoveDownObjectInSequence" icon="MoveDown">
95+
<parameters field="AffixTemplates" className="MoInflAffixTemplate"/>
96+
</command>
97+
<command id="CmdDataTree-Insert-POS-InflectionClass-Subclasses" label="Insert Inflection Class" message="DataTreeInsert">
9298
<parameters field="Subclasses" className="MoInflClass"/>
9399
</command>
94100
<command id="CmdDataTree-Insert-POS-InflectionClass" label="Insert Inflection Class" message="DataTreeInsert">
@@ -216,8 +222,10 @@
216222
</menu>
217223
<menu id="mnuDataTree-POS-AffixTemplate">
218224
<item command="CmdDataTree-Delete-POS-AffixTemplate"/>
219-
<item command="CmdDataTree-Copy-POS-AffixTemplate"/>
220-
<!-- <item command="CmdDataTree-Help"/> -->
225+
<item command="CmdDataTree-Copy-POS-AffixTemplate"/>
226+
<item command="CmdDataTree-MoveUp-POS-AffixTemplate"/>
227+
<item command="CmdDataTree-MoveDown-POS-AffixTemplate"/>
228+
<!-- <item command="CmdDataTree-Help"/> -->
221229
</menu>
222230
<menu id="mnuDataTree-POS-InflectionClass-Subclasses">
223231
<item command="CmdDataTree-Insert-POS-InflectionClass-Subclasses"/>

0 commit comments

Comments
 (0)