31
SlickEdit® / Re: SE crash when enabling spell check while typing
« Last post by rjpontefract on March 01, 2023, 09:32:51 pm »I wasn't sure what to expect, but the first thing that I noticed was that line 7 had a compile error "invalid expression". I changed the code to the following and tried again:
That resulted in the following message in the status line:
I'm not sure if that helps or not.
Code: [Select]
#include "slick.sh"
defmain()
{
args:=arg(1);
filename:=parse_file(args,false);
if (filename!="") {
// We want this one to act like user typed command on command line
// except we don't look for internal editor commands.
_str vslickpathfilename=slick_path_search(filename,"");
// We want this one to act like user is at shell prompt.
_str pathfilename=path_search(filename,"","");
_str msg="VSLICKPATH found <"vslickpathfilename"> PATH found <"pathfilename">";
sticky_message(msg);
}
}
That resulted in the following message in the status line:
Code: [Select]
VSLICKPATH found <> PATH found <>
I'm not sure if that helps or not.