@@ -49,6 +49,10 @@ import ShowParseTree from "./ShowParseTree";
4949import {
5050 ExtractVariable ,
5151 Fold ,
52+ GitAccept ,
53+ GitRevert ,
54+ GitStage ,
55+ GitUnstage ,
5256 Rename ,
5357 RevealDefinition ,
5458 RevealTypeDefinition ,
@@ -105,6 +109,10 @@ export class Actions implements ActionRecord {
105109 followLinkAside = new FollowLink ( { openAside : true } ) ;
106110 generateSnippet = new GenerateSnippet ( this . snippets ) ;
107111 getText = new GetText ( ) ;
112+ gitAccept = new GitAccept ( this . rangeUpdater ) ;
113+ gitRevert = new GitRevert ( this . rangeUpdater ) ;
114+ gitStage = new GitStage ( this . rangeUpdater ) ;
115+ gitUnstage = new GitUnstage ( this . rangeUpdater ) ;
108116 highlight = new Highlight ( ) ;
109117 increment = new Increment ( this ) ;
110118 indentLine = new IndentLine ( this . rangeUpdater ) ;
@@ -154,10 +162,6 @@ export class Actions implements ActionRecord {
154162 scrollToBottom = new ScrollToBottom ( ) ;
155163 scrollToCenter = new ScrollToCenter ( ) ;
156164 scrollToTop = new ScrollToTop ( ) ;
157- [ "private.setKeyboardTarget" ] = new SetSpecialTarget ( "keyboard" ) ;
158- [ "experimental.setInstanceReference" ] = new SetSpecialTarget (
159- "instanceReference" ,
160- ) ;
161165 setSelection = new SetSelection ( ) ;
162166 setSelectionAfter = new SetSelectionAfter ( ) ;
163167 setSelectionBefore = new SetSelectionBefore ( ) ;
@@ -176,6 +180,12 @@ export class Actions implements ActionRecord {
176180 this . snippets ,
177181 this . modifierStageFactory ,
178182 ) ;
183+
184+ [ "experimental.setInstanceReference" ] = new SetSpecialTarget (
185+ "instanceReference" ,
186+ ) ;
187+
179188 [ "private.showParseTree" ] = new ShowParseTree ( this . treeSitter ) ;
180189 [ "private.getTargets" ] = new GetTargets ( ) ;
190+ [ "private.setKeyboardTarget" ] = new SetSpecialTarget ( "keyboard" ) ;
181191}
0 commit comments