@@ -22,7 +22,6 @@ import {
2222 PrimaryActionCore ,
2323 ProcessAssembly ,
2424 Position ,
25- makePosition ,
2625} from './types' ;
2726
2827import { performCommonExecute , wsExecuteRequest } from './reducers/output/execute' ;
@@ -62,7 +61,6 @@ export enum ActionType {
6261 AddImport = 'ADD_IMPORT' ,
6362 AddCrateType = 'ADD_CRATE_TYPE' ,
6463 EnableFeatureGate = 'ENABLE_FEATURE_GATE' ,
65- GotoPosition = 'GOTO_POSITION' ,
6664 SelectText = 'SELECT_TEXT' ,
6765 NotificationSeen = 'NOTIFICATION_SEEN' ,
6866 BrowserWidthChanged = 'BROWSER_WIDTH_CHANGED' ,
@@ -213,9 +211,6 @@ export const addCrateType = (crateType: string) =>
213211export const enableFeatureGate = ( featureGate : string ) =>
214212 createAction ( ActionType . EnableFeatureGate , { featureGate } ) ;
215213
216- export const gotoPosition = ( line : string | number , column : string | number ) =>
217- createAction ( ActionType . GotoPosition , makePosition ( line , column ) ) ;
218-
219214export const selectText = ( start : Position , end : Position ) =>
220215 createAction ( ActionType . SelectText , { start, end } ) ;
221216
@@ -333,7 +328,6 @@ export type Action =
333328 | ReturnType < typeof addImport >
334329 | ReturnType < typeof addCrateType >
335330 | ReturnType < typeof enableFeatureGate >
336- | ReturnType < typeof gotoPosition >
337331 | ReturnType < typeof selectText >
338332 | ReturnType < typeof notificationSeen >
339333 | ReturnType < typeof browserWidthChanged >
0 commit comments