devexpress-richedit
Version:
DevExpress Rich Text Editor is an advanced word-processing tool designed for working with rich text documents.
23 lines (22 loc) • 1.13 kB
TypeScript
import { LayoutPosition } from '../../layout/layout-position';
import { Selection } from '../../selection/selection';
import { ICommandOptions } from '../command-base';
import { ICommandState } from '../i-command';
import { SelectionCommandBase } from './selection-command-base';
export declare abstract class GoToPrevCharacterCommandBase extends SelectionCommandBase {
executeCore(_state: ICommandState, _options: ICommandOptions): boolean;
getPosition(): number;
getPrevCharacterPosition(layoutPosition: LayoutPosition): LayoutPosition;
abstract extendSelection(): boolean;
abstract setSelection(position: number): any;
}
export declare class GoToPrevCharacterCommand extends GoToPrevCharacterCommandBase {
setSelection(position: number): void;
extendSelection(): boolean;
}
export declare class ExtendGoToPrevCharacterCommand extends GoToPrevCharacterCommandBase {
setSelection(position: number): void;
extendSelection(): boolean;
executeCore(state: ICommandState, options: ICommandOptions): boolean;
static jumpThroughFieldToLeft(selection: Selection): void;
}