@launchmenu/core
Version:
An environment for visual keyboard controlled applets
15 lines • 940 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 MoveCursorHorizontalCommand extends TextEditCommand {
/**
* Creates a new command to move the cursor horizontally (left or right, positive is right)
* @param textField The text field ot move the cursor for
* @param direction The movement direction
* @param expandSelection Whether to alter the current text selection
* @param jumpWord Whether to jump a whole word (moving a word incros instead of a character)
*/
constructor(textField: ITextField, direction?: IRetrievableArgument<number>, expandSelection?: IRetrievableArgument<boolean>, jumpWord?: IRetrievableArgument<boolean>);
}
//# sourceMappingURL=MoveCursorHorizontalCommand.d.ts.map