Posted by: RaffoPazzo
« on: April 29, 2019, 02:38:37 PM »Sorry it worked now. I must have got lost track of what I did try and how.
Instead of guessing what the langid is, the attached macro will display the langid. Load it and run the command "display_langid". It will display the langid in the message line.
int idr_proc_search(_str &proc_name, bool find_first)
{
int status=0;
if (find_first) {
if (proc_name:=='')
proc_name = _clex_identifier_re();
status = search('^\c{'proc_name'}[ \t]*\:', '@rhi');
} else
status = repeat_search();
if (status)
return status;
tag_init_tag_browse_info(auto cm, get_match_text(0), "", SE_TAG_TYPE_PROTO);
proc_name = tag_compose_tag_browse_info(cm);
message(proc_name);
return 0;
}