@launchmenu/core
Version:
An environment for visual keyboard controlled applets
17 lines • 825 B
TypeScript
import { ITextField } from "../../_types/ITextField";
import { TextEditCommand } from "./TextEditCommand";
import { IRetrievableArgument } from "./_types/IRetrievableArgument";
/** A command to move the cursor horizontally */
export declare class JumpCursorCommand extends TextEditCommand {
/**
* Creates a new command to jump the cursor to the top, bottom, start of line or end of line
* @param textField The text field ot move the cursor for
* @param direction The movement direction
* @param expandSelection Whether to alter the current text selection
*/
constructor(textField: ITextField, direction: IRetrievableArgument<{
dx?: number;
dy?: number;
}>, expandSelection?: IRetrievableArgument<boolean>);
}
//# sourceMappingURL=JumpCursorCommand.d.ts.map