>    "import" should read files relative to the directory of the file
> the import is in, so files to be imported by SciTEUser should be in
> the same directory as SciTEUser.

"Chris Sutcliffe" wrote...
> I tried:
>
> import $(SciteDefaultHome)\nsis
>
> which didn't work, so tried:
>
> import $(SciteDefaultHome)\nsis.properties
>
> I assume then, like you mentioned, I need to have nsis.properties
> in my user profile directory as well (where my SciTEUser.properties
> file is located)? I was hoping to be able to reuse the one distributed,
> so that when I upgrade, I'll be sure to always be using the most
> recent
> nsis.properties.

SciTE seems to use %userprofile% to hard code the path to the
SciTEUser.properties file. Perhaps Neil could place a key in the
SciTEGlobal.properties to over-ride the %userprofile% settings.

I just ran into that problem myself and thought I was editing the
file located where SciTE was installed.

Perhaps something along the lines of...

# SciTE User Profile Folder
SUP=$(SciteDefaultHome)
or
SciTEUserProfileFolder=$(SciteDefaultHome)

The code at SciTE startup can check to see if the variable is
set and if not it can set it to the UserProfile folder.

-- 






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

Reply via email to