Posted by: hs2
« on: August 27, 2006, 07:43:23 AM »No problem - see this thread:
http://community.slickedit.com/index.php?topic=259.0
or use Slicks callback scheme.
Example to change to the project root dir:
HS2
http://community.slickedit.com/index.php?topic=259.0
or use Slicks callback scheme.
Example to change to the project root dir:
Code: [Select]
void _prjopen_DanW ()
{
// say ("_prjopen_DanW");
_str cwd=_ProjectGet_WorkingDir (_ProjectHandle (_project_name));
if ( cwd != '' )
{
cwd=absolute (cwd,strip_filename (_project_name,'n'));
cd (cwd, 'm');
// HS2: added to sync with 'Open' tab in project toolbar and process buffer
_cd_tbopen ();
_process_cd (cwd);
}
}
HS2