Cursor
カーソル操作クラス
class Cursor extends BaseStore { }
constructor();
private focusTextarea: boolean;
private temporalHorizontalPoint: number;
private visible: boolean;
private visiblePopupMenu: boolean;
get lines(): unknown[];
get pages(): unknown;
private emitScroll(): void;
private getNextLineHead(): void;
private getPrevLineTail(): void;
private goBackward(init?: {
scrollInView: boolean;
}): void;private goBottom(): void;
private goDown(): void;
private goForward(init?: {
scrollInView: boolean;
}): void;private goLeft(): void;
private goLineHead(): void;
private goLineTail(): void;
private goPageDown(): void;
private goPageUp(): void;
private goRight(): void;
private goTop(): void;
private goUp(): void;
private goWordHead(): void;
private goWordTail(): void;
private sync(): void;
private syncNow(): void;
private updateTemporalHorizontalPoint(): number;
blur(): void;
clear(): void;
emitChange(event: string): void;
fixPosition(): void;
focus(): void;
getPosition(): Position;
getVisible(): boolean;
goByAction(action: ): void;
| "go-up"
| "go-down"
| "go-left"
| "go-right"
| "go-forward"
| "go-backward"
| "go-top"
| "go-bottom"
| "go-word-head"
| "go-word-tail"
| "go-line-head"
| "go-line-tail"
| "go-pagedown"
| "go-pageup"
hide(): void;
hidePopupMenu(): void;
isAtLineHead(): boolean;
isAtLineTail(): boolean;
show(): void;
showEditPopupMenu(): void;
§Properties
§Methods
§
goByAction(action: "go-up" | "go-down" | "go-left" | "go-right" | "go-forward" | "go-backward" | "go-top" | "go-bottom" | "go-word-head" | "go-word-tail" | "go-line-head" | "go-line-tail" | "go-pagedown" | "go-pageup"): void
[src]カーソル操作コマンド
Command | Description |
---|---|
go-up | 1行上に動かす |
go-down | 1行下に動かす |
go-left | 1文字左に動かす |
go-right | 1文字右に動かす |
go-forward | Emacs key bindingsで使われているコマンド。go-rightとほぼ同じ |
go-backward | Emacs key bindingsで使われているコマンド。go-leftとほぼ同じ |
go-top | タイトル行の行頭に飛ぶ |
go-bottom | 最後の行の行末に飛ぶ |
go-word-head | 1単語右に動かす |
go-word-tail | 1単語左に動かす |
go-line-head | 行頭に飛ぶ |
go-line-tail | 行末に飛ぶ |
go-pagedown | 1ページ分下の行に飛ぶ |
go-pageup | 1ページ分上の行に飛ぶ |