Thanks Graeme,
That seemed to fix the problem. I ended up having to remove the vslick.sta file to get things working again.
What I was trying to do was change the alias file that a language uses via the SE command line. Prior to V13 this could be done in the options dialog but it was removed.
I'm still pretty new to the SE macro language and my first attempt was what got the vusrdefs.e file out of wack. In fact, I had a version of the macro working for a while before I realized that it was adding entries to the vusrdefs.e file with each execution.
This is what I've come up with so far, it seems to work fine but now I'm wondering if it is having any other side effects that I'm unaware of:
#include "slick.sh"
_command set_alias(_str info="cs-cs")
{
_str ext = '';
_str als = '';
parse info with ext'-'als;
idx = find_index("def-alias-"ext, MISC_TYPE);
set_name_info(idx, als".als");
message("'"ext"' set to use '"als"' alias file");
}
Usage:
set_alias html-ascx //this would set the html language to use an ascx.als file
set_alias cs-prjabc //this would set the cs language to use an prjabc.als file
All it does is split a string in the form of language-aliasfilename into its parts and the find the index of the setting. It the sets the setting and notifies the user. Anyone see if this code is gonna have any weird side effects with the configuration?
Thanks -andy