File tree Expand file tree Collapse file tree 1 file changed +12
-6
lines changed
Expand file tree Collapse file tree 1 file changed +12
-6
lines changed Original file line number Diff line number Diff line change @@ -502,7 +502,7 @@ RefineSearchMain:
502502 }
503503 if(##key_changed)
504504 {//ソースの再取得
505- call UpdateInteractiveSource;
505+ call UpdateInteractiveSource $$key_buffer ;
506506 }
507507 }
508508
@@ -946,12 +946,20 @@ TrimString:
946946 return $$1;
947947
948948UpdateInteractiveSource:
949+ $$searchText = $$1;
949950 $$sep = "\t";
950951 $$ret = dllfuncstrw(#g_dll_ohtorii_tools, "GetInteractiveSourceNames", $$sep);
952+ if($$ret==""){
953+ return;
954+ }
955+ $$sources[0]="";
951956 ##n = split($$sources,$$ret,$$sep);
952957 if(##n==1){
953- //区切りが見つからない状態
954- return;
958+ //文字列中に区切りが見つからない状態
959+ $$sources[0]=$$ret;
960+ ##n=1;
961+ }else{
962+ //pass
955963 }
956964
957965 //is_inInteractive=tureのソースを候補から削除
@@ -970,9 +978,7 @@ UpdateInteractiveSource:
970978 $$args[0] =str(#g_dll_ohtorii_tools);
971979 $$args[1] =str(#g_dll_hm_process) ;
972980 $$args[2] =$$source_filename;
973-
974- /*メモ:##iが配列の範囲外の場合は空白文字になるため、明示的な##iの範囲確認は省略した*/
975- //Todo: $$args[3] =$$source_args[##i];
981+ $$args[3] =$$searchText;
976982
977983 $$args[30] ="";
978984 execmacro currentmacrodirectory+"\\source.mac", $$args, 31;
You can’t perform that action at this time.
0 commit comments