@@ -190,24 +190,6 @@ public TAStudio()
190190 _tasViewPanel . Controls . Add ( _tasViewHBar ) ;
191191 _tasViewPanel . Controls . Add ( _tasViewVBar ) ;
192192
193- ToolStripMenuItemEx goToFrameMenuItem = new ( )
194- {
195- ShortcutKeys = Keys . Control | Keys . G ,
196- Text = "Go to Frame..." ,
197- } ;
198- goToFrameMenuItem . Click += ( _ , _ ) =>
199- {
200- MainForm . PauseEmulator ( ) ;
201- using InputPrompt dialog = new ( )
202- {
203- Text = "Go to Frame" ,
204- Message = "Jump/Seek to frame index:" ,
205- TextInputType = InputPrompt . InputType . Unsigned ,
206- } ;
207- if ( this . ShowDialogWithTempMute ( dialog ) . IsOk ( ) ) GoToFrame ( int . Parse ( dialog . PromptText ) ) ;
208- } ;
209- _ = EditSubMenu . DropDownItems . InsertAfter ( ReselectClipboardMenuItem , insert : goToFrameMenuItem ) ;
210-
211193 RecentSubMenu . Image = Resources . Recent ;
212194 recentMacrosToolStripMenuItem . Image = Resources . Recent ;
213195 TASEditorManualOnlineMenuItem . Image = Resources . Help ;
@@ -261,6 +243,7 @@ public override void HandleHotkeyUpdate()
261243 SelectBetweenMarkersMenuItem . ShortcutKeyDisplayString = Config . HotkeyBindings [ "Sel. bet. Markers" ] ;
262244 SelectAllMenuItem . ShortcutKeyDisplayString = Config . HotkeyBindings [ "Select All" ] ;
263245 ReselectClipboardMenuItem . ShortcutKeyDisplayString = Config . HotkeyBindings [ "Reselect Clip." ] ;
246+ GoToFrameMenuItem . ShortcutKeyDisplayString = Config . HotkeyBindings [ "Seek To..." ] ;
264247 ClearFramesMenuItem . ShortcutKeyDisplayString = Config . HotkeyBindings [ "Clear Frames" ] ;
265248 DeleteFramesMenuItem . ShortcutKeyDisplayString = Config . HotkeyBindings [ "Delete Frames" ] ;
266249 InsertFrameMenuItem . ShortcutKeyDisplayString = Config . HotkeyBindings [ "Insert Frame" ] ;
@@ -275,6 +258,7 @@ public override void HandleHotkeyUpdate()
275258 InsertNumFramesContextMenuItem . ShortcutKeyDisplayString = Config . HotkeyBindings [ "Insert # Frames" ] ;
276259 CloneContextMenuItem . ShortcutKeyDisplayString = Config . HotkeyBindings [ "Clone Frames" ] ;
277260 CloneXTimesContextMenuItem . ShortcutKeyDisplayString = Config . HotkeyBindings [ "Clone # Times" ] ;
261+ PasteInsertMenuItem . ShortcutKeyDisplayString = Config . HotkeyBindings [ "Paste Insert" ] ;
278262
279263 TasPlaybackBox . UpdateHotkeyTooltips ( Config ) ;
280264 BookMarkControl . UpdateHotkeyTooltips ( Config ) ;
@@ -602,6 +586,8 @@ public void CloneFramesExternal()
602586 public void CloneFramesXTimesExternal ( )
603587 => CloneFramesXTimesMenuItem_Click ( null , EventArgs . Empty ) ;
604588
589+ public void PasteInsertExternal ( ) => MaybePasteFromClipboard ( overwriteSelection : false ) ;
590+
605591 public void UndoExternal ( )
606592 => UndoMenuItem_Click ( null , EventArgs . Empty ) ;
607593
@@ -625,6 +611,14 @@ public void SelectCurrentFrame()
625611 RefreshDialog ( ) ;
626612 }
627613
614+ public void SeekToSelectedFrame ( )
615+ {
616+ if ( ! AnyRowsSelected ) return ;
617+ GoToFrame ( FirstSelectedRowIndex ) ;
618+ }
619+
620+ public void SeekToUserSpecifiedFrame ( ) => GoToFrameMenuItem_Click ( null , EventArgs . Empty ) ;
621+
628622 public IMovieController GetBranchInput ( string branchId , int frame )
629623 {
630624 var branch = Guid . TryParseExact ( branchId , format : "D" , out var parsed )
0 commit comments