移動に関するマクロ

http://anago.2ch.net/test/read.cgi/software/1362749527/526

ファイルの先頭に移動
Document.Selection.StartOfDocument();

ファイルの末尾に移動
Document.Selection.EndOfDocument();

論理行頭に移動
Document.Selection.StartOfLine(false, mePosLogical);

論理行末に移動
Document.Selection.EndOfLine(false, mePosLogical);


以下は選択範囲変更(Shift 押しながら)用
一個のマクロに纏められれば楽なんだけど、ボタン状態取得とかないから無理なのよね

ファイルの先頭に移動
Document.Selection.StartOfDocument(true);

ファイルの末尾に移動
Document.Selection.EndOfDocument(true);

論理行頭に移動
Document.Selection.StartOfLine(true, mePosLogical);

論理行末に移動
Document.Selection.EndOfLine(true, mePosLogical);