Skip to content

Instantly share code, notes, and snippets.

Show Gist options
  • Save TakashiSasaki/6820483 to your computer and use it in GitHub Desktop.
Save TakashiSasaki/6820483 to your computer and use it in GitHub Desktop.
// 文字列 挿入マクロ(秀丸エディタ用)
// 選択範囲の行頭に入力された文字列を挿入する
#cnt = selendy - seltopy;
$wrk = input("挿入する文字列を入力してください","");
while( #cnt > 0 )
{
replacedown "^", $wrk, regular, inselect;
#cnt = #cnt - 1;
}
endmacro;
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment