|
もっと早く気がついていれば良かったのですが…
Version 8.01(正式版)のsearchdownやsearchup、replacedown等でも
同様の事象が起こるようです。
以下、テスト用のマクロです。
[ test.mac ]
-------------------------------------------------------------------------------
begingroupundo;
$sb = searchbuffer;
#so = searchoption;
menu
"&1 searchdialog",
"&2 searchdown",
"&3 searchdown2",
"&4 searchup",
"&5 searchup2",
"&6 replacedialog",
"&7 replacedown",
"&8 replaceup",
"&9 replaceall",
"&A replaceallfast",
;
#result = result;
if (#result == 1) searchdialog ".", regular, inselect, nohilight;
if (#result == 2) searchdown ".", regular, inselect, nohilight;
if (#result == 3) searchdown2 ".", regular, inselect, nohilight;
if (#result == 4) searchup ".", regular, inselect, nohilight;
if (#result == 5) searchup2 ".", regular, inselect, nohilight;
if (#result == 6) replacedialog ".", "", regular, inselect, nohilight;
if (#result == 7) replacedown ".", "", regular, inselect, nohilight;
if (#result == 8) replaceup ".", "", regular, inselect, nohilight;
if (#result == 9) replaceall ".", "", regular, inselect, nohilight;
if (#result == 10) replaceallfast ".", "", regular, inselect, nohilight;
insert "Test";
escapeinselect;
setsearch $sb, #so;
endgroupundo;
undo;
endmacro;
-------------------------------------------------------------------------------
対応頂いた9番目と10番目を除く、1〜8番目で、
「選択した範囲内のみ」の設定が残っています。
(もしかしたら他のパターンも?)
以上、宜しくお願い致します。
|
|