Add this function as a user macro. I'm also adding it to the next release of SlickEdit. If the RC file is in your project or workspace, then it will get tagged, even though it won't have any symbols. That will make the workspace tag file a cross-language tag file with RC files and your C/C++ source code together, which will enable completion in your RC file.
_str rc_proc_search(_str &proc_name,boolean find_first)
{
return "";
}
Ran into a probem with this tonight:
In a CPP file, I clicked on a symbol IDM_NEWWINDOW that happens to be used in the RC file. Then I pressed Ctrl+/ to find references.
When the references search reaches the RC file, SE gets a Slick-C stack and an error dialog "Invalid number argument". Dismissing the error dialog results in the same error dialog popping up again immediately. It seems to be stuck in an infinite loop (or at least holding Escape for a few minutes remained in the same state).
tagsdb.dll 0x5bdd0390 tag-match-occurrences-in-file(23741,24113,23985,78792,23900,67022,64220,23769,0,0,23829,24120,C:\chrisant\projectdir\ProjectName.vpj,0)
p_window_id: 142
p_object: OI_EDITOR
p_name:
Slick-C STACK TRACE ******************************
Created on 8/27/2011 at 22:21:46 (647 ms)
SlickEdit Version 16.0.2.0 Copyright 1988-2011 SlickEdit Inc.
Edit module and type "st -f <offset>" to get the
run-time error position
error code=-3009
Invalid number argument