What version of slickedit are you using?
There's a function called grep_tag that you might be able to hack to do what you want - except that when I typed the following on the slick cmd line in slick V17
grep_tag on_create
slickedit became "not responding" and I had to kill it.
Anyway, the code you could try changing is in the following. The if(project_only) statement is restricting the tag match to files in a particular project. You could add an if statement after that - if(directory_only) - and check the filename against a directory name.
while (tag_filename!='') {
message("searching "tag_filename":");
status = tag_find_regex(search_str, options);
while (!status) {
boolean foundInProject=true;
if (project_only) {
_str file_name='';
tag_get_detail(VS_TAGDETAIL_file_name, file_name);
_str relativeFilename = _RelativeToProject(file_name);
if(_projectFindFile(_workspace_filename, _project_name, relativeFilename) == "") {
foundInProject=false;
}
}
if (foundInProject) {
tag_insert_match_fast(VS_TAGMATCH_tag,0);
}
status = tag_next_regex(search_str, options);
}
tag_reset_find_tag();
tag_filename = next_tag_filea(tag_files, i, false, true);
}