Am Sonntag, 4. März 2007 00:58:17 schrieb Neil Hodgson:
> Holger Kohnen:
> > I have just tested it on gtk and it works nearly as i expected. The only
> > thing that seems a little bit odd to me is that the working directory is
> > not switched to SciTEDirectory.properties directory if a command defined
> > there is executed.
>
>    Making behaviour depend on the directory of the properties file in
> which a varaible is set isn't common SciTE behaviour since it makes it
> harder to override a setting. Explicit settings are more maintainable.
> For the build command there is command.build.directory.<filepattern>
> and Stefan's original patch extended this to some other commands. I
> didn't include this as the implementation should be made more generic
> so it can be applied to more commands. You can use the
> SciteDirectoryHome variable for commands as "cd $(SciteDirectoryHome)
> && <command>" on Linux or "cmd /c cd $(SciteDirectoryHome) &&
> <command>" on Windows.

Thanks for the pointer, the SciteDirectoryHome variable are great for these
jobs and i also think that this is the cleaner way to go.

regards, Holger

>
>    Neil
> _______________________________________________
> Scite-interest mailing list
> [email protected]
> http://mailman.lyra.org/mailman/listinfo/scite-interest



_______________________________________________
Scite-interest mailing list
[email protected]
http://mailman.lyra.org/mailman/listinfo/scite-interest

Reply via email to