import { Position , Range } from "../VimStyle" ; /**
 * v
 */ export class StartVisualModeAction implements IAction { public GetActionType ( ) { return ActionType . Other ; } public Execute ( editor , vim ) { let cp = editor . GetCurrentPosition ( ) ; let s = new Range ( ) ; s . start = cp ; s . end = new Position ( cp . Line , cp . Char + 1 ) ; editor . ShowVisualMode ( s , cp ) ; vim . ApplyVisualMode ( ) ; } } /**
 * v
 */ export function StartVisualMode ( num ) { return new StartVisualModeAction ( ) ; }