import { Position } from "../VimStyle" ; /**
 * .
 */ export class RepeatLastChangeAction implements IAction { public GetActionType ( ) { return ActionType . Repeat ; } public Execute ( editor , vim ) { if ( vim . LastEditAction ) { switch ( vim . LastEditAction . GetActionType ( ) ) { case ActionType . Insert : case ActionType . Edit : let action = vim . LastEditAction ; vim . LastEditAction . Execute ( editor , vim ) ; } } } } /**
 * .
 */ export function RepeatLastChange ( ) { return new RepeatLastChangeAction ( ) ; }